:root {
    --color-forest: #002B1D;
    /* Ultra deep emerald */
    --color-forest-light: #00593B;
    /* Rich emerald */
    --color-forest-accent: #00FF88;
    /* Electric mint/emerald for high-tech pop */
    --color-gold: #EAC67A;
    /* Softer, more premium champagne gold */
    --color-gold-hover: #FFE6A5;
    /* Very bright gold for hover states */
    --color-dark: #050706;
    /* Slightly green-tinted ultra dark charcoal */
    --color-text: #F2F7F4;
    /* Off-white with mint tint */
    --color-text-muted: #8E9B95;
    /* Muted sage-grey */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --ease-premium: cubic-bezier(0.2, 0.0, 0.2, 1);
}

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

body {
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: default;
    /* Could implement custom cursor later */
}

/* Noise Texture Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* --- Centered Loading State Preloader --- */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    /* Above everything */
    transition: opacity 0.8s var(--ease-premium), visibility 0.8s;
}

#site-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 220px;
    max-width: 60vw;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    /* Hardware accelerated smooth rotation */
    animation: smooth-spin 3s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

@keyframes smooth-spin {
    0% {
        transform: translateZ(0) rotate(0deg);
    }

    100% {
        transform: translateZ(0) rotate(360deg);
    }
}

/* ---------------------------------------- */

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Lighter weight for elegance */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 30px;
    background: linear-gradient(to bottom right, #fff 20%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.95;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 25px;
    color: var(--color-gold);
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.4s var(--ease-premium);
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    /* Subtle gold border */
    transition: all 0.5s var(--ease-premium);
}

.fixed-header:hover {
    background: rgba(0, 20, 10, 0.85);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.5s var(--ease-premium);
}

.logo-container:hover {
    transform: translateX(-50%) scale(1.05);
}

.crown-logo {
    width: 60px;
    /* Larger for image visibility */
    height: auto;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
    transition: filter 0.3s ease;
}

.brand-name {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.3rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav a {
    color: var(--color-text);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.4s var(--ease-premium);
}

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

.main-nav a:hover::after {
    width: 100%;
}

/* Header Social Icon */
.header-social-link {
    color: var(--color-text);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-premium);
    position: relative;
    z-index: 1100;
    /* Above header background, below overlay */
}

.header-social-link svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    transition: all 0.4s ease;
}

.header-social-link:hover {
    color: var(--color-gold);
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.mobile-nav-overlay a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active a {
    transform: translateY(0);
}

.mobile-nav-overlay a:hover {
    color: var(--color-gold);
}

/* Hamburger Animation State */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Responsive Media Query */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Hide standard nav */
    }

    .hamburger-menu {
        display: flex;
        /* Show hamburger */
    }

    .fixed-header {
        padding: 0 30px;
        height: 80px;
    }
}

/* Nav Highlight Button */
.nav-highlight {
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 12px 25px !important;
    border-radius: 2px;
    color: var(--color-gold) !important;
    transition: all 0.4s var(--ease-premium);
}

.nav-highlight:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.nav-highlight::after {
    display: none;
}

/* Remove underline for button */

/* ── Nav Dropdown ── */
.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown-trigger {
    cursor: pointer;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(8, 10, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s var(--ease-premium);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 1px rgba(212, 175, 55, 0.2);
    z-index: 1100;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

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

.nav-dropdown a {
    display: block;
    padding: 12px 24px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    transition: all 0.3s var(--ease-premium);
    position: relative;
}

.nav-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--color-gold);
    transform: scaleY(0);
    transition: transform 0.3s var(--ease-premium);
}

.nav-dropdown a:hover {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.06);
    padding-left: 30px;
}

.nav-dropdown a:hover::before {
    transform: scaleY(1);
}

.nav-dropdown a+a {
    border-top: 1px solid rgba(212, 175, 55, 0.06);
}

/* Mobile Dropdown Group */
.mobile-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.mobile-dropdown-link {
    font-size: 1.2rem !important;
    color: var(--color-text-muted) !important;
    letter-spacing: 0.15em;
}

.mobile-dropdown-link:hover {
    color: var(--color-gold) !important;
}

