/* ===== CSS Variables ===== */
:root {
    --background: hsl(220, 25%, 8%);
    --foreground: hsl(45, 30%, 95%);
    --card: hsl(220, 20%, 12%);
    --card-foreground: hsl(45, 30%, 95%);
    --primary: hsl(45, 80%, 55%);
    --primary-foreground: hsl(220, 25%, 8%);
    --secondary: hsl(220, 20%, 18%);
    --muted: hsl(220, 15%, 20%);
    --muted-foreground: hsl(220, 10%, 60%);
    --border: hsl(220, 15%, 25%);
    
    --gold-gradient: linear-gradient(135deg, hsl(45, 80%, 55%) 0%, hsl(35, 90%, 45%) 50%, hsl(45, 80%, 55%) 100%);
    --dark-gradient: linear-gradient(180deg, hsl(220, 25%, 8%) 0%, hsl(220, 30%, 5%) 100%);
    --card-gradient: linear-gradient(145deg, hsl(220, 20%, 14%) 0%, hsl(220, 20%, 10%) 100%);
    --glow-gold: 0 0 30px hsla(45, 80%, 55%, 0.3);
    --glow-gold-strong: 0 0 60px hsla(45, 80%, 55%, 0.5);
    
    --radius: 0.75rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--dark-gradient);
    color: var(--foreground);
    direction: rtl;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Utilities ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gold-text {
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
}

/* ===== Animations ===== */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: var(--glow-gold); }
    50% { box-shadow: var(--glow-gold-strong); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.floating { animation: floating 3s ease-in-out infinite; }
.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
.fade-in { animation: fadeIn 1s ease-out forwards; }

.sparkle { position: relative; }
.sparkle::before, .sparkle::after {
    content: '✦';
    position: absolute;
    color: var(--primary);
    animation: sparkle 2s ease-in-out infinite;
}
.sparkle::before { right: -30px; top: 0; }
.sparkle::after { left: -30px; bottom: 0; animation-delay: 1s; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
}

.moon-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.star-icon {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.logo-title {
    font-family: 'Amiri', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--primary);
}

.nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    transition: color 0.3s;
}

.nav-link:hover { color: var(--primary); }

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: 0.3s;
}

@media (min-width: 768px) {
    .nav { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.header-cta {
    font-size: 0.875rem;
}

.header-cta .whatsapp-icon { width: 18px; height: 18px; }

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-gradient);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><defs><linearGradient id="gold" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23d4af37;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%23b8860b;stop-opacity:0.1"/></linearGradient></defs><path d="M200 50 L220 90 L265 95 L232 125 L240 170 L200 147 L160 170 L168 125 L135 95 L180 90 Z" fill="url(%23gold)" opacity="0.4"/><circle cx="80" cy="100" r="40" fill="url(%23gold)" opacity="0.2"/><circle cx="320" cy="200" r="50" fill="url(%23gold)" opacity="0.2"/><path d="M50 200 Q100 180 150 200 Q200 220 250 200" stroke="%23d4af37" stroke-width="1" fill="none" opacity="0.2"/><path d="M150 50 Q200 30 250 50 Q300 70 350 50" stroke="%23d4af37" stroke-width="1" fill="none" opacity="0.2"/></svg>') center/cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.7);
}

.hero-decoration {
    position: absolute;
    opacity: 0.3;
    animation: floating 3s ease-in-out infinite;
}

.decoration-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.decoration-1 { top: 20%; right: 10%; animation-delay: 0s; }
.decoration-1 .decoration-icon { width: 32px; height: 32px; }

.decoration-2 { top: 40%; left: 15%; animation-delay: 1s; }
.decoration-2 .decoration-icon { width: 24px; height: 24px; }

.decoration-3 { bottom: 30%; right: 15%; animation-delay: 0.5s; }
.decoration-3 .decoration-icon { width: 40px; height: 40px; }

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
}

.hero-main-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.hero-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: bold;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px hsla(45, 80%, 55%, 0.3));
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(245, 241, 225, 0.9);
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.hero-cta .whatsapp-icon { width: 24px; height: 24px; }

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.badge-star { color: var(--primary); }

/* ===== Section Styles ===== */
.section-title {
    font-family: 'Amiri', serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
    text-align: center;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-gold);
    border-color: var(--primary);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
    transition: 0.3s;
}

.service-card:hover .service-icon-wrapper {
    animation: pulseGlow 2s ease-in-out infinite;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.service-badge {
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.service-title {
    font-family: 'Amiri', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-cta {
    width: 100%;
    justify-content: center;
}

/* ===== Stats Section ===== */
.stats {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: radial-gradient(circle at 25% 0%, var(--primary) 0%, transparent 50%),
                radial-gradient(circle at 75% 100%, var(--primary) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.5s;
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-gold);
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
    transition: 0.3s;
}

.stat-card:hover .stat-icon-wrapper {
    animation: pulseGlow 2s ease-in-out infinite;
}

.stat-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.stat-number {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 38, 51, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

.trust-check { color: var(--primary); }

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 6rem 0;
    background: rgba(30, 38, 51, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    transition: 0.5s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-gold);
    border-color: var(--primary);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: 'Amiri', serif;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: var(--primary);
    font-size: 1.25rem;
}

.testimonial-text {
    color: rgba(245, 241, 225, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.25rem;
}

.author-name {
    font-weight: bold;
    color: var(--foreground);
}

.author-country {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
}

.contact-main-icon {
    width: 56px;
    height: 56px;
    color: var(--primary);
}

.contact-title {
    font-family: 'Amiri', serif;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
    margin-bottom: 0.75rem;
}

.contact-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-cta {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

.contact-cta .whatsapp-icon { width: 28px; height: 28px; }

.phone-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: bold;
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.feature-title {
    font-weight: bold;
    color: var(--foreground);
}

.feature-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background: rgba(30, 38, 51, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-title {
    font-family: 'Amiri', serif;
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px hsla(45, 80%, 55%, 0.4);
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.footer-link:hover { color: var(--primary); }

.footer-cta {
    font-size: 0.875rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===== Floating WhatsApp ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.floating-whatsapp .whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-cta { display: none; }
    
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-description { font-size: 0.9375rem; }
    
    .section-title { font-size: 1.5rem; }
    
    .services-grid,
    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges { flex-direction: column; align-items: center; }
    
    .contact-card { padding: 2rem 1rem; }
    .contact-features { gap: 1.5rem; }
}