/*
Theme Name: Eventist Collection
Author: Adnan Design
Description: Premium Event Management Theme
Version: 1.0
*/

:root {
    --primary: #2D1E49;
    --accent: #E0BE6A; /* Richer Premium Gold */
    --pearl: #F9F8F6;  /* Luxury Base Background (Alabaster) */
    --pearl-bg: #F3EFE9; /* Alternative Section Highlight (Cashmere) */
    --ivory: #F9F8F6;  /* Unified with Alabaster */
    --text: #2D1E49;
    --text-muted: rgba(45, 30, 73, 0.85); /* Increased contrast for crispness */
    --frame: #1a1a1a;
    --white: #FCFCFC; /* "Snow" - Softened strict white for inner cards only */
    --glaze: linear-gradient(180deg, rgba(45, 30, 73, 0.5) 0%, transparent 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* WhatsApp Modern Chat Widget */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    pointer-events: none; /* Let pointer pass through container */
}
.whatsapp-container * { pointer-events: auto; }

.whatsapp-card {
    background: #FAF9F6;
    width: 330px; /* Refined desktop width */
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(45, 30, 73, 0.2);
    overflow: hidden;
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px);
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 25px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #FAF9F6 transparent transparent;
}

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

.card-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: 0.3s;
}
.card-close:hover { color: var(--primary); transform: rotate(90deg); }

.card-header {
    padding: 35px 35px 20px;
}
.card-header h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.card-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.card-body {
    padding: 0 35px 35px;
}

#wa-name {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(45, 30, 73, 0.1);
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    background: #fff;
    transition: 0.3s;
}
#wa-name:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.wa-btn-primary {
    width: 100%;
    padding: 15px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.wa-btn-primary:hover {
    background: #22bd5c;
    transform: translateY(-2px);
}

.floating-btn {
    background: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
    text-decoration: none;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.floating-btn:hover {
    transform: scale(1.1);
    background: #3B2861; /* Slightly lighter purple */
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.floating-btn svg { 
    width: 28px; 
    height: 28px; 
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 480px) {
    .whatsapp-card { 
        width: 70vw; 
        max-width: 280px; 
    }
    .whatsapp-container { 
        bottom: 25px; 
        right: 20px; 
    }
    .card-header { padding: 25px 25px 15px; }
    .card-body { padding: 0 25px 25px; }
    .card-header h3 { font-size: 19px; }
    .card-header p { font-size: 13px; }
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--pearl);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 400; /* Clean, premium minimal weight */
    letter-spacing: -0.01em; /* Reduced from -0.02 for lighter weight */
    text-transform: none; /* Keep natural case for modern look */
}

/* Explicit Hero Preservation (Protecting the brand soul) */
.hero-headline {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400 !important; /* Elegant serif look */
    letter-spacing: 0 !important;
}

.label-upper {
    font-family: 'Manrope', sans-serif; /* Keep technical label modern */
    font-weight: 600;
    letter-spacing: 2px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-wide { max-width: 1600px; }

.italic-serif { font-family: 'Playfair Display', serif; font-style: normal; }
.italic-gold { font-family: 'Playfair Display', serif; font-style: normal; color: var(--accent); }

/* Buttons & UI */
.explore-all-btn {
    background: var(--primary);
    color: var(--accent);
    border: 1px solid var(--primary);
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 12px 28px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500; /* Premium touch */
    display: inline-block;
}

.explore-all-btn:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-sm {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--pearl);
    border: 1px solid var(--accent);
    border-radius: 40px; /* Rounded pill shape */
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500; /* Premium touch */
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: var(--accent);
    letter-spacing: 2.5px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px; /* Reduced from 40px for a tighter layout */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 60px;
    height: 70px; /* Reduced from 80px for a more refined feel */
    display: flex;
    align-items: center;
    background: transparent;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.5s ease, top 0.5s ease;
}

.navbar.scrolled,
.navbar-solid {
    background-color: var(--primary);
    top: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}


.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}


.logo { 
    display: flex;
    align-items: center;
    justify-self: start;
}
.logo-link {
    display: block;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.logo-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}
.logo img {
    height: 80px; 
    width: auto;
    display: block;
    margin-top: 2px;
}

.nav-links { 
    display: flex; 
    gap: 32px; 
    align-items: center; 
    justify-self: center;
}
.nav-links a { 
    font-family: 'Manrope', sans-serif;
    color: var(--pearl); 
    text-decoration: none; 
    font-size: 12px; /* Smaller for ultra-minimal look */
    letter-spacing: 0.12em; /* Increase tracking to balance small size */
    text-transform: uppercase; 
    opacity: 0.8; 
    transition: 0.3s ease; 
    font-weight: 300; /* Thinnest weight for delicate premium feel */
    line-height: 1.6;
}
.nav-links a:hover { 
    opacity: 1; 
    color: var(--accent); 
}
.nav-cta { justify-self: end; }