/* ── Showcase Configure Buttons ── */
.showcase-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-weight: 400;
    max-width: none;
}

.showcase-configure-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-configure-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 3px;
    background: rgba(212, 175, 55, 0.04);
    text-decoration: none;
    transition: all 0.45s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.showcase-configure-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.12), transparent);
    transition: left 0.6s ease;
}

.showcase-configure-btn:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateX(6px);
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.12);
}

.showcase-configure-btn:hover::before {
    left: 100%;
}

.configure-btn-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    font-weight: 400;
}

.configure-btn-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.showcase-configure-btn:hover .configure-btn-label {
    color: var(--color-gold);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .nav-dropdown-wrap {
        display: none;
    }

    .showcase-configure-btns {
        align-items: center;
    }

    .showcase-configure-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 22px;
    }

    .showcase-subtitle {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-dropdown-group {
        display: none;
    }
}

/* Section 3: Gallery (Formerly Lifestyle) */
#gallery {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

#mechanism {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* Sticky Parallax Logic */
.sticky-section {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    /* Stacking Context */
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.7);
}

/* Backgrounds - Refined Gradients */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    /* Slightly larger for parallax move */
    height: 110%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* Prepare for JS parallax */
    transform: translate(-5%, -5%);
    transition: transform 0.1s linear;
    /* Fast response for mouse move */

    /* Ultra-Smooth Parabolic Easing Mask (300px) */
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0px,
            rgba(0, 0, 0, 0.02) 20px, rgba(0, 0, 0, 0.08) 40px, rgba(0, 0, 0, 0.18) 60px, rgba(0, 0, 0, 0.32) 80px,
            rgba(0, 0, 0, 0.48) 100px, rgba(0, 0, 0, 0.64) 120px, rgba(0, 0, 0, 0.78) 140px, rgba(0, 0, 0, 0.88) 160px,
            rgba(0, 0, 0, 0.96) 200px, black 300px,

            black calc(100% - 300px),
            rgba(0, 0, 0, 0.96) calc(100% - 200px), rgba(0, 0, 0, 0.88) calc(100% - 160px), rgba(0, 0, 0, 0.78) calc(100% - 140px),
            rgba(0, 0, 0, 0.64) calc(100% - 120px), rgba(0, 0, 0, 0.48) calc(100% - 100px), rgba(0, 0, 0, 0.32) calc(100% - 80px),
            rgba(0, 0, 0, 0.18) calc(100% - 60px), rgba(0, 0, 0, 0.08) calc(100% - 40px), rgba(0, 0, 0, 0.02) calc(100% - 20px),
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            transparent 0px,
            rgba(0, 0, 0, 0.02) 20px, rgba(0, 0, 0, 0.08) 40px, rgba(0, 0, 0, 0.18) 60px, rgba(0, 0, 0, 0.32) 80px,
            rgba(0, 0, 0, 0.48) 100px, rgba(0, 0, 0, 0.64) 120px, rgba(0, 0, 0, 0.78) 140px, rgba(0, 0, 0, 0.88) 160px,
            rgba(0, 0, 0, 0.96) 200px, black 300px,

            black calc(100% - 300px),
            rgba(0, 0, 0, 0.96) calc(100% - 200px), rgba(0, 0, 0, 0.88) calc(100% - 160px), rgba(0, 0, 0, 0.78) calc(100% - 140px),
            rgba(0, 0, 0, 0.64) calc(100% - 120px), rgba(0, 0, 0, 0.48) calc(100% - 100px), rgba(0, 0, 0, 0.32) calc(100% - 80px),
            rgba(0, 0, 0, 0.18) calc(100% - 60px), rgba(0, 0, 0, 0.08) calc(100% - 40px), rgba(0, 0, 0, 0.02) calc(100% - 20px),
            transparent 100%);
}

/* Hero: Deep, Mysterious, Elegant Green */
.hero-bg {
    background: url('../slike/glavnaozadje.png') center center / cover no-repeat;
}

/* Showcase */
.showcase-bg {
    background: url('../slike/usnje.png') center center / cover no-repeat;
}

