@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;600;800&family=Courier+New&display=swap');

/* --- CRITICAL: HIDE DESKTOP ELEMENTS BY DEFAULT (MOBILE FIRST) --- */
.desktop-only {
    display: none !important;
}

:root {
    --text-color: #1a1a1a;
    --bg-color: #fcfcfc;
    /* Ultra clean white/grey */
    --accent: #000;
    /* Black instead of Neon */
    --soft-grey: #f0f0f0;
    --border-light: rgba(0, 0, 0, 0.08);
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Crisp text for Mac */
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    transition: color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

/* Typography Mix */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Utilities */
.container {
    max-width: 1400px;
    /* Spacious luxury width */
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}



.tech-tag {
    background-color: #000;
    color: #fff;
    padding: 4px 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    /* Better Font */
    font-size: 0.8rem;
    /* Smaller again */
    border-radius: 2px;
    letter-spacing: 1px;
    display: inline-block;
}


/* Subtle Decor */
.crosshair {
    position: absolute;
    color: rgba(0, 0, 0, 0.1);
    /* Very subtle */
    pointer-events: none;
    font-size: 1rem;
}

.c-tl {
    top: 30px;
    left: 30px;
}

.c-tr {
    top: 30px;
    right: 30px;
}

.c-bl {
    bottom: 30px;
    left: 30px;
}

.c-br {
    bottom: 30px;
    right: 30px;
}

/* Header */
header {
    padding: 25px 0;
    /* Slightly taller for elegance */
    position: absolute;
    width: 100%;
    z-index: 2001;
    /* CRITICAL: Must be higher than overlay (1000) */
    background: transparent;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); REMOVED for cleaner look */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    /* Logo Left, Button Right */
    align-items: center;
    position: relative;
    /* Context for Nav Centering */
    height: 100%;
    /* Ensure full height for vert alignment */
}

/* Force Center Nav on Desktop */
@media (min-width: 901px) {
    header nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.logo img {
    height: 35px;
    /* Clean standard height */
    width: auto;
    display: block;
}

nav ul {
    gap: 50px;
    display: flex;
    align-items: center;
    list-style: none;
    /* Remove default bullets */
    padding: 0;
    margin: 0;
}

nav a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

/* Elegant Underline Animation */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #000;
    /* No green text */
}

.btn {
    padding: 14px 40px;
    /* Stronger presence */
    border-radius: 0;
    /* SHARP INDUSTRIAL LOOK */
    background: #111;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Technical tracking */
    border: 1px solid #111;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #fff;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn:hover::after {
    height: 100%;
    /* Fills from bottom like liquid/metal */
}

.btn:hover {
    color: #000;
    border-color: #000;
    transform: none;
    /* No floating, just solid mechanics */
}

/* Hero Section - 1:1 Luxury Clone */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #fff, #f4f4f4);
}

/* The Background Giant Title */
.hero-giant-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9.5vw;
    /* Adjusted for longer names like "DÉCOLLETAGE" */
    font-weight: 800;
    color: #222;
    /* Slightly darker for contrast */
    white-space: nowrap;
    z-index: 1;
    letter-spacing: -2px;
    /* Tighter */
    opacity: 0.95;
    pointer-events: none;
    line-height: 1;
}

/* The Floating Product Centerpiece */
.hero-centerpiece {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centerpiece img {
    width: 420px;
    height: auto;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.3));
    /* Refined shadow */
    animation: float-vertical 6s ease-in-out infinite;
}

/* The Pedestal Effect (Refined Blending) */
.hero-pedestal {
    width: 350px;
    /* Slightly smaller */
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    /* Shadow based pedestal */
    margin-top: -40px;
    z-index: 5;
    opacity: 1;
    border-radius: 50%;
    transform: scaleY(0.5);
}

/* Scatter Elements */
.hero-tagline {
    position: absolute;
    bottom: 60px;
    left: 60px;
    max-width: 300px;
    z-index: 20;
}

