:root {
    /* --- COLOR PALETTE (Obsidian & Gold) --- */
    --bs-black: #0A0A0A;
    /* Deep, rich black (not true 000) */
    --bs-dark-grey: #121212;
    /* Secondary background */
    --bs-white: #F9F9F9;
    /* Soft white for text */
    --bs-gold: #D4AF37;
    /* Metallic Gold */
    --bs-gold-hover: #F0E6D2;
    /* Champagne Gold for interactions */
    --bs-border: rgba(255, 255, 255, 0.08);
    /* Subtle dividers */

    /* --- TYPOGRAPHY --- */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* --- SPACING & LAYOUT --- */
    --container-padding: 2rem;
    --section-gap: 4rem;
    --collection-header-height: 30vh;
    /* Reduced from 40vh */

    /* --- ANIMATION --- */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- COLLECTION HEADER REFINEMENT --- */
.collection-header {
    height: var(--collection-header-height) !important;
    margin-top: 70px !important;
}

.category-content-section {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.category-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #D4AF37 0%, #F0E6D2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-desc {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.category-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.category-feature-icon {
    color: var(--bs-gold);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.category-closing {
    font-style: italic;
    opacity: 0.7;
    border-left: 2px solid var(--bs-gold);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .category-title {
        font-size: 2.8rem;
    }

    .category-content-section {
        padding-top: 2.5rem;
        padding-bottom: 1.75rem;
    }

    .category-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .collection-header {
        height: 26vh !important;
        margin-top: 64px !important;
    }

    .category-title {
        font-size: 2.15rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .category-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .category-features {
        grid-template-columns: 1fr;
    }

    .category-closing {
        font-size: 1.05rem;
        padding-left: 1rem;
    }
}

/* --- RESET & BASE --- */
html,
body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bs-black);
    color: var(--bs-white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- NAVBAR STYLES --- */
#mainNav {
    padding: 0.25rem 0;
    min-height: 70px;
    background: transparent;
    backdrop-filter: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

#mainNav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

#mainNav .navbar-brand img {
    height: 70px !important;
}

#mainNav .nav-link {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 0.8rem !important;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    white-space: nowrap;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--bs-gold);
}

#mainNav .navbar-nav {
    align-items: center;
    gap: 0;
}

#mainNav .btn-link-gold {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
}

/* Responsive navbar adjustments */
@media (max-width: 1200px) {
    #mainNav .nav-link {
        font-size: 0.7rem;
        padding: 0.5rem 0.4rem !important;
    }
}