.showcase-wrapper {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
}

.showcase-text {
    flex: 1;
    text-align: left;
}

.showcase-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.showcase-cta {
    display: inline-block;
    padding: 18px 45px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.5s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.showcase-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.6s ease;
}

.showcase-cta:hover {
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.showcase-cta:hover::before {
    left: 100%;
}

/* Cycling Images */
.showcase-images {
    flex: 1.5;
    position: relative;
    width: 100%;
    min-width: 500px;
    max-width: 650px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.05);
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 1s ease;
}

.showcase-img.active {
    opacity: 1;
    transform: scale(1.0);
    transition: opacity 1s ease, transform 3s ease-out;
}

@keyframes showcaseZoomOut {
    0% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1.0);
    }
}

@media (max-width: 768px) {
    .showcase-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
        text-align: center;
    }

    .showcase-text {
        text-align: center;
    }

    .showcase-images {
        max-width: 320px;
    }
}

/* Details: Mechanism */
.details-bg {
    background: url('../slike/ozadjetretja.png') center center / cover no-repeat;
    filter: brightness(0.5);
}

/* Lifestyle: Gallery */
.lifestyle-bg {
    background: url('../slike/galerijaozadje.png') center center / cover no-repeat;
    opacity: 1;
}

.lifestyle-content {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    color: var(--color-gold);
    /* Ensure text is gold/light */
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background: #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s var(--ease-premium);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-text {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-premium);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.05);
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-premium);
    image-rendering: high-quality;
    object-fit: contain;
    z-index: 2;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.lightbox-nav:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mechanism-layout {
        flex-direction: column;
        padding: 0 30px;
        gap: 40px;
        justify-content: center;
    }

    .mechanism-column {
        max-width: 100%;
        text-align: center;
    }

    .mechanism-video {
        max-width: 100%;
        margin-top: 20px;
    }

    .nh35-title,
    .nh35-subtitle {
        text-align: center;
    }

    .hero-layout {
        flex-direction: column;
        padding: 0 30px;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
        align-items: center;
    }

    .reviews-box {
        width: 100%;
    }
}

/* Content */
.content {
    z-index: 10;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.4s var(--ease-premium);
    padding: 0 20px;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MECHANISM SECTION LAYOUT ===== */
.mechanism-layout {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 60px;
}

.mechanism-column {
    display: flex;
    flex-direction: column;
    max-width: 42%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.mechanism-column.visible {
    opacity: 1;
    transform: translateY(0);
}

.mechanism-video {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    max-width: 45%;
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s ease 0.3s;
}

.mechanism-video.visible {
    opacity: 1;
    transform: translateX(0);
}

.mechanism-video video {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.15);
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

/* NH35 Title & Subtitle inside Card */
.nh35-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    background: linear-gradient(to right, #cfc09f, #ffecb3, #bfaa78);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 8px 0;
    letter-spacing: 0.05em;
    text-align: left;
}

.nh35-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 18px 0;
    letter-spacing: 0.03em;
    line-height: 1.5;
    text-align: left;
}

/* NH35 Info Card */
.nh35-card {
    width: 100%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 35px 30px;
    position: relative;
    transition: all 0.5s var(--ease-premium);
}

.nh35-card::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(212, 175, 55, 0.06);
    pointer-events: none;
}

.nh35-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.06);
    transform: translateY(-4px);
}

@keyframes nh35SlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Header */
.nh35-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nh35-badge {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    background: linear-gradient(135deg, #D4AF37, #F2C94C);
    padding: 5px 14px;
    letter-spacing: 0.15em;
}

.nh35-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Card Body — Paragraphs */
.nh35-body {
    margin-bottom: 25px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.nh35-body::-webkit-scrollbar {
    width: 3px;
}

.nh35-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 2px;
}

.nh35-para {
    font-size: 0.95rem !important;
    color: #c5baa8 !important;
    line-height: 1.9 !important;
    margin: 0 0 14px 0 !important;
    max-width: 100% !important;
}

.nh35-para:nth-child(1) {
    animation-delay: 0.8s;
}

.nh35-para:nth-child(2) {
    animation-delay: 1.1s;
}

.nh35-para:nth-child(3) {
    animation-delay: 1.4s;
}

.nh35-para:nth-child(4) {
    animation-delay: 1.7s;
}

.nh35-para:nth-child(5) {
    animation-delay: 2.0s;
}

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

/* Spec Badges */
.nh35-specs {
    display: flex;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.spec-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.04);
    transform: translateY(-2px);
}

