/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --color-dark-blue: #083D77;
    --color-cream: #EBEBD3;
    --color-pink: #DA4167;
    --color-text-light: #EBEBD3;
    --color-text-dark: #05284D;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark-blue);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-dark-blue);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-pink);
    color: var(--color-text-light);
}
.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-pink);
    color: var(--color-pink);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-dark-blue);
    color: var(--color-dark-blue);
}
.btn-secondary:hover {
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}


/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(8, 61, 119, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-secondary);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--color-cream);
    letter-spacing: -1px;
}
.logo:hover { color: var(--color-cream); }

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-cream);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-pink);
    transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

.menu-toggle { display: none; }


/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    min-height: 600px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('images/hero-bg.webp') no-repeat center center/cover;
    color: var(--color-text-light);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--color-dark-blue);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#hero h1 {
    color: var(--color-cream);
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* On-load animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}
#hero h1 { animation-delay: 0.2s; }
#hero p { animation-delay: 0.4s; }
#hero .btn { animation-delay: 0.6s; }


/* --- WELCOME SECTION --- */
.welcome-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.welcome-image img {
    border-radius: 10px;
    box-shadow: -15px 15px 0 var(--color-dark-blue);
}

.welcome-text h2 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}
.welcome-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-pink);
}


/* --- VALUES SECTION --- */
/* --- VALUES SECTION (MODERN TABS) - ADAPTIVE REFINEMENT --- */
#values {
    background-color: #f7f7f5;
}

.values-tabs-container {
    /* Using custom properties for maintainable spacing */
    --tab-gap: clamp(30px, 5vw, 50px);
    --tab-image-size: clamp(180px, 20vw, 250px);
    --tab-border-radius: 8px;
    --tab-transition-speed: 0.4s;

    display: grid;
    grid-template-columns: 1fr 2.5fr; /* Nav on left, content on right for desktop */
    gap: var(--tab-gap);
    max-width: 1100px;
    margin: 40px auto 0 auto;
}

/* Tab Navigation Styling */
.values-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    border-radius: var(--tab-border-radius);
    border-left: 4px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.tab-button h3 {
    /* Fluid typography: scales smoothly between 1.1rem and 1.3rem */
    font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.3rem);
    font-weight: 600;
    color: var(--color-text-dark);
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
    margin: 0; /* Removing default margin for better control */
}

.tab-button:hover {
    background-color: #fff;
    transform: translateX(5px); /* Adds a subtle interaction on hover */
}

.tab-button:hover h3,
.tab-button.active h3 {
    opacity: 1;
    color: var(--color-dark-blue);
}

.tab-button.active {
    background-color: #fff;
    border-left-color: var(--color-pink);
    transform: scale(1.05); /* Active state has more emphasis */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Tab Content Styling */
.values-tabs-content {
    position: relative;
    /* The min-height is crucial to prevent the page content below from "jumping"
       when switching between tabs of different content heights. */
    min-height: 450px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity var(--tab-transition-speed) ease-out, transform var(--tab-transition-speed) ease-out, visibility var(--tab-transition-speed);
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-pane img {
    flex-shrink: 0;
    /* Using the CSS variable for a dynamic size */
    width: var(--tab-image-size);
    height: var(--tab-image-size);
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tab-pane .pane-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Responsive & Adaptive Breakpoints --- */

/* Tablet View: Switches to horizontal navigation */
@media (max-width: 900px) {
    .values-tabs-container {
        grid-template-columns: 1fr; /* Stack nav on top of content */
    }

    .values-tabs-nav {
        flex-direction: row; /* Horizontal nav buttons */
        justify-content: center;
        border-bottom: 1px solid #ddd;
        gap: 5px;
    }

    .tab-button {
        border-left: none;
        border-bottom: 4px solid transparent;
        flex-grow: 1;
        text-align: center;
    }

    .tab-button:hover {
        transform: translateY(-3px); /* Adjust hover interaction for horizontal nav */
    }
    
    .tab-button.active {
        border-bottom-color: var(--color-pink);
        transform: scale(1.02); /* Tone down the scale effect slightly for this layout */
    }
}

/* Mobile View: Stacks content vertically and refines spacing */
@media (max-width: 600px) {

    .values-tabs-container
    {
        display: block;
    }
    .values-tabs-nav
    {
        flex-direction: column;
    }
    .values-tabs-content {
        min-height: 750px; /* Increase min-height to accommodate stacked content */
    }
    
    .tab-pane {
        flex-direction: column; /* Stack image on top of text */
        text-align: center;
    }

    .tab-button {
        padding: 15px 10px;
    }
}


/* --- STUDIO PREVIEW SECTION (GLASS MORPHISM) --- */
#studio-preview {
    padding: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: url('images/studio-bg.webp') no-repeat center center/cover;
    position: relative;
}

.studio-preview-container {
    display: flex;
    justify-content: flex-start;
}

.glass-box {
    background: rgba(235, 235, 211, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 40px;
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
}

.glass-box h2 {
    color: var(--color-cream);
}


/* --- WORK SECTION --- */
#work {
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
}
#work .section-title, #work .section-subtitle {
    color: var(--color-cream);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.work-item img {
    transition: transform 0.4s ease;
    height: 400px;
    width: 100%;
    object-fit: cover;
}

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

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 61, 119, 0.9) 0%, rgba(8, 61, 119, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
    transform: translateY(0);
}

.work-overlay h3 {
    color: var(--color-cream);
    margin: 0;
}
.work-overlay p {
    color: var(--color-pink);
    font-weight: 600;
    margin: 0;
}


/* --- GEAR HIGHLIGHTS SECTION --- */
.gear-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.gear-text { flex: 1; }
.gear-images { flex: 0 0 45%; position: relative; height: 500px; }

.gear-text ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: none;
}
.gear-text li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.gear-category {
    font-weight: 600;
    color: var(--color-dark-blue);
}

.gear-images img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}
.gear-img-1 {
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
}
.gear-img-2 {
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    border: 5px solid var(--color-cream);
}


/* --- CTA SECTION --- */
#cta {
    background-color: var(--color-pink);
    text-align: center;
    color: var(--color-text-light);
}
#cta h2 { color: var(--color-cream); }

#cta .btn-primary {
    background-color: var(--color-cream);
    color: var(--color-pink);
}
#cta .btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-cream);
    color: var(--color-cream);
}

/* --- SERVICES PAGE STYLES --- */

/* --- SERVICES HERO SECTION --- */
#services-hero {
    padding: 180px 0 100px 0;
    background: linear-gradient(to right, var(--color-dark-blue), #1a5a9a);
    text-align: center;
    color: var(--color-text-light);
}