.hero-tagline h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-tagline p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}

.hero-socials {
    position: absolute;
    bottom: 60px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 20;
}

.hero-socials a {
    font-size: 1.5rem;
    color: #000;
    /* Navigation Active State Logic handles the underline now via class */
}

/* Floating Sub-label - Left Aligned again */
.hero-sublabel {
    position: absolute;
    top: 62%;
    /* Moved further down per request */
    left: 15%;
    transform: none;
    /* Remove centering transform */
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    text-align: left;
    width: auto;
    z-index: 20;
    /* Ensure it stays on top of Giant Title (z-1) */
}

/* Responsive adjustments for 1:1 Layout */
@media (max-width: 1024px) {
    .hero-centerpiece img {
        width: 350px;
    }

    .hero-giant-title {
        font-size: 8vw;
        /* Smaller for tablet */
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100dvh;
        /* Dynamic viewport height for mobile */
        padding: 80px 0 40px;
        flex-direction: column;
        justify-content: center;
    }

    .hero-giant-title {
        font-size: 11vw;
        /* Responsive for mobile */
        top: 35%;
        /* Move up */
        opacity: 0.1;
        /* Faded on mobile for readability of content */
        white-space: normal;
        /* Allow wrap if really needed, but keep nowrap usually */
        text-align: center;
    }

    .hero-centerpiece img {
        width: 260px;
        /* Smaller image */
    }

    .hero-pedestal {
        width: 200px;
        height: 40px;
        margin-top: -30px;
    }

    /* Reposition Details for Mobile */
    .hero-tagline {
        position: relative;
        bottom: auto;
        left: auto;
        text-align: center;
        margin-top: 40px;
        margin-bottom: 20px;
        max-width: 80%;
    }

    .hero-socials {
        position: relative;
        bottom: auto;
        right: auto;
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    .hero-sublabel {
        top: 45%;
        font-size: 0.6rem;
    }

    /* Stack Sub-Page Headers similarly */
    .giant-bg-text {
        font-size: 15vw;
    }

    /* General Mobile Stacking */
    .container {
        padding: 0 20px;
    }

    .split-layout,
    .feature-row,
    .engineering-grid,
    .contact-split,
    .tech-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-data p {
        justify-content: center;
    }

    .feature-img img {
        order: -1;
    }

    .feature-row {
        margin: 60px 0;
    }

    .hero-giant-title {
        font-size: 13vw;
        /* Tweaked for "D. TAMBURRINO" */
    }
}

/* Instant Appeal Animations */
@keyframes float-vertical {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-rock {
    0% {
        transform: rotate(-5deg) translateY(0px);
    }

    50% {
        transform: rotate(-3deg) translateY(-8px);
    }

    100% {
        transform: rotate(-5deg) translateY(0px);
    }
}

/* Floating Clean Product */
.main-prod-img img {
    width: 100%;
    max-width: 650px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    /* Soft luxury shadow */
    transition: transform 0.5s ease;
    animation: float-vertical 6s ease-in-out infinite;
}

.main-prod-img:hover img {
    animation-play-state: paused;
    /* Pause on hover so interaction takes over */
    transform: translateY(-10px) scale(1.02);
}

.price-tag-floating {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: #fff;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    animation: float-rock 5s ease-in-out infinite;
    animation-delay: 1s;
    /* Offset */
}

/* About / Precision */
.about {
    padding: 150px 0;
}

.section-marker {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.right-align {
    text-align: right;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.text-block h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.text-block p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.tech-points {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #000;
}

.tech-points li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Visual Grip details */
.visual-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.circular-detail {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

/* Make grid irregular */
.d1 {
    width: 80%;
    justify-self: end;
}

.d2 {
    width: 100%;
    align-self: end;
}

.d3 {
    grid-column: span 2;
    width: 60%;
    margin: 0 auto;
}

.circular-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: grayscale(100%);
    /* Keep technical feel */
}

.circular-detail:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    /* Reveal color on hover */
}

.detail-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    font-family: var(--font-mono);

    /* Page Transitions */
    body {
        opacity: 0;
        transition: opacity 1.5s ease-out;
    }

    body.loaded {
        opacity: 1;
    }

    /* Reverse Split Layout Support */
    .split-layout.reverse {
        direction: rtl;
        /* Simple hack for switching columns, reset in children */
    }

    .split-layout.reverse>* {
        direction: ltr;
        /* Reset text direction */
    }

    @media (max-width: 768px) {
        .split-layout.reverse {
            direction: ltr;
            /* Stack normally on mobile */
        }
    }

    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.circular-detail:hover .detail-label {
    opacity: 1;
}


/* --- Global Giant Header for Sub-pages --- */
.page-header-giant {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fcfcfc;
}

.giant-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Perfect Center like Hero */
    font-size: 13vw;
    /* Consistent Large Size */
    font-weight: 800;
    color: #1a1a1a;
    opacity: 0.06;
    /* Subtle */
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -5px;
}

.page-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Refined Dark Section -> Now Light Technical */
.dark-section {
    background-color: #fcfcfc;
    /* Switch to light */
    color: #1a1a1a;
    padding: 100px 0;
    position: relative;
    /* border lines removed for cleaner look */
    overflow: hidden;
}

.dark-section h2 {
    color: #000;
}

.dark-section p {
    color: #555;
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Cols like reference */
    gap: 40px;
    margin-top: 60px;
}

.eng-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.eng-card:hover {
    background: #fff;
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Darker shadow on hover */
}

.eng-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.eng-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.eng-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Feature Row (Image + Text) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 100px 0;
    /* More breath */
}

.feature-row.reverse {
    direction: rtl;
    /* Swap order visually */
}

.feature-row.reverse .text-col {
    direction: ltr;
    /* Reset text direction */
}

.feature-img {
    position: relative;
}

.feature-img img {
    border-radius: 0;
    /* Sharp corners for luxury feel */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    /* Softer, larger shadow */
}

.overlay-wireframe {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    opacity: 0.8;
    mix-blend-mode: screen;
}

/* Collection Section - Hybrid */
.collection {
    padding-top: 0;
    background: #fff;
    position: relative;
}

.collection-intro-center {
    text-align: center;
    margin-bottom: 80px;
}

.collection-intro-center h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.collection-slider {
    position: relative;
    height: 70vh;
    /* Taller */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-cards {
    width: 100%;
    height: 100%;
    position: relative;
    /* overflow-x: hidden; if needed, but absolute items handle it */
}

/* Styling the cards to be modern floating panes */
.product-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 400px;
    height: 500px;
    background: #fff;
    /* Soft shadow mixed with border */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: none;
    /* Very subtle */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 4px;
    /* Minimal radius */
}

.product-card.active {
    opacity: 1;
    z-index: 10;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.product-card.prev {
    opacity: 0.4;
    transform: translate(-120%, -50%) scale(0.85) rotate(-5deg);
    z-index: 5;
    pointer-events: none;
}

.product-card.next {
    opacity: 0.4;
    transform: translate(20%, -50%) scale(0.85) rotate(5deg);
    z-index: 5;
    pointer-events: none;
}

.product-card img {
    height: 280px;
    object-fit: contain;
    filter: grayscale(0%);
    /* Full color returns */
}

.tech-border {
    /* Optional decorative line */
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.prod-info-tech {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

/* Navigation Controls & Pagination Override */
.nav-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s;
    font-size: 1.2rem;
    color: #000 !important;
    /* Force Black */
}

.nav-control:hover {
    background: #000;
    color: #fff !important;
    /* White on hover */
    transform: translateY(-50%) scale(1.1);
}

.pagination-ui {
    color: #000 !important;
    /* Force global black */
}

.active-page {
    font-weight: 700;
    color: #000 !important;
    /* Ensure active number is black, NOT accent */
    border-bottom: 2px solid #000;
    /* Underline indicator if needed */
}

.nav-left {
    left: 40px;
}

.nav-right {
    right: 40px;
}


.technical-footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #999;
}

/* Responsive */
/* Hero Polish */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at 70% 50%, #fcfcfc, #FAFAFA 60%);
    /* Subtle depth */
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .specs-list {
        border-left: none;
        border-top: 2px solid var(--accent);
        padding-top: 20px;
        padding-left: 0;
        display: inline-block;
        text-align: left;
    }

    .hero-desc {
        margin: 0 auto;
    }

    /* Stack About / Content Grids */
    .split-layout,
    .feature-row,
    .engineering-grid,
    .contact-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-row.reverse {
        direction: ltr;
        /* Reset visual order on mobile */
    }

    .col-right {
        order: -1;
        /* Image first on mobile often looks better */
    }

    .collection-slider {
        height: 500px;
    }

    .product-card {
        width: 280px;
        height: 400px;
    }

    .product-card img {
        height: 180px;
    }

    .nav-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-left {
        left: 10px;
    }

    .nav-right {
        right: 10px;
    }

    /* Adjust Tech Footer */
    .tech-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* --- HOTFIX: Contact Data Layout --- */
.contact-data p {
    display: block !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
}


/* --- HOTFIX: Header Spacing --- */
.page-header-giant {
    padding-top: 120px;
    /* Clear the absolute header */
    height: 50vh !important;
    /* Increase height to compensate */
    align-items: flex-start !important;
    /* Align text near top but below header */
}

.giant-bg-text {
    top: 60% !important;
}


/* --- Homepage Hero Specifics --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Space for header */
}

.hero-giant-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9vw;
    /* Much smaller to ensure fit */
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    /* Explicitly set font */
    color: rgba(0, 0, 0, 0.05);
    /* Reverted to lighter "good" state */
    /* Darker "BLACK" */
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.hero-sublabel {
    position: absolute;
    top: 65%;
    /* Adjusted relative to title */
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    letter-spacing: 10px;
    font-weight: 600;
    z-index: 1;
    opacity: 0.3;
}

.hero-centerpiece {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-top: 35vh;
    /* MOVED DOWN FURTHER */
}

.hero-centerpiece img {
    height: 50vh;
    /* Responsive height */
    max-height: 600px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero-tagline {
    position: absolute;
    bottom: 50px;
    left: 40px;
    z-index: 5;
    max-width: 300px;
}

/* --- Mobile Hamburger Menu Refined (Flexbox) --- */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 50px;
    /* Slightly larger touch target */
    height: 50px;
    position: relative;
    z-index: 2001;
    /* Ensure on top of everything */
    /* Flexbox for perfect line centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* Larger gap for clearer separation */
    padding: 0;
    transition: transform 0.3s ease;
}

.mobile-nav-toggle span {
    display: block;
    width: 35px;
    /* Longer lines */
    height: 3px;
    /* Thicker lines for visibility */
    background-color: #000;
    margin: 0;
    border-radius: 3px;
    /* Rounded tips */
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy transition */
}

/* Transform to X */
.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
    background-color: #fff !important;
    /* Force white on black overlay */
}