.spec-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.spec-name {
    display: block;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .mechanism-layout {
        flex-direction: column;
        gap: 30px;
        padding: 0 25px;
    }

    .mechanism-layout .details-content {
        text-align: center;
    }

    .nh35-card {
        max-width: 100%;
    }
}

/* Specific Section Tweaks */
.hero-layout {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
}

.hero-left {
    flex: 1;
    text-align: left;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

/* Hero Fade-in on Load */
.hero-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease forwards;
}

.hero-fade-1 {
    animation-delay: 0.2s;
}

.hero-fade-2 {
    animation-delay: 0.6s;
}

.hero-fade-3 {
    animation-delay: 1.0s;
}

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

/* Vintage Reviews Box */
.reviews-box {
    flex: 0 0 380px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 35px 30px;
    position: relative;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(8px);
}

.reviews-box::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    pointer-events: none;
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.reviews-stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.reviews-label {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.reviews-carousel {
    position: relative;
    min-height: 120px;
}

.review-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.review-item.active {
    opacity: 1;
}

.review-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem !important;
    color: var(--color-text) !important;
    line-height: 1.8 !important;
    margin: 0 0 15px 0 !important;
    max-width: 100% !important;
}

.review-author {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .reviews-box {
        flex: none;
        width: 100%;
        max-width: 380px;
    }
}

.details-content h2 {
    background: linear-gradient(to right, #cfc09f, #ffecb3, #bfaa78);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== CONTACT GALAXY SECTION ===== */
.contact-galaxy-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #020202;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

#galaxy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Top Row: Form + Arrow + Heading */
.contact-top-row {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
}

/* LEFT: Contact Form */
.contact-form-wrapper {
    flex: 1;
    max-width: 420px;
}

.contact-form-inner {
    border: 1px solid rgba(197, 160, 89, 0.35);
    padding: 35px 30px;
    position: relative;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
}

.contact-form-inner::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    pointer-events: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #C5A059;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #F0F0F0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 14px 16px;
    outline: none;
    transition: all 0.4s ease;
    letter-spacing: 0.02em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C5A059;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.08), inset 0 0 15px rgba(197, 160, 89, 0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* File Upload */
.file-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px dashed rgba(197, 160, 89, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    color: #8a8070 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em !important;
    text-transform: none !important;
}

.file-label svg {
    width: 20px;
    height: 20px;
    color: #C5A059;
    flex-shrink: 0;
}

.file-label:hover {
    border-color: #C5A059;
    background: rgba(197, 160, 89, 0.04);
    color: #C5A059 !important;
}

.file-label.has-file {
    border-color: #C5A059;
    color: #C5A059 !important;
    border-style: solid;
}

/* Submit Button */
.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    background: transparent;
    color: #C5A059;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    margin-top: 5px;
    float: right;
}

.form-submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.2), transparent);
    transition: left 0.6s ease;
}

.form-submit-btn:hover {
    background: rgba(197, 160, 89, 0.08);
    border-color: #C5A059;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.15);
    transform: translateY(-2px);
}

.form-submit-btn:hover::before {
    left: 100%;
}

.form-submit-btn:hover svg {
    transform: translate(3px, -3px);
}

.form-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    font-size: 0.8rem !important;
    margin-top: 12px !important;
    text-align: right;
    max-width: 100% !important;
    clear: both;
}

.form-status.success {
    color: #4caf50 !important;
}

.form-status.error {
    color: #f44336 !important;
}

/* ===== CLOCKWORK SUBMIT ANIMATION ===== */
.form-submit-area {
    text-align: right;
    clear: both;
}

.clockwork-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.clockwork-overlay.active {
    display: flex;
    opacity: 1;
}

.clockwork-overlay.fade-out {
    opacity: 0;
}