/* Services Dropdown - MINIMALIST */
.nav-item-dropdown { 
    position: relative; 
    padding: 25px 0; 
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--primary);
    width: 280px; /* Refined Compact Width */
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px 0;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 14px 25px;
    font-family: 'Manrope', sans-serif;
    color: var(--pearl);
    text-decoration: none;
    font-size: 11px; /* Corresponds cleanly to the 12px parent */
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 300; /* Thinnest weight for delicate premium feel */
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.dropdown-item:last-child { border-bottom: none; }

.dropdown-item:hover {
    color: #E4C97C; /* Luxury Gold */
    background: rgba(255,255,255,0.02);
    transform: translateX(5px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .mobile-nav-overlay .dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 10px 0 10px 20px;
    }
    .mobile-nav-overlay .dropdown-item {
        border: none;
        padding: 10px 0;
        opacity: 0.7;
    }
}

/* Hero */
.hero {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-canvas-wrapper { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: #000;
}
#hero-canvas { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: brightness(0.9) contrast(1.05); /* Refined cinematic clarity */
}
.hero-mist-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh; /* Slightly increased coverage for better depth */
    background: linear-gradient(
        to bottom, 
        rgba(45, 30, 73, 0.95) 0%, 
        rgba(45, 30, 73, 0.7) 25%, 
        rgba(45, 30, 73, 0.3) 60%, 
        transparent 100%
    );
    z-index: 3;
    opacity: 0;
    pointer-events: none; /* Allows interaction with elements behind it */
}

.hero-gradient-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to top, rgba(45, 30, 73, 0.9) 0%, rgba(45, 30, 73, 0.4) 30%, transparent 70%); 
    z-index: 2;
}
.hero-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%; /* Anchor focal point */
    display: block;
    opacity: 0;
    filter: brightness(0.9) contrast(1.05); /* Refined cinematic clarity */
    animation: simpleFadeIn 2s ease forwards 0.5s;
}

@keyframes simpleFadeIn {
    to { opacity: 1; }
}

.hero-content { 
    position: relative; 
    z-index: 10; 
    width: 100%; 
    pointer-events: none; 
    padding: 0 4%; /* Fine-tuned horizontal anchor */
}
.hero-content * { pointer-events: all; }

.hero-text-align {
    max-width: 46%; /* Sits left of the couple in the hero image */
    width: 100%;
    position: relative;
    padding: 48px;
    background: linear-gradient(to right, rgba(45, 30, 73, 0.45) 0%, transparent 100%);
    border-radius: 16px;
}

.label-upper { display: block; color: var(--accent); font-size: 11px; letter-spacing: 4px; margin-bottom: 28px; opacity: 0; transform: translateY(20px); }

.hero-headline { 
    font-size: clamp(52px, 5.8vw, 88px); /* Tuned: Iconic Event on one line, clear of couple */
    color: #FFFFFF;
    line-height: 0.95; 
    margin-bottom: 38px; 
    font-weight: 400; 
    text-shadow: 0 4px 20px rgba(45, 30, 73, 0.5);
    max-width: none; /* Line breaks controlled by <br> in HTML */
}
.hero-headline .line { display: inline-block; opacity: 0; transform: translateY(30px); }
.hero-subline { 
    font-size: 20px; 
    color: #FFFFFF; 
    opacity: 0; 
    transform: translateY(30px); 
    margin-bottom: 44px; 
    max-width: 550px; 
    font-weight: 300; 
    text-shadow: 0 2px 10px rgba(45, 30, 73, 0.5); 
}

.hero-cta { opacity: 0; transform: translateY(30px); }
.btn-premium {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary); /* Deep Maroon */
    color: var(--accent); /* Golden */
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: var(--accent);
}

.btn-premium span, .btn-premium {
    z-index: 1;
    position: relative;
}

/* Destination Refined Overlap */
.destination-editorial { padding: 160px 0; background: var(--white); }
.destination-title { font-size: 52px; color: var(--primary); font-weight: 400; line-height: 1.1; margin-top: 20px; }

.visual-overlap-container {
    height: 700px;
    margin: 80px 0 120px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.destination-editorial { padding: 160px 0; background: var(--white); text-align: center; }
.destination-title { font-size: 52px; color: var(--primary); font-weight: 400; line-height: 1.1; margin: 20px auto 40px; max-width: 800px; }

.destination-main-visual {
    max-width: 1000px; /* Wide screen visual focus */
    margin: 80px auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.destination-main-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.05)); /* Subtle depth for transparent asset */
}


