/* ============================================================
   DR. NERO Beauty Clinic - Premium Design System 2026
   ============================================================ */

/* ===== Custom Properties ===== */
:root {
    /* Colors - Logo Inspired (Burgundy & Gold) */
    --burgundy: #4A041C;
    --burgundy-dark: #320313;
    --burgundy-light: #600521;
    --gold: #D4AF37;
    --gold-light: #F1D592;
    --gold-dark: #B08E26;
    
    /* Global Semantic Colors */
    --bg-primary: var(--burgundy);
    --bg-secondary: var(--burgundy-dark);
    --bg-tertiary: var(--burgundy-light);
    --accent-gold: var(--gold);
    --accent-gold-light: var(--gold-light);
    --accent-gold-dark: var(--gold-dark);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Shadows & Borders */
    --border-subtle: rgba(212, 175, 55, 0.1);
    --border-light: rgba(212, 175, 55, 0.2);
    --shadow-gold: 0 10px 40px rgba(74, 4, 28, 0.5);

    /* Typography */
    --font-arabic: 'Cairo', sans-serif;
    --font-display: 'Cairo', sans-serif;
    --font-body: 'Cairo', sans-serif;

    /* Z-index layers */
    --z-preloader: 10000;
    --z-cursor: 9999;
    --z-navbar: 1000;
    --z-modal: 2000;

    /* Card Backgrounds */
    --bg-card: rgba(50, 3, 19, 0.88); /* Rich opaque burgundy */

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

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold-dark) var(--bg-secondary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw; /* Crucial to prevent horizontal scroll leaks on mobile */
    position: relative;
}

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

html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent-gold-dark);
    border-radius: 3px;
}

body {
    font-family: var(--font-arabic);
    color: var(--text-primary);
    /* background color is now handled by body::before to allow the fixed texture to show */
    background: transparent;
    line-height: 1.7;
    /* Removed overflow, width, max-width, position from body to prevent double scrollbar bug */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1280px; /* Matching max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem; /* px-4 */
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem; /* px-6 */
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem; /* px-8 */
    }
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.preloader-logo {
    display: inline-block;
    margin-bottom: 2rem;
}
.preloader-logo img {
    height: 100px;
    width: auto;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(223, 177, 83, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(223, 177, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(223, 177, 83, 0); }
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-gold);
    border-radius: 2px;
    animation: preloaderProgress 2s var(--ease-out-expo) forwards;
}

.preloader-text {
    font-family: var(--font-modern);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes preloaderProgress {
    to { width: 100%; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes textShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
}

/* ============================================ */
/*  GOLD TEXT & BUTTONS                         */
/* ============================================ */

.gold-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-text-shimmer {
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        var(--gold-light) 25%,
        var(--gold) 50%,
        var(--gold-light) 75%,
        var(--gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s linear infinite;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    background-size: 200% auto;
    color: #000 !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s var(--ease-out-expo);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background-position: right center;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

/* ============================================ */
/*  GLASS MORPHISM                              */
/* ============================================ */

.glass {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-gold {
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-gold);
    background: rgba(201, 169, 110, 0.05);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-gold);
    z-index: 9998;
    transition: width 0.05s linear;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-navbar);
    padding: 0;
    background: transparent;
    transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(50, 3, 19, 0.95); /* Deep burgundy with transparency */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row !important; /* Logo Right, Menu Left in RTL */
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.logo-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: none; /* Hidden on desktop by default in this style, or used for mobile */
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        gap: 2rem;
        list-style: none;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 48px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(223, 177, 83, 0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(201, 169, 110, 0.08);
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s var(--ease-out-back);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.cta-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(-4px);
}

/* Menu Toggle - Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end; /* Push content to bottom, below the video face */
    justify-content: center;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 8rem; /* Enough room so the button is fully visible */
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 0;
    }
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 75%; /* Reduced to 75% as requested for a more compressed look */
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centered vertically and horizontally */
    background: var(--burgundy-dark);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); /* Significantly reduced to show video quality */
    z-index: 1;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 60%, var(--burgundy-dark) 100%); /* Pushed to edges to keep center clear */
    z-index: 2;
    opacity: 0.6;
}

