:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --duration: 5s;
}

body {
    margin: 0;
    background-color: #000;
    overflow-x: hidden;
    font-family: var(--font-serif);
}

/* NAVBAR */
.navbar {
    /* padding: 30px 0; */
    color: #fff;
    transition: 0.4s;
    z-index: 2000;
}

.navbar.scrolled {
    background: #fff !important;
    color: #000;
    /* padding: 15px 0; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .nav-link {
    color: #000;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: inherit !important;
}

.nav-link {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: currentColor;
    color: #000;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled .cart-badge {
    background: #000;
    color: #fff;
}

/* HERO SECTION */
.hero-sticky-container {
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 1;
}

.hero-slider {
    height: 111vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.hero-content-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.btn-luxury-white {
    background: #fff;
    border-radius: 0;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 14px 28px;
    border: none;
    font-weight: 900;
}

.btn-luxury-outline {
    background: #000000;
    border: 1px solid #000;
    color: #fff;
    border-radius: 0;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 14px 28px;
    font-weight: 900;
}

/* SLIDER CONTROLS */
.slider-controls {
    position: absolute;
    bottom: 10%;
    width: 100%;
    z-index: 15;
}

.progress-segment {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.progress-segment span {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
}

.progress-segment.active span {
    width: 100%;
    transition: width var(--duration) linear;
}

.hero-thumb {
    width: 175px;
    height: 100px;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* HERITAGE SPLIT (OVERLAP) */
.heritage-split-section.overlap-top {
    position: relative;
    z-index: 100;
    margin-top: 80vh;
    background: #fff;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.1);
}

.heritage-image-wrapper {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.heritage-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.heritage-text-container {
    padding: 10% 12%;
}

.heritage-title-box {
    display: inline-block;
    border: 1px solid #000;
    padding: 15px 45px;
}

.section-title-alt {
    font-family: var(--font-serif);
    font-size: 26px;
}

.heritage-body p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    font-weight: 400;
}

/* COMMITMENT */
.commitment-section {
    background-color: #ffffff;
    padding: 100px 0 !important;
    position: relative;
    z-index: 101;
}

.commitment-main-card {
    height: 100%;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1594938298603-c8148c4dae35?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    border-radius: 24px;
    position: relative;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.commitment-main-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.commitment-main-card h2 {
    color: #fff;
    font-size: 38px;
    z-index: 2;
    font-weight: 700;
}

.info-card {
    background-color: #f1f1f1;
    border-radius: 24px;
    padding: 45px;
    height: 100%;
    transition: 0.3s;
}

.card-number {
    font-size: 36px;
    font-weight: 700;
    color: #e2e4e8;
}

.icon-box {
    width: 50px;
    height: 50px;
    border: 1.5px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PASHMINA STORY & CATALOG */
.py-10 {
    padding: 120px 0;
}

.subtitle-gold {
    font-size: 11px;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 15px;
    display: block;
}

.lead-text {
    font-size: 18px;
    font-weight: 300;
}

.craft-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.price-tag-main {
    border: 1px solid #000;
    padding: 10px 30px;
    font-weight: 500;
}

.product-img-box img {
    width: 100%;
    aspect-ratio: 1/1.2;
    object-fit: cover;
}

/* Ensure the content stack covers the sticky hero */
.content-stack {
    position: relative;
    z-index: 100;
    /* Higher than hero z-index: 1 */
    background: #fff;
    /* Solid background so hero doesn't show through */
}

/* Ensure all sections have a solid background and are block elements */
.pashmina-story,
.pashmina-craft,
.pashmina-catalog {
    position: relative;
    display: block;
    width: 100%;
    background-color: #ffffff !important;
    z-index: 105;
}

.bg-light-gray {
    background-color: #f8f9fa !important;
}

/* Safety: Prevent JS from hiding content if it fails to load */
.info-card,
.product-card,
.craft-image,
.content-box {
    opacity: 1;
    /* Changed from 0 to 1 as default */
    transform: translateY(0);
}

/* Re-adjust overlap margin for the first section in the stack */
.heritage-split-section.overlap-top {
    margin-top: 80vh;
    /* Keeps the overlap effect */
    background: #fff;
}

/* Editorial Styles */
.italic-serif {
    font-style: normal !important;
    font-family: var(--serif);
    color: #ffffff;
    opacity: 0.9;
}

.gold-subtitle {
    color: #fff;
    letter-spacing: 5px;
    font-weight: 600;
    font-size: 11px;
}

.editorial-line {
    height: 1px;
    width: 60px;
    background: #000;
}

.story-image-canvas {
    position: relative;
    padding: 20px;
}

.accent-box-gold {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    border: 1px solid #fff;
    z-index: -1;
}

.main-img {
    box-shadow: 25px 25px 80px rgba(0, 0, 0, 0.1);
    transition: 0.8s ease;
}

.pashmina-story-editorial:hover .main-img {
    transform: scale(1.02);
}

/* Gallery Styles */
.ls-3 {
    letter-spacing: 3px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.large-item {
    height: 600px;
}

.small-item {
    height: 290px;
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.ls-2 {
    letter-spacing: 2px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

/* Catalog Boutique Styles */
.catalog-header .catalog-meta .price-badge-luxe {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.1rem;
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

.boutique-card {
    cursor: pointer;
    transition: 0.3s;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #fcfcfc;
}

.card-img-wrapper img {
    width: 100%;
    aspect-ratio: 1/1.2;
    object-fit: cover;
    transition: 0.8s;
    opacity: 0.9;
}

.btn-quick-view {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    transition: 0.4s;
}

.boutique-card:hover .card-img-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.boutique-card:hover .btn-quick-view {
    bottom: 0;
}

.boutique-card:hover .card-info h4 {
    color: #fff;
}

@media (max-width: 991px) {

    .large-item,
    .small-item {
        height: 400px;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .catalog-meta {
        border-left: none !important;
        padding-left: 0 !important;
    }
}


/* --- GLOBAL UTILITIES & TYPOGRAPHY --- */
.font-serif {
    font-family: var(--font-serif);
}

.italic-serif {
    font-style: italic;
    font-weight: 300;
}

.text-gold {
    color: #fff;
}

.bg-cream {
    background-color: #f1f1f1;
}

.bg-black {
    background-color: #0c0c0c;
}

.text-gray {
    color: #b7b7b7;
}

.ls-3 {
    letter-spacing: 3px;
}

.ls-1 {
    letter-spacing: 1px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.py-10 {
    padding: 120px 0;
}

.btn-link-custom {
    display: inline-flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-link-custom:hover {
    color: #fff;
    border-color: #fff;
}

/* --- ATELIER HERITAGE --- */
.atelier-heritage {
    padding: 70px 0 120px;
    background: #f1f1f1;
    margin-top: 80vh;
    /* Keeps the sticky hero overlap effect */
}

.heritage-badge {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid #e0e0e0;
    font-size: 10px;
    letter-spacing: 3px;
    border-radius: 50px;
}

.relative-composition {
    position: relative;
}

.main-frame {
    width: 85%;
    height: 700px;
    object-fit: cover;
}

.float-frame {
    position: absolute;
    bottom: -50px;
    right: 0;
    width: 45%;
    height: auto;
    border: 10px solid #fff;
}

/* --- VIRTUES (COMMITMENTS) --- */
.virtues-section {
    padding: 70px 0;
}
@media (max-width: 768px) {
    .virtues-section {
        padding: 50px 0; /* adjust as needed */
    }
}

.virtue-item {
    padding: 20px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
}

.virtue-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-5px);
}

.virtue-number {
    font-family: var(--font-serif);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.1);
    font-style: italic;
}

/* --- CINEMATIC ORIGIN --- */
.cinematic-origin {
    overflow: hidden;
}

.wide-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.origin-text-card {
    position: absolute;
    bottom: 78px;
    right: -5%;
    max-width: 550px;
    border-left: 3px solid #fff;
    z-index: 999
}

/* --- OFFSET LOOKBOOK --- */
.lookbook-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.lookbook-item img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.lookbook-item:hover img {
    transform: scale(1.05);
}

.lookbook-caption {
    margin-top: 15px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #000;
}

.offset-y {
    transform: translateY(60px);
}

/* --- CURATED ARCHIVES (CATALOG) --- */
.archive-card {
    cursor: pointer;
}

.archive-image {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.archive-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: 0.8s ease;
}

.featured-archive .archive-image img {
    aspect-ratio: 4/5;
}

.archive-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

.archive-card:hover .archive-image img {
    transform: scale(1.05);
}

.archive-card:hover .archive-overlay {
    opacity: 1;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 991px) {
    .main-frame {
        width: 100%;
        height: 400px;
    }

    .float-frame {
        width: 60%;
        position: relative;
        bottom: 0;
        margin-top: -80px;
        left: 20px;
    }

    .virtue-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .virtue-item:last-child {
        border-bottom: none;
    }

    .origin-text-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin: -40px 20px 0 20px;
    }

    .offset-y {
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: flex-end;
    }
}
@media (min-width: 1200px) {
    .display-3 {
        font-size: 48px;
    }
}
.text-muted {
    --bs-text-opacity: 1;
    color: #333 !important;
}


/* --- COMMITMENT SECTION REPLICA --- */
.commitment-section {
    padding: 70px 0 !important;
}

/* Main Left Card */
.experience-card-main {
    height: 100%;
    min-height: 580px;
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    background-position: center;
    border-radius: 24px; /* Matches screenshot exactly */
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
}

.experience-card-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}

.top-tag {
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.experience-card-main .bottom-content {
    position: relative;
    z-index: 2;
}

.experience-card-main h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

/* Feature Cards Right */
.feature-card-item {
    background-color: #f1f1f1; /* Subtle light grey from screenshot */
    border-radius: 24px;
    padding: 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.feature-card-item:hover {
    transform: translateY(-5px);
    background-color: #f0f1f3;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-icon-box {
    width: 48px;
    height: 48px;
    border: 1.2px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-box i {
    width: 22px;
    height: 22px;
    color: #000;
}

.card-num-faded {
    font-size: 34px;
    font-weight: 700;
    color: #e2e4e8; /* Faded number effect from screenshot */
}

.feature-card-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.feature-card-item p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .experience-card-main { min-height: 400px; padding: 30px; }
    .feature-card-item { padding: 30px; }
    .experience-card-main h2 { font-size: 28px; }
}

/* --- COMMITMENT SECTION ADJUSTMENTS --- */

.ls-tight {
    line-height: 1.1;
    letter-spacing: -1px;
    color: #000;
}

.experience-card-main {
    height: 100%;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
    padding: 40px;
}

/* Feature Cards Right */
.feature-card-item {
    background-color: #f1f1f1;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-num-faded {
    font-size: 32px;
    font-weight: 700;
    color: #c4c5c5;
}

.feature-card-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Mobile responsive padding */
@media (max-width: 991px) {
    .section-text-outside h2 {
        font-size: 2rem;
    }
    .experience-card-main {
        min-height: 400px;
    }
}

/* --- COMMITMENT SECTION ADJUSTMENTS --- */

.ls-tight {
    line-height: 1.15;
    letter-spacing: -1px;
    color: #000;
}

.section-short-desc {
    color: #6c757d; /* Muted gray for description */
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
    font-weight: 300;
}

.experience-card-main {
    height: 100%;
    min-height: 650px; /* Increased height to match taller right column */
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
    padding: 40px;
}

/* Feature Cards Right */
.feature-card-item {
    background-color: #f1f1f1;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.feature-card-item:hover {
    border-color: #ddd;
    background-color: #fcfcfc;
}

.card-num-faded {
    font-size: 32px;
    font-weight: 700;
    color: #e2e4e8;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .section-text-outside h2 {
        font-size: 2.2rem;
    }
    .experience-card-main {
        min-height: 400px;
        margin-bottom: 20px;
    }
}


.border-bottom{
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.border-top{
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}


.br-l{
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.br-r{
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}
'

/* --- LUXURY VIRTUES ENHANCEMENT --- */

.virtues-section {
    background-color: #080808 !important; /* Slightly deeper black */
    overflow: hidden;
}

.virtues-grid {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.virtue-item {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.virtue-item:last-child {
    border-right: none;
}

.virtue-card {
    padding: 80px 40px;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.virtue-number {
    font-family: var(--font-serif);
    font-size: 70px;
    font-weight: 300;
    color: rgba(184, 149, 100, 0.05); /* Very faint gold */
    line-height: 1;
    margin-bottom: -20px;
    transition: all 0.5s ease;
    pointer-events: none;
}

.virtue-item h4 {
    font-size: 26px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.virtue-item p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.4s ease;
}

/* The subtle animated gold line at the bottom */
.virtue-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover Effects */
.virtue-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.virtue-item:hover .virtue-number {
    color: rgba(184, 149, 100, 0.15);
    transform: translateY(-10px);
}

.virtue-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.virtue-item:hover .virtue-hover-line {
    width: 100%;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .virtue-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .virtue-card {
        padding: 50px 30px;
    }
}


/* --- SLIDER NAVIGATION STYLES --- */
.custom-nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.4s ease;
    color: #fff;
}

.custom-nav-btn:hover {
    border-color: #fff;
    color: #fff;
}

/* Pagination Bar Styling */
.luxury-pagination.swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.1);
    height: 2px !important;
    position: relative;
}

.luxury-pagination .swiper-pagination-progressbar-fill {
    background: #fff !important;
}

/* Virtue Item Adjustments for Slider */
.virtue-item {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    height: auto;
}

.virtue-card {
    padding: 60px 40px;
    transition: background 0.4s ease;
}

.virtue-item:hover .virtue-card {
    background: rgba(255, 255, 255, 0.03);
}

/* Make numbers slightly smaller to fit 4 columns better */
.virtue-number {
    font-size: 50px;
    margin-bottom: -10px;
}

/* --- LUXURY SLIDER REFINEMENT --- */

.virtues-slider-container {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #050505; /* Deep black for the slide track */
}

.virtue-item {
    /* Vertical divider between slides */
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.virtue-card {
    padding: 40px 27px; /* Increased vertical padding for elegant spacing */
    transition: all 0.5s ease;
}

.virtue-card h3 {
    font-size: 1.35rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.virtue-card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 90%;
}

/* Subtle Hover States */
.virtue-item:hover {
    background: rgba(184, 149, 100, 0.03); /* Extremely subtle gold tint */
}

.virtue-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.virtue-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #fff;
    transition: width 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.virtue-item:hover .virtue-hover-line {
    width: 100%;
}

/* Nav Buttons */
.custom-nav-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.custom-nav-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .virtue-card {
        padding: 30px 30px;
    }
}

/* Custom 1500px Container */
.container-fluid-1 {
    max-width: 1500px;
    margin: 0 auto; /* Centers the container */
    padding: 0 15px; /* Side breathing room for mobile */
    width: 100%;
}
.py-70{
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
@media (max-width: 768px) {
    .py-70 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* --- ARTISAN CRAFT SECTION --- */
.artisan-craft-section {
    padding: 70px 0;
    background-color: #ffffff;
}
@media (max-width: 768px) {
    .artisan-craft-section {
        padding: 50px 0;
    }
}

/* Logo Styling */
.chyangra-mark-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.chyangra-svg-logo {
    display: block;
    margin: 0 auto;
}
.mark-text {
    line-height: 1.2;
    color: #000;
}

/* Typography & Lines */
.editorial-line-gold {
    height: 1px;
    width: 60px;
    background-color: #b89564; /* Sophisticated gold replacing the harsh blue */
}
.ls-2 {
    letter-spacing: 2px;
}
.text-gold {
    color: #b89564;
}
.fw-medium {
    font-weight: 500;
}

/* Image Cards (The Polaroid / Gallery look) */
.artisan-image-card {
    position: relative;
    display: block;
}
.image-frame {
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    /* Forces a beautiful consistent cinematic ratio for both images */
    aspect-ratio: 4/3; 
}
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform;
}
.artisan-image-card:hover .image-frame img {
    transform: scale(1.06);
}

.image-caption {
    border-color: #eee !important;
    transition: 0.3s ease;
    z-index: 1;
}
.artisan-image-card:hover .image-caption {
    border-color: #b89564 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .editorial-line-gold { width: 30px; }
    .artisan-craft-section .display-3 { font-size: 2.5rem; }
    .image-frame { aspect-ratio: 1/1; } /* Squarer on mobile for better visibility */
}


/* Product Card & Aspect Ratio */
.product-img-wrap {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    aspect-ratio: 3 / 4; /* Keeps images beautifully uniform */
    margin-bottom: 1rem;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Hover Zoom Effect */
.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

/* Quick View Sliding Button */
.quick-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.product-card:hover .quick-view-overlay {
    transform: translateY(0);
}

.btn-quick-view {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.75rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.btn-quick-view:hover {
    background-color: #333;
}

/* Product Text Hover effect */
.product-title {
    color: #212529;
    transition: text-decoration 0.2s;
}

.product-card:hover .product-title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sku-code {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* --- LUXURY BOUTIQUE ARCHIVE --- */
.collection-archive {
    border-top: 1px solid #f0f0f0;
}

.boutique-product {
    cursor: pointer;
    transition: transform 0.4s ease;
}

.product-visual {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    aspect-ratio: 3 / 4; /* Elegant tall ratio */
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-action {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.btn-atelier {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 25px;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.boutique-product:hover .product-visual img {
    transform: scale(1.08);
}

.boutique-product:hover .product-action {
    opacity: 1;
    backdrop-filter: blur(8px);
}

.boutique-product:hover .btn-atelier {
    transform: translateY(0);
}

.boutique-product:hover .product-name {
    color: #b89564;
}

/* Typography Refinements */
.sku {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.product-name {
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 1rem;
    color: #000;
    font-family: var(--font-sans);
}

.product-desc {
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .collection-archive .display-4 {
        font-size: 2.5rem;
    }
    .product-info {
        margin-top: 15px;
    }
    .product-price {
        font-size: 0.9rem;
    }
}

.fs-18{
    font-size: 18px !important;
}

/* --- BUTTON SLIDE-UP ANIMATION --- */
.product-action {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05); /* Very subtle overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-atelier {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
    transform: translateY(30px); /* Positioned below view */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.boutique-product:hover .product-action {
    opacity: 1;
}

.boutique-product:hover .btn-atelier {
    transform: translateY(0); /* Slides up to center */
}

.btn-atelier:hover {
    background: #333;
}

/* --- LUXURY MODAL STYLING --- */
.modal-xl {
    max-width: 1100px;
}

.modal-content {
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.modal-custom-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    filter: invert(0);
}

.editorial-line-blue {
    height: 1.5px;
    width: 250px;
    background: #4a70b0; /* Blue line from screenshot */
}

.product-specs-grid {
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-footer-custom {
    border-color: #eee !important;
}

.object-fit-cover {
    object-fit: cover;
}

@media (max-width: 991px) {
    .modal-img-container {
        height: 400px !important;
    }
    .editorial-line-blue {
        width: 100%;
    }
}


/* MODAL CORE */
.boutique-modal-content {
    border-radius: 0; /* Luxury feels architectural and sharp */
    background-color: #fcfcfb; /* Soft paper-white */
    border: 1px solid #e0e0d5;
}

.boutique-details-side {
    padding: 60px;
    background-image: linear-gradient(to right, #fcfcfb, #fff);
}

.details-inner-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

/* TYPOGRAPHY */
.small-caps {
    /* font-family: var(--font-sans); */
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #1a1a1a;
}

.ls-1 { letter-spacing: 1px; }

/* HERITAGE MARK */
.brand-auth-mark {
    width: 45px;
    filter: grayscale(1) contrast(1.2);
    opacity: 0.8;
}

.accent-line-thin {
    width: 100%;
    height: 1px;
    background-color: #4a70b0; /* The signature blue from the mark */
    opacity: 0.3;
}

/* PRICE section */
.label-tiny {
    font-size: 9px;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.price-display {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 0;
}

/* SPECS TABLE */
.specs-section {
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-label {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-family: var(--font-serif);
    font-size: 16px;
    color: #222;
}

/* FOOTER */
.boutique-modal-footer {
    margin-top: 60px;
}

.product-code-label {
    font-size: 9px;
    letter-spacing: 2px;
    color: #aaa;
}

.product-code-value {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.custom-note {
    font-size: 11px;
    font-style: italic;
    color: #999;
}

.company-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-info {
    font-size: 10px;
    color: #666;
    margin-bottom: 0;
    text-transform: lowercase;
}

/* VISUAL SIDE */
.visual-side {
    overflow: hidden;
}

.visual-wrapper {
    height: 100%;
    position: relative;
    background-color: #f0f0f0;
}

.main-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease; /* Very slow subtle zoom on open */
}

.modal.show .main-modal-img {
    transform: scale(1.08);
}

.luxury-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
    opacity: 0.5;
    transition: 0.3s;
    background-color: #fff;
    padding: 10px;
    border-radius: 0;
}

.luxury-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .boutique-details-side { padding: 40px 20px; }
    .price-display { font-size: 2.5rem; }
    .boutique-modal-footer .text-end { text-align: left !important; margin-top: 30px; }
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: 957px;
}


/* --- EDITORIAL MODAL REFINEMENT --- */

.editorial-modal {
    border-radius: 0;
    border: none;
    background: #fff;
    overflow: hidden;
}

.bg-paper {
    background-color: #fdfdfc; /* Subtle paper-white texture */
}

.editorial-content {
    padding: 60px 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 1. Brand Seal */
.editorial-seal {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.editorial-seal img {
    height: 75px;
    filter: grayscale(1);
}

.seal-line {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.seal-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #474444;
    max-width: 400px;
    line-height: 1.4;
}

/* 2. Pricing */
.meta-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b89564; /* Gold accent */
    margin-bottom: 10px;
    display: block;
}

.editorial-price {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.editorial-vat {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.5px;
}

/* 3. Specs */
.editorial-specs {
    margin: 10px 0 20px 0;
    border-top: 0.5px solid #eaeaea;
}

.spec-row-refined {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 0.5px solid #eaeaea;
}

.s-label {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #474444;
}

.s-value {
    font-family: var(--font-serif);
    font-size: 15px;
    color: #333;
}

/* 4. Footer */
.editorial-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tag-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #474444;
    display: block;
}

.tag-value {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
}

.atelier-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.atelier-meta {
    font-size: 13px;
    color: #474444;
    margin-bottom: 0;
}

/* 5. Hero Visual */
.hero-visual-frame {
    height: 100%;
    width: 100%;
    position: relative;
    background: #f5f5f5;
}

.hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal.show .hero-visual-img {
    transform: scale(1.05);
}

.editorial-close {
    position: absolute;
    top: 13px;
    right: 6px;
    background: none;
    border: none;
    z-index: 10;
    color: #fff;
    transition: 0.3s;
}

.editorial-close:hover {
    transform: scale(1.2) rotate(90deg);
}

/* STAGGERED REVEAL ANIMATION */
.reveal-stagger {
    opacity: 0;
    transform: translateY(20px);
}

.modal.show .reveal-stagger {
    animation: fadeInUp 0.8s forwards;
}

.modal.show .reveal-stagger:nth-child(1) { animation-delay: 0.2s; }
.modal.show .reveal-stagger:nth-child(2) { animation-delay: 0.3s; }
.modal.show .reveal-stagger:nth-child(3) { animation-delay: 0.4s; }
.modal.show .reveal-stagger:nth-child(4) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .editorial-content { padding: 40px 30px; }
    .editorial-price { font-size: 2.5rem; }
    .editorial-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero-visual-frame { height: 400px; }
}


/* --- LUXURY FOOTER V2 (No Newsletter) --- */
.luxury-footer-v2 {
    background-color: #080808 !important; /* Slightly deeper than black */
    /* font-family: var(--font-sans); */
}

.border-bottom-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.border-top-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Typography */
.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    letter-spacing: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.footer-vision p {
    line-height: 1.6;
    max-width: 700px;
}

.small-caps {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

/* Navigation Links */
.footer-links li {
    margin-bottom: 18px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.4s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px; /* Subtle architectural shift */
}

/* Quality Mark */
.cert-img-footer {
    height: 45px;
    filter: brightness(0) invert(1) opacity(0.8);
}

.footer-email-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    /* border-bottom: 1px solid rgba(255,255,255,0.2); */
    padding-bottom: 3px;
    transition: 0.3s;
}

.footer-email-link:hover {
    border-color: #fff;
    color: #b89564;
}

.tiny-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hover-gold:hover {
    color: #b89564 !important;
}

/* Spacing */
.pt-100 { padding-top: 100px; }
.pt-70 { padding-top: 70px; }

/* Mobile responsive */
@media (max-width: 768px) {
    .pt-70 {
        padding-top: 50px;
    }
}
.pb-50 { padding-bottom: 50px; }
.mt-100 { margin-top: 100px; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-vision p {
        font-size: 1rem !important;
        margin-top: 20px;
    }
    .footer-logo { font-size: 2rem; }
    .mt-100 { margin-top: 60px; }
}

/* --- FOOTER REFINEMENT --- */
.luxury-footer-v2 {
    background-color: #080808 !important; /* Richer black for depth */
    /* font-family: var(--font-sans); */
}

.border-bottom-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.border-top-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Logo & Philosophy */
.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    letter-spacing: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.footer-vision p {
    line-height: 1.6;
    max-width: 750px;
}

.small-caps {
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

/* Nav Links */
.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #b7b7b7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.4s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #b89564 !important;
    padding-left: 0; /* Modern "slide" effect */
}

/* Cert Image & Links */
.cert-img-footer {
    height: 50px;
    filter: brightness(0) invert(1) grayscale(1); /* Matches your dark theme */
    opacity: 0.8;
}

.footer-email-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    /* border-bottom: 1px solid rgba(255,255,255,0.2); */
    padding-bottom: 3px;
    transition: 0.3s;
}

.footer-email-link:hover {
    border-color: #fff;
    color: #b89564; /* Soft gold from your artisan sections */
}

.tiny-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hover-gold:hover {
    color: #b89564 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-vision p {
        font-size: 1.1rem !important;
        margin-top: 20px;
    }
    .footer-logo { font-size: 1.8rem; }
    .mt-100 { margin-top: 50px; }
    .pt-100 { padding-top: 70px; }
}



/* --- ATELIER SPECIFIC FOOTER STYLES --- */

/* Recreating the boxed look from your image in a luxury way */
.atelier-brand-box {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    display: inline-block;
}

.atelier-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 1px;
    color: #fff;
}

/* Icon and Contact Styling */
.text-gold {
    color: #b89564 !important; /* Elegant gold for icons */
}

.icon-sm {
    width: 22px;
    height: 22px;
}

.contact-detail-item i {
    flex-shrink: 0;
    /* margin-top: 2px; */
}

.phone-links a {
    transition: 0.3s ease;
}

.phone-links a:hover {
    color: #b89564 !important;
}

.footer-email-link {
    color: #fff;
    /* text-decoration: underline;
    text-underline-offset: 4px; */
    transition: 0.3s;
}

.footer-email-link:hover {
    color: ##b89564s;
    text-decoration-color: #b89564;
}

/* Ensure borders match your dark theme */
.border-bottom-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-top-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Spacing */
.pt-100 { padding-top: 100px; }
.pb-50 { padding-bottom: 50px; }
.mt-100 { margin-top: 100px; }


/* 1. Ensure the footer row has enough horizontal space */
.luxury-footer-v2 .row {
    /* --bs-gutter-x: 4rem; Manually force a larger gap if needed */
}

/* 2. Increase spacing between list items for a cleaner look */
.footer-links li {
    margin-bottom: 18px; 
}

/* 3. If you are using vertical divider lines (like in your screenshot), 
   ensure they don't touch the text by adding padding to the columns */
@media (min-width: 992px) {
    .luxury-footer-v2 .col-lg-3, 
    .luxury-footer-v2 .col-lg-2 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* 4. Improve line height for the identity text */
.logo-essence p {
    line-height: 1.8;
    text-align: left;
    font-size: 0.85rem;
}

.footer-brand-logo {
    max-width: 68px; /* Adjust this width based on your logo design */
    height: auto;
    display: block;
    /* If your logo image is black, the line below makes it white for the dark footer */
    filter: brightness(0) invert(1); 
    transition: opacity 0.3s ease;
}

.lh-2-4{
    line-height: 2.4 !important;
}



/* Ensure the text below the logo has proper breathing room */
.logo-essence p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #b7b7b7;
    margin-top: 20px;
}
.mb-18{
    margin-bottom: 18px !important;
}

.nav-link:focus, .nav-link:hover {
    color: #b89564 !important;
}

/* --- NAVBAR LOGO STYLING --- */

.nav-brand-logo {
    height: 140px; /* Adjust height based on your logo proportions */
    width: auto;
    transition: all 0.4s ease;
    display: block;
}

/* 1. When the Navbar is transparent (at the top) */
#mainNav .nav-brand-logo {
    filter: brightness(0) invert(1); /* Forces logo to be pure white */
}

/* 2. When the Navbar is scrolled (white background) */
#mainNav.scrolled .nav-brand-logo {
    filter: brightness(0); /* Forces logo to be pure black */
    height: 90px; /* Optional: Slightly shrink logo on scroll for a premium feel */
}

/* Ensure navbar-brand has no extra padding that affects alignment */
.navbar-brand {
    padding: 0;
    margin-left: 3rem;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .nav-brand-logo {
        height: 28px;
    }
}

/* --- LUXURY BUTTON REFINEMENT --- */

.btn-luxury-white {
    /* Define the variables Bootstrap is looking for */
    --bs-btn-color: #000;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    
    border-radius: 0;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 14px 28px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid #fff; /* Added border to allow for the color swap */
}

.btn-luxury-outline {
    /* Define the variables Bootstrap is looking for */
    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    
    border-radius: 0;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 14px 28px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover effects for a premium feel */
.btn-luxury-white:hover, .btn-luxury-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Replace your existing .navbar with this */
.navbar {
    padding: 20px 0;
    color: #fff;
    transition: all 0.4s ease;
    z-index: 1000;
    /* This creates a "scrim" overlay at the top for visibility */
    background: linear-gradient(to bottom, rgb(0 0 0 / 82%) 15%, rgba(0, 0, 0, 0) 100%);
}

.navbar.scrolled {
    background: #ffffff !important;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Ensure Nav links have a clear hover state */
.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); Subtle shadow for text pop */
}

/* Update the Slide Overlay */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Darkens the left (for text), top (for nav), and bottom (for transition) */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%),
                linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 20%, rgba(0,0,0,0.4) 100%);
}

/* Add a shadow to the hero text for extra crispness */
.hero-text h1 {
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.hero-text p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Update the Atelier Heritage section */
.atelier-heritage {
    padding: 100px 0 120px;
    background: #ffffff; /* Use pure white for better contrast */
    margin-top: 80vh;
    position: relative;
    z-index: 100;
    /* This "lifts" the content over the sticky hero */
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.2); 
    border-radius: 40px 40px 0 0; /* Optional: adds a luxury curved edge to the content transition */
}

/* Mobile responsive */
@media (max-width: 768px) {
    .atelier-heritage {
        padding: 50px 0;
    }
}

/* Ensure all text within content sections is high-contrast */
.lead-text.text-muted {
    color: #2d2d2d !important; /* Darker than standard muted for readability */
    line-height: 1.8;
}

.editorial-modal {
    border: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.bg-paper {
    background-color: rgba(253, 253, 252, 0.7);
}


/* --- LUXURY FAQ REFINEMENT --- */

.luxury-accordion {
    border-top: 1px solid #000;
}

.luxury-accordion .accordion-item {
    background-color: transparent;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.luxury-accordion .accordion-button {
    font-size: 1.4rem;
    padding: 30px 0;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #000;
    transition: all 0.3s ease;
}

.luxury-accordion .accordion-button:not(.collapsed) {
    color: #b89564; /* Gold accent when open */
}

/* Customizing the Chevron icon */
.luxury-accordion .accordion-button::after {
    background-image: none;
    content: '+'; /* Simple mathematical icon for luxury feel */
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    transition: transform 0.4s ease;
}

.luxury-accordion .accordion-button:not(.collapsed)::after {
    content: '−'; /* Transitions to a minus sign */
    transform: rotate(180deg);
}

.luxury-accordion .accordion-body {
    padding: 0 0 40px 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    max-width: 90%;
}

.faq-contact-box {
    background-color: #fcfcfb;
    border-color: #eee !important;
}

/* Mobile Tweak */
@media (max-width: 991px) {
    .luxury-accordion .accordion-button {
        font-size: 1.1rem;
        padding: 20px 0;
    }
}

/* --- ENHANCED LUXURY FAQ (V2) --- */

.luxury-accordion-v2 {
    border-top: 1.5px solid #000;
}

.luxury-accordion-v2 .accordion-item {
    background-color: transparent;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.4s ease;
}

.luxury-accordion-v2 .accordion-button {
    font-size: 1.5rem;
    padding: 40px 0;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

/* Faded Serif Numbers */
.faq-index {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: #b89564;
    margin-right: 30px;
    opacity: 0.6;
    font-weight: 400;
}

.luxury-accordion-v2 .accordion-button:not(.collapsed) {
    color: #b89564;
}

/* Custom + / - Toggle */
.luxury-accordion-v2 .accordion-button::after {
    background-image: none;
    content: '+';
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 300;
    color: #000;
    transition: transform 0.4s ease;
}

.luxury-accordion-v2 .accordion-button:not(.collapsed)::after {
    content: '−';
    color: #b89564;
    transform: rotate(180deg);
}

.luxury-accordion-v2 .accordion-body {
    padding: 0 0 50px 0;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    font-weight: 300;
}

/* Atelier Contact Card Refinement */
.atelier-contact-card {
    background-color: #fcfcfb;
    border: 1px solid #eee;
    z-index: 1;
    overflow: hidden;
}

.card-accent-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(184, 149, 100, 0.15);
    pointer-events: none;
}

.card-watermark {
    position: absolute;
    bottom: -10px;
    right: -10px;
    opacity: 0.03;
    transform: rotate(-15deg);
    z-index: -1;
}

.btn-link-custom.gold-hover:hover {
    color: #b89564;
    border-color: #b89564;
}

/* Hover Effect on Accordion Items */
.luxury-accordion-v2 .accordion-item:hover {
    padding-left: 15px;
    background-color: #fdfdfd;
}

/* Mobile Tweaks */
@media (max-width: 991px) {
    .luxury-accordion-v2 .accordion-button {
        font-size: 1.15rem;
        padding: 25px 0;
    }
    .faq-index { margin-right: 15px; }
    .atelier-contact-card { margin-top: 30px; }
}

/* --- LUXURY FAQ V3 (CENTERED) --- */

.luxury-accordion-v3 {
    border-top: 1px solid #f0f0f0;
}

.luxury-accordion-v3 .accordion-item {
    background-color: transparent;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.4s ease;
}

.luxury-accordion-v3 .accordion-button {
    font-size: 1.6rem;
    padding: 45px 20px; /* More vertical breathing room */
    background-color: transparent !important;
    box-shadow: none !important;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Elegant Index Numbering */
.faq-count {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #b89564;
    margin-right: 40px;
    opacity: 0.7;
}

.luxury-accordion-v3 .accordion-button:not(.collapsed) {
    color: #b89564;
}

/* Minimalist Toggle */
.luxury-accordion-v3 .accordion-button::after {
    background-image: none;
    content: '+';
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 300;
    color: #000;
    transition: transform 0.4s ease;
}

.luxury-accordion-v3 .accordion-button:not(.collapsed)::after {
    content: '−';
    transform: rotate(180deg);
}

.luxury-accordion-v3 .accordion-body {
    padding: 0 20px 50px 83px; /* Aligns text perfectly after the 01/02 index */
    font-size: 1.15rem;
    line-height: 1.85;
    color: #4a4a4a;
    max-width: 1300px;
}

/* Hover State for Luxury Feel */
.luxury-accordion-v3 .accordion-item:hover {
    background-color: #fbfbfb;
}

@media (max-width: 991px) {
    .luxury-accordion-v3 .accordion-button {
        font-size: 1.25rem;
        padding: 30px 10px;
    }
    .faq-count { margin-right: 20px; }
    .luxury-accordion-v3 .accordion-body {
        padding: 0 10px 30px 55px;
        font-size: 1rem;
    }
}


/* --- LUXURY BOUTIQUE GRID UPGRADE --- */

.collection-archive {
    background-color: #f8f7f5 !important; /* Soft paper-like background */
}

.boutique-product {
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.product-visual {
    position: relative;
    overflow: hidden;
    background-color: #ecebe9; /* Placeholder color for loading */
    aspect-ratio: 3 / 4; /* Elegant tall fashion ratio */
    margin-bottom: 1.5rem;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Sophisticated Action Overlay */
.product-action {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2); /* Very light shimmer */
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.btn-atelier {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover States */
.boutique-product:hover .product-visual img {
    transform: scale(1.08);
}

.boutique-product:hover .product-action {
    opacity: 1;
    backdrop-filter: blur(8px); /* Modern glassmorphism */
}

.boutique-product:hover .btn-atelier {
    transform: translateY(0);
}

/* Typography Refinement */
.sku-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #080808;
    display: block;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.product-price {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.boutique-product:hover .product-name {
    color: #b89564; /* Soft gold hover */
}

/* Architectural Detail */
.info-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .info-footer {
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
    }
}


.btn-whatsapp-luxe {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #000;
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid #000;
    transition: all 0.3s ease;
    margin-bottom: 35px;
}

.btn-whatsapp-luxe i {
    width: 16px;
    height: 16px;
}

.btn-whatsapp-luxe:hover {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

.hero-thumb {
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
}

.hero-thumb:hover {
    transform: translateY(-5px);
    opacity: 1;
    border-color: #fff;
}


#product-grid > div {
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

/* Ensure the button looks consistent with your luxury theme */
#load-more-btn {
    border-width: 1px;
    letter-spacing: 3px;
    font-weight: 600;
    transition: all 0.4s ease;
}

#load-more-btn:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
}


/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    /* Navbar Toggle logic */
    .navbar.scrolled #navIcon {
        color: #000 !important;
    }
    
    .navbar-brand {
        margin-left: 0 !important;
    }

    .nav-brand-logo {
        height: 60px !important; /* Smaller logo for mobile */
    }

    /* Hero Text Management */
    .hero-text h1 {
        font-size: 2.8rem !important; /* Scaled down headline */
        line-height: 1.2;
    }

    .hero-text p.lead {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        max-width: 100%;
        br { display: none; } /* Remove line breaks on mobile */
    }

    .hero-text .d-flex {
        flex-direction: column; /* Stack buttons */
        gap: 10px !important;
    }

    .btn-luxury-white, .btn-luxury-outline {
        width: 100%; /* Full width buttons */
        padding: 12px;
        margin-top: 0 !important;
    }

    /* Slider Controls Management */
    .slider-controls {
        bottom: 5% !important; /* Move higher up */
    }

    .slider-controls .col-md-5 {
        display: none !important; /* HIDE bulky thumbnails on mobile */
    }

    .slider-controls .col-md-7 {
        width: 100%;
    }

    .progress-segment {
        height: 3px !important;
    }

    /* Offcanvas (Sidebar) Styling */
    .offcanvas {
        width: 80% !important;
    }

    .offcanvas .nav-link {
        font-size: 1.5rem;
        color: #fff !important;
        font-family: var(--font-serif);
    }
}

@media (max-width: 991px) {
    /* Style the Sidebar Navigation */
    .offcanvas .nav-link {
        font-family: var(--font-serif);
        text-transform: capitalize;
        letter-spacing: 1px;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff !important;
        font-size: 16px !important;
    }

    .offcanvas .nav-link:hover {
        color: #b89564 !important;
    }

    /* Style the Contact section in Sidebar */
    .text-gray {
        color: #b7b7b7 !important;
    }

    .text-gold {
        color: #b89564 !important;
    }

    .offcanvas-body {
        /* This ensures the contact info stays at the bottom if the menu is short */
      max-height: 83vh; 
    }
    
    /* Fix Hero Overlap as per your previous screenshot */
    .hero-text h1 {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    
    .hero-text p.lead {
        font-size: 0.95rem !important;
        br { display: none; }
    }
    
    /* Hide the bulky thumbnails on mobile */
    .hero-thumb {
        display: none !important;
    }
}

.btn-close {
    filter: invert(0); /* ensures black (default dark) */
}

@media (max-width: 768px) {
    /* Ensure the top of the image stays in view */
    .slide {
        background-position: top center !important;
    }

    /* Adjust the hero container height for mobile browsers */
    .hero-slider {
        height: 100vh !important; /* 111vh can be too much on mobile */
    }

    /* Move text down slightly so it doesn't cover the model's face */
    .hero-content-wrapper {
        align-items: flex-end !important; /* Move content to the bottom */
        padding-bottom: 120px; /* Space from the bottom controls */
    }

    .hero-text h1 {
        font-size: 2.4rem !important; /* Slightly smaller to fit screen width */
        margin-bottom: 1rem !important;
    }

    .hero-text p.lead {
        font-size: 0.9rem !important;
        max-width: 90%;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .slide::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%) !important;
    }
}


/* --- REFINED MOBILE HERO FIX --- */
@media (max-width: 768px) {

    /* 1. FOCUS ON THE SUBJECT
       Shifting the position to 'right center' or a percentage like '85%' 
       will pull the model back into the frame. */
    .slide {
        background-position: 77% center !important; 
        background-size: cover !important;
    }

    /* 2. DARKEN OVERLAY FOR READABILITY
       On mobile, light backgrounds make white text impossible to read. 
       This adds a subtle overall tint and a stronger bottom shadow. */
    .slide::after {
        background: rgba(0, 0, 0, 0.25) !important; /* General dimming */
        background-image: linear-gradient(
            to top, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.2) 60%, 
            transparent 100%
        ) !important;
    }

    /* 3. REPOSITION TEXT TO THE BOTTOM
       By moving text to the bottom, you clear the "visual area" 
       at the top where the model's face is located. */
    .hero-slider {
        height: 100vh !important;
    }

    .hero-content-wrapper {
        align-items: flex-end !important; /* Moves text to bottom */
        padding-bottom: 120px !important; /* Space for the progress bars */
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-text {
        width: 100%;
    }

    /* 4. SCALE TYPOGRAPHY
       Reducing size prevents the text from becoming too bulky on small screens. */
    .hero-text h1 {
        font-size: 2.2rem !important; 
        line-height: 1.15;
        margin-bottom: 15px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Helps text stand out */
    }

    .hero-text p.lead {
        font-size: 0.95rem !important;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 25px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
        br { display: none; } /* Better flow on mobile */
    }

    /* 5. TIGHTEN BUTTONS */
    .hero-text .d-flex {
        gap: 12px !important;
    }

    .btn-luxury-white, .btn-luxury-outline {
        padding: 12px 20px !important;
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }
}

@media (min-width: 768px) {
    .offcanvas-body {
        display: none !important;
    }
}
.fs-35{
    font-size: 35px !important;
}
.fs-16{
    font-size: 16px !important;
}

.accordion-flush .accordion-item:last-child {
    border-bottom: 1px solid #f0f0f0;
}

.btn-whatsapp-luxe {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid #25D366; /* Match the border to the green */
    transition: all 0.3s ease;
    margin-bottom: 35px;
    width: 100%;
    justify-content: center;
}

.btn-whatsapp-luxe:hover {
    background-color: white;
    border-color: #25D366;
    color: #25D366;
    transform: translateY(-2px);
}

/* Container Logic */
.artisan-image-card {
    position: relative;
    cursor: pointer;
}

/* The Description Reveal Logic */
.card-description-overlay {
    max-height: 0; /* Hidden state */
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    transform: translateY(5px);
}

/* Reveal on Hover */
.artisan-image-card:hover .card-description-overlay {
    max-height: 120px; /* Allows the box to expand */
    opacity: 1;
    transform: translateY(0);
}

/* Visual interaction for the caption line */
.artisan-image-card:hover .image-caption {
    border-color: #b89564 !important; /* Changes line to gold on hover */
    transition: border-color 0.4s ease;
}

/* Optional: Image visual tint on hover */
.image-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.artisan-image-card:hover .image-hover-overlay {
    opacity: 1;
}

.artisan-image-card .image-frame {
    position: relative;
    overflow: hidden;
  }
  
  .artisan-image-card .image-frame::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60%; /* adjust intensity area */
    background: linear-gradient(to top, rgb(0 0 0) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }
  
  .artisan-image-card .image-frame img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
  }

  html {
    scroll-behavior: smooth;
    /* Adjust this value based on your navbar height (approx 80px-100px) */
    scroll-padding-top: 90px; 
}

/* Ensure mobile links look clickable */
.offcanvas .nav-link {
    cursor: pointer;
}
/* Container for both logos */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 18px; /* Space between logo and divider */
}

/* Vertical Divider */
.logo-v-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3); /* White when at top */
    transition: all 0.4s ease;
}

/* Change divider color when navbar is white */
#mainNav.scrolled .logo-v-line {
    background: rgba(0, 0, 0, 0.2); /* Gray/Black when scrolled */
}

/* Specific sizing for Nepal Logo to keep it balanced */
.nepal-logo {
    height: 130px !important; /* Slightly smaller than main logo for balance */
    width: auto;
}

/* Update your existing nav-brand-logo logic to handle both */
.nav-brand-logo {
    height: 140px; 
    width: auto;
    transition: all 0.4s ease;
}

#mainNav .nav-brand-logo {
    filter: brightness(0) invert(1); /* Both logos go white */
}

#mainNav.scrolled .nav-brand-logo {
    filter: brightness(0); /* Both logos go black */
    height: 80px; /* Shrink both slightly on scroll */
}

#mainNav.scrolled .nepal-logo {
    height: 60px !important;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .nav-brand-logo {
        height: 40px !important;
    }
    .nepal-logo {
        height: 42px !important;
    }
    .logo-v-line {
        height: 20px;
    }
    .navbar-brand {
        margin-left: 1rem !important;
    }
}

/* --- LUXURY BRANDING LOGO GROUP --- */

.navbar-brand {
    gap: 18px; /* Space between logo and divider */
}

/* 1. CP Logo (Single Image Logic) */
.cp-logo {
    height: 130px;
    transition: all 0.4s ease;
    filter: brightness(0) invert(1); /* Start as White */
}

/* 2. Vertical Divider */
.nav-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

/* 3. Nepal Logo Container */
.nepal-logo-container {
    position: relative;
    height: 130px;
    width: 60px; /* Adjust based on your flag image width */
}

.nepal-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

/* --- SCROLLED STATE LOGIC --- */

/* Initially hide the dark version */
.logo-dark {
    opacity: 0;
    visibility: hidden;
}

/* When Scrolled: CP Logo turns Black */
#mainNav.scrolled .cp-logo {
    filter: brightness(0); 
    height: 65px;
}

/* When Scrolled: Divider turns Dark */
#mainNav.scrolled .nav-divider {
    background-color: rgba(0, 0, 0, 0.1);
}

/* When Scrolled: Swap Nepal Logos */
#mainNav.scrolled .logo-light {
    opacity: 0;
    visibility: hidden;
}

#mainNav.scrolled .logo-dark {
    opacity: 1;
    visibility: visible;
}

#mainNav.scrolled .nepal-logo-container {
    height: 55px; /* Shrink container slightly on scroll */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cp-logo { height: 50px; }
    .nepal-logo-container { height: 45px; width: 40px; }
    .nav-divider { height: 30px; }
}

/* AUTO SLIDER FOR CINEMATIC SECTION */
.auto-image-slider {
    position: relative;
    height: 600px; /* Matches your existing wide-image-wrapper img height */
    width: 100%;
    overflow: hidden;
}

.auto-image-slider .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth cross-fade */
    z-index: 1;
}

.auto-image-slider .slider-img.active {
    opacity: 1;
    z-index: 2;
}

@media (max-width: 991px) {
    .auto-image-slider {
        height: 400px;
    }
}




/* --- LUXURY FOOTER OVERLAY SYSTEM --- */
.luxury-footer-v2 {
    position: relative;
    background-color: #000; /* Base color */
    overflow: hidden;
}

/* The Background Image */
.footer-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Background layer */
    pointer-events: none;
}

/* The Dark Overlay Filter */
.luxury-footer-v2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 0.75 is 75% black. Increase to 0.85 if you want it even darker */
    background-color: rgb(0 0 0 / 88%); 
    z-index: 1; /* Sits between image and text */
}