.clockwork-svg {
    width: 160px;
    height: 160px;
}

/* Gear Rotations */
.gear-lg {
    animation: gearSpinCW 4s linear infinite;
}

.gear-sm-1 {
    animation: gearSpinCCW 2.5s linear infinite;
}

.gear-sm-2 {
    animation: gearSpinCCW 3s linear infinite;
}

@keyframes gearSpinCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes gearSpinCCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* Processing Label */
.clockwork-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem !important;
    color: #C5A059 !important;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-top: 16px !important;
    max-width: none !important;
}

.clockwork-dots::after {
    content: '';
    animation: dots 1.5s steps(3) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    33% {
        content: '.';
    }

    66% {
        content: '..';
    }

    100% {
        content: '...';
    }
}

/* Success State */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.form-success.active {
    display: flex;
    opacity: 1;
}

.success-check {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.success-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: circleDrawIn 0.6s ease forwards;
}

.success-path {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkDrawIn 0.4s ease 0.5s forwards;
}

@keyframes circleDrawIn {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkDrawIn {
    to {
        stroke-dashoffset: 0;
    }
}

.success-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem !important;
    color: #b8a88a !important;
    text-align: center;
    letter-spacing: 0.05em;
    max-width: none !important;
    margin: 0 !important;
}

.time-emphasis {
    font-weight: 700;
    background: linear-gradient(135deg, #C5A059, #E8D5A3, #C5A059);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-shadow: none;
    position: relative;
}

.time-emphasis::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C5A059, transparent);
}

/* Hide form fields during clockwork/success */
.contact-form-inner.state-processing .form-group,
.contact-form-inner.state-processing .form-submit-area,
.contact-form-inner.state-success .form-group,
.contact-form-inner.state-success .form-submit-area {
    display: none;
}

.contact-form-inner.state-processing,
.contact-form-inner.state-success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

/* LEFT: CTA Heading */
.contact-left {
    flex: 1;
    text-align: left;
}

.contact-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.15;
    background: linear-gradient(135deg, #C5A059 0%, #E8D5A3 40%, #C5A059 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    text-shadow: none;
}

.contact-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1rem !important;
    color: #8a8070 !important;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-weight: 400;
    max-width: none !important;
    margin: 0 !important;
}

/* CENTER: Horizontal Arrow */
.contact-arrow-wrapper {
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-arrow {
    width: 60px;
    height: 24px;
    overflow: visible;
}

.arrow-line {
    stroke-dasharray: 6 4;
    animation: arrowDraw 2s linear infinite;
}

.arrow-head {
    animation: arrowPulse 2s ease-in-out infinite;
}

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

    100% {
        stroke-dashoffset: -20;
    }
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}

/* VERTICAL ARROW DOWN */
.contact-arrow-down-wrapper {
    z-index: 10;
    display: flex;
    justify-content: center;
    margin: 30px 0 20px;
}

.animated-arrow-down {
    width: 24px;
    height: 100px;
    overflow: visible;
}

.arrow-line-down {
    stroke-dasharray: 6 4;
    animation: arrowDrawDown 2s linear infinite;
}

.arrow-head-down {
    animation: arrowPulseDown 2s ease-in-out infinite;
}

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

    100% {
        stroke-dashoffset: -20;
    }
}

@keyframes arrowPulseDown {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(4px);
    }
}

/* BOTTOM: Social Row */
.contact-socials-row {
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #C5A059;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    background: rgba(197, 160, 89, 0.03);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.15), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover {
    border-color: #C5A059;
    background: rgba(197, 160, 89, 0.08);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.12), inset 0 0 20px rgba(197, 160, 89, 0.04);
    transform: translateY(-3px);
    color: #E8D5A3;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(197, 160, 89, 0.4));
}

