:root {
    /* Brand Colors (Chocolate & Mint influence) */
    --color-primary: #6D4C41;
    /* Chocolate Brown */
    --color-secondary: #80CBC4;
    /* Soft Mint */
    --color-accent: #FFECB3;
    /* Cream/Gold */
    --color-text: #333333;
    --color-bg: #FAFAFA;
    --color-white: #FFFFFF;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-unit: 1rem;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 0.5rem auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #5D4037;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #4DB6AC;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Header */
.main-header {
    background-color: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    /* Sized down slightly for mobile safety */
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav .btn-primary {
    color: var(--color-white);
}

.main-nav .btn-primary:hover {
    color: var(--color-white);
    background-color: #5D4037;
    /* Consistent with other hover */
}

/* Reverted header-actions removal */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(109, 76, 65, 0.9), rgba(109, 76, 65, 0.7)), url('https://images.unsplash.com/photo-1509365465985-25d11c17e812?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: var(--color-white);
    padding: 8rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero-actions .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Benefits Grid */
.benefits {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Club Actions */
.club-actions {
    padding: 5rem 0;
    background-color: #F5F5F5;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.action-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.action-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.action-card h3 {
    margin-bottom: 0.5rem;
}

.btn-text {
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 1rem;
    display: inline-block;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--color-accent);
}

.registration-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.registration-form input {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid transparent;
    width: 300px;
    outline: none;
}

/* Footer */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    border-radius: 5px;
    /* Optional: smooth corners if it has a background */
}

.footer-contact h3,
.footer-hours h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Adaptive/Responsive */
/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
    margin-left: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Open state for hamburger (X shape) */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* Adaptive/Responsive */
/* Mobile Auth Bar (Hidden by default) */
.mobile-auth-bar {
    display: none;
}

/* Global Auth Page Styles */
.auth-page {
    min-height: calc(100vh - 400px);
    padding: 4rem 0;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0;
    /* Margin removed */
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 700;
}

.auth-form-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

.auth-form-container.active {
    display: block;
}

.auth-form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.auth-form-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--color-secondary);
    outline: none;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.forgot-password:hover {
    color: var(--color-primary);
}


/* Adaptive/Responsive */
@media (max-width: 768px) {
    .header-content {
        /* Keep logo, actions, and burger in a row */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Hide greeting on mobile */
    .hidden-mobile {
        display: none;
    }

    /* Disable Sticky Header on Mobile to prevent overlap */
    .main-header {
        position: relative;
        top: auto;
    }

    /* Hide Desktop Nav Items on Mobile */
    .desktop-only {
        display: none !important;
    }

    /* Show Burger Menu */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Menu Style */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        z-index: 99;
    }

    .main-nav.open {
        max-height: 400px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    /* Mobile Auth Bar - Visible */
    .mobile-auth-bar {
        display: block;
        padding: 0 0.5rem 0 0.5rem;
        /* Zero bottom padding */
        text-align: center;
    }

    .mobile-auth-bar .btn {
        width: 95%;
        /* Almost full width */
        max-width: 400px;
        /* Cap width for larger screens */
        display: inline-block;
        margin: 1.5rem auto 0 auto;
        /* Big top margin, Zero bottom margin */
        padding: 0.8rem;
        /* Keep height comfortable */
    }

    /* Hero Section Mobile */
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Auth Page Mobile */
    .registration-form {
        flex-direction: column;
        align-items: center;
    }

    .auth-page {
        min-height: calc(100vh - 400px);
        padding: 2rem 0;
        /* Reduced padding for mobile */
    }

    .auth-container {
        padding: 0 1rem;
    }

    /* Fix Auth Tabs Overflow on Mobile */
    .auth-tab {
        font-size: 1rem;
        /* Smaller font */
        padding: 0.8rem 0.5rem;
        /* Reduced padding */
    }
}



/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Navigation Arrows */
.nav-arrow {
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 900px) {
    .offer-card .card-body {
        position: relative;
        /* Anchor for absolute arrows */
    }

    .nav-arrow {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.4);
        border: none;
        color: #5a3d33;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-arrow:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    .nav-arrow.prev {
        left: 10px;
    }

    .nav-arrow.next {
        right: 10px;
    }
}