@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #800000; /* Professional Deep Maroon */
    --primary-dark: #600000;
    --accent: #D4AF37; /* Gold */
    --accent-light: #F2D480;
    --surface: #FDFBF7; /* Off-white / Cream */
    --text-main: #1A1A1A; /* Near Black */
    --text-muted: #555555;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-solid: rgba(128, 0, 0, 0.95);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 50px rgba(0,0,0,0.1);
    --radius-pill: 100px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-padding: 40px;
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================================
   CLASSIC LUXURY HEADER (Unified)
   ============================================================ */
.luxury-header {
    background: #4A0404; /* Deep Classic Maroon */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold Accent Border */
    padding: 25px 0; /* Breathable - Not stuffed */
}

.luxury-header.scrolled {
    padding: 15px 0;
    background: rgba(74, 4, 4, 0.98);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Strict Single-Line Alignment */
    min-height: 60px;
    width: 100%;
    padding-right: 20px; /* Ensure button isn't cut off */
}

/* Column 1: Contact Info (Far Left) */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px; /* Precise gap for contact info */
    flex: 1; /* Fixed symmetrical third */
}

.header-left a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.header-left a i {
    color: var(--accent);
}

.header-left a:hover {
    color: var(--accent);
}

/* Column 2: Integrated Logo Unit (Center) */
.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1; /* Center column takes equal space for symmetry */
}

/* Logo heart emblem removed per user request */
.logo-heart {
    display: none;
}

.logo-text-script {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent);
    font-size: 1.4rem; /* Balanced size for center */
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Column 3: Navigation & CTA (Far Right) */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    flex: 1; /* Match left column for symmetry */
}

/* --- Mobile Menu Toggle --- */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--accent);
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    margin-left: 15px;
}

@media (max-width: 1024px) {
    .header-left, .header-right .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-inner {
        padding-right: 10px;
    }
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #4A0404;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 30px;
    transition: var(--transition);
    box-shadow: -10px 0 50px rgba(0,0,0,0.5);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-overlay a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 10px;
}

.mobile-nav-overlay .close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px; /* Strict Menu Gap */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--accent) !important; /* Force Gold Links site-wide */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap; /* Fix "Our Story" break */
    padding-bottom: 5px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--white) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Fine gold underline */
    background: var(--accent);
}

.btn-join-elite {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #4A0404 !important;
    padding: 10px 25px; /* Balanced Pill shape */
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.8rem; /* Aligns with nav links baseline */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-join-elite:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* States Override for transparency */
header.nav-transparent .nav-link,
header.nav-transparent.scrolled .nav-link {
    color: var(--accent) !important;
}

.btn-minimal {
    padding: 14px 35px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #F2D480, #D4AF37);
    background-size: 200% auto;
    color: var(--primary) !important;
    font-family: 'Playfair Display', serif;
    border: none;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

/* Modern Hero with Luxury treatment */
.hero {
    height: 100vh;
    background-color: #4A0404; /* Elite Maroon Base */
    /* Reduced gradient opacity to un-blur/reveal the magnificent background */
    background-image: linear-gradient(rgba(74, 4, 4, 0.25), rgba(0, 0, 0, 0.1)), url('../images/hero_elite_couple.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    color: var(--white);
    padding: 0 20px;
    margin-bottom: 100px;
    margin-top: 50px;
}

.hero h1 {
    font-size: 4.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--accent); /* Change to Gold */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8); /* Stronger shadow for legibility */
}

.hero p {
    font-size: 1.4rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 0;
    color: #FFFDF5;
    opacity: 1;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* Floating Glassmorphic Search Overlapping Hero */
.search-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 30;
    margin-top: -80px;
}

.search-panel {
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-premium);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    align-items: flex-end;
    width: 95%;
    max-width: 1250px;
}

.search-field {
    min-width: 0; /* Allow shrinking */
}

@media (max-width: 1100px) {
    .search-panel {
        grid-template-columns: repeat(3, 1fr);
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 768px) {
    .search-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.search-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

.search-field select {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #F9F9F9;
    color: var(--text-main);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234A0404' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}

#mainSearchBtn {
    background: var(--primary);
    color: var(--accent) !important;
    border-radius: 50px;
    padding: 0 40px;
    height: 55px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(42, 2, 2, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-align: center;
}

#mainSearchBtn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.7), 0 15px 30px rgba(212, 175, 55, 0.4);
    background: var(--primary-dark);
    color: #fff !important; /* Slight variation on hover for feedback */
}

#mainSearchBtn:active {
    transform: translateY(-1px);
}

#mainSearchBtn.btn-loading {
    opacity: 0.8;
    pointer-events: none;
}

.search-field select:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

/* Custom scrollbar for long dropdowns */
select {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

select::-webkit-scrollbar {
    width: 6px;
}

select::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
}

.search-field {
    min-width: 120px;
}

/* --- Profile Grid (Responsive Rewrite) --- */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px;
    width: 100%;
    padding: 60px 0;
}

@media (max-width: 1100px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* --- Profile Grid (Responsive Rewrite) --- */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px;
    width: 100%;
    padding: 60px 0;
}