.services-hero-content h1 {
    color: var(--color-cream);
}

.services-hero-content p {
    max-width: 700px;
    margin: 1rem auto 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- CORE SERVICES SECTION --- */
#core-services {
    background-color: #f7f7f5;
}

.core-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(8, 61, 119, 0.07);
    display: flex;
    flex-direction: column;
}

.service-card img {
    border-radius: 8px 8px 0 0;
    height: 250px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    margin-bottom: 10px;
}

/* --- SERVICE RECORDING SECTION --- */
/* --- SERVICE RECORDING SECTION (REDESIGNED: Image-Text-Image) --- */
#service-recording {
    background-color: #f7f7f5; /* A subtle background to frame the content */
}

.recording-layout-container {
    display: grid;
    /* Create three columns: Image | Text | Image. Give text more space. */
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: clamp(20px, 4vw, 50px); /* Fluid gap for adaptiveness */
    align-items: center;
}

.recording-text-center {
    padding: 20px;
    z-index: 2; /* Ensure text is above any potential image overlap */
    position: relative;
}

.recording-image-left,
.recording-image-right {
    position: relative;
}

.recording-layout-container img {
    width: 100%;
    height: 400px;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(8, 61, 119, 0.15);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

/* Add subtle dynamic positioning and hover effects */
.recording-img-1 {
    transform: rotate(-2deg);
}

.recording-img-2 {
    transform: rotate(2deg);
}

.recording-layout-container img:hover {
    transform: rotate(0) scale(1.03);
    box-shadow: 0 20px 45px rgba(8, 61, 119, 0.2);
    z-index: 5;
}


/* --- Responsive Breakpoints for the Redesigned Section --- */

/* Tablet View: Switch to a 2-column grid with text below */
@media (max-width: 1024px) {
    .recording-layout-container {
        grid-template-columns: 1fr 1fr; /* Two columns for images */
        grid-template-rows: auto auto;    /* Two rows */
    }

    .recording-image-left {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .recording-image-right {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .recording-text-center {
        grid-column: 1 / 3; /* Text spans both columns on the second row */
        grid-row: 2 / 3;
        text-align: center;
        padding-top: 40px;
    }
}

/* Mobile View: Stack everything vertically */
@media (max-width: 768px) {
    .recording-layout-container {
        grid-template-columns: 1fr; /* A single column */
    }

    /* Reset grid positions for single-column layout */
    .recording-image-left,
    .recording-image-right,
    .recording-text-center {
        grid-column: auto;
        grid-row: auto;
    }

    .recording-text-center {
        /* Re-order elements for mobile: Image -> Text -> Image */
        order: 2;
        text-align: left;
        padding: 20px 0;
    }

    .recording-image-left {
        order: 1;
    }

    .recording-image-right {
        order: 3;
    }
    
    /* Straighten images for a cleaner mobile look */
    .recording-img-1,
    .recording-img-2 {
        transform: rotate(0deg);
    }
}

/* --- SERVICE MIXING SECTION --- */
#service-mixing {
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
}
#service-mixing h2 {
    color: var(--color-cream);
}
#service-mixing p {
    color: rgba(235, 235, 211, 0.8);
}

.mixing-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.mixing-image {
    flex: 0 0 45%;
}
.mixing-image img {
    border-radius: 50%;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border: 10px solid var(--color-pink);
}
.mixing-text {
    flex: 1;
}

/* --- SERVICE MASTERING SECTION --- */
.mastering-container {
    max-width: 800px;
    text-align: center;
}
.mastering-content h2 
{
    margin-bottom: 20px;
}
.mastering-icon {
    margin: 0 auto 30px auto;
    width: 100px;
    height: 100px;
    background-color: var(--color-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}
.mastering-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(218, 65, 103, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(218, 65, 103, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(218, 65, 103, 0); }
}


/* --- SPECIALIZED SERVICES SECTION --- */
#specialized-services {
    background-color: #f7f7f5;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    height: 600px;
}

.specialized-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.specialized-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.specialized-item:hover img {
    transform: scale(1.05);
}

.specialized-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(8, 61, 119, 0.8), transparent);
    color: var(--color-cream);
}
.specialized-overlay h3 {
    color: var(--color-cream);
    margin: 0;
}

.item-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.item-2 { grid-column: 3 / 4; grid-row: 1 / 2; background: #fff; padding: 15px; }
.item-3 { grid-column: 1 / 2; grid-row: 2 / 3; }
.item-4 { grid-column: 2 / 4; grid-row: 2 / 3; }

.specialized-text-content h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-pink);
    margin-bottom: 1rem;
}


/* --- SERVICE CTA SECTION --- */
#service-cta {
    background: linear-gradient(45deg, var(--color-cream), #fff);
}
.service-cta-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.service-cta-text { flex: 1; }
.service-cta-images {
    display: flex;
    gap: 20px;
}
.service-cta-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-cta-images img:first-child {
    margin-top: -30px;
}
.service-cta-images img:last-child {
    margin-top: 30px;
}


/* --- RESPONSIVE STYLES FOR SERVICES PAGE --- */
@media (max-width: 1024px) {
    .core-services-grid { grid-template-columns: 1fr; }
    .mixing-container { flex-direction: column-reverse; text-align: center; }
    .specialized-grid { display: flex; flex-direction: column; height: auto; }
}

@media (max-width: 768px) {
    .service-split-container { grid-template-columns: 1fr; }
    .service-split-images { height: 450px; margin-top: 40px; }
    .service-cta-container { flex-direction: column; text-align: center; }
    .service-cta-images { width: 100%; justify-content: center; flex-direction: column;}
}

/* --- STUDIO PAGE STYLES --- */

/* --- STUDIO HERO SECTION --- */
#studio-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%; /* Taller to allow for parallax scrolling */
    background: url('images/parallax-bg.webp') no-repeat center center/cover;
    background-attachment: fixed; /* Simple parallax effect */
    z-index: -2;
}
#studio-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(8, 61, 119, 0.7);
    z-index: -1;
}
.studio-hero-content h1 {
    color: var(--color-cream);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.studio-hero-content p {
    max-width: 600px;
    margin: 1rem auto 0 auto;
    font-size: 1.2rem;
}

/* --- CONTROL ROOM SECTION --- */
/* --- CONTROL ROOM SECTION (INTERACTIVE REDESIGN) --- */
#control-room {
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
}

.interactive-gallery-container {
    display: grid;
    /* Give more space to the image viewer on desktop */
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

#control-room h2 {
    color: var(--color-cream);
}

/* The Image Viewer */
.interactive-gallery-viewer {
    position: relative;
    width: 100%;
    height: 400px;
    /* Aspect ratio for a consistent shape */
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05); /* Start slightly zoomed in for a nice effect */
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2; /* Ensure active image is on top */
}