.stats-blurb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; border-top: 1px solid rgba(45, 30, 73, 0.08); padding-top: 80px; }
.blurb-item { position: relative; z-index: 1; padding-top: 20px; }
.blurb-num { font-family: 'Manrope', sans-serif; font-size: 76px; color: var(--accent); display: block; margin-bottom: 12px; line-height: 1; font-weight: 800; }
.blurb-item h4 { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; color: #E4C97C; }
.blurb-item p { font-family: 'Manrope', sans-serif; font-size: 15px; color: #555555; line-height: 1.6; font-weight: 400; max-width: 250px; margin: 0 auto; }

/* The Collection REFINED */
.the-collection-section { 
    padding: 160px 0; 
    background: linear-gradient(180deg, #3A2A63 0%, #2D1E49 100%); 
}
.collection-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 100px; gap: 40px; }
.collection-header .title-wrap { flex: 1; }
.collection-header .section-title { font-size: 52px; margin-bottom: 15px; color: #FFFFFF; }
.collection-header .title-wrap p { font-size: 16px; color: rgba(255, 255, 255, 0.7); max-width: 450px; }
.toggle-track {
    display: flex;
    position: relative;
    background: transparent;
    padding: 0;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.toggle-tab {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 15px 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    cursor: pointer;
    transition: 0.4s;
}
.toggle-tab.active { color: #E4C97C; }
.toggle-slider {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 60px; /* Default, script will sync */
    background: #E4C97C; /* Gold Underline */
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3;
}

.collection-grid-wrapper { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    align-items: stretch; /* Ensures all cards match height */
}

.card-wrapper { display: flex; flex-direction: column; gap: 20px; }
.card-label-row { font-size: 12px; font-weight: 700; color: #E4C97C; letter-spacing: 1px; }

.collection-card { 
    position: relative; 
    background: #FFFFFF; 
    padding-bottom: 50px; 
    cursor: pointer; 
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.8s ease; 
    border-radius: 16px; 
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    height: 100%; /* Stretch to grid container height */
    display: flex;
    flex-direction: column;
}
.collection-card:hover { transform: translateY(-10px); box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25); }

.card-vis { 
    width: 100%;
    aspect-ratio: 3 / 4; /* Perfect Portrait format */
    overflow: hidden; 
    margin-bottom: 35px; 
    border-radius: 16px 16px 0 0; 
    height: auto; 
}
.card-vis img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); }
.collection-card:hover .card-vis img { transform: scale(1.08); }

.card-info { padding: 0 40px; }
.card-info h3 { font-size: 26px; margin-bottom: 15px; color: #1A1A1A; }
.card-info p { font-size: 15px; color: #555555; line-height: 1.7; }

.collection-cta-wrap { 
    margin-top: 100px; 
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 1024px) {
    .collection-grid-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .collection-grid-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .collection-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Featured Stories */
.featured-stories { padding: 160px 0; background: var(--white); }
/* Editorial Portfolio */
.portfolio-editorial { 
    padding: 160px 0; 
    position: relative;
    overflow: hidden;
    /* Soft Ivory base */
    background: #faf9f6; 
}

/* Microscope Luxury Matte Paper Grain Texture */
.portfolio-editorial::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.055;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Elevate layout elements above the decorative background layers */
.portfolio-editorial .container {
    position: relative;
    z-index: 5;
}

.portfolio-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 80px; 
}
.portfolio-header .header-content { flex: 1; }
.portfolio-editorial .portfolio-title { font-size: 56px; line-height: 1.1; color: var(--primary); margin-bottom: 25px; }
.portfolio-editorial .portfolio-subtitle { font-size: 18px; color: var(--text-muted); max-width: 500px; line-height: 1.6; }

.view-all-link { 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}
.view-all-link:hover { color: var(--accent); }
.view-all-link .arrow { font-size: 20px; transition: 0.3s; }
.view-all-link:hover .arrow { transform: translateX(8px); }

.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(12, 1fr); 
    gap: 40px; 
}

.portfolio-item { 
    position: relative; 
    overflow: hidden; 
}
.item-img-box { 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
}
.portfolio-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), filter 1.2s ease; 
    filter: grayscale(30%) contrast(1.1);
}
.portfolio-item:hover img { 
    transform: scale(1.04); 
    filter: grayscale(0%) contrast(1.1);
}

.item-overlay { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 40px; 
    background: linear-gradient(to top, rgba(45,30,73,0.8) 0%, transparent 100%);
    color: white;
    opacity: 0;
    transition: 0.6s;
    transform: translateY(10px);
}
.portfolio-item:hover .item-overlay { opacity: 1; transform: translateY(0); }
.item-overlay .item-cat { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.item-overlay h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 400; }

/* Clean Masonry Grid (No Overlaps) */
.portfolio-item.dominant { grid-column: span 8; height: 650px; }
.portfolio-item.square { grid-column: span 4; height: 350px; }
.portfolio-item.small-1 { grid-column: span 4; height: 270px; margin-top: 0; }
.portfolio-item.small-2 { grid-column: span 12; height: 450px; margin-top: 20px; }

/* Art of Planning */
.art-of-planning { padding: 180px 0; background: white; border-top: 1px solid rgba(0,0,0,0.03); }
.label-mini { font-size: 10px; letter-spacing: 3px; color: var(--accent-dark); margin-bottom: 30px; display: block; }
.planning-flex { display: flex; gap: 140px; }
.planning-left { flex: 1; position: sticky; top: 140px; align-self: flex-start; }
.planning-left .section-title { font-size: 64px; line-height: 1.05; margin-bottom: 40px; color: var(--primary); }
.planning-narrative { font-size: 20px; color: var(--text-muted); line-height: 1.7; max-width: 480px; }

.planning-right { flex: 1.5; }
.planning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 60px; }

/* Sticky Note Card Design */
.planning-card {
    background: #ffffff;
    padding: 45px 35px 35px;
    border-radius: 2px;
    box-shadow: 2px 8px 25px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Natural Slant via nth-child */
.planning-card:nth-child(1) { transform: rotate(-1.5deg) translateY(0); }
.planning-card:nth-child(2) { transform: rotate(2deg) translateY(0); margin-top: 20px; }
.planning-card:nth-child(3) { transform: rotate(1deg) translateY(0); margin-top: -15px; }
.planning-card:nth-child(4) { transform: rotate(-2.5deg) translateY(0); margin-top: 5px; }

/* Interactive Hover - lifting the note */
.planning-card:hover { z-index: 10; }
.planning-card:nth-child(1):hover { transform: rotate(-1deg) translateY(-8px) scale(1.02); box-shadow: 6px 18px 40px rgba(0,0,0,0.08); }
.planning-card:nth-child(2):hover { transform: rotate(1.5deg) translateY(-8px) scale(1.02); box-shadow: 6px 18px 40px rgba(0,0,0,0.08); }
.planning-card:nth-child(3):hover { transform: rotate(0.5deg) translateY(-8px) scale(1.02); box-shadow: 6px 18px 40px rgba(0,0,0,0.08); }
.planning-card:nth-child(4):hover { transform: rotate(-1.5deg) translateY(-8px) scale(1.02); box-shadow: 6px 18px 40px rgba(0,0,0,0.08); }

/* The Premium Gold Pushpin */
.planning-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 35% 35%, #FFF0C5 0%, #E4C97C 40%, #B59850 80%, #7A5C1A 100%);
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.15), inset -1px -2px 4px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Subtle Pin Needle Shadow */
.planning-card::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-40%);
    width: 3px;
    height: 12px;
    background: rgba(0,0,0,0.08);
    filter: blur(1px);
    z-index: 1;
}

