/* ==========================================================================
   FENIX HAIR CO. - SPATIAL / VISION OS STYLESHEET
   ========================================================================== */

:root {
    /* 70's Retro Inspo Palette - Kept exactly the same */
    --moss: #5A6A3C;
    --berry: #B62B5B;
    --tangerine: #D97022;
    --clay: #CAA25D;
    --tuscan: #E8B025;

    /* A warm, bright retro cream base */
    --bg-base: #F7F4ED; 
    
    /* Inverted Text Colors for Light Background */
    --text-primary: #2b2824; /* Deep espresso for high contrast readability */
    --text-secondary: #6e675e; /* Soft earthy grey */
    
    --primary: var(--tangerine); 
    --accent: var(--tangerine); 
    
    /* SPATIAL OS GLASS ENGINE UPDATE */
    --glass-bg: rgba(255, 255, 255, 0.40); /* Slightly more transparent to let blur do the work */
    --glass-border: 1px solid rgba(255, 255, 255, 0.5); /* Softer, thinner border */
    --glass-blur: blur(40px); /* Massive blur increase for that Apple feel */
    --glass-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.8), /* Bright top edge inner-highlight */
        0 20px 40px rgba(0, 0, 0, 0.05); /* Soft, diffused floating shadow */
    --glass-inner-bg: rgba(255, 255, 255, 0.6);
    
    /* Font Selection */
    --font-heading: 'Syne', sans-serif; 
    --font-body: 'Inter', sans-serif; 
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    
    background-image: 
        radial-gradient(circle at 10% 0%, rgba(182, 43, 91, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(217, 112, 34, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 30% 100%, rgba(90, 106, 60, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 176, 37, 0.25) 0%, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    padding-bottom: 50px;
    padding-top: 40px; /* Space for ticker */
}

/* ==========================================================================
   DISCORD-STYLE LOADING SCREEN
   ========================================================================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-base, #F7F4ED); /* Solid cream background */
    z-index: 9999999; /* Absolute highest layer */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Smooth fade out */
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

/* We will add this class via Javascript when the site is done loading */
.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo-container {
    width: 180px; /* Size of the pulsing logo */
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo-pulse {
    width: 100%;
    height: auto;
    
    /* The Discord-style infinite heartbeat pulse */
    animation: discordPulse 1.2s infinite ease-in-out alternate;
}

@keyframes discordPulse {
    0% { 
        transform: scale(0.85); 
        opacity: 0.7; 
    }
    100% { 
        transform: scale(1.15); 
        opacity: 1; 
    }
}

/* ==========================================================================
   INFINITE NEWS TICKER
   ========================================================================== */

.news-ticker-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1000; 
    display: flex;
    align-items: center;
    overflow: hidden;
    
    background: rgba(255, 255, 255, 0.7) !important; /* Lighter glass for top bar */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    border-radius: 0; 
}

.news-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 35s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.news-ticker-wrapper:hover .news-ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    padding-right: 2rem; 
}

.news-item {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-primary); 
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 4rem; 
}

.news-item em {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
    transition: color 0.3s ease;
}