/* The Text Triggers */
.image-trigger-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-trigger {
    background-color: transparent;
    border: none;
    border-left: 3px solid rgba(235, 235, 211, 0.3);
    padding: 20px;
    text-align: left;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: var(--color-text-light);
}

.image-trigger h4 {
    color: var(--color-cream);
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.image-trigger p {
    margin: 0;
    color: rgba(235, 235, 211, 0.7);
    transition: color 0.3s ease;
}

.image-trigger:hover {
    background-color: rgba(235, 235, 211, 0.05);
}

.image-trigger.active {
    background-color: rgba(235, 235, 211, 0.1);
    border-left-color: var(--color-pink);
}

.image-trigger.active h4 {
    color: var(--color-pink);
}

/* --- Responsive Breakpoints for Interactive Gallery --- */
@media (max-width: 900px) {
    .interactive-gallery-container {
        grid-template-columns: 1fr; /* Stack layout on tablet and mobile */
    }
    
    .interactive-gallery-text {
        /* Move text above the gallery on smaller screens */
        order: -1;
    }
    
    .image-trigger-list {
        flex-direction: row; /* Horizontal triggers on smaller screens */
        justify-content: space-between;
    }
    
    .image-trigger {
        flex: 1;
        border-left: none;
        border-bottom: 3px solid rgba(235, 235, 211, 0.3);
        border-radius: 8px 8px 0 0;
        text-align: center;
    }

    .image-trigger.active {
        border-bottom-color: var(--color-pink);
    }
}

@media (max-width: 600px) {
    .image-trigger-list {
        flex-direction: column; /* Stack triggers vertically on very small screens */
    }
    .image-trigger {
        border-bottom: none;
        border-left: 3px solid rgba(235, 235, 211, 0.3);
        border-radius: 0 8px 8px 0;
        text-align: left;
    }
    .image-trigger.active {
        border-bottom-color: transparent;
        border-left-color: var(--color-pink);
    }
}
/* --- LIVE ROOM SECTION --- */
#live-room {
    background-color: #f7f7f5;
}
.live-room-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.live-room-images {
    position: relative;
    min-height: 500px;
}
.live-room-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.live-img-main {
    width: 100%;
}
.live-img-sub {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 50%;
    border: 5px solid #f7f7f5;
}

/* --- ISOLATION BOOTHS SECTION --- */
/* --- ISOLATION BOOTHS SECTION (REDESIGNED) --- */
#iso-booths {
    background-color: #f7f7f5;
}

.booth-split-container {
    display: grid;
    /* Two columns for the two booth panels */
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.booth-split-item {
    display: grid;
    /* Two equal columns inside each panel for Image | Text */
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(8, 61, 119, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booth-split-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 61, 119, 0.15);
}

/* Image Styling */
.booth-image-wrapper {
    overflow: hidden; /* This is crucial for the zoom effect */
}

.booth-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.booth-split-item:hover .booth-image-wrapper img {
    transform: scale(1.05);
}

/* Text Styling */
.booth-text-wrapper {
    padding: clamp(20px, 4vw, 40px); /* Fluid padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booth-text-wrapper h3 {
    color: var(--color-pink);
    margin-bottom: 1rem;
}

/* The Mirrored/Reverse Layout */
.booth-split-item.reverse .booth-image-wrapper {
    order: 2; /* Moves the image to the second position */
}
.booth-split-item.reverse .booth-text-wrapper {
    order: 1; /* Moves the text to the first position */
}


/* --- Responsive Breakpoints for Split-Panel Design --- */
@media (max-width: 900px) {
    .booth-split-container {
        /* Stack the two main panels vertically */
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .booth-split-item,
    .booth-split-item.reverse {
        /* Inside each panel, stack the image on top of the text */
        grid-template-columns: 1fr;
    }

    .booth-image-wrapper {
        min-height: 300px;
    }
    
    /* Ensure order is reset for vertical stacking */
    .booth-split-item.reverse .booth-image-wrapper,
    .booth-split-item.reverse .booth-text-wrapper {
        order: initial;
    }
}

/* --- LOUNGE SECTION --- */
/* --- LOUNGE SECTION (INTERACTIVE REDESIGN) --- */
#lounge {
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
    overflow: hidden; /* Important for overlapping elements */
}

#lounge h2 {
    color: var(--color-cream);
}

.lounge-container-redesigned {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 500px; /* Ensure space for the gallery */
}

.lounge-text-redesigned {
    /* Allow the text to sit on top of the gallery pile */
    z-index: 10;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

/* The Interactive Photo Pile */
.lounge-gallery-pile {
    position: relative;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    /* Create a sizing context for the absolute images */
    width: 100%;
    height: 450px; 
    cursor: pointer;
}

.lounge-gallery-pile img {
    position: absolute;
    width: 70%; /* Images are smaller than the container to allow fanning out */
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 4px solid var(--color-cream);
    /* A beautiful, springy transition */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Default "piled" state */
.lounge-gallery-pile img:nth-child(1) {
    transform: translate(0%, 10%) rotate(-8deg);
    z-index: 1;
}

.lounge-gallery-pile img:nth-child(2) {
    transform: translate(20%, 0%) rotate(5deg);
    z-index: 2;
}

.lounge-gallery-pile img:nth-child(3) {
    transform: translate(10%, 25%) rotate(12deg);
    z-index: 3;
}

/* Hover "fanned out" state */
.lounge-gallery-pile:hover img:nth-child(1) {
    transform: translate(-30%, 0%) rotate(-10deg) scale(1.05);
}

.lounge-gallery-pile:hover img:nth-child(2) {
    transform: translate(30%, 10%) rotate(8deg) scale(1.05);
}

.lounge-gallery-pile:hover img:nth-child(3) {
    transform: translate(0%, 50%) rotate(-2deg) scale(1.05);
}


/* --- Responsive Breakpoints for the Lounge Redesign --- */
@media (max-width: 900px) {
    .lounge-container-redesigned {
        /* Stack text on top of the gallery */
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lounge-text-redesigned,
    .lounge-gallery-pile {
        grid-column: 1 / 2; /* Both items occupy the full width */
    }

    .lounge-text-redesigned {
        grid-row: 1 / 2;
        text-align: center;
    }

    .lounge-gallery-pile {
        grid-row: 2 / 3;
        height: 400px; /* Adjust height for tablet */
    }
}

@media (max-width: 600px) {
    .lounge-gallery-pile {
        height: 300px; /* Further adjust height for mobile */
    }

    .lounge-gallery-pile img {
        width: 65%; /* Make images slightly smaller on mobile */
    }
    
    /* Adjust hover transforms for a tighter spread on mobile */
    .lounge-gallery-pile:hover img:nth-child(1) {
        transform: translate(-25%, 0%) rotate(-10deg) scale(1.05);
    }
    .lounge-gallery-pile:hover img:nth-child(2) {
        transform: translate(25%, 10%) rotate(8deg) scale(1.05);
    }
    .lounge-gallery-pile:hover img:nth-child(3) {
        transform: translate(0%, 45%) rotate(-2deg) scale(1.05);
    }
}
/* --- SPECS SECTION --- */
#specs {
    background-color: #f7f7f5;
}
.specs-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.specs-content { flex: 1; }
.specs-image { flex: 1; }
.specs-content ul {
    list-style: none;
    margin: 2rem 0;
}
.specs-content li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 1.1rem;
}
.spec-category {
    font-weight: 600;
    color: var(--color-dark-blue);
    display: inline-block;
    width: 200px;
}

/* --- STUDIO TOUR CTA --- */
#studio-tour-cta {
    background-color: var(--color-pink);
    color: var(--color-cream);
    text-align: center;
}
#studio-tour-cta h2, #studio-tour-cta p {
    color: var(--color-cream);
}
#studio-tour-cta .btn-primary {
    background-color: var(--color-cream);
    color: var(--color-pink);
}
#studio-tour-cta .btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-cream);
    color: var(--color-cream);
}


