:root {
    --club-primary-color: #1d2e4c;
    --club-primary-gradient: linear-gradient(135deg, #1d2e4c 0%, #0d1726 100%);
    --club-secondary-color: #ae8a36;
    --club-secondary-gradient: linear-gradient(135deg, #ae8a36 0%, #8c6b24 100%);
    --color-text: #1d2e4c;
    --color-text-muted: #536b94;
    --color-hoverstate: #cb9f3a;
    --color-bg-light: #f6f8fb;
    --color-glass: rgba(255, 255, 255, 0.75);
    --border-glass: 1px solid rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 10px 30px rgba(29, 46, 76, 0.05);
    --shadow-medium: 0 15px 45px rgba(29, 46, 76, 0.08);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid var(--color-bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--club-secondary-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: var(--color-glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(29, 46, 76, 0.03);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(29, 46, 76, 0.15));
}

.logo h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--club-primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--club-primary-color) 30%, var(--club-secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Menu Button */
.hamburger {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    z-index: 101;
    transition: background-color 0.2s;
}

.hamburger:hover {
    background-color: rgba(29, 46, 76, 0.05);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--club-primary-color);
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

/* Mobile Navigation Dropdown */
nav {
    position: absolute;
    top: 100%;
    left: 5%;
    right: 5%;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(29, 46, 76, 0.08);
    border-radius: 20px;
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

nav.active {
    transform: translateY(10px) scale(1);
    opacity: 1;
    visibility: visible;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--club-primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    display: block;
}

nav a:hover,
nav a.active {
    color: var(--club-secondary-color);
    background-color: rgba(174, 138, 54, 0.08);
}

/* Lid Worden Button on Navbar */
.memberButton {
    width: 100%;
}

.memberButton a {
    background: var(--club-primary-gradient);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(29, 46, 76, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.memberButton a:hover {
    background: var(--club-secondary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(174, 138, 54, 0.25);
    color: white !important;
}

.adminNavButton {
    width: 100%;
}

.adminNavButton a {
    background: var(--club-secondary-gradient);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(174, 138, 54, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.adminNavButton a:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(174, 138, 54, 0.35);
    color: white !important;
}

.logoutNavButton {
    width: 100%;
}

.logoutNavButton a {
    color: #ef4444 !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.25s ease;
}

.logoutNavButton a:hover {
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
}

/* Hamburger Active Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
    background-color: var(--club-secondary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
    background-color: var(--club-secondary-color);
}

/* Desktop Navbar Settings */
@media (min-width: 900px) {
    header {
        padding: 0.85rem 8%;
    }

    .hamburger {
        display: none;
    }

    nav {
        position: static;
        width: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: none;
    }

    nav ul {
        flex-direction: row;
        gap: 0.75rem;
    }

    nav a {
        font-size: 0.95rem;
        font-weight: 600;
        width: auto;
        padding: 0.6rem 1.1rem;
    }

    .memberButton {
        width: auto;
    }

    .memberButton a {
        padding: 0.6rem 1.4rem;
    }

    .adminNavButton,
    .logoutNavButton {
        width: auto;
    }

    .adminNavButton a {
        padding: 0.6rem 1.4rem;
    }

    .logoutNavButton a {
        padding: 0.6rem 1.1rem;
    }
}

/* Footer Styles */
footer {
    background-color: #080f1b;
    color: #e2e8f0;
    padding: 5rem 8% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Outfit', sans-serif;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(174, 138, 54, 0.2));
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

footer h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: left;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--club-secondary-gradient);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--club-secondary-color);
    padding-left: 4px;
}

.footer-contact p {
    color: #94a3b8;
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.footer-socials {
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icons a:hover {
    background: var(--club-secondary-gradient);
    color: white;
    transform: translateY(-3px) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(174, 138, 54, 0.25);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

.footer-login-btn {
    display: inline-block;
    background: transparent;
    color: #ffd479;
    border: 1px solid rgba(174, 138, 54, 0.4);
    padding: 0.45rem 1.4rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-login-btn:hover {
    background: var(--club-secondary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(174, 138, 54, 0.25);
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 4rem 6% 2rem;
    }

    .footer-container {
        gap: 2.5rem;
        padding-bottom: 3rem;
    }

    footer h4 {
        margin-bottom: 1.25rem;
    }
}