/* Contact Section Responsive */
@media (max-width: 900px) {
    .contact-galaxy-section {
        padding: 60px 0 40px;
    }

    .contact-top-row {
        flex-direction: column;
        gap: 30px;
        padding: 0 25px;
    }

    .contact-form-wrapper {
        max-width: 100%;
        order: 2;
    }

    .contact-left {
        text-align: center;
        order: 0;
    }

    .contact-arrow-wrapper {
        flex: 0 0 auto;
        transform: rotate(90deg);
        order: 1;
    }



    .contact-socials-row {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .contact-btn {
        min-width: 220px;
        justify-content: center;
    }

    .form-submit-btn {
        float: none;
        width: 100%;
        justify-content: center;
    }
}

/* ===== SITE FOOTER (below parallax) ===== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0a0704 0%, #000000 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    padding: 80px 60px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.footer-logo {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.25));
    margin-bottom: 12px;
}

.footer-brand-name {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 0.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.85rem !important;
    color: #8a8070 !important;
    line-height: 1.7 !important;
    max-width: 280px !important;
    margin: 0 !important;
}

.footer-heading {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    font-weight: 400;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 14px;
}

.footer-list a {
    color: #8a8070;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-list a:hover {
    color: var(--color-gold);
    padding-left: 6px;
}

.footer-contact-text {
    font-size: 0.85rem !important;
    color: #8a8070 !important;
    margin: 0 0 20px 0 !important;
    max-width: 250px !important;
}

/* Reactive Instagram */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #8a8070;
    font-size: 0.9rem;
    padding: 12px 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    transition: all 0.4s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.instagram-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
    z-index: 0;
}

.instagram-link:hover::before {
    opacity: 0.12;
}

.instagram-link:hover {
    color: #fff;
    border-color: rgba(225, 48, 108, 0.5);
    box-shadow: 0 0 25px rgba(225, 48, 108, 0.15), 0 0 50px rgba(131, 58, 180, 0.08);
    transform: translateY(-2px);
}

.instagram-icon {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.instagram-link:hover .instagram-icon {
    color: #e1306c;
    filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.5));
    transform: scale(1.15) rotate(-5deg);
}

.instagram-link span {
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem !important;
    color: #4a4540 !important;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 30px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Buttons */
.btn-luxury {
    display: inline-block;
    margin-top: 50px;
    padding: 20px 60px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.5s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-luxury:hover {
    background-color: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.btn-luxury:hover::before {
    left: 100%;
}

/* Delays */
.delay-200 {
    transition-delay: 0.2s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* ============================================
   PRE-BUILT COLLECTIONS SECTION
   ============================================ */

.collections-bg {
    background-image: url('../slike/ozadejprebuild.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* transition for mouse parallax */
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Elegant Dark Overlay to ensure content pops */
.collections-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 43, 29, 0.4) 0%, rgba(5, 7, 6, 0.8) 100%);
    z-index: 1;
}

.collections-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.collections-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(234, 198, 122, 0.2);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Product Grid --- */
.prebuilt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    width: 100%;
    padding: 0 40px;
}

/* --- Glassmorphism Product Card --- */
.prebuilt-card {
    background: rgba(5, 7, 6, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(234, 198, 122, 0.15);
    border-radius: 4px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-premium);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.prebuilt-card:hover {
    border-color: rgba(234, 198, 122, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(234, 198, 122, 0.05);
    transform: translateY(-5px);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image-wrapper::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    filter: blur(20px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: all 0.5s ease;
}

.prebuilt-card:hover .card-image-wrapper::before {
    background: radial-gradient(circle, rgba(234, 198, 122, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(1.2);
}

.watch-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    will-change: transform;
}

/* --- Carousel --- */
.prebuilt-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
    scrollbar-width: none;
    /* Firefox */
}

.prebuilt-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.prebuilt-carousel .watch-img {
    flex: 0 0 100%;
    scroll-snap-align: start;
    cursor: zoom-in;
    object-fit: cover;
}

.card-info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.watch-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-weight: 300;
}

.watch-price {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 25px;
}

.add-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(234, 198, 122, 0.1), transparent);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.add-cart-btn svg {
    transition: transform 0.3s ease;
}

.add-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 198, 122, 0.3), transparent);
    transition: left 0.6s ease;
}