@media (max-width: 1100px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .profile-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Luxury Profile Card - Elite Branding Refinement */
.profile-card {
    background: var(--primary); /* Royal Maroon Background */
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--accent); /* Gold Border */
    overflow: visible;
}

.profile-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: var(--shadow-premium);
}

.profile-img-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--accent); /* Premium Gold Border (Circular) */
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: var(--white); /* Ensure placeholder looks clean */
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-card:hover .profile-img-container img {
    transform: scale(1.1);
}

.profile-card h3 {
    font-size: 1.6rem;
    color: var(--accent) !important; /* Gold text for names */
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.profile-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent), #F2D481);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 10;
}

/* Empty State / No Results */
.no-matches-found {
    text-align: center;
    padding: 100px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
    max-width: 800px;
    margin: 40px auto;
}

/* Privacy Masking Styles */
.profile-img-masked img {
    filter: blur(12px);
    transition: var(--transition);
}

.mask-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 4, 4, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    z-index: 5;
}

.mask-overlay i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.mask-overlay p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-preview {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.card-meta li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-meta li i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 20px;
}

.completion-bar {
    width: 100%;
    height: 6px;
    background: #EEEEEE;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.completion-fill {
    height: 100%;
    background: var(--accent);
}

.btn-card {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white) !important;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-card:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* Page Transitions */
.page-fade {
    animation: pageFadeIn 0.8s ease-out forwards;
}