/* Force content to stay on top of the overlay */
.luxury-footer-v2 .container-fluid-1 {
    position: relative;
    z-index: 2; 
}

/* Refine Text Visibility */
.luxury-footer-v2 h3.small-caps {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.luxury-footer-v2 .text-gold {
    color: #b89564 !important;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

.luxury-footer-v2 .footer-links a, 
.luxury-footer-v2 .logo-essence p,
.luxury-footer-v2 .contact-detail-item p {
    color: rgba(255, 255, 255, 0.85) ;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Adjusted WhatsApp Button to remove bottom margin when stacked */
.btn-whatsapp-luxe {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid #25D366;
    transition: all 0.3s ease;
    margin-bottom: 0 !important; /* Overwritten to allow clean stacking */
    width: 100%;
    justify-content: center;
}

.btn-whatsapp-luxe:hover {
    background-color: white;
    border-color: #25D366;
    color: #25D366;
    transform: translateY(-2px);
}

/* New Luxury Email Button */
.btn-email-luxe {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #1a1a1a; /* Dark Luxury Grey/Black */
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 10px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    width: 100%;
    justify-content: center;
}

.btn-email-luxe:hover {
    background-color: white;
    border-color: #1a1a1a;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-email-luxe i {
    width: 16px;
    height: 16px;
}


/* --- REFINED MOBILE HERO FIX --- */
@media (max-width: 768px) {
    /* 1. Viewport Heights (Prevents mobile browser toolbars from cutting off bottom elements) */
    .hero-sticky-container {
        height: 100dvh !important;
        height: 100vh !important; /* Fallback for older browsers */
    }

    .hero-slider {
        height: 100dvh !important;
        height: 100vh !important; /* Fallback */
    }

    /* 2. Image Positioning
       'center center' is typically safest for scenery to remain balanced on mobile portrait views */
    .slide {
        background-position: center center !important; 
        background-size: cover !important;
    }

    /* 3. Darkened Overlay for Text Readability */
    .slide::after {
        background: rgba(0, 0, 0, 0.35) !important;
        background-image: linear-gradient(
            to top, 
            rgba(0, 0, 0, 0.85) 0%, 
            rgba(0, 0, 0, 0.3) 60%, 
            transparent 100%
        ) !important;
    }

    /* 4. Reposition Content Box
       Ensuring there is comfortable spacing away from the bottom progress bar */
    .hero-content-wrapper {
        align-items: flex-end !important;
        padding-bottom: 150px !important; /* Lifted slightly more to clear progress segments on small screens */
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-text {
        width: 100%;
    }

    /* 5. Fluid Responsive Headings */
    .hero-text h1 {
        font-size: 2.2rem !important; 
        line-height: 1.2;
        margin-bottom: 12px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    }

    .hero-text h2.italic-serif {
        font-size: 1.1rem !important;
        line-height: 1.4;
        margin-bottom: 20px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }

    /* 6. Spacing Controls
       Controls raised slightly from screen bottom edge to sit nicely within safe-zones */
    .slider-controls {
        bottom: 6% !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .slider-controls .col-md-5 {
        display: none !important; /* Hides bulky landscape thumbnails on mobile */
    }

    .slider-controls .col-md-7 {
        width: 100%;
    }

    /* Strengthen line contrast on bright backgrounds */
    .progress-segment {
        height: 3px !important;
        background: rgba(255, 255, 255, 0.3) !important;
    }
}


@media (max-width: 768px) {
    /* Force container to stretch absolute full width */
    .hero-sticky-container {
        width: 100vw !important;
        max-width: 100% !important;
        left: 0;
        right: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    .hero-slider {
        width: 100% !important;
        margin: 0 !important;
    }

    .slide {
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
    }
}


/* --- MODAL RESPONSIVE FIXES --- */

/* Fix height lock on smaller screen sizes */
@media (max-width: 991px) {
    .modal-dialog-centered {
        min-height: auto !important;
        margin: 0rem auto 1rem !important;
    }

    .editorial-content {
        padding: 40px 25px !important;
        height: auto !important;
    }

    /* Fixed image height on mobile view so the visual frame displays proportionally */
    .hero-visual-frame {
        height: 380px !important;
        width: 100% !important;
    }

    .hero-visual-img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

/* Specific spacing refinement for mobile portrait viewports */
@media (max-width: 576px) {
    .editorial-content {
        padding: 30px 15px !important;
    }

    .editorial-seal {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .editorial-price {
        font-size: 1.85rem !important;
        margin-top: 10px;
    }

    .editorial-close {
        top: 15px !important;
        right: 15px !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border-radius: 50% !important;
        padding: 8px !important;
        color: #fff !important;
    }
}

/* Ensure the Close button on desktop works perfectly with light colors */
.editorial-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    z-index: 1050;
    color: #000; /* Reverted to black for accessibility over white text zones */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure the button shifts cleanly to dark/light surfaces based on layout order on desktop */
@media (min-width: 992px) {
    .editorial-close {
        color: #fff; /* White over the image container on larger side-by-side screens */
    }
    
    .modal-dialog-centered {
        min-height: auto !important;
    }
}