.add-cart-btn:hover {
    background: linear-gradient(135deg, var(--color-gold), #b8962e);
    color: var(--color-dark);
    box-shadow: 0 10px 30px rgba(234, 198, 122, 0.3);
}

.add-cart-btn:hover::before {
    left: 100%;
}

.add-cart-btn:hover svg {
    transform: translateX(-3px);
}

.add-cart-btn.added {
    background: var(--color-forest-accent);
    color: var(--color-dark);
    border-color: var(--color-forest-accent);
    pointer-events: none;
}

/* ============================================
   EASTER EGG (SECRET)
   ============================================ */
#easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#easter-egg-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#easter-egg-overlay.easter-egg-hidden {
    display: none;
}

#easter-egg-loading {
    color: #fff;
    font-family: var(--font-heading);
    text-align: center;
    z-index: 2;
}

#easter-egg-loading h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

#easter-egg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

#easter-egg-video.playing {
    opacity: 1;
}

#easter-egg-btn {
    cursor: default;
    /* Keep it secret from hover styles */
    user-select: none;
}

/* Powered By Venom Shine */
.powered-text {
    margin-top: 10px;
    opacity: 0.8;
}

#venom-trigger {
    cursor: pointer;
    font-weight: 700;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

#venom-trigger:hover {
    color: #39ff14 !important;
    /* Neon Venom Green */
    text-shadow: 0 0 15px #39ff14, 0 0 30px #39ff14, 0 0 45px #39ff14;
}

