/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    /* Color Palette - Luxury */
    --primary: #0f172a;
    /* Dark Navy Backgrounds */
    --primary-dark: #020617;
    --gold-light: #F4E2B0;
    --gold: #D4AF37;
    /* Classic Gold */
    --gold-dark: #AA8C2C;
    --text-dark: #1e293b;
    --text-light: #f8fafc;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA8C2C 100%);
    --gold-gradient-hover: linear-gradient(135deg, #F4E2B0 0%, #D4AF37 100%);

    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8fafc;
    direction: rtl;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--gold-dark);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Header Button (Refined) */
.header-btn {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.header-btn:hover {
    background: var(--primary);
    color: white;
}

/* --- Hero Section (Glassmorphism) --- */
.hero {
    min-height: 100vh;
    background: url('images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
}

/* Dark overlay kept minimal to show image, glass card does the work */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.6);
    /* Dark glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: white;
    margin: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    min-width: 160px;
}

/* Specific Button Types */
.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-primary {
    background: var(--gold-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* --- Features --- */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #f8fafc;
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #f1f5f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-info {
    padding: 30px;
    text-align: right;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-info p {
    color: #64748b;
    font-size: 1rem;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: var(--primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/decorative.png');
    opacity: 0.1;
    background-size: cover;
}

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

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: white;
}

/* --- Footer --- */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
}

/* --- Styles Floating Actions (Clean) --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Moved to LEFT to avoid conflict/overlap with scrolls or mobile thumbs */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Renamed from .fab to .floating-btn to avoid FontAwesome conflict */
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn-whatsapp {
    background-color: #25D366 !important;
}

.floating-btn-phone {
    background: var(--gold-gradient) !important;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        height: 70px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links,
    .header-btn {
        display: none;
        /* Keep header simple on mobile */
    }

    nav {
        justify-content: center;
    }

    .hero-content {
        margin: 0 15px;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-actions {
        left: 20px;
        bottom: 25px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}