/* ==========================================================================
   SALVADOR BAR & BREWERY - BRAND STYLE SYSTEM
   ========================================================================== */

/* Font Definitions */
@font-face {
    font-family: 'Geogrotesque';
    src: url('../assets/fonts/geogrotesque-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Geogrotesque';
    src: url('../assets/fonts/geogrotesque-semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Geogrotesque Stencil';
    src: url('../assets/fonts/geogrotesque-stencil-b-extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

/* Custom Variables */
:root {
    /* Color Palette */
    --color-forest: #2b3619;
    --color-forest-dark: #1b2210;
    --color-olive: #616745;
    --color-gold: #bb9245;
    --color-gold-dark: #98722f;
    --color-gold-light: #dcb365;
    --color-charcoal: #131212;
    --color-charcoal-light: #221f1f;
    --color-offwhite: #cdcfc9;
    --color-white: #ffffff;
    --color-gray: #7a7a7a;
    
    /* Layout */
    --header-height: 80px;
    --border-radius: 4px; /* Military styled, sharp & technical */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-charcoal);
    color: var(--color-offwhite);
    font-family: 'Geogrotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-charcoal);
}
::-webkit-scrollbar-thumb {
    background: var(--color-forest);
    border: 2px solid var(--color-charcoal);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Selection */
::selection {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stencil-text {
    font-family: 'Geogrotesque Stencil', 'Geogrotesque', sans-serif;
    font-weight: 800;
    letter-spacing: 0.07em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
}
.btn-primary:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(187, 146, 69, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(187, 146, 69, 0.3);
}

.btn-military {
    background-color: var(--color-forest);
    color: var(--color-white);
    border-color: var(--color-olive);
}
.btn-military:hover {
    background-color: var(--color-olive);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 54, 25, 0.4);
}

.btn-sm {
    padding: 8px 5px;
    font-size: 0.75rem;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background-color: rgba(19, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(205, 207, 201, 0.08);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(19, 18, 18, 0.95);
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}
.logo-container svg, .logo-container img {
    height: 56px; /* Increased and fixed height to make the cropped logo much larger */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    image-rendering: -webkit-optimize-contrast; /* Keeps SVG rendering crisp */
}
.main-header.scrolled .logo-container svg, 
.main-header.scrolled .logo-container img {
    height: 48px; /* Slightly smaller when scrolled */
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-offwhite);
    padding: 10px 0;
    position: relative;
    cursor: pointer;
}

.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-item:hover .nav-link::after {
    width: 100%;
}

/* Nav Menu Dropdowns */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 250px;
    background-color: rgba(34, 31, 31, 0.98);
    border: 1px solid var(--color-olive);
    border-radius: var(--border-radius);
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent var(--color-olive) transparent;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-offwhite);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-item:last-child a {
    border-bottom: none;
}

.dropdown-item a:hover {
    background-color: rgba(97, 103, 69, 0.2);
    color: var(--color-gold);
    padding-left: 25px;
}

.dropdown-item a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.dropdown-item a:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

/* Header Button */
.header-actions {
    display: flex;
    align-items: center;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: currentColor;
    margin: 6px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle, rgba(43,54,25,0.3) 0%, rgba(19,18,18,1) 100%), 
                url('../assets/images/reservas_bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 0 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(19,18,18,0.4) 0%, rgba(19,18,18,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gold);
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-offwhite);
    max-width: 600px;
    margin: 0 auto 35px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Hero Mascot (Parachutist) */
.hero-mascot-container {
    position: fixed;
    bottom: 5%;
    right: 3%;
    z-index: 999;
    width: 140px;
    height: auto;
    pointer-events: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-mascot-container:hover {
    transform: scale(1.1) translateY(-8px);
}

.hero-mascot-container:hover .hero-mascot {
    animation: parachute-hover-wiggle 0.3s ease infinite alternate;
}

@keyframes parachute-hover-wiggle {
    0% { transform: rotate(-6deg); }
    100% { transform: rotate(6deg); }
}

.hero-mascot {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes parachute-drift {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-15px) translateX(8px) rotate(1.5deg); }
    50% { transform: translateY(0px) translateX(15px) rotate(-1.5deg); }
    75% { transform: translateY(15px) translateX(8px) rotate(1.5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

.floating-para {
    animation: parachute-drift 8s ease-in-out infinite;
}

/* Hide on smaller screens to avoid overlapping content */
@media (max-width: 991px) {
    .hero-mascot-container {
        right: 2%;
        width: 100px;
        bottom: 5%;
    }
}
@media (max-width: 768px) {
    .hero-mascot-container {
        display: none; /* Hide on mobile */
    }
}

/* Clube Salvador Banner */
.club-section {
    background-color: var(--color-forest);
    padding: 60px 4%;
    position: relative;
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(187, 146, 69, 0.03) 0,
        rgba(187, 146, 69, 0.03) 10px,
        transparent 10px,
        transparent 20px
    );
}

.club-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 40px;
}

.club-mascot-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.club-mascot {
    max-width: 280px;
    height: auto;
    display: block;
}

@keyframes float-soldier {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); }
}

.floating-soldier {
    animation: float-soldier 5s ease-in-out infinite;
}

.club-content {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.club-tag {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.club-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 15px;
    max-width: 800px;
    line-height: 1.2;
}

.club-highlight {
    font-size: 1.3rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(19, 18, 18, 0.4);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    border: 1px dashed var(--color-gold);
}

.club-desc {
    font-size: 1rem;
    color: var(--color-offwhite);
    max-width: 700px;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .club-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .club-mascot {
        max-width: 200px;
    }
    .club-content {
        align-items: center;
        text-align: center;
    }
}

/* Section Title Common */
.section-title-container {
    text-align: center;
    padding: 80px 4% 40px;
    background-color: var(--color-charcoal);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

/* Units Section */
.units-section {
    background-color: var(--color-charcoal);
    padding: 0 4% 80px;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.unit-card {
    background-color: var(--color-charcoal-light);
    border: 1px solid rgba(205, 207, 201, 0.08);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.unit-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.unit-image-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.unit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.unit-card:hover .unit-image {
    transform: scale(1.08);
}

.unit-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(19, 18, 18, 0.9) 100%);
}

.unit-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.unit-name {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.unit-address {
    font-size: 0.875rem;
    color: var(--color-offwhite);
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.4;
    flex-grow: 1;
}

.unit-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 15px;
}

.unit-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Cardapio Dropup / Menu Selector in Unit Card */
.cardapio-selector {
    position: relative;
    width: 100%;
}

.cardapio-btn {
    width: 100%;
    background-color: var(--color-charcoal);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.cardapio-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
}

.cardapio-btn svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.cardapio-selector.active .cardapio-btn svg {
    transform: rotate(180deg);
}

.cardapio-dropup {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-charcoal-light);
    border: 1px solid var(--color-olive);
    border-radius: var(--border-radius);
    box-shadow: 0 -10px 25px rgba(0,0,0,0.6);
    margin-bottom: 8px;
    padding: 8px 0;
    list-style: none;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.cardapio-selector.active .cardapio-dropup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cardapio-dropup-item a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-offwhite);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cardapio-dropup-item:last-child a {
    border-bottom: none;
}

.cardapio-dropup-item a:hover {
    background-color: rgba(97, 103, 69, 0.2);
    color: var(--color-gold);
}

/* Page Gallery / Instagram style */
.gallery-section {
    background-color: var(--color-charcoal-light);
    padding: 80px 4%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid rgba(205, 207, 201, 0.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(43, 54, 25, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Footer styling */
.main-footer {
    background-color: #0d0c0c;
    border-top: 1px solid rgba(205, 207, 201, 0.05);
    padding: 80px 4% 30px;
    color: var(--color-offwhite);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    align-self: flex-start;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-col-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--color-white);
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-link a:hover {
    opacity: 1;
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: var(--color-charcoal-light);
    border: 1px solid rgba(205, 207, 201, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    transform: translateY(-3px);
}

.footer-social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(205, 207, 201, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-menu {
        display: none; /* Mobile navigation toggled by JS */
    }
    
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile Menu Active */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(19, 18, 18, 0.98);
        backdrop-filter: blur(20px);
        padding: 40px 20px;
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid rgba(205, 207, 201, 0.05);
        animation: fadeIn 0.4s ease;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    
    .nav-link {
        font-size: 1.2rem;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Toggle icon animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    /* Mobile Dropdowns */
    .nav-dropdown {
        position: static;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding: 10px 0 0 15px;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-dropdown::before {
        display: none;
    }
    
    .nav-item.active .nav-dropdown {
        display: block;
    }
    
    .dropdown-item a {
        padding: 10px 0;
        border-bottom: none;
    }
    
    .dropdown-item a:hover {
        background-color: transparent;
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Unit Card Description */
.unit-desc {
    font-size: 0.85rem;
    color: var(--color-offwhite);
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1; /* Pushes the actions to the bottom if cards have different descriptions */
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-charcoal-light);
    border-top: 1px solid rgba(205, 207, 201, 0.05);
    border-bottom: 1px solid rgba(205, 207, 201, 0.05);
    padding: 80px 4%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(97, 103, 69, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--color-white);
    margin-bottom: 12px;
}

.newsletter-desc {
    font-size: 1rem;
    color: var(--color-offwhite);
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-olive);
    padding: 14px 20px;
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(187, 146, 69, 0.2);
}

.newsletter-form .btn {
    flex-shrink: 0;
}

.newsletter-message {
    font-size: 0.9rem;
    margin-top: 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.newsletter-message.success {
    color: var(--color-gold);
}

.newsletter-message.error {
    color: #e74c3c;
}

/* Instagram Follow Call-to-Action */
.instagram-cta {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px dashed rgba(205, 207, 201, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.instagram-cta span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.instagram-handle {
    font-size: 1.3rem;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.instagram-handle:hover {
    color: var(--color-gold-light);
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-form input[type="email"],
    .newsletter-form .btn {
        width: 100%;
        max-width: none;
    }
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(19, 18, 18, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001; /* Higher than header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--color-charcoal-light);
    border: 1px solid var(--color-gold);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-offwhite);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-gold);
    opacity: 1;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--color-offwhite);
    opacity: 0.8;
    margin-bottom: 30px;
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    font-weight: 600;
}

.form-group input, 
.form-group select {
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-olive);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

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

/* File Input Customization */
.file-input-wrapper {
    position: relative;
    width: 100%;
    height: 48px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.file-input-custom {
    position: absolute;
    inset: 0;
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-olive);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 15px;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-smooth);
}

.file-input-wrapper input[type="file"]:focus + .file-input-custom,
.file-input-wrapper:hover .file-input-custom {
    border-color: var(--color-gold);
}

.file-input-name {
    font-size: 0.85rem;
    color: var(--color-offwhite);
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.form-status-message {
    font-size: 0.9rem;
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}

.form-status-message.success {
    color: var(--color-gold);
}

.form-status-message.error {
    color: #e74c3c;
}

.w-full {
    width: 100%;
}

@media (max-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-container {
        padding: 30px 20px;
    }
}
