/* ==========================================================================
   CSS Variables & Theme Setup
   ========================================================================== */
:root {
    /* Luxury Dark Mode Palette (Default) */
    --clr-bg-black: #0a0a0a;
    --clr-bg-dark: #141414;
    --clr-bg-card: rgba(255, 255, 255, 0.03);
    
    --clr-gold-primary: #d4af37;
    --clr-gold-light: #f3e5ab;
    --clr-gold-dark: #aa8111;
    --clr-gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa8111 100%);
    
    --clr-text-white: #f8f8f8;
    --clr-text-gray: #a6a6a6;
    
    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Playfair Display', serif;
    
    /* Spacing & Sizes */
    --nav-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme {
    /* Pure White & Black Elegance Theme */
    --clr-bg-black: #ffffff;
    --clr-bg-dark: #f9f9f9;
    --clr-bg-card: rgba(255, 255, 255, 0.9);
    
    /* Keep Gold for luxury accents */
    --clr-gold-primary: #d4af37;
    --clr-gold-light: #f3e5ab;
    --clr-gold-dark: #aa8111;
    --clr-gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8111 100%);
    
    --clr-text-white: #0a0a0a; /* Dark text for readability */
    --clr-text-gray: #555555;
}

/* Light Theme Overrides */
body.light-theme .hero {
    background: #ffffff !important; /* Pure white background in light mode */
}
body.light-theme .hero-overlay {
    opacity: 0;
}
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 2px 10px rgba(255, 255, 255, 1);
}

body.light-theme .footer p,
body.light-theme .footer .phone-link,
body.light-theme .footer .footer-desc,
body.light-theme .footer .footer-bottom,
body.light-theme .footer .footer-bottom p {
    color: #e0e0e0 !important;
}

body.light-theme .footer .phone-link:hover {
    color: var(--clr-gold-primary) !important;
}
body.light-theme .service-card {
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
body.light-theme .btn-outline {
    border-color: #0a0a0a;
    color: #0a0a0a;
}
body.light-theme .btn-outline:hover {
    background: #0a0a0a;
    color: #ffffff;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg-black);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-gold-primary);
    border-radius: 10px;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-ar);
    background-color: var(--clr-bg-black);
    color: var(--clr-text-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gold {
    color: var(--clr-gold-primary);
}

.gold-text {
    background: var(--clr-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    color: var(--clr-gold-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--clr-gold-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold, .btn-gold-large, .btn-outline {
    display: inline-block;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-weight: 600;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--clr-gold-gradient);
    color: var(--clr-bg-black);
    padding: 10px 24px;
    font-size: 1rem;
}

.btn-gold-large {
    background: var(--clr-gold-gradient);
    color: var(--clr-bg-black);
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--clr-gold-primary);
    border: 2px solid var(--clr-gold-primary);
    padding: 13px 35px;
    font-size: 1.1rem;
}

@media (hover: hover) {
    .btn-gold:hover {
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
        transform: translateY(-2px);
    }

    .btn-gold-large:hover {
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
        transform: translateY(-3px);
    }

    .btn-outline:hover {
        background: rgba(212, 175, 55, 0.1);
        transform: translateY(-3px);
    }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: 70px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--clr-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--clr-gold-primary);
    position: relative;
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.logo-text {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 0;
}

.logo-text-full {
    display: flex;
    flex-direction: column;
}

.logo-text-full h1 {
    font-family: var(--font-en);
    font-size: 1.4rem;
    margin: 0;
    line-height: 1;
    color: var(--clr-gold-primary);
}

.logo-text-full p {
    font-family: var(--font-en);
    font-size: 0.7rem;
    color: var(--clr-text-white);
    letter-spacing: 1px;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.nav-btn) {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--clr-gold-primary);
    transition: var(--transition-fast);
}

.nav-links a:not(.nav-btn):hover,
.nav-links a:not(.nav-btn).active {
    color: var(--clr-gold-primary);
}

.nav-links a:not(.nav-btn):hover::after,
.nav-links a:not(.nav-btn).active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--clr-gold-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--clr-bg-dark) url('images/hero.jpg') center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    text-align: center;
    padding-top: var(--nav-height);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.5) 50%, #0a0a0a 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--clr-gold-primary);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--clr-text-white);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--clr-gold-primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ==========================================================================
   Subpages Hero
   ========================================================================== */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--clr-bg-dark) url('images/hero.jpg') center/cover no-repeat;
    text-align: center;
    padding-top: var(--nav-height);
    margin-bottom: 50px;
}

.page-hero .hero-title {
    font-size: 3rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-gold-primary);
    font-family: var(--font-en);
}

.stat-text {
    color: var(--clr-text-gray);
    font-size: 1rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid var(--clr-gold-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--clr-bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--clr-gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Added for Testimonial Slider */
.testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}
.testimonial-grid::-webkit-scrollbar {
    height: 6px;
}
.testimonial-grid::-webkit-scrollbar-thumb {
    background: var(--clr-gold-primary);
    border-radius: 4px;
}
.testimonial-grid .service-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
}

@media (max-width: 768px) {
    .testimonial-grid .service-card {
        flex: 0 0 85%;
    }
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--clr-gold-light);
}