.step-num { 
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.8;
}
.planning-card h4 { font-family: 'Manrope', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; color: var(--primary); }
.planning-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* Clean Editorial Footer */
.editorial-footer { 
    background: var(--primary); 
    color: rgba(255, 255, 255, 0.7); 
    padding: 120px 0 40px; 
    position: relative; 
    z-index: 10; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 100px; 
    margin-bottom: 40px; 
}

.footer-col .footer-logo { 
    height: 110px; 
    width: auto; 
    margin-top: -24px; /* Pull up to align the gold text perfectly with adjacent headers */
    margin-bottom: 20px; 
}

.brand-desc { 
    font-size: 15px; 
    line-height: 1.8; 
    max-width: 320px; 
    color: rgba(255, 255, 255, 0.5); 
}

.footer-col h4 { 
    font-family: 'Manrope', sans-serif; 
    font-size: 11px; 
    letter-spacing: 2px; 
    color: #E4C97C; 
    margin-bottom: 35px; 
    text-transform: uppercase; 
    font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { 
    color: rgba(255, 255, 255, 0.6); 
    text-decoration: none; 
    font-size: 14px; 
    transition: 0.3s; 
}
.footer-col a:hover { 
    color: #E4C97C; 
}

.contact-info-list p { 
    font-size: 14px; 
    color: rgba(255, 255, 255, 0.5); 
    margin-bottom: 12px; 
    letter-spacing: 0.5px;
}

.footer-divider { 
    height: 1px; 
    background: rgba(255, 255, 255, 0.08); 
    width: 100%; 
    margin-bottom: 30px; 
}

.footer-bottom-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.bottom-copyright { 
    font-size: 10px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: rgba(255, 255, 255, 0.3); 
}

.footer-bottom-links { 
    display: flex; 
    gap: 30px; 
}

.footer-bottom-links a { 
    font-size: 10px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: rgba(255, 255, 255, 0.3); 
    text-decoration: none; 
    transition: 0.3s;
}
.footer-bottom-links a:hover { 
    color: var(--accent); 
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
    .footer-col:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
    .editorial-footer { padding: 80px 0 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-col:first-child { grid-column: span 1; }
    .footer-bottom-row { flex-direction: column; gap: 30px; text-align: center; }
}

/* -----------------------------------------
   SERVICES PAGE STYLES
----------------------------------------- */
.services-hero { padding: 220px 0 120px; background: var(--primary); text-align: center; position: relative; }
.services-hero .hero-headline { font-size: 64px; color: var(--ivory); margin-bottom: 25px; font-weight: 400; letter-spacing: -1px; }
.services-hero .hero-subtext { font-size: 18px; color: rgba(250, 249, 246, 0.6); max-width: 650px; margin: 0 auto; line-height: 1.8; }

.collection-list-section { padding: 120px 0; background: var(--white); }
.collection-item { 
    display: flex; 
    gap: 100px; 
    align-items: center; 
    margin-bottom: 160px; 
}
.collection-item:last-child { margin-bottom: 0; }
.collection-item:nth-child(even) { flex-direction: row-reverse; }

.col-img-box { flex: 1.2; position: relative; }
.col-img-box .card-vis { 
    width: 100%; 
    height: 550px; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}
.col-img-box .card-vis img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
.collection-item:hover .card-vis img { transform: scale(1.05); }

.col-text { flex: 1; }
.col-text h2 { font-size: 42px; color: var(--primary); margin-bottom: 25px; line-height: 1.1; }
.col-text p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 35px; }

.sub-services-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
.sub-services-list li { 
    font-size: 13px; 
    color: var(--primary); 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    position: relative; 
    padding-left: 20px; 
}
.sub-services-list li::before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 6px; 
    height: 6px; 
    background: var(--accent); 
    border-radius: 50%; 
}