/* --- RESPONSIVE STYLES FOR STUDIO PAGE --- */
@media (max-width: 1024px) {
    .control-room-container { grid-template-columns: 1fr; }
    .control-room-text { text-align: center; }
    .live-room-layout { grid-template-columns: 1fr; }
    .live-room-images { margin-bottom: 60px; }
    .specs-container { flex-direction: column-reverse; }
}

@media (max-width: 768px) {
    .live-room-images { min-height: auto; }
    .live-img-sub { display: none; } /* Hide complex overlapping image on small screens */
    .booths-grid { grid-template-columns: 1fr; }
    .lounge-container { flex-direction: column; }
    .lounge-gallery { height: auto; }
    .spec-category { width: 120px; font-size: 1rem; }
}

/* --- GEAR PAGE STYLES --- */

/* --- GEAR HERO SECTION --- */
#gear-hero {
    position: relative;
    padding: 180px 0;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}
.gear-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('images/gear-bg.webp') no-repeat center center/cover;
    filter: grayscale(1) brightness(0.4);
    transform: scale(1.1);
    z-index: -1;
}
.gear-hero-content h1 {
    color: var(--color-cream);
}
.gear-hero-content p {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.2rem;
}

/* --- CONSOLE SECTION --- */
/* --- CONSOLE SECTION (REDESIGNED: Floating Card) --- */
#console {
    /* We remove the background color from the section itself */
    background-color: transparent;
    padding-top: 100px;
    padding-bottom: 100px;
}

.console-layout-redesigned {
    position: relative;
    display: grid;
    /* A 3-column grid to position the text card asymmetrically */
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    min-height: 600px;
    border-radius: 12px;
    overflow: hidden; /* This is crucial for the child elements */
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* Background Image Styling */
.console-background-image {
    position: absolute;
    /* Inset is a shorthand for top, right, bottom, left */
    inset: 0;
    z-index: 1;
}

.console-background-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 61, 119, 0.5) 0%, transparent 60%);
    /* This gradient ensures text on the card is always readable */
}

.console-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.console-layout-redesigned:hover .console-background-image img {
    transform: scale(1.03); /* Subtle zoom on hover */
}

/* Floating Text Card Styling */
.console-text-card {
    grid-column: 2 / 4; /* Positions card to the right on desktop */
    grid-row: 1 / 2;
    position: relative;
    z-index: 2;
    padding: clamp(25px, 5vw, 50px);
    margin: 40px;
    color: var(--color-cream);

    /* Glass Morphism Effect */
    background: rgba(8, 61, 119, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    border: 1px solid rgba(235, 235, 211, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.37);
    transition: transform 0.5s ease;
}

.console-layout-redesigned:hover .console-text-card {
    transform: translateY(-5px);
}

.console-tag {
    display: inline-block;
    background: var(--color-pink);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.console-text-card h2 {
    color: var(--color-cream);
}

.console-text-card p {
    color: rgba(235, 235, 211, 0.9);
}


/* --- Responsive Breakpoints for Console Redesign --- */
@media (max-width: 900px) {
    .console-layout-redesigned {
        /* Switch to a single-column layout for stacking */
        grid-template-columns: 1fr;
        min-height: 700px;
    }

    .console-text-card {
        /* Center the card at the bottom */
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        align-self: flex-end; /* Align to the bottom of the grid area */
        margin: 20px;
        /* Pull the card up to overlap the image slightly */
        margin-bottom: -50px;
    }
}

@media (max-width: 600px) {
    .console-layout-redesigned {
        min-height: 600px;
    }

    .console-text-card {
        margin: 15px;
        margin-bottom: -30px; /* Reduce overlap on mobile */
        /* Use a more solid background for better readability on small screens */
        background: rgba(8, 61, 119, 0.85);
    }
}
/* --- MIC LOCKER SECTION --- */
.mic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.mic-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.mic-card img {
    width: 100%;
    height: 400px;  
    object-fit: cover;
    transition: transform 0.4s ease;
}
.mic-card:hover img {
    transform: scale(1.1);
}
.mic-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: var(--color-text-light);
    background: linear-gradient(to top, rgba(8, 61, 119, 0.95), transparent);
    transform: translateY(40%);
    transition: transform 0.4s ease;
}
.mic-card:hover .mic-info {
    transform: translateY(0);
}
.mic-info h3 { color: var(--color-cream); margin-bottom: 5px; }
.mic-info span { color: var(--color-pink); font-weight: 600; font-size: 0.9rem; }
.mic-info p {
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}
.mic-card:hover .mic-info p {
    opacity: 1;
}

/* --- OUTBOARD SECTION --- */
/* --- OUTBOARD SECTION (SOPHISTICATED REDESIGN) --- */
#outboard {
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
}

#outboard .section-title, #outboard .section-subtitle, #outboard h4 {
    color: var(--color-cream);
}
#outboard .section-subtitle {
    color: rgba(235, 235, 211, 0.7);
}

.outboard-interactive-layout {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Narrow nav, wide content */
    gap: 50px;
    margin-top: 50px;
}

/* Navigation Panel Styling */
.outboard-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: start; /* Align to the top of the grid cell */
}

.outboard-trigger {
    background: transparent;
    border: 1px solid rgba(235, 235, 211, 0.2);
    color: rgba(235, 235, 211, 0.7);
    padding: 15px 25px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.outboard-trigger::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--color-pink);
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.outboard-trigger:hover {
    background: rgba(235, 235, 211, 0.05);
    color: var(--color-cream);
}