.news-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.news-badge {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-badge.promo { background: var(--berry); }
.news-badge.news { background: var(--clay); }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* ==========================================================================
   GLOBAL GLASS CLASSES & AMBIENT ART
   ========================================================================== */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 36px; /* Increased for Squircle look */
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.glass-panel-inner {
    background: var(--glass-inner-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: var(--glass-border);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 8px 16px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Vision OS Hover Pop */
.glass-panel-inner:hover {
    transform: scale(1.01);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 12px 24px rgba(0,0,0,0.06);
}

/* Remove the hover pop for non-interactive elements */
.hours-card:hover, .contact-details-card:hover {
    transform: none;
}

.glass-button {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-button:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 10px 20px rgba(217, 112, 34, 0.3);
}

/* Ambient SVGs */
.ambient-mural {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55; 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mural-1 {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 500' preserveAspectRatio='xMidYMid slice' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23D97022' stroke-width='60' stroke-linecap='round' d='M -100,150 C 250,450 450,-50 750,250 C 950,450 1100,100 1200,150' /%3E%3C/svg%3E");
    transform: translateY(-10%);
}

.mural-2 {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 500' preserveAspectRatio='xMidYMid slice' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23B62B5B' stroke-width='90' stroke-linecap='round' d='M -100,500 C 200,100 500,100 800,400 C 950,550 1100,200 1200,100' /%3E%3C/svg%3E");
    transform: translateY(20%);
}

.mural-3 {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 500' preserveAspectRatio='xMidYMid slice' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%235A6A3C' stroke-width='75' stroke-linecap='round' d='M -100,350 C 300,550 450,-100 850,300 C 1000,450 1100,150 1200,250' /%3E%3C/svg%3E");
    transform: translateY(5%);
}

.page-section {
    padding: 3rem 3%; 
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   SPATIAL NAVIGATION DOCK
   ========================================================================== */

.side-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0.8rem;
    border-radius: 50px; 
    z-index: 999;
    
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.side-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
}

.side-bird {
    width: 35px;
    height: auto;
    opacity: 0.9;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-brand:hover .side-bird {
    transform: scale(1.15) translateY(-3px);
}

.side-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.side-link {
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%; 
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-link svg {
    width: 22px;
    height: 22px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-link:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary); 
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 4px 8px rgba(0,0,0,0.05);
}

.side-link:hover svg {
    transform: scale(1.15); 
}

/* --- Glass Tooltips --- */
.nav-tooltip {
    position: absolute;
    left: 100%; 
    margin-left: 1.5rem; 
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    
    color: var(--text-primary); 
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    
    pointer-events: none; 
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px; 
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent rgba(255, 255, 255, 0.8) transparent transparent;
}

.side-link:hover .nav-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding: 4rem 3%; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.hero-glass {
    display: grid;
    grid-template-columns: 50% 50%; 
    height: 80vh; 
    min-height: 600px;
    max-height: 900px; 
}

.hero-visual {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative; 
    padding: 4rem 10%;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: flex-start; 
}

.hero-logo {
    position: absolute; 
    top: 4rem; 
    right: 10%; 
    max-width: 180px; 
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease;
    z-index: 5; 
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1; 
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px; 
    z-index: 6;
}

.hero-title em {
    color: var(--accent);
    font-style: italic;
}

.hero-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 85%;
    z-index: 6;
}

.btn-primary {
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.salon-humor {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.bg-watermark {
    position: absolute;
    top: -60px;
    left: -20px;
    font-family: var(--font-heading);
    font-size: clamp(8rem, 15vw, 14rem); 
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5); /* Lighter watermark for Vision OS */
    z-index: -1;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.right-aligned .bg-watermark {
    left: auto;
    right: -20px;
}

/* ==========================================================================
   AESTHETIC EDITORIAL HEADERS
   ========================================================================== */

.aesthetic-header {
    position: relative;
    margin-bottom: 4rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.aesthetic-header.right-aligned {
    align-items: flex-end;
    text-align: right;
}

/* --- Global Section Headers --- */
.section-title {
    font-family: var(--font-heading);
    
    /* Matches the exact responsive size of the Home section */
    font-size: clamp(2.5rem, 8vw, 3.5rem); 
    font-weight: 400;
    
    /* Tightens the gap between the stacked words */
    line-height: 1.1; 
    
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -1px;
}

.section-title em {
    color: var(--accent); /* Your Tangerine color */
    font-style: italic;
    font-weight: 400;
}

/* Adds a tiny bit of breathing room if there's a glass pill below it */
.aesthetic-header .glass-pill {
    margin-top: 1.5rem;
}

/* ... keep your existing .glass-pill styles here ... */

.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glass-pill .sparkle {
    color: var(--accent);
    font-size: 1.1rem;
}

.glass-pill a {
    color: var(--accent); 
    text-decoration: none; 
    font-weight: 700; 
    margin-left: 0.25rem; 
    transition: color 0.3s ease;
}

.glass-pill a:hover {
    color: var(--text-primary); 
}

/* ==========================================================================
   ABOUT US / FOCUS SECTION (BENTO GRID)
   ========================================================================== */

.about-section .glass-panel {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-section .aesthetic-header.text-center {
    align-items: center;
    text-align: center;
    width: 100%;
}

.about-section .bg-watermark {
    left: 50%;
    transform: translateX(-50%);
}

.about-intro-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-primary);
    text-align: center;
    max-width: 700px;
    margin-bottom: 4rem;
    line-height: 1.6;
}

.about-intro-text em {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

/* --- The Aesthetic Bento Grid --- */
.focus-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px); 
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
}

.focus-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    border: var(--glass-border);
}

.card-tall {
    grid-row: span 2; 
    border-color: rgba(217, 112, 34, 0.5) !important;
}

.focus-img {
    width: 100%;
    height: 100%;
    object-position: top center;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-tall:hover .focus-img {
    transform: scale(1.015);
}

.focus-glass-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-tall .focus-glass-overlay {
    background: rgba(255, 255, 255, 0.95) !important; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

.focus-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.focus-header .micro-label {
    color: var(--moss);
    margin: 0;
}

.focus-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -1px;
}

/* The Hidden Text Content */
.focus-reveal-content {
    display: grid;
    grid-template-rows: 0fr; 
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-tall .focus-reveal-content {
    grid-template-rows: 1fr !important; 
    opacity: 1 !important; 
}

.focus-reveal-content p {
    overflow: hidden;
    margin: 0;
    padding-top: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-tall .focus-reveal-content p {
    padding-top: 1rem !important;
}

/* --- The Hover Interaction --- */
.focus-card:hover .focus-img { transform: scale(1.05); }

.focus-card:hover .focus-glass-overlay {
    background: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.focus-card:hover .focus-reveal-content {
    grid-template-rows: 1fr; 
    opacity: 1;
}

.focus-card:hover .focus-reveal-content p {
    padding-top: 1rem; 
}


/* ==========================================================================
   THE CREW SECTION
   ========================================================================== */

.crew-section .glass-panel {
    padding: 5rem 4rem;
}

.crew-grid {
    display: flex;
    flex-direction: row; 
    height: 550px; 
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

.crew-card {
    flex: 1; 
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: var(--glass-border);
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.crew-card:hover { flex: 4; }

.crew-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; 
    filter: grayscale(100%) brightness(0.6); 
    transition: filter 0.6s ease, transform 0.6s ease;
}

.crew-card:hover .crew-img {
    filter: grayscale(0%) brightness(1); 
    transform: scale(1.02); 
}

.crew-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.crew-card:hover .crew-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; 
}

.crew-name {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    line-height: 1;
    white-space: nowrap; 
}

.crew-title {
    font-family: var(--font-body);
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */

/* --- Gallery Swipe Indicator --- */
.swipe-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    animation: subtle-pulse 2s infinite ease-in-out;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.gallery-section .glass-panel {
    padding: 3rem 4rem 2rem 4rem; 
}

.gallery-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem; 
}

.horizontal-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; 
    padding-bottom: 1.5rem; 
    width: 100%;
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.05);
}

/* --- Upgraded Visible Scrollbar --- */
.horizontal-gallery {
    scrollbar-width: auto; /* Firefox: Changes from 'thin' to normal width */
}

.horizontal-gallery::-webkit-scrollbar { 
    height: 12px; /* Triples the thickness so it's easily grabbable on desktop */
} 

.horizontal-gallery::-webkit-scrollbar-track { 
    background: rgba(255, 255, 255, 0.4); /* Frosted glass track that stands out */
    border-radius: 10px; 
    border: var(--glass-border); /* Matches your glass theme */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.horizontal-gallery::-webkit-scrollbar-thumb { 
    background: var(--accent); 
    border-radius: 10px; 
    border: 3px solid rgba(255, 255, 255, 0.4); /* Creates a nice inner-padding effect */
    transition: background 0.3s ease;
}

.horizontal-gallery::-webkit-scrollbar-thumb:hover { 
    background: var(--berry); /* Interactive color change when hovered on desktop */
}

.gallery-item {
    flex: 0 0 auto; 
    width: 280px; 
    height: 350px; 
    scroll-snap-align: start; 
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    border: var(--glass-border); 
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    color: var(--text-primary); 
    font-size: 1.5rem; 
    font-weight: 400;
    letter-spacing: 1px;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: scale(1); }

.gallery-footer {
    display: flex;
    justify-content: flex-end; 
    margin-top: 1rem;
    width: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

/* ==========================================================================
   SERVICES & PRICING SECTION
   ========================================================================== */

.services-section .glass-panel {
    padding: 5rem 4rem;
}

.section-header-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-intro {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.pricing-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}

.glass-accordion {
    background: rgba(255, 255, 255, 0.4);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-accordion:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    list-style: none; 
    transition: color 0.3s ease;
}

.accordion-header::-webkit-details-marker { display: none; }

.accordion-icon {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

details[open] .accordion-header {
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

details[open] .accordion-icon { transform: rotate(45deg); }

.accordion-content {
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    animation: fade-in-down 0.4s ease forwards;
}

@keyframes fade-in-down {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (min-width: 900px) {
    .accordion-content {
        grid-template-columns: 1fr 1fr; 
        gap: 4rem; 
    }
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}

.pricing-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.service-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap; 
}

.service-dots {
    flex-grow: 1; 
    border-bottom: 1px dotted rgba(0, 0, 0, 0.15); /* Darker dots for light mode */
    position: relative;
    top: -4px; 
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent);
    white-space: nowrap;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    width: 90%; 
}

.pricing-disclaimer {
    margin-top: 4rem;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.7;
}

/* ==========================================================================
   MAP & ELFSIGHT WIDGETS
   ========================================================================== */

.location-section { padding-bottom: 0; }

.map-panel {
    padding: 0; 
    height: 500px; 
    position: relative;
    display: flex;
    align-items: center; 
    justify-content: flex-start; 
}

.map-marker-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.map-marker-dot {
    width: 14px;
    height: 14px;
    background: #ff3b30; 
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.8);
    position: relative;
    z-index: 2;
}

.map-marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 59, 48, 0.4);
    border-radius: 50%;
    z-index: 1;
    animation: marker-pulse 2s ease-out infinite;
}

@keyframes marker-pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.cinematic-map {
    position: absolute;
    top: -20.3%;
    left: -23.4%;
    width: 150%;
    height: 150%;
    z-index: 0;
    filter: grayscale(100%) invert(92%) contrast(1.1) sepia(30%) hue-rotate(340deg);
    opacity: 0.6;
    transform: translate(-20px, -20px);
    transition: opacity 0.5s ease;
    pointer-events: none; 
}

.map-panel:hover .cinematic-map { opacity: 0.8; }

.map-overlay-card {
    position: relative;
    z-index: 1;
    margin-left: 4rem; 
    padding: 2.5rem;
    max-width: 400px;
}

.map-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.map-overlay-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.map-overlay-hint {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 2rem;
    font-style: italic;
}

.map-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding: 1rem;
}

/* WIDGET SECTIONS */
.tiktok-section .glass-panel,
.reviews-section .glass-panel {
    padding: 5rem 4rem;
}

.reviews-widget-wrapper,
.tiktok-widget-wrapper {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 20px;
    overflow: hidden; 
    background: rgba(255, 255, 255, 0.25) !important; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
}

.reviews-widget-wrapper .elfsight-app-17dff178-f361-4134-b660-a95f253a3c37 {
    width: 100%;
    min-height: 500px;
}

.tiktok-widget-wrapper .elfsight-app-59670c31-ad91-41fa-ae5e-3b8341b9b4e0 {
    width: 100%;
    min-height: 400px; 
}


/* ==========================================================================
   DEDICATED SOCIAL SECTION & FOOTER BENTO GRID
   ========================================================================== */

.social-spread-section .glass-panel {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) { .social-bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .social-bento-grid { grid-template-columns: repeat(4, 1fr); } }

.social-bento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    height: 220px;
}

.social-bento-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
}

.social-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.social-icon-large svg { width: 28px; height: 28px; }

.social-bento-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.4s ease;
}

.social-bento-arrow {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.social-bento-arrow svg { width: 24px; height: 24px; }

/* Brand Specific Hover States */
.social-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.fb-card::before { background: radial-gradient(circle at 100% 100%, rgba(24, 119, 242, 0.15) 0%, transparent 70%); }
.fb-card:hover { border-color: rgba(24, 119, 242, 0.5); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(24, 119, 242, 0.1); }
.fb-card:hover .social-icon-large { background: #1877f2; border-color: #1877f2; color: #fff; }

.ig-card::before { background: radial-gradient(circle at 100% 100%, rgba(225, 48, 108, 0.15) 0%, transparent 70%); }
.ig-card:hover { border-color: rgba(225, 48, 108, 0.5); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(225, 48, 108, 0.1); }
.ig-card:hover .social-icon-large { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; color: #fff; }

.tk-card::before { background: radial-gradient(circle at 100% 100%, rgba(255, 0, 80, 0.1) 0%, rgba(0, 242, 254, 0.1) 50%, transparent 80%); }
.tk-card:hover { border-color: rgba(0, 242, 254, 0.5); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255, 0, 80, 0.1); }
.tk-card:hover .social-icon-large { background: #000; border-color: #00f2fe; color: #fff; }

.go-card::before { background: radial-gradient(circle at 100% 100%, rgba(234, 67, 53, 0.15) 0%, transparent 70%); }
.go-card:hover { border-color: rgba(234, 67, 53, 0.5); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(234, 67, 53, 0.1); }
.go-card:hover .social-icon-large { background: #ea4335; border-color: #ea4335; color: #fff; }

.social-bento-card:hover::before { opacity: 1; }
.social-bento-card:hover .social-bento-arrow { opacity: 1; transform: translateX(0); color: var(--text-primary); }

/* --- FOOTER BENTO --- */
.contact-glass {
    padding: 4rem; 
    display: flex;
    flex-direction: column;
}

.bento-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.bento-card {
    border-radius: 24px; 
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.micro-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--accent);
    text-transform: uppercase;
    opacity: 0.8;
}

.bento-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
}

.brand-card {
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.bird-logo-wrapper {
    margin-bottom: 1.5rem;
    animation: float-bird 6s ease-in-out infinite;
}

.footer-bird-logo {
    height: 140px; 
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 10px 15px rgba(217, 112, 34, 0.3)); 
}

@keyframes float-bird {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.glass-hours {
    list-style: none;
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glass-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1rem; 
}

.glass-hours .time { 
    color: var(--text-secondary); 
    font-family: var(--font-heading);
}

.glass-hours .closed .time { 
    color: var(--accent); 
    font-style: italic; 
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.info-row p, .info-link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.info-link:hover { color: var(--accent); }

.action-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

.social-card {
    flex: 1; 
    padding: 2.5rem;
}

.circle-socials { 
    display: flex; 
    gap: 3rem; 
    justify-content: center; 
}

.glass-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-icon-btn svg { width: 22px; height: 22px; transition: transform 0.4s ease; }

.glass-icon-btn:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(217, 112, 34, 0.2); 
}
.glass-icon-btn:hover svg { transform: scale(1.15); }

.book-now-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.2rem; 
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.book-now-pill svg { width: 20px; height: 20px; transition: transform 0.3s ease; }

.book-now-pill:hover svg { transform: translateX(5px); }

.footer-bottom-text {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4rem;
    opacity: 0.7;
}

/* ==========================================================================
   HIGH-END AESTHETIC MODAL (EDITORIAL STYLE)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.2); /* Lighter backdrop for Vision OS feel */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 99999; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.modal-panel-aesthetic {
    max-width: 700px;
    width: 95%;
    max-height: 85vh;
    background: rgba(255, 255, 255, 0.8);
    border: var(--glass-border);
    padding: 0; 
    display: flex;
    flex-direction: column;
    border-radius: 40px; /* Big Vision OS squircle */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255,255,255,0.9);
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-panel-aesthetic {
    transform: translateY(0) scale(1);
}

.modal-watermark {
    top: -20px !important;
    left: -10px !important;
    font-size: 10rem !important;
    opacity: 0.05;
}

.modal-header-aesthetic {
    padding: 3rem 3rem 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.modal-title-main {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1;
    margin-top: 0.5rem;
}

.modal-title-main em {
    font-style: italic;
    color: var(--moss);
}

.btn-close-aesthetic {
    background: rgba(255, 255, 255, 0.6);
    border: var(--glass-border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-close-aesthetic:hover {
    background: var(--berry);
    color: #fff;
    transform: rotate(90deg);
}

.modal-body-aesthetic {
    display: flex;
    flex-direction: column;
    padding: 0 3rem 3rem 3rem;
    flex: 1;
    overflow: hidden;
}

.modal-intro-box {
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(90, 106, 60, 0.2); 
    background: rgba(255, 255, 255, 0.5);
}

.modal-intro-box p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
}

.modal-scroll-area {
    overflow-y: auto;
    flex: 1;
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--moss) transparent;
}

.modal-scroll-area::-webkit-scrollbar { width: 4px; }
.modal-scroll-area::-webkit-scrollbar-thumb { background: var(--moss); border-radius: 10px; }

.policy-bento-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aesthetic-accordion {
    background: rgba(255, 255, 255, 0.5);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.aesthetic-accordion:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--moss);
}

.acc-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

.acc-header::-webkit-details-marker { display: none; }

.acc-number {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--moss);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100px;
}

.acc-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    flex: 1;
}

.acc-plus {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.4s ease;
}

details[open] .acc-plus { transform: rotate(45deg); color: var(--moss); }

.acc-content {
    padding: 0 1.5rem 1.5rem 115px; 
    animation: fadeIn 0.4s ease;
}

.acc-content p, .acc-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-footer-aesthetic {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: flex-end;
}

.got-it-pill {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
}


/* ==========================================================================
   MEDIA QUERIES 
   ========================================================================== */

/* --- DESKTOP LAYOUTS & CENTERING SHIFT --- */
@media (min-width: 901px) {
    /* ==========================================================================
       SIDE-BY-SIDE WIDGET LAYOUTS (DESKTOP)
       ========================================================================== */
       
    /* ==========================================================================
       TIKTOK REVERSE & ABOUT US SIDE-BY-SIDE
       ========================================================================== */
       
    /* 1. Flips the TikTok panel so the Widget is on the Left and Text is on the Right */
    .tiktok-section .glass-panel {
        flex-direction: row-reverse !important;
    }
    
    /* 2. Puts the About Us Text and Bento Grid side-by-side */
    .about-section .glass-panel {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4rem;
    }
    
    /* 3. Locks the About Text to the left 35% of the screen */
    .about-side-content {
        flex: 0 0 35%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-side-content .aesthetic-header {
        align-items: flex-start;
        text-align: left;
        margin-bottom: 2rem !important; /* Tightens the gap between title and paragraph */
    }
    
    .about-intro-text {
        text-align: left !important;
        margin-bottom: 0 !important;
    }
    
    /* 4. Allows the Grid to take up the remaining 65% */
    .focus-bento-grid {
        flex: 1;
        margin-top: 0;
    }

    /* 1. Switch the panels from stacked columns to side-by-side rows */
    .reviews-section .glass-panel,
    .tiktok-section .glass-panel,
    .social-spread-section .glass-panel {
        display: flex;
        flex-direction: row;
        align-items: center; /* Centers everything vertically */
        justify-content: space-between;
        gap: 4rem; /* Creates a clean gutter between the text and the widget */
    }

    /* 2. Lock the headers to the left side, restricting their width */
    .reviews-section .aesthetic-header,
    .tiktok-section .aesthetic-header,
    .social-spread-section .aesthetic-header {
        flex: 0 0 35%; /* Text gets 35% of the space */
        margin-bottom: 0 !important; /* Removes the vertical empty space */
    }

    /* 3. Allow the widgets to fill the remaining space on the right */
    .reviews-widget-wrapper,
    .tiktok-widget-wrapper,
    .social-bento-grid {
        flex: 1; /* Widget gets the remaining 65% of the space */
        margin-top: 0 !important;
        width: 100%;
        
        /* FIX: Prevents the flex container from crushing the iframe! */
        min-width: 0; 
    }

    /* 4. Adjust the Social Grid to a 2x2 layout so it fits perfectly on the right half of the screen */
    .social-bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .bento-footer {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 2rem; 
        align-items: stretch;
    }
    
    .brand-card {
        justify-content: center;
        padding-left: 2rem;
    }

    .crew-section .glass-panel {
        display: flex;
        flex-direction: row; 
        align-items: center; 
        justify-content: center; 
        gap: 4rem; 
    }

    .crew-section .aesthetic-header {
        flex: 1; 
        max-width: 350px; 
        margin-bottom: 0;
        order: 1; 
    }

    .crew-section .crew-grid { 
        flex: 1.5; 
        margin: 0; 
        order: 2; 
    }
    
    .gallery-section .glass-panel {
        display: flex;
        flex-wrap: wrap; 
        align-items: center; /* FIX: Changed from flex-end to perfectly center the column vertically */
        justify-content: space-between;
        gap: 2rem; 
    }

    .gallery-side-col {
        flex: 0 0 30%;
        display: flex;
        flex-direction: column;
        justify-content: center; /* FIX: Changed from flex-end to keep the inner text centered */
        align-items: flex-end; 
        order: 2; 
    }

    /* FIX: Targets the new wrapper so the side-by-side layout holds strong */
    .gallery-section .gallery-wrapper {
        flex: 0 0 65%; 
        margin: 0;
        order: 1; 
        min-width: 0; /* Prevents overflow issues */
    }
    
    /* Hides the swipe indicator on desktop, as users will use a mouse/trackpad */
  

    .gallery-section .aesthetic-header {
        margin-bottom: 2rem;
        align-items: flex-end;
        text-align: right;
    }
    
    .gallery-section .gallery-footer {
        margin-top: 0;
        justify-content: flex-end;
    }

    .section-header-row {
        flex-direction: row;
        align-items: center; 
        justify-content: space-between;
        gap: 4rem;
    }

    .services-section .aesthetic-header {
        margin-bottom: 0; 
        flex: 0 0 40%; 
    }

    .pricing-intro {
        flex: 1; 
        max-width: 600px; 
    }
}

/* --- THE PERFECT CENTERING SHIFT --- */
@media (min-width: 1025px) {
    :root {
        --nav-width: calc(2rem + 75px + 2rem); 
    }

    body {
        padding-left: var(--nav-width);
        box-sizing: border-box; 
    }

    .page-section {
        display: flex;
        flex-direction: column;
        align-items: center; 
        width: 100%;
        padding-left: 3%; 
        padding-right: 3%;
    }
}

/* --- MOBILE HANDLING --- */
@media (max-width: 1024px) {
    .side-nav {
        top: auto;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        width: calc(100% - 3rem); 
        max-width: 400px;
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
    }
    
    .side-brand { display: none; }
    
    .side-links {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .side-link {
        width: 50px;
        height: 50px;
    }
    
    .nav-tooltip { display: none !important; }
}

@media (max-width: 900px) {
    /* ==========================================================================
       MOBILE HEADER CENTERING
       ========================================================================== */
       
    /* Forces all headers (even the right-aligned ones) to center perfectly on phones */
    .aesthetic-header, 
    .aesthetic-header.right-aligned {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }

    .aesthetic-header .section-title {
        text-align: center !important;
    }

        /* ==========================================================================
       GALLERY BUTTON MOBILE CENTERING
       ========================================================================== */
       
    /* Forces the 'View More' button to sit perfectly under the centered text */
    .gallery-footer {
        justify-content: center !important;
        margin-top: 1.5rem !important; /* Gives it a bit of breathing room */
    }

    /* Centers the newly wrapped About Text on phones */
    .about-side-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }
    /* Hero Fixes */
    .page-section.hero-section {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
        padding-bottom: 2rem; 
        padding-top: 1rem;
    }

    .hero-glass {
        display: flex;
        flex-direction: column; 
        height: auto; 
        min-height: unset; 
    }
    
    .hero-visual {
        height: 35vh; 
        min-height: 250px;
        width: 100%;
    }
    
    .hero-content { 
        position: relative;
        padding: 2.5rem 1.5rem; 
        flex: 1; 
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    }

    .hero-logo {
        position: static; 
        max-width: 120px; 
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3rem); 
        margin-bottom: 1rem;
    }
    
    .hero-subtext {
        text-align: center; 
        margin-bottom: 2rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn-primary {
        width: 100%; 
        text-align: center;
    }

    /* Focus/About Bento Grid Mobile Fixes */
    .focus-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto !important; 
        grid-auto-rows: auto !important;
    }
    
    .focus-card {
        display: flex;
        flex-direction: column;
        height: auto !important; 
    }
    
    .card-tall {
        grid-row: span 1 !important;
    }

    .focus-img {
        height: 250px !important; 
        width: 100%;
        flex-shrink: 0;
    }
    
    .focus-glass-overlay {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        border-radius: 0 !important; 
        margin-top: 0 !important; 
        padding: 2rem !important; 
        background: rgba(255, 255, 255, 0.95) !important; 
        height: auto !important;
    }
    
    .focus-reveal-content {
        display: block !important; 
        opacity: 1 !important;
        height: auto !important;
    }
    
    .focus-reveal-content p {
        padding-top: 1rem !important;
    }

    /* General Panel Adjustments */
    .about-section .glass-panel,
    .crew-section .glass-panel,
    .services-section .glass-panel,
    .tiktok-section .glass-panel,
    .reviews-section .glass-panel,
    .social-spread-section .glass-panel,
    .contact-glass {
        padding: 4rem 2rem;
    }

    .circle-socials { 
        display: flex; 
        gap: .5rem; 
        justify-content: center; 
    }

    .brand-card {
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem; 
    }
    
    .bird-logo-wrapper {
        margin-bottom: 0; 
    }
    
    .crew-grid {
        flex-direction: column; 
        height: 700px; 
    }
    
    .crew-name { font-size: 1.8rem; }
    
    .map-panel {
        height: auto;
        min-height: 600px;
        flex-direction: column;
        justify-content: flex-end; 
    }
    
    .map-overlay-card {
        margin: 2rem;
        max-width: 100%;
    }

    .reviews-widget-wrapper, .tiktok-widget-wrapper {
        padding: 0; 
        background: transparent !important;
        border: none;
        box-shadow: none;
    }

    /* Modal Adjustments */
    .modal-header-aesthetic { padding: 2rem 1.5rem 1rem 1.5rem; }
    .modal-body-aesthetic { padding: 0 1.5rem 2rem 1.5rem; }
    .acc-number { width: auto; margin-right: 1rem; }
    .acc-content { padding-left: 1.5rem; }
    .modal-title-main { font-size: 2rem; }
}

/* ==========================================================================
   DEDICATED SERVICES PAGE (services.php)
   ========================================================================== */

/* Overrides the global left-nav padding specifically for this sub-page */
.services-dedicated-page {
    padding-left: 0 !important; 
    padding-top: 60px;
}

.floating-back-btn {
    position: absolute; /* Using absolute so it stays at the top of the document */
    top: 3rem;
    left: 3%;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.standalone-services-section {
    padding-top: 4rem; 
    min-height: 100vh;
}

.standalone-panel {
    padding: 5rem 4rem;
}

.full-width-header {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
}

.standalone-intro {
    max-width: 800px;
    margin: 2rem auto 4rem auto;
}

.services-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.services-right-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-menu-card {
    padding: 3rem;
}

.service-category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.mt-top {
    margin-top: 2.5rem;
}

.standalone-disclaimer {
    margin-top: 4rem;
}

/* Desktop Grid Layout */
@media (min-width: 901px) {
    .services-page-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
    
    .floating-back-btn {
        position: fixed; /* Pins it to the screen on desktop */
        top: 3rem;
        left: 2rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .standalone-panel {
        padding: 4rem 2rem;
    }
    .service-menu-card {
        padding: 2rem;
    }
    .floating-back-btn {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 0 2rem 1rem;
    }
}

/* ==========================================================================
   THE EDITORIAL BENTO GRID
   ========================================================================== */

.bento-gallery-grid {
    display: grid;
    /* Creates a strict 4-column layout */
    grid-template-columns: repeat(4, 1fr); 
    /* Sets a base height for the "perfect square" blocks */
    grid-auto-rows: 320px; 
    gap: 1.5rem;
    width: 100%;
    margin-top: 3rem;
    
    /* THE MAGIC: Automatically fills empty grid spaces like a puzzle */
    grid-auto-flow: dense; 
}

.bento-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1); 
    border: var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease;
    
    /* Load-in animation */
    opacity: 0;
    transform: translateY(30px);
    animation: gallery-fade-up 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* --- BENTO SIZING CLASSES --- */
/* Tall portrait image */
.size-tall { grid-row: span 2; } 

/* Wide landscape image */
.size-wide { grid-column: span 2; } 

/* Massive focal point image */
.size-large { 
    grid-column: span 2; 
    grid-row: span 2; 
} 

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces images to perfectly fill their puzzle piece shape */
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.5s ease;
}

/* Hover Effects (Kept the modern glass icon logic) */
.bento-item:hover {
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

.bento-item:hover .bento-img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.bento-glass-hover {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.bento-item:hover .bento-glass-hover { opacity: 1; }

.hover-icon-glass {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.8);
    transform: scale(0.5) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-item:hover .hover-icon-glass { transform: scale(1) translateY(0); }
.hover-icon-glass svg { width: 24px; height: 24px; stroke-width: 2; }

/* --- RESPONSIVE BREAKDOWNS --- */
@media (max-width: 1200px) {
    .bento-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .bento-gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
        grid-auto-rows: 250px; /* Shrinks base height on mobile */
    }
    /* Disable the massive 2x2 blocks on small screens to prevent clipping */
    .size-large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 500px) {
    .bento-gallery-grid { 
        grid-template-columns: 1fr; 
        grid-auto-rows: 350px; 
    }
    /* Forces everything to be a standard block stacked vertically on tiny phones */
    .size-tall, .size-wide, .size-large { 
        grid-column: span 1; 
        grid-row: span 1; 
    }
}

/* ==========================================================================
   DEDICATED CAREERS PAGE (careers.php)
   ========================================================================== */

.careers-dedicated-page {
    padding-left: 0 !important; 
    padding-top: 60px;
}

.standalone-careers-section {
    padding-top: 4rem; 
    min-height: 100vh;
}

.careers-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.careers-side-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.careers-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.careers-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

/* Positions List */
.positions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.positions-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.position-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.position-icon svg { width: 22px; height: 22px; }

.position-details h3 {
    font-family: var(--font-body); /* FIX: Switched from the wide heading font to the clean body font */
    font-size: 1.15rem; /* Adjusted slightly so it reads perfectly */
    font-weight: 600; /* Keeps it bold and prominent */
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    letter-spacing: -0.3px; /* Slightly tightens the letters for a premium UI feel */
}

.position-details p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Perks List */
.perks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.perks-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 600;
}

.perks-list svg { width: 24px; height: 24px; flex-shrink: 0; }

/* Apply Instructions */
.apply-instructions p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.requirements-list {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.requirements-list li {
    margin-bottom: 0.5rem;
}

.apply-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto; 
}

.contact-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method-btn svg { width: 18px; height: 18px; }

/* Desktop Grid Layout */
@media (min-width: 901px) {
    .careers-page-grid {
        grid-template-columns: 1.2fr 1fr; /* Gives the roles list slightly more room */
        align-items: stretch;
    }
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .careers-card { padding: 2rem; }
    .position-icon { width: 40px; height: 40px; }
    .position-details h3 { font-size: 1.1rem; }
}

/* ==========================================================================
   HOMEPAGE CAREERS BANNER
   ========================================================================== */

/* Mobile First Structure */
.careers-banner-panel {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column-reverse; /* On phones, puts the header on top of the text */
    gap: 3rem;
}

.careers-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.careers-banner-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Desktop Side-by-Side Layout */
@media (min-width: 901px) {
    .careers-banner-panel {
        flex-direction: row; 
        align-items: center;
        justify-content: space-between;
        gap: 4rem;
    }
    
    .careers-banner-content {
        flex: 1; /* Takes up the left 65% of the screen */
        align-items: flex-start;
        text-align: left;
    }
    
    .careers-banner-text {
        max-width: 500px; /* Keeps the paragraph from getting too long to read */
    }
    
    .careers-banner-panel .aesthetic-header {
        flex: 0 0 35%; /* Locks the header to the right 35% of the screen */
        margin-bottom: 0 !important;
    }
}

/* Mobile Sizing Adjustments */
@media (max-width: 900px) {
    .careers-banner-panel {
        padding: 4rem 2rem;
    }
    
    .careers-banner-text {
        font-size: 1rem;
    }
}