@media (max-width: 1024px) {
    .collection-item { flex-direction: column !important; gap: 50px; margin-bottom: 100px; }
    .col-img-box { width: 100%; }
    .col-img-box .card-vis { height: 400px; }
    .services-hero .hero-headline { font-size: 48px; }
}

/* -----------------------------------------
   MOBILE NAVIGATION & RESPONSIVENESS
----------------------------------------- */

.mobile-toggle {
    display: none;
    width: 28px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2100;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ivory); /* Higher contrast against plum */
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-toggle.active span { background: var(--accent); }
.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Top-aligned content */
    align-items: stretch;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 36px 50px;
    overflow-y: auto;
}

/* Close button — top right */
.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 48px;
    transition: color 0.2s;
    line-height: 1;
}
.mobile-nav-close:hover { color: var(--accent); }

/* Nav links — left-aligned, uppercase */
.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    margin-bottom: 50px;
    flex: 1;
}

.mobile-link {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--pearl);
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.25s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-link:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.mobile-link:hover { color: var(--accent); }

/* Services accordion */
.mobile-services-group { 
    border-bottom: 1px solid rgba(255,255,255,0.06); 
}
.mobile-services-group:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.mobile-services-toggle { 
    border-bottom: none !important; /* group handles the border */
}

.mobile-chevron {
    font-size: 18px;
    color: var(--accent);
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 8px;
    font-style: normal;
}

.mobile-sub-links {
    display: none;
    flex-direction: column;
    padding: 0 0 12px 0;
}
.mobile-sub-links.open { display: flex; }

.mobile-sub-link {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    padding: 11px 0 11px 16px;
    border-left: 2px solid rgba(224, 190, 106, 0.3);
    transition: color 0.2s, border-color 0.2s;
}
.mobile-sub-link:hover { 
    color: #fff; 
    border-left-color: var(--accent);
}

.mobile-footer {
    text-align: left;
}
.mobile-footer .btn-premium {
    width: 100%;
    text-align: center;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .navbar { background: var(--primary) !important; padding: 0 30px; border-bottom: 1px solid rgba(255,255,255,0.05); top: 0 !important; }
    .navbar .logo img { height: 42px; margin-top: 0; }
    
    .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; }
    .nav-links, .nav-cta { display: none; } /* Hide Inquire button on mobile nav bar per request */
    .mobile-toggle { display: flex; }
    
    /* Reset Portfolio Overlaps Early */
    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .portfolio-item, .portfolio-item.dominant, .portfolio-item.square, 
    .portfolio-item.small-1, .portfolio-item.small-2 { 
        grid-column: span 1; 
        height: 450px; 
        margin: 0 !important; 
    }

    .planning-flex { flex-direction: column; gap: 60px; }
    .planning-left { position: relative; top: 0; }
    .planning-left .section-title { font-size: 48px; }
    .planning-grid { gap: 60px; }
    
    .outer-frame { display: none; } /* Remove decorative frame on mobile for stability */
}

@media (max-width: 768px) {
    .container { padding: 0 25px; }
    .navbar { height: 60px; padding: 0 20px; }
    .navbar .logo img { height: 36px; }
    
    /* Hero Stabilization */
    .hero-text-align { max-width: 100%; text-align: center; }
    .hero-headline { font-size: 42px; margin-bottom: 25px; line-height: 1.1; }
    .hero-subline { font-size: 15px; margin: 0 auto 35px; }
    .hero-mist-top { height: 40vh; }
    
    /* Grids & Layouts */
    .destination-main-visual { height: 350px; }
    .stats-blurb-grid { grid-template-columns: 1fr; gap: 40px; }
    .collection-grid-wrapper { grid-template-columns: 1fr; }
    
    .portfolio-header { flex-direction: column; align-items: flex-start; gap: 30px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item, .portfolio-item.dominant, .portfolio-item.square, 
    .portfolio-item.small-1, .portfolio-item.small-2 { 
        height: 400px;
    }
    
    .planning-grid { grid-template-columns: 1fr; gap: 50px; }
    
    /* Footer Mobile Sync */
    .footer-grid { grid-template-columns: 1fr !important; gap: 50px; text-align: center; }
    .social-icons-footer { justify-content: center; }
    .footer-bottom-info { text-align: center; }
    
    .section-title { font-size: 36px; }
    .portfolio-editorial .portfolio-title { font-size: 36px; }
}

/* -----------------------------------------
   LEAD CAPTURE MODAL
----------------------------------------- */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 30, 73, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Instant performance */
}

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