@media (max-width: 991px) {
    #mainNav {
        min-height: auto;
        padding: 0.5rem 1rem;
        background: rgba(10, 10, 10, 0.95);
    }

    #mainNav .navbar-brand img {
        height: 45px !important;
    }

    /* Animated hamburger button */
    #mainNav .navbar-toggler {
        border: none;
        padding: 0.5rem;
        transition: transform 0.3s ease;
        z-index: 1100;
    }

    #mainNav .navbar-toggler:focus {
        box-shadow: none;
    }

    #mainNav .navbar-toggler:not(.collapsed) {
        transform: rotate(90deg);
    }

    /* Side panel menu - slides from right, half screen width */
    #mainNav .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 50vw;
        height: 100vh;
        background: linear-gradient(180deg, rgba(5, 5, 5, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding: 4rem 1.5rem 1.5rem 1.5rem;
        overflow-y: auto;
        border-left: 1px solid rgba(212, 175, 55, 0.3);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            opacity 0.3s ease;
        z-index: 1050;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
    }

    #mainNav .navbar-collapse.show,
    #mainNav .navbar-collapse.collapsing {
        transform: translateX(0);
        opacity: 1;
    }

    #mainNav .navbar-nav {
        gap: 0;
        align-items: stretch;
        flex-direction: column;
    }

    #mainNav .nav-item {
        opacity: 0;
        transform: translateX(20px);
        animation: slideInNavRight 0.4s forwards;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(2) {
        animation-delay: 0.08s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(3) {
        animation-delay: 0.11s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(4) {
        animation-delay: 0.14s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(5) {
        animation-delay: 0.17s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(6) {
        animation-delay: 0.20s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(7) {
        animation-delay: 0.23s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(8) {
        animation-delay: 0.26s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(9) {
        animation-delay: 0.29s;
    }

    #mainNav .navbar-collapse.show .nav-item:nth-child(10) {
        animation-delay: 0.32s;
    }

    /* Overlay for closing menu when clicking outside */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .navbar-overlay.show {
        opacity: 1;
        visibility: visible;
    }

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

    #mainNav .nav-link {
        font-size: 0.85rem;
        font-weight: 400;
        letter-spacing: 1px;
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: block;
        text-align: left;
    }

    #mainNav .nav-link:hover,
    #mainNav .nav-link.active {
        color: var(--bs-gold);
        padding-left: 8px !important;
    }

    #mainNav .btn-link-gold {
        display: block;
        text-align: center;
        margin-top: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* --- ANIMATED HAMBURGER MENU --- */
.hamburglar {
    transform: scale(0.7);
    position: relative;
    display: block;
    width: 68px;
    height: 68px;
    cursor: pointer;
    -webkit-touch-callout: none;
    user-select: none;
    z-index: 1100;
}

.path-burger {
    position: absolute;
    top: 0;
    left: 0;
    height: 68px;
    width: 68px;
    mask: url(#mask);
    -webkit-mask-box-image: url(https://raygun.io/upload/mask.svg);
}

.animate-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
}

.path-rotation {
    height: 34px;
    width: 34px;
    margin: 34px 34px 0 0;
    transform: rotate(0deg);
    transform-origin: 100% 0;
}

.path-rotation:before {
    content: '';
    display: block;
    width: 30px;
    height: 34px;
    margin: 0 4px 0 0;
    background: #fff;
}

/* Burger Icon */
.burger-icon {
    position: absolute;
    padding: 20px 16px;
    height: 68px;
    width: 68px;
}

.burger-container {
    position: relative;
    height: 28px;
    width: 36px;
}

.burger-bun-top,
.burger-bun-bot,
.burger-filling {
    position: absolute;
    display: block;
    height: 3px;
    width: 36px;
    border-radius: 2px;
    background: #fff;
}

.burger-bun-top {
    top: 0;
    transform-origin: 34px 2px;
}

.burger-bun-bot {
    bottom: 0;
    transform-origin: 34px 2px;
}

.burger-filling {
    top: 12px;
    transition: opacity 0.3s ease;
}

.hamburglar.is-closed .burger-filling {
    opacity: 0;
}

.hamburglar.is-open .burger-filling {
    opacity: 1;
}

/* Burger Ring */
.burger-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
}

.svg-ring {
    width: 68px;
    height: 68px;
}

.path {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    stroke-linejoin: round;
}

/* Animation States */
.hamburglar.is-closed .path {
    animation: dash-in 0.6s linear forwards;
}

.hamburglar.is-closed .animate-path {
    animation: rotate-in 0.6s linear forwards;
}

.hamburglar.is-closed .burger-bun-top {
    animation: bun-top-out 0.6s linear forwards;
}

.hamburglar.is-closed .burger-bun-bot {
    animation: bun-bot-out 0.6s linear forwards;
}

.hamburglar.is-open .path {
    animation: dash-out 0.6s linear forwards;
}

.hamburglar.is-open .animate-path {
    animation: rotate-out 0.6s linear forwards;
}

.hamburglar.is-open .burger-bun-top {
    animation: bun-top-in 0.6s linear forwards;
}

.hamburglar.is-open .burger-bun-bot {
    animation: bun-bot-in 0.6s linear forwards;
}

/* Keyframe Animations */
@keyframes rotate-out {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(180deg);
    }

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

@keyframes rotate-in {
    0% {
        transform: rotate(360deg);
    }

    40% {
        transform: rotate(180deg);
    }

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

@keyframes dash-in {
    0% {
        stroke-dashoffset: 240;
    }

    40% {
        stroke-dashoffset: 240;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash-out {
    0% {
        stroke-dashoffset: 0;
    }

    40% {
        stroke-dashoffset: 240;
    }

    100% {
        stroke-dashoffset: 240;
    }
}

@keyframes bun-top-out {
    0% {
        left: 0;
        top: 0;
        transform: rotate(0deg);
    }

    20% {
        left: 0;
        top: 0;
        transform: rotate(15deg);
    }

    80% {
        left: -5px;
        top: 0;
        transform: rotate(-60deg);
    }

    100% {
        left: -5px;
        top: 1px;
        transform: rotate(-45deg);
    }
}

@keyframes bun-bot-out {
    0% {
        left: 0;
        transform: rotate(0deg);
    }

    20% {
        left: 0;
        transform: rotate(-15deg);
    }

    80% {
        left: -5px;
        transform: rotate(60deg);
    }

    100% {
        left: -5px;
        transform: rotate(45deg);
    }
}

@keyframes bun-top-in {
    0% {
        left: -5px;
        top: 0;
        transform: rotate(-45deg);
    }

    20% {
        left: -5px;
        top: 0;
        transform: rotate(-60deg);
    }

    80% {
        left: 0;
        top: 0;
        transform: rotate(15deg);
    }

    100% {
        left: 0;
        top: 1px;
        transform: rotate(0deg);
    }
}

@keyframes bun-bot-in {
    0% {
        left: -5px;
        transform: rotate(45deg);
    }

    20% {
        left: -5px;
        transform: rotate(60deg);
    }

    80% {
        left: 0;
        transform: rotate(-15deg);
    }

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

/* --- UTILITIES --- */
.text-gold {
    color: var(--bs-gold) !important;
}

.bg-black {
    background-color: var(--bs-black) !important;
}

.bg-soft-white {
    background-color: #F2F2F2 !important;
    color: #111;
}

.bg-soft-white h1,
.bg-soft-white h2,
.bg-soft-white h3,
.bg-soft-white h4,
.bg-soft-white h5,
.bg-soft-white h6 {
    color: #0A0A0A;
}

.bg-soft-white .card-title {
    color: #0A0A0A;
}

.bg-soft-white .card-product:hover .card-title {
    color: var(--bs-gold);
}

.bg-soft-white .card-price {
    color: #555;
}

.bg-soft-white .text-muted {
    color: #666 !important;
}

.font-playfair {
    font-family: var(--font-heading);
}

.font-montserrat {
    font-family: var(--font-body);
}

/* Spacing */
.py-section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.ls-sm {
    letter-spacing: 1px;
}

.ls-md {
    letter-spacing: 2px;
}

.ls-lg {
    letter-spacing: 4px;
}

.ls-xl {
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* Separator */
.separator-gold {
    width: 60px;
    height: 1px;
    background-color: var(--bs-gold);
    margin: 2rem 0;
}

/* --- TYPOGRAPHY SCALE --- */
.display-hero {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .display-hero {
        font-size: 5.5rem;
    }
}

@media (max-width: 768px) {
    .display-hero {
        font-size: 2.2rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .display-hero {
        font-size: 1.8rem;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFF 0%, #D4AF37 50%, #8C7350 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- ACTIONS (Butons) --- */
.btn-gold {
    display: inline-block;
    background-color: var(--bs-gold);
    color: #000;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    border: 1px solid var(--bs-gold);
    transition: all 0.4s var(--ease-out-expo);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--bs-gold);
    transform: translateY(-2px);
}

.btn-link-gold {
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #fff;
}

.btn-link-gold::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--bs-gold);
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-link-gold:hover::after {
    transform: scaleX(1);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* --- NAVBAR (Glass) --- */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bs-border);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 0;
    margin-left: 2rem;
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bs-gold);
    transition: width 0.3s ease;
}

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

/* --- MOBILE MENU (Fullscreen Overlay) --- */
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: #fff;

    /* --- PREMIUM UTILITY CLASSES --- */
    .mb-section {
        margin-bottom: var(--section-gap-lg, 120px) !important;
    }

    .bg-gold-dark {
        background-color: #1a150e;
        /* Deep elegant gold-tinted charcoal */
    }

    .transition-all {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .hover-border-gold:hover {
        border-color: var(--bs-gold) !important;
        transform: translateY(-5px);
    }

    .leading-relaxed {
        line-height: 1.8 !important;
    }

    /* --- REVEAL ANIMATIONS (UPGRADED) --- */
    .img-wrapper {
        overflow: hidden;
        position: relative;
    }

    .img-wrapper img {
        transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .img-wrapper:hover img {
        transform: scale(1.05);
    }

    .reveal-left {
        transform: translateX(-30px);
        opacity: 0;
        transition: all 0.8s ease;
    }

    .reveal-right {
        transform: translateX(30px);
        opacity: 0;
        transition: all 0.8s ease;
    }

    .reveal-left.active,
    .reveal-right.active {
        transform: translateX(0);
        opacity: 1;
    }

    /* Ensure global variables for spacing */
    :root {
        --section-gap-lg: 120px;
    }

    @media (max-width: 768px) {
        :root {
            --section-gap-lg: 60px;
        }
    }

    z-index: 1050;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bs-black);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.6s var(--ease-out-expo);
        opacity: 0;
        visibility: hidden;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-size: 2.5rem;
        margin: 0;
        text-transform: none;
        /* More elegance in menu */
        color: #fff !important;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    /* Staggered Entrance */
    .navbar-collapse.show .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.show .nav-item:nth-child(1) .nav-link {
        transition-delay: 0.2s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) .nav-link {
        transition-delay: 0.3s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) .nav-link {
        transition-delay: 0.4s;
    }

    .navbar-collapse.show .nav-item:nth-child(4) .nav-link {
        transition-delay: 0.5s;
    }

    .navbar-collapse.show .nav-item:nth-child(5) .nav-link {
        transition-delay: 0.6s;
    }

    .navbar-collapse.show .nav-item:nth-child(6) .nav-link {
        transition-delay: 0.7s;
    }
}

/* --- COMPONENTS: CARD --- */
.card-product {
    display: block;
    position: relative;
    margin-bottom: 4rem;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1.5rem;
}

.card-img-wrapper img {
    width: 100%;
    max-width: 100%;
    /* Safety */
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.5s ease;
    filter: brightness(0.9);
}

.card-product:hover .card-img-wrapper img {
    transform: scale(1.05);
    filter: brightness(1);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.card-product:hover .card-title {
    color: var(--bs-gold);
}

.card-price {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    display: flex;
    align-items: flex-end;
    /* Bottom Align Content */
    padding-bottom: 8vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 12vh;
        align-items: center;
        /* Center vertically on mobile to avoid navbar overlap */
        padding-top: 80px;
        /* Offset for fixed navbar */
    }
}

.hero-overlay {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.7) 100%);
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* --- SECTIONS: PORTFOLIO --- */
.bg-dark-accent {
    background-color: #0E0E0E !important;
    /* Subtle distinction from main black */
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    /* Low opacity gold divider */
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

/* Background Texture Effect (Optional) */
.bg-dark-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.03), transparent 60%);
    pointer-events: none;
}

/* Ensure text colors override bootstrap/utilities for this dark section */
.bg-dark-accent h2,
.bg-dark-accent h3,
.bg-dark-accent p {
    color: var(--bs-white);
}

.bg-dark-accent .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* --- ANIMATION UTILS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2.5s var(--ease-out-expo);
    /* Slowed from 1s to 2.5s */
}

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

/* Tagline readability adjustment */
.footer-tagline,
.logo-tagline {
    font-size: 1rem !important;
    /* Increased from fs-8 (0.75rem) */
    letter-spacing: 2px;
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    /* Changed to white to match GIF background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-gif {
    width: 500px;
    /* Bigger GIF */
    max-width: 80vw;
    height: auto;
    margin-bottom: 30px;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* --- VIDEO BANNER --- */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-container.hidden {
    display: none;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bs-gold);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--bs-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* --- LIGHTBOX MODAL --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

/* --- PRODUCT SLIDER NAVIGATION --- */
.product-slider-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.product-slider-nav.prev {
    left: 20px;
}

.product-slider-nav.next {
    right: 20px;
}

.product-slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--bs-gold);
    color: var(--bs-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-slider-btn:hover {
    background-color: var(--bs-gold);
    color: #000;
}

/* --- SOCIAL ICONS (HEADER) --- */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--bs-gold);
    transform: translateY(-2px);
}

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

/* --- HIDE 3D MODEL BUTTON --- */
.btn-3d-download-hidden {
    display: none !important;
}

/* --- FOOTER SOCIAL BAR --- */
.footer-social-wrapper {
    display: flex;
    justify-content: flex-start;
}

.footer-social-pill {
    display: flex;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- FLOATING SOCIAL MEDIA BAR --- */
.floating-social-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 10px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-social-bar.scrolling {
    opacity: 0.3;
}


.floating-social-bar:hover {
    opacity: 1 !important;
}

.floating-social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-social-link:hover {
    color: #fff;
    transform: scale(1.15);
}

.floating-social-link[title="Facebook"]:hover {
    background: #1877F2;
}

.floating-social-link[title="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.floating-social-link[title="TikTok"]:hover {
    background: #000000;
    border: 1px solid #fff;
}

.floating-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- LUXURY SIDE-BY-SIDE MODAL --- */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.image-preview-modal.show {
    visibility: visible;
    opacity: 1;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
}

.image-preview-content.split-layout {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 85vh;
    background: var(--bs-black);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-controls {
    position: absolute;
    top: 50px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.image-preview-close,
.image-preview-fullscreen {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-preview-close:hover,
.image-preview-fullscreen:hover {
    background: var(--bs-gold);
    color: #000;
    border-color: var(--bs-gold);
}

.image-preview-close svg,
.image-preview-fullscreen svg {
    width: 20px;
    height: 20px;
}

.image-preview-content.image-only-layout {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-info-overlay {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.image-counter-new {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bs-gold);
    padding: 6px 14px;
    min-width: 88px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.image-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    touch-action: pan-y;
}

.main-modal-img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

/* Fullscreen mode: image takes full screen without cropping */
.image-preview-content:fullscreen .main-modal-img,
.image-preview-content:-webkit-full-screen .main-modal-img {
    max-width: 100vw;
    max-height: 100vh;
}

.image-preview-content:fullscreen .image-container-wrapper,
.image-preview-content:-webkit-full-screen .image-container-wrapper {
    width: 100vw;
    height: 100vh;
    background: #000;
}

/* Content Pane Styling */
.image-preview-text-pane {
    scrollbar-width: thin;
    scrollbar-color: var(--bs-gold) transparent;
}

.image-preview-text-pane::-webkit-scrollbar {
    width: 4px;
}

.image-preview-text-pane::-webkit-scrollbar-thumb {
    background: var(--bs-gold);
}

.modal-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 18px;
    height: 18px;
    border: 1px solid var(--bs-gold);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: var(--bs-gold);
    border-radius: 50%;
    opacity: 0.5;
}

.feature-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.modal-closing-box {
    background: rgba(212, 175, 55, 0.03);
}

/* Slider Nav inside Modal */
.image-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.image-slider-nav:hover {
    background: var(--bs-gold);
    color: #000;
}

.image-slider-nav.prev {
    left: 20px;
}

.image-slider-nav.next {
    right: 20px;
}

.image-slider-nav svg {
    width: 24px;
    height: 24px;
}

.bg-black-20 {
    background: rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE MODAL */
@media (max-width: 991px) {
    .image-preview-content.split-layout {
        height: 90vh;
        overflow-y: auto;
    }

    .image-preview-content.split-layout .row {
        height: auto;
    }

    .image-preview-content.split-layout .col-lg-7 {
        height: 50vh !important;
    }

    .image-preview-content.split-layout .col-lg-5 {
        height: auto !important;
    }

    .modal-features-grid {
        grid-template-columns: 1fr;
    }

    .modal-info-overlay {
        bottom: 16px;
    }
}

@media (max-width: 1024px) {
    .image-preview-content.image-only-layout {
        width: 96vw;
        height: 88vh;
    }

    .main-modal-img {
        max-width: 92vw;
        max-height: 78vh;
    }

    .modal-controls {
        top: 16px;
        right: 16px;
        gap: 10px;
    }

    .image-preview-close,
    .image-preview-fullscreen {
        width: 48px;
        height: 48px;
    }

    .image-slider-nav {
        width: 56px;
        height: 56px;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .image-slider-nav.prev {
        left: 12px;
    }

    .image-slider-nav.next {
        right: 12px;
    }
}

/* --- TABLET COMPATIBILITY --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }

    .display-hero {
        font-size: 4rem;
    }

    .py-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .card-product {
        margin-bottom: 3rem;
    }
}

/* Hide on small screens to avoid interfering with content */
@media (max-width: 768px) {
    .nav-logo {
        height: 40px !important;
    }

    :root {
        --section-gap: 2.5rem;
    }

    .fs-nav-link {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        margin-bottom: 0.75rem;
    }

    .image-preview-content.image-only-layout {
        width: 100vw;
        height: 100vh;
    }

    .main-modal-img {
        max-width: 94vw;
        max-height: 72vh;
    }

    .image-slider-nav {
        width: 54px;
        height: 54px;
    }

    .image-slider-nav.prev {
        left: 10px;
    }

    .image-slider-nav.next {
        right: 10px;
    }

    .modal-info-overlay {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .floating-social-bar {
        right: 10px;
        padding: 12px 8px;
        gap: 10px;
    }

    .floating-social-link {
        width: 36px;
        height: 36px;
    }

    .floating-social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .floating-social-bar {
        right: 8px;
        padding: 10px 6px;
        gap: 8px;
    }

    .floating-social-link {
        width: 32px;
        height: 32px;
    }

    .floating-social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* --- FULL-SCREEN MENU STYLES --- */
.menu-toggle-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    z-index: 1200;
    transition: transform 0.3s var(--ease-out-expo);
}

.menu-toggle-btn:hover {
    transform: scale(1.05);
}

.menu-btn-text {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: 500;
}

.burger-icon-new {
    width: 25px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon-new span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease-out-expo);
}

.burger-icon-new span:last-child {
    width: 70%;
    margin-left: auto;
}

.menu-toggle-btn:hover .burger-icon-new span:last-child {
    width: 100%;
}

/* Full Screen Overlay */
.fs-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.fs-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.fs-menu-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2100;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fs-menu-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.fs-menu-left-content {
    padding-right: 2rem;
}

.fs-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-nav-link {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    text-decoration: none;
    display: block;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.3s ease;
}

.fs-menu-overlay.active .fs-nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.fs-nav-link:hover {
    color: var(--bs-gold);
}

.fs-nav-link.active {
    color: var(--bs-gold);
}

/* Submenu / Collections Grid */
.has-submenu {
    position: relative;
}

.submenu-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    margin-left: 15px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.fs-nav-link:hover .submenu-arrow {
    border-top-color: var(--bs-gold);
    transform: rotate(-90deg);
}

.fs-submenu-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fs-submenu-grid.show {
    display: grid !important;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInMenu 0.4s ease forwards;
}

.fs-submenu-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.fs-submenu-link:hover {
    color: var(--bs-gold);
}

.hover-gold:hover {
    color: var(--bs-gold) !important;
}

.fs-social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fs-social-icon:hover {
    background: var(--bs-gold);
    border-color: var(--bs-gold);
}

/* Animation Delays */
.fs-menu-overlay.active .fs-nav-links li:nth-child(1) .fs-nav-link {
    transition-delay: 0.3s;
}

.fs-menu-overlay.active .fs-nav-links li:nth-child(2) .fs-nav-link {
    transition-delay: 0.4s;
}

.fs-menu-overlay.active .fs-nav-links li:nth-child(3) .fs-nav-link {
    transition-delay: 0.5s;
}

.fs-menu-overlay.active .fs-nav-links li:nth-child(4) .fs-nav-link {
    transition-delay: 0.6s;
}

.fs-menu-overlay.active .fs-nav-links li:nth-child(5) .fs-nav-link {
    transition-delay: 0.7s;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 991px) {
    .fs-menu-close {
        top: 20px;
        right: 20px;
    }

    .fs-nav-link {
        font-size: 2.5rem;
    }

    .fs-submenu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .fs-submenu-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PHASE 2 UPDATES --- */

/* 1. Luxury Envelope 2.0 Implementation */
.btn-envelope {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    /* Text to the right */
    background: #ff7f00;
    /* User's suggested base color */
    color: #fff;
    width: 320px;
    height: 60px;
    padding: 0 30px 0 80px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.5s var(--ease-out-expo);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

@media (max-width: 1024px) {
    .btn-envelope {
        width: min(320px, 100%);
    }
}

@media (max-width: 768px) {
    .btn-envelope {
        width: 100%;
        max-width: 300px;
        height: 54px;
        padding: 0 20px 0 66px;
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }

    .envelope-wrapper {
        left: 14px;
        width: 42px;
        height: 26px;
    }
}

.btn-envelope:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Wrapper for the decorative envelope icon */
.envelope-wrapper {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 30px;
    animation: idle-wiggle 5s infinite;
}

.envelope-wrapper .envelope-main {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f4f1f1;
    border-radius: 2px;
    z-index: 8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Side folds of the envelope body */
.envelope-wrapper .envelope-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 25px 15px 25px;
    border-color: transparent transparent #efefef #efefef;
    z-index: 9;
}

/* Top Flap */
.envelope-wrapper .flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 15px solid #cfcdcd;
    transform-origin: top;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 10;
}

/* Rising Sheet */
.envelope-wrapper .sheet {
    position: absolute;
    bottom: 5px;
    left: 10px;
    width: 30px;
    height: 20px;
    background: #fff;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.envelope-wrapper .sheet::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 2px;
    background: #ddd;
    box-shadow: 0 4px 0 #ddd, 0 8px 0 #ddd;
}

.btn-envelope:hover .flap {
    transform: rotateX(180deg);
    z-index: 4;
    /* Behind the sheet when open */
}

.btn-envelope:hover .sheet {
    transform: translateY(-15px);
}

@keyframes idle-wiggle {

    0%,
    90%,
    100% {
        transform: translateY(-50%) rotate(0deg);
    }

    92% {
        transform: translateY(-50%) rotate(5deg);
    }

    95% {
        transform: translateY(-50%) rotate(-5deg);
    }

    97% {
        transform: translateY(-50%) rotate(3deg);
    }
}

/* 2. Blinking Star Bullets Refinement */
.star-list {
    list-style: none;
    padding-left: 0;
}

.star-list li {
    position: relative;
    padding-left: 3rem;
    /* Increased spacing */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.star-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--bs-gold);
    font-size: 1.4rem;
    animation: star-blink-v2 2.5s infinite ease-in-out;
}

@keyframes star-blink-v2 {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 2px var(--bs-gold));
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        filter: drop-shadow(0 0 12px var(--bs-gold));
        transform: scale(1.3);
    }
}

/* Remove white backgrounds from lists in About page */
#view-about .bg-white,
.about-details-card {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Global Scroll Reveal Tuning (Scroll-Up Style) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    /* Slightly deeper start */
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    /* Ultra-premium easeOutExpo */
    will-change: transform, opacity;
}

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

/* 4. One-Line Headline Utility */
.one-line-headline {
    white-space: nowrap;
    font-size: clamp(1.5rem, 3vw, 4.5rem) !important;
}

@media (max-width: 991px) {
    .one-line-headline {
        white-space: normal;
    }
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* ----------------------------------------------------
   PAGE HERO PARALLAX BANNER (Services / About)
   ---------------------------------------------------- */
.page-hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Premium cinematic 100% viewport height */
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .page-hero-banner {
        height: 82vh;
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .page-hero-banner {
        height: 78svh;
        min-height: 360px;
    }

    .page-hero-content {
        padding: 0 14px;
    }
}

.highlight-card-media {
    height: 60vh;
    min-height: 400px;
}

@media (max-width: 1024px) {
    .highlight-card-media {
        height: 52vh;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .highlight-card-media {
        height: 44vh;
        min-height: 240px;
    }
}

/* Container for scaling so overflow is hidden properly */
.page-hero-parallax-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-hero-image {
    position: absolute;
    /* Extra height and scale to allow room for parallax shifting and zooming without showing borders */
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.01);
    will-change: transform;
}

/* Elegant dark overlay so the white text pops */
.page-hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}


/* Fix for fixed elements outside the wrapper */
.scroll-to-top,
.navbar-toggle-wrapper,
.fs-menu-overlay {
    z-index: 9999 !important;
}