.mobile-nav-toggle.open span:nth-child(2) {
    transform: translateY(-5.5px) rotate(-45deg);
    background-color: #fff !important;
}

/* Rotate the whole button slightly for flair */
.mobile-nav-toggle.open {
    transform: rotate(90deg);
}

/* --- Mobile Menu Overlay (MISSING) --- */
/* --- Mobile Menu Overlay (MISSING) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    /* Slight transparency for backdrop */
    backdrop-filter: blur(10px);
    /* Premium Glass Effect */
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    /* Always flex to allow transition */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Click through when hidden */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* SILKY SMOOTH EASING */
}

/* FIX: Inner Nav Container Layout */
.mobile-menu-overlay .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    /* Space between links */
    width: 100%;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Re-enable clicks */
}

/* FIX: Close Button Position (Top Right Fixed) */
.mobile-nav-toggle.open {
    transform: rotate(90deg);
    position: fixed !important;
    top: 30px;
    right: 25px;
    margin: 0;
    z-index: 2005;
    /* Highest Z-index */
}

.mobile-menu-overlay nav a {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Larger font */
    font-weight: 800;
    margin: 20px 0;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    /* Animation Start State */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu-overlay nav a:hover {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    /* Hollow text effect on hover */
    letter-spacing: 2px;
}

/* Animation End State (when parent is active) */
.mobile-menu-overlay.active nav a {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays for "Cascade" Effect */
.mobile-menu-overlay.active nav a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active nav a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active nav a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active nav a:nth-child(4) {
    transition-delay: 0.4s;
}

/* --- Force Desktop Header Layout --- */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
}

/* MOBILE FIRST: Hide Desktop Elements by default */
.desktop-only {
    display: none !important;
}

@media (min-width: 901px) {

    /* SHOW DESKTOP ELEMENTS ON LARGE SCREENS */
    .desktop-only {
        display: block !important;
    }

    /* Override for flex containers if needed */
    nav.desktop-only {
        display: block !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    a.desktop-only {
        display: inline-block !important;
    }

    .mobile-nav-toggle {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    header nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================
   FINAL HEADER REBUILD (MOBILE FIRST)
   ========================================= */

/* 1. DEFAULT STATE (MOBILE) */
/* Hide Desktop Elements strictly */
#desktop-nav,
#desktop-contact {
    display: none !important;
}

/* Show Mobile Elements */
.mobile-nav-toggle {
    display: flex !important;
    z-index: 2000;
}

.mobile-menu-overlay {
    z-index: 1999;
}

/* 2. DESKTOP STATE (Screen > 900px) */
@media (min-width: 901px) {

    /* Show Desktop Elements */
    #desktop-nav {
        display: block !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    #desktop-contact {
        display: inline-flex !important;
    }

    /* Hide Mobile Elements */
    .mobile-nav-toggle {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }
}

/* 3. MOBILE POLISH (@media max-width 900px) */
@media (max-width: 900px) {
    .page-header-giant {
        padding-top: 100px;
        height: auto;
        min-height: 40vh;
    }

    .hero {
        height: auto;
        min-height: auto !important;
        /* Allow shrink */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    /* Force reduce gap between hero and next section */
    .split-layout {
        margin-top: 40px !important;
        margin-bottom: 60px !important;
    }

    /* CENTER ALIGNMENT FOR MOBILE */
    .text-col {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .text-col p {
        margin-left: auto;
        margin-right: auto;
    }

    /* Restore "G-TAMBURRINO" visibility */
    .giant-bg-text,
    .hero-giant-title {
        font-size: 13vw;
        /* Slightly smaller to ensure fit */
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        width: 100%;
        line-height: 1;
        margin-top: 10px;
        /* Reduced margin */
        opacity: 1 !important;
        /* Fully visible */
        color: #000;
        z-index: 1;
        font-weight: 800;
        letter-spacing: -2px;
        /* Tighter box */
    }

    .hero-centerpiece {
        margin-top: 20px;
        /* Closer to title */
        order: 2;
        /* Title first, then image */
    }

    .hero-centerpiece img {
        height: auto;
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* REMOVE "DECOLLETAGE" TEXT */
    .hero-sublabel {
        display: none !important;
    }

    .hero-tagline {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        text-align: center;
        margin-top: 40px;
        padding: 0 20px;
        order: 3;
    }

    .hero-socials {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        justify-content: center;
        width: 100%;
        display: flex;
        gap: 25px;
        order: 4;
        font-size: 1.2rem;
    }

    /* Footer Polish */
    .tech-row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
        padding: 30px 0;
        opacity: 0.8;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}