.lead-modal-box {
    background: #FAF9F6; /* Pearl / Ivory */
    width: 100%;
    max-width: 850px; /* Refined desktop width */
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    transform: scale(0.95) translateY(10px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lead-modal-overlay.active .lead-modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    z-index: 110; /* Always visible above all */
    transition: 0.3s;
}
.modal-close:hover { color: var(--accent); }

.lead-modal-content {
    display: flex;
    min-height: 500px;
}

.lead-modal-left {
    flex: 1;
    background: var(--primary); /* Solid #2D1E49 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
.modal-logo {
    width: 280px; /* Slightly larger for visibility */
    display: block;
    margin: 0 auto;
    filter: none; /* Restore original high-quality gold texture */
    opacity: 1;
}

.lead-modal-right {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-title { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary); margin-bottom: 20px; }
.modal-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 35px; line-height: 1.6; }

.form-group { margin-bottom: 15px; }
.lead-modal-right input, 
.lead-modal-right textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(45, 30, 73, 0.1);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--primary);
    transition: 0.3s;
}
.lead-modal-right input:focus, 
.lead-modal-right textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--accent);
}

.w-full { width: 100%; }

/* Intl-Tel-Input Luxury Overrides */
.iti { width: 100%; display: block; }
.iti__country-list { background: #FAF9F6; border: 1px solid rgba(45,30,73,0.1); font-family: 'Manrope', sans-serif; font-size: 13px; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 100; }
.iti__selected-flag { background: transparent !important; padding: 0 10px 0 0; display: flex; align-items: center; }
.iti--separate-dial-code .iti__selected-dial-code { font-family: 'Manrope', sans-serif; font-size: 14px; color: var(--primary); margin-left: 8px; }
.iti--allow-dropdown input, .iti--separate-dial-code input { padding-left: 95px !important; } /* Ensure text starts after dial code */
.lead-modal-right .iti input { border-top: none; border-left: none; border-right: none; border-radius: 0; height: 50px; }

#modal-success-container {
    text-align: center;
}
#modal-success-container .step-num {
    margin-bottom: 25px;
    font-size: 40px;
    color: var(--accent);
    display: block;
}

@media (max-width: 900px) {
    .lead-modal-box { width: 92%; max-width: none; margin: 0 auto; border-radius: 8px; } /* Floating card with margins */
    .lead-modal-content { flex-direction: column; min-height: auto; }
    .lead-modal-left { padding: 35px; background: var(--primary); width: 100%; order: -1; } /* Logo on top */
    .modal-logo { width: 120px; }
    .lead-modal-right { padding: 35px; }
    .modal-title { font-size: 24px; }
    .modal-subtitle { font-size: 14px; margin-bottom: 25px; }
    .modal-close { color: #FFFFFF; top: 10px; right: 15px; } /* High contrast on purple top panel on mobile */
}

/* -----------------------------------------
   CONTACT PAGE (DEDICATED SUBPAGE)
----------------------------------------- */
.bg-ivory { background-color: var(--ivory); }
.contact-page-main { padding: 180px 0 100px; background: var(--ivory); min-height: 100vh; }

.small-container { max-width: 800px; margin: 0 auto; }
.form-header { margin-bottom: 60px; }
.contact-title { font-size: 56px; color: var(--primary); margin-bottom: 20px; }
.contact-subtitle { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

.inquiry-form-grid { display: flex; flex-direction: column; gap: 40px; }
.form-row { display: flex; flex-direction: column; gap: 10px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-row.triple { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(45,30,73,0.1);
    padding: 12px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--primary);
    transition: 0.3s;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--accent);
}

.success-box { text-align: center; padding: 80px 0; }

@media (max-width: 768px) {
    .contact-page-main { padding-top: 140px; }
    .contact-title { font-size: 42px; }
    .form-row.split, .form-row.triple { grid-template-columns: 1fr; gap: 30px; }
}

/* -----------------------------------------
   EDITORIAL SERVICES SHOWCASE
----------------------------------------- */
.services-editorial-hero {
    padding: 200px 0 100px;
    background: var(--white);
    text-align: center;
}
.services-editorial-hero .label-upper { color: var(--accent); margin-bottom: 20px; display: block; text-align: center; }
.services-editorial-hero h1 { font-size: 72px; color: var(--primary); margin-bottom: 25px; line-height: 1.1; text-align: center; font-family: 'Manrope', sans-serif !important; font-weight: 800 !important; }
.services-editorial-hero .hero-intro-text { font-size: 18px; color: var(--text-muted); max-width: 600px; line-height: 1.7; margin: 0 auto; text-align: center; }

/* Metallic Gold Text Gradient */
.gold-gradient {
    background: linear-gradient(135deg, #E4C97C 0%, #E0BE6A 50%, #FAF0D0 80%, #B59850 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}

.bespoke-intro-block {
    padding: 100px 0 60px;
    background: var(--white);
}
.bespoke-intro-block h2 { font-size: 32px; color: var(--primary); margin-bottom: 20px; }
.bespoke-intro-block p { font-size: 16px; color: var(--text-muted); max-width: 750px; line-height: 1.8; }

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    padding: 60px 0 120px;
    background: var(--white);
}

.editorial-service-card {
    text-decoration: none;
    display: block;
    group: hover;
}

.card-img-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    border-radius: 16px;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), filter 1.2s ease;
    filter: grayscale(30%) contrast(1.1);
}
.editorial-service-card:hover .card-img-wrapper img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1.1);
}