.hero-centered-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 2.5rem;
}

.hero-badge i {
    color: var(--gold);
    font-size: 0.9rem;
}

.hero-badge span {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-badge-text {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-line {
    display: block;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-cta-wrapper {
    margin-bottom: 0;
    position: relative;
    z-index: 110; /* Ensures it sits above the overlapping stats block on mobile */
}

/* .hero-stats-center removed as requested */

/* .hero-stat-box removed as requested */

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-lab {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(26, 5, 10, 0.4) 100%);
    pointer-events: none;
}

/* Hero Particles - Adjusted for Video */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: translateY(80vh) scale(1);
    }
    90% {
        opacity: 0.3;
        transform: translateY(-10vh) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(0);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    background: rgba(223, 177, 83, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(223, 177, 83, 0.1);
    transition: all 0.4s ease;
    cursor: default;
}

.hero-badge:hover {
    background: rgba(223, 177, 83, 0.15);
    box-shadow: 0 0 30px rgba(223, 177, 83, 0.2);
    transform: translateY(-2px);
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    font-family: var(--font-arabic);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.4rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-back);
    box-shadow: 0 10px 30px rgba(223, 177, 83, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(223, 177, 83, 0.4);
    background: var(--accent-gold-light);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    20%, 100% { transform: translateX(100%); }
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.4rem;
    background: rgba(223, 177, 83, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(223, 177, 83, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(223, 177, 83, 0.1);
}

.btn-outline i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateY(3px);
}

.floating-cards-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 100%;
}

/* Floating Cards */
.floating-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(223, 177, 83, 0.03);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-back);
}

.floating-card:hover {
    transform: translateY(-5px);
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1rem;
}

.floating-card-number {
    font-family: var(--font-modern);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    z-index: 2;
    animation: fadeInUp 1s ease 2s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-accent);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== STATS SECTION (TRUST BAR) ===== */
.stats-section {
    position: relative;
    z-index: 100; /* Above hero but below navbar */
    margin-top: -5rem; /* Overlap hero */
    padding: 0 1rem;
}

.stats-grid {
    max-width: 1100px;
    width: 95%;
    margin: 0 auto;
    /* Removed background, borders, and shadows for seamless integration */
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 3.5rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.4s var(--ease-out-back);
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.2));
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon-box i {
    font-size: 1.5rem;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff, var(--gold));
    -webkit-background-clip: text;
    background-clip: text; /* Added for standard compatibility */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.stat-suffix {
    font-size: 1.5rem;
    vertical-align: super;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-divider {
    display: none; /* Using grid gap instead */
}

/* Stats responsive handled in consolidated block at end */

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-light);
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.label-line {
    width: 30px;
    height: 1px;
    background: var(--accent-gold);
}

.section-title {
    font-family: var(--font-arabic);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 100%; /* Removing fixed max-width for better responsive control */
    width: 100%;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

.section-description.dark {
    color: var(--text-muted);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
}

.about-image-main {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(50, 3, 19, 0.6));
    pointer-events: none;
}

/* ===== ABOUT LUXURY SECTION ===== */
.about-luxury {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
    /* Removed overflow: hidden to allow top wave to spill upwards */
}

/* Dynamic Soft SVG Divider */
.about-luxury::before {
    content: '';
    position: absolute;
    top: -80px; /* Spills upwards perfectly over the preceding section */
    left: 0;
    width: 100%;
    height: 85px; /* Slight overlap to prevent 1px gaps */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%234A041C' d='M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,160C672,160,768,192,864,208C960,224,1056,224,1152,197.3C1248,171,1344,117,1392,90.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}

