/* /Users/trentpulliam/Docs On Mac/Website Files/Blue Collar Site/styles.css */

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --background-color: #ecf0f1;
    --text-color: #2c3e50;
    --font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Keep your existing body style or use the one below */
body {
    margin: 0; /* Ensure no default margin */
    font-family: Arial, sans-serif; /* Use your preferred font */
    color: var(--text-color); /* Use variable for default text color */
    background-color: var(--background-color); /* Use variable for background */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

/* --- Banner and Dropdown Styles --- */

/* Banner Styling */
.top-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(to right, navy, skyblue);
    color: white;
    min-height: 60px;
    padding: 10px 20px;
    justify-content: space-between; /* Evenly space children */
}

.banner-title {
    font-size: 1.8em;
    margin-left: 0;
    flex: 1 1 0;
    text-align: center;
}

.top-nav-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px; /* More space between menu and title */
    flex: 1 1 0;
}

/* Dropdown Container */
.dropdown {
    position: relative; /* Needed for absolute positioning of dropdown content */
    display: inline-block; /* Keep it inline */
}

/* Dropdown Button/Trigger */
.dropbtn {
    background-color: transparent;
    color: white;
    padding: 8px 18px; /* Match login button padding */
    font-size: 1em;    /* Match login button font size */
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    height: 38px; /* Match login button height */
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}

.dropbtn:hover {
    background-color: #fff;
    color: #003366;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none; /* Hide it initially */
    position: absolute; /* Position it relative to the dropdown container */
    background-color: #f9f9f9; /* Background for the dropdown */
    min-width: 160px; /* Minimum width */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Add a shadow */
    z-index: 1; /* Ensure it's on top */
    left: 0; /* Align with the left edge of the button */
    border-radius: 4px; /* Optional: slightly rounded corners */
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black; /* Link color - Consider using var(--text-color) or a new variable */
    padding: 12px 16px;
    text-decoration: none;
    display: block; /* Make them full width */
}

/* Change color/background of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--secondary-color); /* Use your hover color variable */
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: rgba(255, 255, 255, 0.2); /* Slight highlight on hover */
}

/* Login Button */
.login-btn, .login-button {
    margin-left: 0;
    margin-right: 0;
    background: #fff;
    color: #003366;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    display: inline-block;
}

.login-btn:hover, .login-button:hover {
    background: #003366;
    color: #fff;
}

.login-btn a, .login-button a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* Remove list styling from nav dropdown specifically */
.dropdown-content ul {
     list-style-type: none;
     margin: 0;
     padding: 0;
}
 .dropdown-content li {
    margin-bottom: 0; /* Remove bottom margin for dropdown items */
 }

/* --- Page Content Area --- */
.page-content {
    padding: 20px;
    flex: 1 0 auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

/* Register Link */
.register-link {
    margin-top: 18px;
    text-align: center;
    font-size: 1em;
}

.register-link a {
    color: var(--primary-color);
    text-decoration: underline;
}

.register-link a:hover {
    color: var(--secondary-color);
}

/* --- Footer Styles --- */
.site-footer {
    background: linear-gradient(to right, navy, skyblue); /* Match top banner */
    color: white;
    padding: 20px 0 10px 0;
    text-align: center;
    position: relative;
    width: 100%;
    margin-top: auto;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.3em;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #222;
}

.footer-copy {
    font-size: 0.95em;
    opacity: 0.85;
}

@media (max-width: 700px) {
    .top-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 5px;
    }
    .top-nav-row {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    .banner-title {
        text-align: center;
        font-size: 1.2em;
        margin: 0 0 8px 0;
    }
    .login-btn {
        width: 100%;
        margin: 10px 0 0 0;
        display: block;
        text-align: center;
    }
    .footer-links a {
        font-size: 1.1em;
        margin: 0 6px;
    }
    form input, form button {
        width: 100%;
        box-sizing: border-box;
        font-size: 1em;
        margin-bottom: 10px;
    }
}