.outboard-trigger.active {
    background: rgba(218, 65, 103, 0.1);
    color: var(--color-cream);
    border-color: rgba(218, 65, 103, 0.5);
    box-shadow: 0 0 15px rgba(218, 65, 103, 0.3);
}

.outboard-trigger.active::before {
    transform: translateX(0);
}

/* Content Area Styling */
.outboard-content-area {
    position: relative;
    min-height: 450px; /* Prevents layout jump */
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 30px;
}

.outboard-pane {
    position: absolute;
    inset: 30px; /* Shorthand for top, right, bottom, left */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0.5s;
}

.outboard-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pane-image {
    border-radius: 6px;
    overflow: hidden;
}

.pane-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pane-text h4 {
    color: var(--color-pink);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* --- Responsive Breakpoints for Outboard Redesign --- */
@media (max-width: 900px) {
    .outboard-interactive-layout {
        display: flex;
        flex-direction: column;

        gap: 30px;
    }

    .outboard-nav {
        flex-direction: row; /* Horizontal buttons */
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .outboard-pane {
        grid-template-columns: 1fr; /* Stack image on top of text */
        text-align: center;
        gap: 20px;
        inset: 20px; /* Reduce padding on mobile */
    }

    .outboard-content-area {
        padding: 20px;
        min-height: 650px; /* Taller to accommodate stacked content */
    }

    .pane-image {
        max-height: 250px;
    }
}

/* --- MONITORING SECTION --- */
#monitoring {
    padding: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 60vh;
}
.monitoring-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}
.monitoring-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.monitoring-text {
    background: rgba(235, 235, 211, 0.9);
    backdrop-filter: blur(5px);
    padding: 40px;
    width: 100%;
}
.monitoring-text p {
    max-width: 900px;
}

/* --- INSTRUMENTS & AMPS SECTION --- */
/* --- INSTRUMENTS SECTION (IMMERSIVE REDESIGN) --- */
.instrument-showcase {
        display: flex;
    flex-direction: column;
    grid-template-columns: 1fr 3fr;
    gap: clamp(30px, 5vw, 50px);
    margin-top: 50px;
}

/* Vertical Navigation */
.instrument-nav {
    display: flex;
    gap: 15px;
}

.instrument-trigger {
    background: transparent;
    border: none;
    padding: 20px;
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
    font-weight: 600;
    color: var(--color-text-dark);
    opacity: 0.5;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.instrument-trigger::after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: 10px;
    width: 0;
    height: 3px;
    background-color: var(--color-pink);
    transition: width 0.4s ease;
}

.instrument-trigger:hover {
    opacity: 1;
    background-color: #fff;
}

.instrument-trigger.active {
    opacity: 1;
    background-color: #fff;
}

.instrument-trigger.active::after {
    width: 40%;
}

/* Content Viewer */
.instrument-viewer {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 20px 40px rgba(8, 61, 119, 0.2);
}

.instrument-image-viewer {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.instrument-image-viewer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.instrument-image-viewer img.active {
    opacity: 1;
    transform: scale(1);
}

/* Text Overlay */
.instrument-text-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns text to the bottom */
    padding: clamp(30px, 5vw, 60px);
    color: var(--color-cream);
    background: linear-gradient(to top, rgba(8, 61, 119, 0.85) 0%, transparent 60%);
}

.instrument-info {
    position: absolute; /* Stack text blocks */
    bottom: clamp(30px, 5vw, 60px);
    left: clamp(30px, 5vw, 60px);
    right: clamp(30px, 5vw, 60px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

.instrument-info.active {
    opacity: 1;
    transform: translateY(0);
}

.instrument-info h3 {
    color: var(--color-cream);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}


/* --- Responsive Breakpoints for Instrument Showcase --- */
@media (max-width: 900px) {
    .instrument-showcase {
        grid-template-columns: 1fr; /* Stack nav on top of viewer */
    }
    .instrument-nav {
        flex-direction: row; /* Horizontal buttons */
        justify-content: center;
        flex-wrap: wrap;
    }
    .instrument-trigger {
        text-align: center;
    }
    .instrument-trigger::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* --- DIGITAL & SOFTWARE SECTION --- */
#digital {
    padding: 120px 0;
    background: url('images/digital-bg.webp') no-repeat center center/cover;
    position: relative;
}
#digital::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(8, 61, 119, 0.5);
}
.digital-container {
    display: flex;
    justify-content: flex-end;
}
.digital-glass-box {
    position: relative;
    background: rgba(8, 61, 119, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 40px;
    max-width: 650px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
}
.digital-glass-box h2 { color: var(--color-cream); }


/* --- RESPONSIVE STYLES FOR GEAR PAGE --- */
@media (max-width: 1024px) {
    .console-container { flex-direction: column; }
    .mic-grid { grid-template-columns: repeat(2, 1fr); }
    .outboard-layout { grid-template-columns: 1fr; }
    .outboard-images { justify-content: center; }
}

@media (max-width: 768px) {
    .mic-grid { grid-template-columns: 1fr; }
    .mic-info { transform: translateY(0); } /* Always show info on mobile */
    .mic-info p { opacity: 1; }
    .outboard-images { flex-direction: column; }
    .tab-pane { grid-template-columns: 1fr; text-align: center; }
    .tab-pane img { margin-bottom: 20px; }
    .digital-container { justify-content: center; }
}

/* --- WORK PAGE STYLES --- */

/* --- WORK HERO SECTION --- */
#work-hero {
    padding: 180px 0;
    background-image: linear-gradient(45deg, var(--color-pink), var(--color-dark-blue));
    color: var(--color-cream);
    text-align: center;
}
#work-hero h1 { color: var(--color-cream); }
#work-hero p { max-width: 600px; margin: 1rem auto 0; font-size: 1.2rem; opacity: 0.9; }

/* --- FEATURED PROJECT SECTION --- */
.featured-project-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.featured-project-images {
    position: relative;
}
.featured-main-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.featured-sub-img {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 50%;
    border-radius: 8px;
    border: 5px solid var(--color-cream);
}
.featured-tag {
    display: inline-block;
    background-color: var(--color-pink);
    color: var(--color-cream);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.featured-project-text blockquote {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 3px solid var(--color-pink);
    padding-left: 20px;
    margin: 2rem 0;
}

/* --- SHOWREEL SECTION --- */
#showreel {
    background-color: var(--color-dark-blue);
}
#showreel .section-title {
    color: var(--color-cream);
}
.audio-player-list {
    max-width: 900px;
    margin: 0 auto;
}
.audio-track {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(235, 235, 211, 0.2);
    transition: background-color 0.3s ease;
}
.audio-track:hover {
    background-color: rgba(235, 235, 211, 0.05);
}
.play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-pink);
    border: none;
    cursor: pointer;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--color-cream);
    margin-left: 4px;
}
.play-button:hover {
    transform: scale(1.1);
}
.track-info {
    flex-grow: 1;
}
.track-title {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-cream);
}
.track-artist {
    color: rgba(235, 235, 211, 0.7);
}
.track-role {
    color: var(--color-pink);
    font-weight: 600;
}