.about-visual-block {
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
}

.about-info-block {
    max-width: 900px;
    margin: 4rem auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 6rem 4rem;
    z-index: 1;
    overflow: hidden; /* Prevent internal overflow */
}

/* The High-End Royal Carpet Background */
.about-info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 20%, rgba(130, 10, 40, 0.4) 0%, transparent 70%),
        linear-gradient(to right, 
            rgba(212, 175, 55, 0.95) 0%, 
            rgba(212, 175, 55, 0.4) 2%,
            rgb(74, 4, 32) 15%, 
            rgb(58, 2, 22) 50%,
            rgb(74, 4, 32) 85%,
            rgba(212, 175, 55, 0.4) 98%,
            rgba(212, 175, 55, 0.95) 100%);
    
    /* Ornate Gold Border Integration */
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-image: url('C:/Users/Shefoz-YT/.gemini/antigravity/brain/e83d4102-3bf9-43ac-b718-89fdd2b999d6/ornate_gold_carpet_border_1773309377270.png') 0 100 repeat;
    
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.9), 
        inset 0 0 150px rgba(0,0,0,0.6);
    z-index: -1;
    border-radius: 0; /* Sharp straight edge as requested */
    border-top: 4px solid rgba(212, 175, 55, 1); /* Sharp finishing gold line at the top */
    border-bottom: 4px solid rgba(212, 175, 55, 1); /* Sharp finishing gold line at the bottom */
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-info-block.revealed::before {
    transform: translateX(-50%) scaleY(1);
}

/* Delayed Content Reveal */
.about-info-block .header-badge,
.about-info-block .about-title,
.about-info-block .about-lead,
.about-info-block .about-traits,
.about-info-block .about-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-info-block.revealed .header-badge { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.about-info-block.revealed .about-title { opacity: 1; transform: translateY(0); transition-delay: 1.0s; }
.about-info-block.revealed .about-lead { opacity: 1; transform: translateY(0); transition-delay: 1.2s; }
.about-info-block.revealed .about-traits { opacity: 1; transform: translateY(0); transition-delay: 1.4s; }
.about-info-block.revealed .about-actions { opacity: 1; transform: translateY(0); transition-delay: 1.6s; }

.about-visual-block .visual-container {
    margin: 0 auto;
}

.about-info-block .header-badge {
    margin-bottom: 2rem;
}

.about-info-block .about-title {
    margin-top: 0;
}

.about-info-block .about-traits {
    align-items: center;
    width: 100%;
}

.about-actions {
    display: flex;
    justify-content: center;
}

.visual-container {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    width: fit-content;
    margin: 0 auto;
}

.main-about-img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease;
}

.visual-experience {
    position: absolute;
    bottom: 2rem;
    left: 0; /* Changed from -2rem to prevent overflow */
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

.exp-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.exp-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.about-traits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.trait-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.trait-icon {
    font-size: 1.4rem;
    color: var(--gold);
}



/* ===== SERVICES LUXURY SECTION ===== */
.services-luxury {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
}

.services-luxury-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.service-tile {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 200px 1fr;
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.service-tile:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.tile-image {
    position: relative;
    overflow: hidden;
}

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

.service-tile:hover .tile-image img {
    transform: scale(1.1);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.8), transparent);
}

.tile-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.tile-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.service-tile h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.service-tile p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

.tile-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.tile-link:hover {
    gap: 1.2rem;
}

/* Services & About responsive handled in consolidated block at end */

/* ===== RESULTS GALLERY SECTION ===== */
.results-gallery {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.album-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.album-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.album-card:hover .album-image-wrapper {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.album-images {
    position: absolute;
    inset: 0;
}

.album-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 8s linear;
}

.album-img.active {
    opacity: 1;
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(50, 3, 19, 0.7), transparent 40%);
    pointer-events: none;
}