/* Responsive — see css/main-mobile.css for all mobile overrides */
@media (max-width: 768px) {
    .fixed-header {
        padding: 0 30px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .main-nav {
        display: none;
    }

    .logo-container {
        transform: translateX(-50%);
    }

    .logo-container:hover {
        transform: translateX(-50%);
    }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE OVERRIDES — MAIN SITE  (≤ 768px)
   Written as a single block at the end for highest cascade
   priority. All desktop styles are completely untouched.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Global overflow guard ─────────────────────────────── */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* ── Sticky sections:
         100vh causes scrolling hell on mobile when content
         is taller than the viewport (collections, mechanism).
         Switch to min-height so sections grow to fit content. ── */
    .sticky-section {
        height: auto !important;
        min-height: 100svh;
        position: relative !important;
        top: auto !important;
        padding-top: 90px;
        padding-bottom: 60px;
    }


    /* ════════════════════════════════════════════
       HERO SECTION
    ════════════════════════════════════════════ */
    .hero-layout {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px !important;
        text-align: center;
        align-items: center;
    }

    .hero-left {
        text-align: center !important;
        align-items: center;
        width: 100%;
    }

    h1 {
        font-size: clamp(2rem, 9vw, 3rem) !important;
        margin-bottom: 16px !important;
        word-break: break-word;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .reviews-box {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 20px !important;
    }


    /* ════════════════════════════════════════════
       SHOWCASE SECTION  (Configure Yourself)
    ════════════════════════════════════════════ */
    .showcase-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px !important;
        text-align: center;
        align-items: center;
    }

    .showcase-text {
        text-align: center !important;
        width: 100%;
    }

    .showcase-title {
        font-size: clamp(1.6rem, 6vw, 2.6rem);
        margin-bottom: 20px;
    }

    /* FIX: min-width: 500px caused huge horizontal overflow */
    .showcase-images {
        min-width: unset !important;
        width: 100% !important;
        max-width: 340px !important;
        aspect-ratio: 1;
        margin: 0 auto;
    }

    .showcase-configure-btns {
        align-items: stretch !important;
        width: 100%;
    }

    .showcase-configure-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 18px !important;
    }


    /* ════════════════════════════════════════════
       COLLECTIONS — PREBUILT PRODUCT CARDS
    ════════════════════════════════════════════ */
    .collections-wrapper {
        height: auto !important;
        min-height: unset !important;
        padding: 20px 16px 40px !important;
    }

    .collections-header {
        margin-bottom: 28px;
    }

    .page-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
        letter-spacing: 0.08em;
    }

    .page-subtitle {
        font-size: 0.9rem;
        padding: 0 8px;
    }

    /* Single column on phone — cards were overflowing at 320px min */
    .prebuilt-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .prebuilt-card {
        padding: 24px 20px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .card-image-wrapper {
        aspect-ratio: 1;
        margin-bottom: 20px;
    }

    .watch-title {
        font-size: 1.1rem !important;
    }

    .watch-price {
        font-size: 1rem !important;
        margin-bottom: 16px !important;
    }

    .add-cart-btn {
        padding: 14px 16px !important;
        font-size: 0.78rem !important;
    }


    /* ════════════════════════════════════════════
       MECHANISM / NH35 SECTION
    ════════════════════════════════════════════ */
    .mechanism-layout {
        flex-direction: column !important;
        padding: 0 16px !important;
        gap: 28px !important;
        align-items: stretch !important;
    }

    /* FIX: max-width: 42% stacks far too narrow on phones */
    .mechanism-column {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
    }

    .nh35-title {
        font-size: 1.4rem !important;
        text-align: center !important;
    }

    .nh35-subtitle {
        text-align: center !important;
        font-size: 0.9rem;
    }

    .nh35-card {
        padding: 22px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Allow body text to scroll within a reasonable height */
    .nh35-body {
        max-height: 200px !important;
    }

    .nh35-para {
        font-size: 0.88rem !important;
        line-height: 1.7 !important;
    }

    .nh35-specs {
        gap: 10px !important;
    }

    /* FIX: max-width: 45% — should be full-width when stacked */
    .mechanism-video {
        max-width: 100% !important;
        width: 100% !important;
    }

    .mechanism-video video {
        max-height: 45vw;
        width: 100%;
        object-fit: cover;
    }


    /* ════════════════════════════════════════════
       GALLERY SECTION
    ════════════════════════════════════════════ */
    .lifestyle-content {
        padding: 0 16px !important;
    }

    .lifestyle-content h2 {
        font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
        margin-bottom: 10px;
    }

    .lifestyle-content>p {
        font-size: 0.88rem;
        margin-bottom: 0;
    }

    /* 2-col grid — already set above but ensure tight padding */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-top: 24px !important;
        padding: 0 !important;
        width: 100%;
    }

    .gallery-item {
        aspect-ratio: 1;
        border-radius: 3px;
    }

    /* Show overlay permanently on mobile (no hover on touch) */
    .gallery-overlay {
        opacity: 0.6;
    }

    .gallery-text {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        transform: none;
    }


    /* ════════════════════════════════════════════
       CONTACT SECTION
    ════════════════════════════════════════════ */
    .contact-galaxy-section {
        padding: 60px 0 40px !important;
    }

    /* FIX: padding: 0 60px causes overflow on 390px screens */
    .contact-top-row {
        flex-direction: column !important;
        gap: 28px !important;
        padding: 0 16px !important;
        align-items: stretch !important;
    }

    .contact-left {
        text-align: center;
    }

    .contact-heading {
        font-size: clamp(1.8rem, 8vw, 2.6rem) !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .contact-subtext {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }

    /* Hide the horizontal arrow — useless on stacked mobile layout */
    .contact-arrow-wrapper {
        display: none !important;
    }

    .contact-form-wrapper {
        max-width: 100% !important;
        width: 100% !important;
    }

    .contact-form-inner {
        padding: 24px 18px !important;
    }

    .form-submit-btn {
        width: 100%;
        justify-content: center;
        float: none !important;
        padding: 14px 24px !important;
        font-size: 0.78rem !important;
    }

    .contact-socials-row {
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 16px;
        justify-content: center;
    }

    .contact-btn {
        padding: 12px 20px !important;
        font-size: 0.78rem !important;
    }


    /* ════════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════════ */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center;
    }

    .footer-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-list {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .instagram-link {
        justify-content: center;
    }
}


/* ── Smallest phones (≤ 390px) ─────────────────────────── */
@media (max-width: 390px) {

    .sticky-section {
        padding-top: 80px;
    }

    .hero-layout,
    .showcase-wrapper,
    .mechanism-layout,
    .contact-top-row {
        padding: 0 14px !important;
    }

    .prebuilt-card {
        padding: 18px 14px !important;
    }

    .nh35-card {
        padding: 16px 14px !important;
    }

    .gallery-grid {
        gap: 6px !important;
    }
}