.card-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 800;
}
.card-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 5px;
}

.services-cta-footer {
    padding: 140px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}
.services-cta-footer h2 { font-size: 52px; color: var(--white); margin-bottom: 20px; }
.services-cta-footer p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 45px; max-width: 600px; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
    .services-showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .services-editorial-hero h1 { font-size: 56px; }
}

@media (max-width: 768px) {
    .services-showcase-grid { grid-template-columns: 1fr; gap: 50px; }
    .services-editorial-hero { padding: 140px 0 60px; }
    .services-editorial-hero h1 { font-size: 42px; }
    .card-img-wrapper { height: 400px; }
    .services-cta-footer { padding: 80px 0; }
    .services-cta-footer h2 { font-size: 36px; }
}

/* Performance Utilities */
.lazy-img { opacity: 0; transition: opacity 0.5s; }
.lazy-img.loaded { opacity: 1; }

[loading="lazy"] {
    aspect-ratio: attr(width) / attr(height);
}

.portfolio-item-card, .collection-card, .planning-card {
    will-change: transform, opacity;
}

/* -----------------------------------------
   PORTFOLIO PAGE STYLES (STRUCTURAL)
----------------------------------------- */
.bg-pearl { background-color: var(--pearl-bg); }

.portfolio-hero { padding: 180px 0 100px; }
.portfolio-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: flex-end; }
.portfolio-hero .section-label { color: var(--accent); margin-bottom: 30px; font-weight: 700; letter-spacing: 2px; }
.portfolio-hero .hero-title { font-size: clamp(64px, 8vw, 110px) !important; color: var(--primary) !important; font-family: 'Manrope', sans-serif !important; font-weight: 800 !important; letter-spacing: -0.03em !important; line-height: 0.95 !important; margin: 0 !important; }
.hero-title .italic-gold { color: var(--accent) !important; font-style: normal !important; font-family: inherit !important; font-weight: 800 !important; display: inline-block !important; padding-bottom: 0.15em !important; margin-bottom: -0.15em !important; }

.portfolio-hero .intro-paragraph { font-size: 18px; color: var(--text-muted); line-height: 1.8; max-width: 450px; }

/* Featured Showcase */
.featured-showcase { margin-bottom: 160px; }
.featured-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; }
.featured-info h3 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary); margin-bottom: 10px; font-weight: 400; }
.featured-info p { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 700; }

/* Parallax Wrapper */
.parallax-wrapper {
    width: 100%;
    background: transparent; /* Removed gray background */
    border-radius: 16px; /* Restored original rounded corners */
    position: relative;
    overflow: hidden;
}

.parallax-wrapper img {
    width: 100%;
    height: 120%; /* Scaled for parallax margin */
    object-fit: cover;
    transform-origin: center top;
}

/* Editorial Staggered Grid */
.staggered-grid-section { padding-bottom: 160px; }
.editorial-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 100px 40px; align-items: start; }
.editorial-grid.grid-compact { gap: 60px 40px; }

.portfolio-item-card { 
    position: relative; 
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); 
    cursor: pointer; 
}

.portfolio-item-card:hover { transform: translateY(-15px); }

.portfolio-meta { margin-top: 25px; }
.portfolio-meta h3 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--primary); margin-bottom: 12px; font-weight: 400; line-height: 1.2; }
.portfolio-meta p { font-family: 'Manrope', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 4px; color: var(--accent); font-weight: 800; margin-bottom: 8px; }

/* Grid Spans */
.span-12 { grid-column: span 12; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }

/* Desktop Heights */
.h-featured { height: 520px; }
.h-large-v { height: 920px; }
.h-small-v { height: 520px; }
.h-med-l { height: 340px; }
.h-med-v { height: 560px; }
.h-med-l-large { height: 400px; }