.album-counter {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.album-dots {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.dot.active {
    width: 20px;
    background: var(--gold);
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.album-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.album-emoji {
    font-size: 1.4rem;
}

.album-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* Gallery responsive handled in consolidated block at end */


/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding);
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.testimonial-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.testimonial-card:hover {
    border-color: var(--border-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: rgba(201, 169, 110, 0.1);
    font-size: 3rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-arabic);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-large i {
    transition: transform 0.3s ease;
}

.btn-large:hover i {
    transform: translateX(-5px);
}

/* ===== FOOTER ===== */
.footer {
    background: transparent;
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-image {
    height: 64px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-dark); /* Dark contrast on gold */
    font-size: 1.1rem;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.social-link:hover {
    transform: translateY(-5px) rotate(8deg);
    background: var(--gold-light);
    color: var(--burgundy);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.footer-links-group h4,
.footer-contact h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 0.8rem;
}

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.footer-links-group a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 0.9rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    z-index: 100;
    cursor: pointer;
}

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

.scroll-top:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 100;
    transition: all 0.4s var(--ease-out-expo);
    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--accent-gold-light);
}

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

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* ===== VISIT US SECTION ===== */
.visit-section {
    padding: 6rem 0;
    position: relative;
}

.visit-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.visit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(74, 4, 28, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
}

.visit-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.visit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.visit-card:hover .visit-image {
    transform: scale(1.05);
}

.visit-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(50, 3, 19, 0.1) 0%, rgba(50, 3, 19, 0.75) 100%);
    z-index: 1;
}

.visit-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--burgundy-dark);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: pinBounce 2s infinite;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.visit-card:hover .visit-pin {
    opacity: 1;
    animation: pinBounce 1s infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.visit-info {
    padding: 1.8rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    text-align: center;
}

.visit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.visit-title i {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.visit-address {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.visit-cta-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.visit-card:hover .visit-cta-text {
    gap: 1rem;
}

.visit-cta-text i {
    transition: transform 0.3s ease;
}

.visit-card:hover .visit-cta-text i {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .visit-section {
        padding: 4rem 0;
    }
    .visit-image-wrapper {
        height: 250px;
    }
    .visit-info {
        padding: 1.2rem 1.5rem;
    }
    .visit-title {
        font-size: 1.1rem;
    }
    .visit-pin {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== LUXURY INTEGRATED BACKGROUND TEXTURE ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    
    /* Base rich burgundy */
    background-color: var(--bg-primary);
    
    /* 
       Layer 1 & 2: Noticeable golden horizontal & vertical grid lines 
       Layer 3: Soft radial vignette to focus attention to the center
    */
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(74, 4, 28, 0.5) 0%, rgba(26, 5, 10, 0.95) 100%);
        
    /* Grid spacing - large elegant cells */
    background-size: 80px 80px, 80px 80px, 100% 100%;
    background-position: center;
}

/* ===== GLOWING BORDER CARDS ===== */
.testimonial-card,
.album-image-wrapper,
.service-tile {
    position: relative;
}

.testimonial-card::after,
.album-image-wrapper::after,
.service-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 0%,
        transparent 40%,
        var(--gold-light) 90%,
        var(--gold) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover::after,
.album-image-wrapper:hover::after,
.service-tile:hover::after {
    opacity: 1;
    animation: spinBorder 2.5s linear infinite;
}

.testimonial-card:hover,
.album-card:hover .album-image-wrapper,
.service-tile:hover {
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.25),
        0 0 40px rgba(212, 175, 55, 0.15);
}

@keyframes spinBorder {
    to {
        --border-angle: 360deg;
    }
}

/* Register custom property for conic-gradient animation */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ===== REVEAL ANIMATIONS (CINEMATIC PHYSICS) ===== */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    /* Advanced 2026 Luxury Easing: fast start, loooong floating deceleration */
    transition: all 1.2s cubic-bezier(0.25, 1, 0.4, 1);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1); /* Ensure Y coordinate is specified */
}