.page-fade-out {
    animation: pageFadeOut 0.5s ease-in forwards !important;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pageFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* Minimalist Sections */
.section-title {
    text-align: center;
    margin-bottom: 100px;
}

.section-title h2 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Trust Badges Bar */
.trust-bar {
    background: var(--white);
    padding: 50px 0;
    border: none;
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.trust-item i {
    color: var(--accent);
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
}

.trust-item span {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

/* --- Success Stories Grid (Tighter & Sleeker) --- */
.success-stories-premium {
    padding: 100px 0;
    background-color: var(--surface);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Columns for Desktop */
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 1400px) {
    .stories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Mobile */
        gap: 15px;
    }
}

.story-card {
    background-color: #FFFDF5; /* Champagne */
    border: 1px solid #D4AF37; /* Gold */
    border-radius: 12px;
    padding: 20px 15px; /* Compact Padding */
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    max-width: 280px; /* Max-width for sleekness */
    height: 320px; /* Fixed Equal Height for alignment */
    margin: 0 auto;
    width: 100%;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.story-icon {
    font-size: 20px; /* Smaller Icon */
    color: #D4AF37; /* Gold */
    margin-bottom: 15px;
}

.story-card h3 {
    font-family: 'Playfair Display', serif;
    color: #800000; /* Deep Maroon */
    font-weight: 700;
    font-size: 1.1rem; /* Compact Heading */
    margin-bottom: 10px;
    line-height: 1.3;
}

.story-text {
    color: #444444; /* Charcoal Grey */
    font-size: 0.9rem; /* Compact Text */
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Keep it short */
    -webkit-box-orient: vertical;
    line-clamp: 4; /* Standard property for compatibility */
}

.story-location {
    font-size: 0.75rem; /* Subtle Location */
    color: var(--text-muted);
    font-style: italic;
    margin-top: auto;
}

.gold-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.gold-ornament span {
    height: 1px;
    width: 50px;
    background: #D4AF37;
    opacity: 0.5;
}

.gold-ornament i {
    color: #D4AF37;
    font-size: 0.9rem;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-item {
    text-align: center;
    padding: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--surface);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.step-item:hover .step-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================================
   MINIMALIST LUXURY FOOTER
   ============================================================ */
footer {
    position: relative;
    background: #4A0404; /* Consistent Deep Maroon */
    padding: 80px 0 40px;
    color: var(--white);
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-large {
    height: 80px; /* Exact Elegant Scale */
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(10deg) drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 45px;
    list-style: none;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials a {
    color: var(--accent);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 30px;
    display: flex;
    justify-content: space-between; /* Signature pins to right */
    align-items: flex-end;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 400;
}

.signature {
    text-align: right; /* Bottom-right alignment */
}

.footer-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--accent);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 20px;

/* Header Themes */
header.nav-transparent {
    background: transparent;
}

header.nav-solid, 
header.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo text based styling removed in favor of image branding */


nav ul {
    display: flex;
    gap: 3rem; /* Elite spacing */
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-size: 1.05rem; /* ~17px */
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

/* Initial Colors based on Theme */
header.nav-transparent .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

header.nav-solid .nav-link,
header.scrolled .nav-link {
    color: var(--primary); /* Deep Maroon */
}

/* Hover & Active States */
.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important; /* Gold */
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}
footer {
    position: relative;
    background: url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?q=80&w=1974&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    padding: 60px 0 30px; /* Slimmer padding for compact look */
    color: var(--white);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(74, 4, 4, 0.85), rgba(0, 0, 0, 0.7)); /* Deep Maroon to Dark Gradient */
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

.footer-logo span {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.footer-links a {
    color: var(--accent); /* Champagne Gold (#D4AF37) */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials a {
    color: var(--accent);
    font-size: 1.6rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Elegant Gold Divider */
}

.copyright {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

.signature {
    text-align: center;
}

.signature-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 2px;
}

.signature-name {
    font-family: 'Dancing Script', cursive;
    color: var(--accent);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}
/* Success Stories Static Grid Layout implemented. Carousel code removed. */

/* Pricing Section - Luxury 3-Column Grid */
.pricing-section {
    padding: 80px 0;
}

.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 80px;
}

.pricing-card {
    background: #FFFDF5; /* Light Cream */
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
    border: 1px solid var(--accent); /* Gold */
    width: 30%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(74, 4, 4, 0.08);
}

.pricing-card.featured {
    transform: scale(1.1); /* 10% Larger */
    z-index: 2;
    background: var(--white);
    box-shadow: 0 40px 90px rgba(212, 175, 55, 0.2);
    border-width: 2px;
}

.pricing-card.featured:hover {
    transform: scale(1.1) translateY(-5px);
}

.pricing-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    margin: 20px 0;
    line-height: 1;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-card ul li {
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 500;
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #B8860B);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-gold:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* VIP Banner */
.vip-matchmaking-banner {
    width: 100%;
    background: #FFFDF5;
    padding: 60px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.02);
}

.vip-matchmaking-banner h3 {
    font-size: 3rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

@media (max-width: 1100px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .plan-card {
        width: 80%;
    }
    .plan-card.gold-tier {
        transform: none;
    }
    .plan-card.gold-tier:hover {
        transform: translateY(-5px);
    }
}

.price-val span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    color: var(--accent);
}

/* Micro-animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeInUp 1s ease forwards;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 15px rgba(212, 175, 55, 0.5); /* Added Gold glow */
    z-index: 2000; /* Priority visibility */
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--accent); /* Champagne Gold Border */
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4), 0 0 25px rgba(212, 175, 55, 0.7);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@media (max-width: 1300px) {
    .search-panel { 
        width: 98%;
        padding: 20px;
        gap: 15px;
    }
    .search-field select { min-width: 140px; }
}

@media (max-width: 1100px) {
    .search-panel { 
        grid-template-columns: repeat(3, 1fr);
        margin-top: -50px;
        border-radius: 30px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 3rem; }
    .search-panel { 
        grid-template-columns: 1fr;
        margin-top: -30px;
        padding: 25px;
    }
    .trust-flex { flex-direction: column; gap: 30px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .signature {
        text-align: center;
    }
}

/* ============================================================
   PREMIUM SUCCESS STORIES CAROUSEL
   ============================================================ */
.success-stories-premium {
    background: #FCF9F2;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.success-stories-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(74,4,4,0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Section eyebrow */
.section-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* Gold ornament divider */
.gold-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto 30px;
}

.gold-ornament span {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.gold-ornament i {
    color: var(--accent);
    font-size: 1rem;
}

/* Carousel outer wrapper */
.ss-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 -10px;
}

/* Scrollable track */
.ss-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    padding: 20px 10px 30px;
}

.ss-track::-webkit-scrollbar { display: none; }

/* Individual story card */
.ss-card {
    flex: 0 0 calc(33.333% - 19px);
    scroll-snap-align: start;
    background: #FCF9F2;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(212,175,55,0.2);
    border-left: 5px solid var(--accent);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.ss-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(74,4,4,0.12), 0 5px 20px rgba(212,175,55,0.15);
}

.ss-card-inner {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* Couple avatar row */
.ss-couple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.ss-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 3px solid var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ss-card:hover .ss-avatar { transform: scale(1.08); }

.ss-bride {
    background: linear-gradient(135deg, #fff0f5, #fde8f0);
    color: #c2185b;
}

.ss-groom {
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    color: var(--primary);
}

.ss-connector {
    color: var(--accent);
    font-size: 1.2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Nikah date */
.ss-date {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

/* Quote text */
.ss-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--primary);
    line-height: 1.75;
    margin-bottom: 25px;
    flex: 1;
    quotes: none;
    border: none;
    padding: 0;
}

/* Names & location */
.ss-meta {
    width: 100%;
    border-top: 1px solid rgba(212,175,55,0.25);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ss-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.ss-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.ss-location i {
    color: var(--accent);
    margin-right: 4px;
}

/* Navigation buttons */
.ss-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(212,175,55,0.2);
    z-index: 5;
}

.ss-nav-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

/* Dot indicators */
.ss-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.ss-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212,175,55,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.ss-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ============================================================
   ELITE DISCOVERIES — Enhanced Card Glow
   ============================================================ */
.profile-card {
    border: 1.5px solid rgba(212,175,55,0.18) !important;
}

.profile-card:hover {
    border-color: rgba(212,175,55,0.5) !important;
    box-shadow: 0 20px 60px rgba(74,4,4,0.12), 0 0 0 1px rgba(212,175,55,0.2) !important;
}
/* Signature Styling Verification */
.signature-name {
    color: var(--accent) !important; /* Ensure Zargham Mustafa signature is Gold */
}
}