/* --- GENRE GALLERY SECTION --- */
#genre-gallery {
    background-color: #f7f7f5;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(8, 61, 119, 0.8), transparent);
}
.gallery-overlay h3 { color: var(--color-cream); margin: 0; }

/* --- TESTIMONIALS SECTION --- */
.testimonials-container { text-align: center; }
.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-pink);
}
.slide p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}
.slide cite {
    font-weight: 600;
    color: var(--color-dark-blue);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-dark-blue);
    color: var(--color-cream);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.slider-btn:hover { background-color: var(--color-pink); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* --- BTS GALLERY SECTION --- */
/* --- BTS GALLERY SECTION (MODERN SLIDER REDESIGN) --- */
#bts-gallery {
    background-color: #f7f7f5;
}

.bts-slider-container {
    position: relative;
    padding: 0 40px; /* Space for the navigation arrows */
    margin-top: 50px;
}

.bts-slider-wrapper {
    display: flex;
    /* This transition is the key to the smooth sliding effect */
    transition: transform 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.bts-slide {
    position: relative;
    flex: 0 0 80%; /* Each slide takes up 80% of the wrapper's width */
    margin-right: 20px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(0.95); /* Inactive slides are slightly smaller */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.bts-slide.active {
    transform: scale(1); /* Active slide is full size */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.bts-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bts-slide figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px 25px 25px;
    color: var(--color-cream);
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    z-index: 2;
    background: linear-gradient(to top, rgba(8, 61, 119, 0.7) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.bts-slide.active figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.bts-slider-nav .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    color: var(--color-dark-blue);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.bts-slider-nav .slider-btn:hover {
    background-color: var(--color-pink);
    color: var(--color-cream);
}

.bts-slider-nav .slider-btn.prev { left: 0; }
.bts-slider-nav .slider-btn.next { right: 0; }
.bts-slider-nav .slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Progress Bar */
.bts-slider-progress {
    width: 30%;
    max-width: 300px;
    height: 4px;
    background-color: #ddd;
    border-radius: 4px;
    margin: 40px auto 0 auto;
    overflow: hidden;
}

.progress-bar-inner {
    width: 0; /* Will be controlled by JS */
    height: 100%;
    background-color: var(--color-pink);
    border-radius: 4px;
    transition: width 0.5s ease;
}


/* --- Responsive Breakpoints for Slider --- */
@media (max-width: 768px) {
    .bts-slide {
        flex-basis: 90%; /* Slides take up more space on mobile */
    }
    .bts-slider-container {
        padding: 0; /* Remove padding to let buttons sit on the edge */
    }
    .bts-slider-nav .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .bts-slider-nav .slider-btn.prev { left: 10px; }
    .bts-slider-nav .slider-btn.next { right: 10px; }
}
/* --- WORK CTA SECTION --- */
#work-cta {
    background-color: var(--color-pink);
    color: var(--color-cream);
    text-align: center;
}
#work-cta h2, #work-cta p { color: var(--color-cream); }
#work-cta .btn-primary {
    background-color: var(--color-cream);
    color: var(--color-pink);
}
#work-cta .btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-cream);
    color: var(--color-cream);
}


/* --- RESPONSIVE STYLES FOR WORK PAGE --- */
@media (max-width: 1024px) {
    .featured-project-container { grid-template-columns: 1fr; }
    .featured-project-images { margin-bottom: 60px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .gallery-item.large { grid-column: span 2; grid-row: span 1; }
    .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    .featured-sub-img { display: none; } /* Hide complex overlapping image */
    .track-role { display: none; } /* Simplify track list on mobile */
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .gallery-item.large, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
    .bts-grid { grid-template-columns: 1fr; }
    .bts-grid img:first-child { grid-column: auto; }
}

/* --- TEAM PAGE STYLES --- */

/* --- TEAM HERO SECTION --- */
#team-hero {
    padding: 180px 0;
    background: url('images/team-bg.webp') no-repeat center center/cover;
    position: relative;
    text-align: center;
    color: var(--color-text-light);
}
#team-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(8, 61, 119, 0.9), rgba(218, 65, 103, 0.7));
}
#team-hero h1, #team-hero p {
    position: relative;
    color: var(--color-cream);
}
#team-hero p { max-width: 600px; margin: 1rem auto 0; font-size: 1.2rem; }

/* --- CORE TEAM SECTION --- */
.team-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.team-member-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(8, 61, 119, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 61, 119, 0.15);
}
.team-member-photo img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}
.team-member-card:hover .team-member-photo img {
    filter: grayscale(0);
}
.team-member-info {
    padding: 30px;
}
.team-member-role {
    display: block;
    color: var(--color-pink);
    font-weight: 600;
    margin: 5px 0 15px 0;
}

/* --- CORE TEAM SECTION - SHOW MORE/LESS FUNCTIONALITY --- */

.team-member-bio {
    position: relative;
    /* Set a max-height to truncate the text. Adjust as needed. */
    max-height: 70px;
    overflow: hidden;
    /* Smooth transition for the max-height property */
    transition: max-height 0.5s ease-in-out;
}

/* This pseudo-element creates the fade-out effect at the bottom */
.team-member-bio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #fff);
    transition: opacity 0.3s ease;
}

/* When the info block is expanded, grow the bio and hide the fade */
.team-member-info.expanded .team-member-bio {
    /* The max-height will be set by JS for perfect height */
    max-height: 500px; /* A fallback max-height */
}

.team-member-info.expanded .team-member-bio::after {
    opacity: 0;
}

/* Styling for the Show More/Less button */
.toggle-bio-btn {
    background: none;
    border: none;
    color: var(--color-pink);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0 0 0;
    margin-top: 10px;
}

.toggle-bio-btn:hover {
    text-decoration: underline;
}
/* --- TEAM PHILOSOPHY SECTION --- */
/* --- TEAM PHILOSOPHY SECTION (GLASS MORPHISM REDESIGN) --- */
#team-philosophy {
    /* We remove the background color from the section to let the container shine */
    padding: 100px 0;
    background-color: transparent;
}