/* Premium Entrance Sequence */
.hero-content > * {
    opacity: 0;
    animation: cinematicFadeIn 1.2s var(--ease-out-expo) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.hero-content > *:nth-child(5) { animation-delay: 1.0s; }

.hero-visual {
    opacity: 0;
    animation: cinematicSlideIn 1.5s var(--ease-out-expo) 0.5s forwards;
}

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

@keyframes cinematicSlideIn {
    from { opacity: 0; transform: translateX(-50px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* =====/* Tablet (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .services-luxury-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-tile {
        grid-template-columns: 180px 1fr;
    }

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

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .menu-toggle {
        display: flex !important; /* Force hamburger visibility */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 2rem;
        border-bottom: 2px solid var(--accent-gold);
    }

    .nav-links.active {
        display: flex !important;
    }
}

/* Mobile Large (768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    /* Force global container containment */
    .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 1.25rem !important;
        margin: 0 auto !important;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 0.8rem 1rem;
    }

    /* Hero Overhaul */
    .hero {
        padding-top: 55vh !important; /* Forced down well below the face center (approx 50%) */
        padding-bottom: 8rem !important; /* Tightened safety for button */
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2rem) !important; /* Slightly more compact for safety */
        line-height: 1.2 !important;
        margin-bottom: 1.2rem !important;
    }

    .hero-badge {
        margin-bottom: 1rem !important;
        padding: 0.5rem 1rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        margin-bottom: 2.2rem !important;
        line-height: 1.6 !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }

    /* Stats Mobile */
    .stats-section {
        margin-top: 0 !important;
        padding: 3rem 0 !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1rem !important;
        padding: 2rem 1rem !important;
    }

    .stat-number {
        font-size: 2.2rem !important;
    }

    /* Services Stacking */
    .service-tile {
        grid-template-columns: 1fr !important;
        border-radius: 24px !important;
    }

    .tile-image {
        height: 200px !important;
    }

    /* About Block Mobile */
    .about-info-block {
        padding: 3rem 1rem !important;
        margin-top: 2rem !important;
        max-width: 100% !important;
    }

    .about-info-block::before {
        border-left-width: 8px !important;
        border-right-width: 8px !important;
    }

    .visual-experience {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        margin: 2rem auto 0 !important;
        transform: none !important;
    }

    /* Testimonials Stacking */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Gallery - FIXED: 1-column on mobile */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .album-card {
        width: 100% !important;
    }

    .album-image-wrapper {
        aspect-ratio: 1/1 !important;
    }

    /* Visit Card Fixing */
    .visit-card {
        border-radius: 16px !important;
        margin: 0 1rem !important;
    }

    .visit-image-wrapper {
        height: 200px !important;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* GLOBAL OVERFLOW LOCK - THE NUCLEAR OPTION */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force all sections and containers to be no wider than the screen */
section, footer, header, nav, .container, .row, div {
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

/* Clean up any negative margins that leak */
* {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Individual elements that can be safe exceptions */
.container, .about-info-block, .visit-card, .service-tile, .testimonial-card, .navbar, .nav-container, .hero-content {
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Prevent any child from pushing parent width */
*, *::before, *::after {
    max-width: 100vw !important;
    box-sizing: border-box !important;
}


/* ===== Print ===== */
@media print {
    .navbar, .footer, .booking-modal, .scroll-top,
    .scroll-progress, .cursor-dot, .cursor-outline,
    .preloader {
        display: none !important;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Focus Styles ===== */
*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: var(--text-primary);
}
/* Hero Immediate Animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-reveal {
    opacity: 0; /* Start hidden */
    animation: heroFadeUp 1.2s var(--ease-out-expo) forwards;
}

h1.hero-reveal { animation-delay: 0.6s; }
p.hero-reveal { animation-delay: 0.8s; }
.hero-cta-wrapper.hero-reveal { animation-delay: 1.0s; }