/* Portfolio CTA */
.portfolio-cta { padding: 180px 0; background: var(--primary); color: var(--white); text-align: center; }
.portfolio-cta-content { max-width: 800px; margin: 0 auto; }
.portfolio-cta h2 { font-family: 'Playfair Display', serif; font-size: 64px; margin-bottom: 25px; color: var(--white); font-weight: 400; }
.portfolio-cta p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 50px; max-width: 550px; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
    .portfolio-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .h-featured { height: 420px; }
    .editorial-grid { gap: 60px 40px; }
    .span-7, .span-5, .span-4, .span-6, .span-8 { grid-column: span 6; }
}

@media (max-width: 768px) {
    .portfolio-hero { padding: 140px 0 60px; }
    .portfolio-hero .hero-title { font-size: 48px; }
    .h-featured { height: 260px; }
    
    /* Mobile Carousel Overhaul */
    .staggered-grid-section { overflow: hidden; padding-bottom: 80px; }
    .editorial-grid { 
        display: flex; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 20px; 
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .editorial-grid::-webkit-scrollbar { display: none; }
    .portfolio-item-card { 
        flex: 0 0 85%; 
        scroll-snap-align: center; 
    }
    .span-12, .span-7, .span-5, .span-4, .span-6, .span-8 { grid-column: auto; }
    
    .portfolio-cta h2 { font-size: 42px; }
    
    .h-large-v { height: 420px; }
    .h-small-v { height: 340px; }
    .h-med-l, .h-med-v, .h-med-l-large { height: 360px; } /* more uniform for carousel */
}

.outer-frame {
    display: none !important;
}

/* -----------------------------------------
   SECTION GAP / WHITE BAND FIX
----------------------------------------- */
.art-of-planning {
    background: var(--pearl);
    border-top: none;
}
#home, #portfolio, #about, #why-choose-us, #services {
    scroll-margin-top: 100px;
}

/* -----------------------------------------
   WHY DUBAI CTA
----------------------------------------- */
.why-dubai-cta { padding: 60px 0 20px; text-align: center; }

/* -----------------------------------------
   TESTIMONIALS SECTION
----------------------------------------- */
.testimonials-section {
    padding: 160px 0 80px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Marquee: full-width, no container */
.testimonials-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    /* Fade cards at both edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    padding: 20px 0 10px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: testimonialScroll 55s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes testimonialScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 50% = one full set of 9 cards */
}

.testimonials-marquee-wrapper .testimonial-card {
    flex: 0 0 380px; /* Fixed width, no shrink */
    width: 380px;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(224,190,106,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
}
.testimonials-header .label-mini { color: var(--accent); margin-bottom: 20px; }
.testimonials-header .section-title {
    font-size: 52px;
    color: #ffffff;
    line-height: 1.1;
}
.testimonials-header .section-title .italic-serif {
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Carousel */
.testimonials-carousel {
    position: relative;
}
.testimonial-group {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.testimonial-group.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
    animation: testimonialFadeIn 0.6s ease forwards;
}
@keyframes testimonialFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dot Indicators */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}
.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(224, 190, 106, 0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.t-dot.active {
    background: var(--accent);
    transform: scale(1.4);
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(224, 190, 106, 0.15);
    border-radius: 16px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(224, 190, 106, 0.35);
    transform: translateY(-8px);
}
.testimonial-stars {
    font-size: 16px;
    color: var(--accent);
    letter-spacing: 3px;
}
.testimonial-card blockquote {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.5px;
    flex: 1;
    margin: 0;
    padding: 0;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 20px;
    border-top: 1px solid rgba(224, 190, 106, 0.12);
}
.author-name {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}
.author-event {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.8;
}
@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 30px; }
    .testimonials-header .section-title { font-size: 40px; }
}
@media (max-width: 768px) {
    .testimonials-section { padding: 100px 0; }
    .testimonial-card { padding: 35px 25px; }
    .testimonial-card blockquote { font-size: 15px; }
    .testimonials-header .section-title { font-size: 32px; }
    .testimonials-header { margin-bottom: 50px; }
}

/* -----------------------------------------
   FOOTER SOCIAL ICONS
----------------------------------------- */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 25px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}
.social-icon svg {
    width: 18px; height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.social-icon:hover {
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    background: var(--accent);
}

/* -----------------------------------------
   PORTFOLIO TEASER (homepage) — card links
----------------------------------------- */
a.portfolio-item-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
a.portfolio-item-card .portfolio-meta p { color: var(--accent); font-weight: 800; }

/* -----------------------------------------
   SERVICES SHOWCASE — card CTA link
----------------------------------------- */
.card-info .card-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(224,190,106,0.3);
    padding-bottom: 3px;
    transition: 0.3s;
}
.card-info .card-cta:hover {
    border-color: var(--accent);
    letter-spacing: 2.5px;
}

/* nav active link indicator */
.nav-links a.nav-active { color: var(--accent) !important; opacity: 1; }