.philosophy-container-redesigned {
    position: relative;
    display: flex;
    /* On desktop, the card is aligned to the right */
    justify-content: flex-end;
    align-items: center;
    min-height: 550px;
    border-radius: 12px;
    overflow: hidden; /* Crucial for rounded corners on the background image */
}

/* Background Image Styling */
.philosophy-background {
    position: absolute;
    inset: 0; /* Shorthand for top:0, right:0, bottom:0, left:0 */
    z-index: -1; /* Place it behind the text card */
}

.philosophy-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* A subtle animation for a premium feel */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.philosophy-container-redesigned:hover .philosophy-background img {
    transform: scale(1.03);
}

/* The Glass Card Styling */
.philosophy-glass-card {
    width: 55%; /* Takes up just over half the container width */
    padding: clamp(30px, 5vw, 60px);
    margin: 40px;
    color: var(--color-cream);

    /* The Glass Morphism Effect */
    background: rgba(8, 61, 119, 0.45); /* Semi-transparent background */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 8px;
    border: 1px solid rgba(235, 235, 211, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.philosophy-glass-card h2 {
    color: var(--color-cream);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.philosophy-glass-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-pink);
}

.philosophy-glass-card p {
    color: rgba(235, 235, 211, 0.9);
}


/* --- Responsive Breakpoints for Glass Morphism Section --- */
@media (max-width: 900px) {
    .philosophy-container-redesigned {
        /* Center the card on tablets and mobile */
        justify-content: center;
    }

    .philosophy-glass-card {
        width: 80%; /* Card takes up more space */
        margin: 20px;
        text-align: center;
    }

    .philosophy-glass-card h2::after {
        /* Center the underline */
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .philosophy-glass-card {
        width: 90%; /* Almost full width */
        /* Use a more solid background for better readability on smaller screens */
        background: rgba(8, 61, 119, 0.75);
    }
}
/* --- BTS MASONRY SECTION --- */
#bts-masonry {
    background-color: #f7f7f5;
}
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}
.masonry-item {
    overflow: hidden;
    border-radius: 8px;
}
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.masonry-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}
.masonry-item.item-1 { grid-column: 1 / 3; }
.masonry-item.item-2 { grid-row: 1 / 3; grid-column: 3 / 4; }
.masonry-item.item-4 { grid-row: 2 / 4; grid-column: 1 / 2; }
.masonry-item.item-5 { grid-column: 2 / 4; }

/* --- FREELANCERS SECTION --- */
.freelancer-grid {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.freelancer-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--color-cream);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.freelancer-card:hover img {
    transform: scale(1.05);
}
.freelancer-card h4 {
    font-size: 1.3rem;
    color: var(--color-dark-blue);
}
.freelancer-card span {
    color: var(--color-pink);
}

/* --- COLLABORATORS MARQUEE SECTION --- */
#collaborators {
    padding: 0;
    background-color: var(--color-pink);
    color: var(--color-cream);
}
.marquee {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}
.marquee-content span {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 25px;
}
@keyframes marquee {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

/* --- TEAM CTA SECTION --- */
#team-cta {
    background-color: #f7f7f5;
    padding: 0;
}
.team-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.team-cta-box {
    padding: 60px;
}
.team-cta-image img {
    width: 100%;
    height: 400px;
    max-height: 600px;
    object-fit: cover;
}


/* --- RESPONSIVE STYLES FOR TEAM PAGE --- */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: 1fr; }
    .philosophy-container { grid-template-columns: 1fr; }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-item.item-1 { grid-column: 1 / 3; }
    .masonry-item.item-2 { grid-row: 2 / 4; grid-column: 1 / 2; }
    .masonry-item.item-4 { grid-row: 2 / 4; grid-column: 2 / 3; }
}

@media (max-width: 768px) {
    .masonry-grid { display: flex; flex-direction: column; }
    .team-cta-container { grid-template-columns: 1fr; }
    .team-cta-image { order: -1; } /* Puts image on top */
    .masonry-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
}

/* --- RATES PAGE STYLES --- */

/* --- RATES HERO SECTION --- */
#rates-hero {
    padding: 180px 0;
    background: var(--color-dark-blue);
    position: relative;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}
#rates-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(235, 235, 211, 0.05) 35px, rgba(235, 235, 211, 0.05) 70px);
}
#rates-hero h1, #rates-hero p { color: var(--color-cream); position: relative; z-index: 1; }
#rates-hero p { max-width: 600px; margin: 1rem auto 0; font-size: 1.2rem; }

/* --- PRICING PACKAGES SECTION --- */
#pricing-packages {
    background-color: #f7f7f5;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}
.package-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.package-card.featured {
    border: 2px solid var(--color-pink);
    transform: scale(1.05);
    position: relative;
    overflow: hidden;
}
.featured-banner {
    position: absolute;
    top: 0; right: -50px;
    background: var(--color-pink);
    color: var(--color-cream);
    padding: 5px 50px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.9rem;
}
.package-card img {
    border-radius: 8px;
    margin-bottom: 20px;
}
.package-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 10px 0;
}
.package-desc {
    font-style: italic;
    color: #777;
    min-height: 60px;
}
.package-card ul {
    text-align: left;
    margin: 20px 0;
    list-style-type: '✓';
    padding-left: 20px;
}
.package-card ul li {
    margin-bottom: 10px;
    padding-left: 10px;
}
.package-card .btn { margin-top: 10px; }


/* --- RATE BREAKDOWN SECTION --- */
.rates-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.rate-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-dark-blue);
}
.rate-item:hover {
    border-left-color: var(--color-pink);
}
.rate-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.rate-price {
    display: block;
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-pink);
    text-align: right;
}

/* --- VALUE PROP SECTION --- */
/* --- VALUE PROP SECTION (SOPHISTICATED & FLASHY REDESIGN) --- */
.value-prop-reimagined {
    background-color: var(--color-dark-blue);
}

.value-prop-reimagined .section-title {
    color: var(--color-cream);
}

.flashy-grid {
    display: grid;
    /* This creates a responsive grid that automatically adjusts columns */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.flashy-card {
    position: relative;
    padding: 40px 30px;
    text-align: center;
    color: rgba(235, 235, 211, 0.7);
    border-radius: 12px;
    overflow: hidden; /* This is crucial for the animated border */
    background: rgba(235, 235, 211, 0.05);
    border: 1px solid rgba(235, 235, 211, 0.1);
    transition: transform 0.4s ease, background 0.4s ease;
}

/* This pseudo-element creates the animated gradient border */
.flashy-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 250%;
    background: conic-gradient(
        from 0deg, 
        transparent 0%, 
        var(--color-pink) 20%, 
        transparent 25%
    );
    opacity: 0;
    /* The magic: constantly rotate the gradient */
    animation: rotate-gradient 4s linear infinite;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.flashy-card:hover {
    background: rgba(235, 235, 211, 0.08);
    transform: translateY(-10px);
}

/* On hover, the animated border becomes visible */
.flashy-card:hover::before {
    opacity: 1;
}

/* All content sits on top of the gradient */
.card-icon,
.flashy-card h4,
.flashy-card p {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px auto;
    color: var(--color-pink);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(218, 65, 103, 0.5));
}