.service-card p {
    color: var(--clr-text-gray);
    font-size: 1rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-overlay h3 {
    color: var(--clr-gold-primary);
    transform: translateY(20px);
    transition: var(--transition-fast);
    font-size: 1.5rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.contact-info-card h3 {
    color: var(--clr-gold-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info-card p {
    color: var(--clr-text-gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    position: relative;
    background-color: #050505;
    padding: 100px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    /* Force light text inside dark footer regardless of the global theme */
    --clr-text-white: #ffffff;
    --clr-text-gray: #aaaaaa;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 60%);
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand h2 {
    font-family: var(--font-en);
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-brand p {
    font-family: var(--font-en);
    color: var(--clr-text-gray);
    margin-bottom: 20px;
}

.footer-desc {
    font-family: var(--font-ar) !important;
    color: var(--clr-text-gray);
}

.footer-contact h3, .footer-hours h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--clr-gold-primary);
}

.footer-contact p, .footer-hours p {
    color: var(--clr-text-gray);
    margin-bottom: 12px;
}

.phone-link {
    color: var(--clr-text-white);
    transition: var(--transition-fast);
}

.phone-link:hover {
    color: var(--clr-gold-primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-gold-primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}
.social-links a svg {
    width: 20px;
    height: 20px;
}
.social-links a:hover {
    background: var(--clr-gold-gradient);
    color: var(--clr-bg-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: var(--clr-text-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */

/* Reveal Classes for Intersection Observer */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .image-bg {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        border-radius: 30px;
        top: 10px;
    }
    .navbar.scrolled {
        top: 10px;
    }
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        transform: translateY(-20px);
        width: auto;
        min-width: 250px;
        height: auto;
        padding: 25px 20px;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    body.light-theme .nav-links {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero, .page-hero {
        background-attachment: scroll !important; /* Fix iOS Parallax Bug */
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* ==========================================================================
   Advanced Animations (Preloader, Cursor, Reveal)
   ========================================================================== */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-bg-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: pulse 2s infinite ease-in-out;
}

.loading-text {
    color: var(--clr-gold-primary);
    font-family: var(--font-en);
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.loading-bar {
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.loading-bar .fill {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--clr-gold-gradient);
    animation: loadingFill 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loadingFill {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Custom Cursor */
body {
    cursor: none; /* Hide default cursor */
}

@media (max-width: 992px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none !important; }
}

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-gold-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline.hovering {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Staggered Text Reveal Styles */
.stagger-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpWord 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUpWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Ultimate Creative Touches (Tilt, Marquee, Shine)
   ========================================================================== */

/* Liquid Shine Effects */
.btn-gold::after, .btn-gold-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.btn-gold:hover::after, .btn-gold-large:hover::after {
    animation: shine 0.7s ease-out forwards;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

/* Giant Background Marquee Ticker */
.bg-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    overflow: hidden;
    white-space: nowrap;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.bg-marquee-content {
    display: inline-block;
    white-space: nowrap;
    font-size: 15vw;
    font-weight: 900;
    font-family: var(--font-en);
    text-transform: uppercase;
    color: var(--clr-gold-primary);
    animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Ensure 3D Tilt container preserves 3D */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    /* transition is handled via JS for smooth reset */
}

/* Base style for magnetic button return transition */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Booking Drawer CSS */
#bookingDrawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px; /* adjusted for mobile */
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
body.light-theme #bookingDrawer {
    background: rgba(255, 255, 255, 0.8);
}
#bookingDrawer.open {
    right: 0;
}
.drawer-close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--clr-text-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}
.drawer-close:hover {
    color: var(--clr-gold-primary);
    transform: rotate(90deg);
}
.drawer-content { margin-top: 40px; }
.drawer-content h2 {
    color: var(--clr-gold-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}
.drawer-content p {
    color: var(--clr-text-gray);
    margin-bottom: 30px;
}
.service-select-btn {
    background: var(--clr-bg-black);
    color: var(--clr-text-white);
    border: 1px solid var(--clr-gold-primary);
    padding: 15px;
    margin-bottom: 15px;
    width: 100%;
    text-align: right;
    border-radius: var(--radius-sm);
    font-family: var(--font-ar);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.service-select-btn:hover {
    background: var(--clr-gold-gradient);
    color: var(--clr-bg-black);
    transform: translateY(-2px);
}
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.drawer-overlay.open {
    display: block;
    opacity: 1;
}

/* Liquid Glass Toggle Switch */
.liquid-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    margin: 0;
    pointer-events: auto;
}
.liquid-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.liquid-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 34px;
    transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.8), 
                0 0 15px rgba(212, 175, 55, 0.15);
}
.liquid-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: inset -2px -2px 6px rgba(0,0,0,0.3), 
                inset 2px 2px 6px rgba(255,255,255,0.9),
                0 2px 5px rgba(0,0,0,0.5);
}
input:checked + .liquid-slider {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05), 
                0 5px 15px rgba(0,0,0,0.05);
}
input:checked + .liquid-slider:before {
    transform: translateX(28px);
    background: var(--clr-gold-gradient);
    box-shadow: inset -2px -2px 6px rgba(170,129,17,0.5), 
                inset 2px 2px 6px rgba(255,255,255,0.6),
                0 4px 10px rgba(212, 175, 55, 0.4);
}