.flashy-card:hover .card-icon {
    transform: scale(1.1);
    color: var(--color-cream);
    filter: drop-shadow(0 0 15px var(--color-pink));
}

.flashy-card h4 {
    color: var(--color-cream);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

@keyframes rotate-gradient {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* --- Responsive Adjustments --- */
/* The auto-fit grid handles most cases, but we can adjust padding for mobile */
@media (max-width: 600px) {
    .flashy-card {
        padding: 30px 20px;
    }
}

/* --- BOOKING PROCESS SECTION --- */
#booking-process {
    background: var(--color-dark-blue);
    color: var(--color-text-light);
}
#booking-process .section-title {
    color: var(--color-cream);
}
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 3px;
    background-color: rgba(218, 65, 103, 0.5);
}
.process-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}
.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-pink);
    color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    border: 5px solid var(--color-dark-blue);
}

/* --- FAQ SECTION --- */
.faq-container { max-width: 800px; }
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark-blue);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--color-pink);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.faq-answer p { padding-bottom: 20px; }

/* --- CUSTOM QUOTE CTA --- */
#custom-quote-cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.custom-quote-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('images/custom-bg.webp') no-repeat center center/cover;
    filter: brightness(0.5);
    z-index: -1;
}
.custom-quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    color: var(--color-cream);
}
.custom-quote-container h2 { color: var(--color-cream); }
.custom-quote-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.custom-quote-images img:first-child { grid-row: 1 / 3; }
.custom-quote-images img { border-radius: 8px; }


/* --- RESPONSIVE STYLES FOR RATES PAGE --- */
@media (max-width: 1024px) {
    .packages-grid { grid-template-columns: 1fr; }
    .package-card.featured { transform: scale(1); }
    .package-card { max-width: 500px; margin: 0 auto; }
    .rates-list { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .process-timeline::before { left: 30px; }
    .process-step { padding-left: 80px; }
    .process-number { width: 60px; height: 60px; font-size: 2rem; }
    .custom-quote-container { grid-template-columns: 1fr; text-align: center; }
    .custom-quote-images { margin-top: 40px; }
}


/* --- FOOTER --- */
.site-footer {
    background-color: var(--color-dark-blue);
    color: rgba(235, 235, 211, 0.7);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.site-footer h3 {
    color: var(--color-cream);
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(235, 235, 211, 0.7);
}
.footer-links a:hover {
    color: var(--color-cream);
}
.footer-contact a {
    color: var(--color-pink);
}
.footer-contact a:hover {
    color: var(--color-cream);
}

.footer-bottom {
    border-top: 1px solid rgba(235, 235, 211, 0.2);
    text-align: center;
    padding: 20px 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-bottom__links
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


/* --- SCROLL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: 1fr; }
    .gear-container { flex-direction: column-reverse; }
    .gear-images { width: 100%; max-width: 500px; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
}

/* @media (max-width: 768px) {
    section { padding: 80px 0; }
    .header-container { position: relative; }
    
    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-dark-blue);
        transform: translateY(-120%);
        transition: transform 0.4s ease-in-out;
        padding: 20px 0;
    }
    .main-nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
    }
    .hamburger, .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: var(--color-cream);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }
    .hamburger { top: 13px; }
    .hamburger::before { top: -10px; }
    .hamburger::after { top: 10px; }

    .menu-toggle.active .hamburger { background: transparent; }
    .menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
    .menu-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

    .welcome-container { grid-template-columns: 1fr; }
    .welcome-image { margin-bottom: 30px; }
    .work-grid { grid-template-columns: 1fr; }
} */

/* --- Find this block in your CSS file --- */
@media (max-width: 768px) {
    section { padding: 80px 0; }
    .header-container { position: relative; }
    
    /* 
      REPLACE the existing .main-nav and .main-nav.active rules
      with the new ones below.
    */
    .main-nav {
        position: fixed; /* Use fixed to position relative to the viewport */
        top: 0;
        right: 0; /* Anchor to the right */
        width: 100%; /* Full width as requested */
        max-width: 400px; /* A max-width is good practice for larger phones/small tablets */
        height: 100vh; /* Full viewport height */
        background-color: var(--color-dark-blue);
        
        /* Start off-screen to the right */
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        
        /* Adjust padding and layout for a side menu */
        padding: 100px 40px;
        z-index: 999; /* Make sure it's above the overlay */
    }
    
    .main-nav.active {
        /* Slide into view */
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }
    
    /* Keep this existing rule for nav-list layout */
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        z-index: 1111;
    }
    .hamburger, .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: var(--color-cream);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }
    .hamburger { top: 13px; }
    .hamburger::before { top: -10px; left: -20px;}
    .hamburger::after { top: 10px; left: -20px;}

    .menu-toggle.active .hamburger { background: transparent; }
    .menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
    .menu-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

    
    /* Keep your existing .menu-toggle styles as they are */

    /* ADD these new rules for the overlay and body scroll lock */
    .overlay {
        position: fixed;
        inset: 0; /* Shorthand for top, right, bottom, left = 0 */
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        z-index: 998; /* Below the menu, but above the page content */
    }

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

    body.nav-open {
        overflow: hidden; /* Prevents scrolling of the page behind the menu */
    }

    .welcome-container { grid-template-columns: 1fr; }
    .welcome-image { margin-bottom: 30px; }
    .work-grid { grid-template-columns: 1fr; }
}

/* --- UTILITY PAGES (Thank You, 404, etc.) --- */

.utility-page-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--color-dark-blue);
    font-family: var(--font-primary);
    color: var(--color-cream);
    padding: 20px;
}

.thank-you-box {
    text-align: center;
    max-width: 550px;
    padding: clamp(30px, 6vw, 50px);
    background: rgba(235, 235, 211, 0.05);
    border: 1px solid rgba(235, 235, 211, 0.1);
    border-radius: 12px;
    
    /* On-load animation */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.thank-you-box h1 {
    color: var(--color-cream);
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 20px 0 10px 0;
}

.thank-you-box p {
    color: rgba(235, 235, 211, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Animated SVG Checkmark Styling */
.checkmark-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.checkmark-svg {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--color-pink);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 4;
    stroke: var(--color-cream);
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}