/* ========================================
   مرحلة مؤقتة — Design System
   Olive + Wine Arabic RTL
   ======================================== */

:root {
    /* Brand Colors */
    --olive: #5C6B4F;
    --olive-dark: #3D4A33;
    --olive-light: #8A9B7A;
    --wine: #6B2D3E;
    --wine-dark: #4A1F2B;
    --wine-light: #8C4A5A;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
    --sand: #D4C9B8;
    --charcoal: #2C2C2C;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --black: #1A1A1A;

    /* Typography */
    --font-cairo: 'Cairo', sans-serif;
    --font-tajawal: 'Tajawal', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 60px rgba(0,0,0,0.15);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.3s var(--ease);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-cairo);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(92, 107, 79, 0.1);
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-md);
}
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--olive-dark);
    flex-shrink: 0;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--olive);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
}
.logo-text em {
    font-style: normal;
    color: var(--wine);
    font-weight: 400;
}
.nav {
    display: flex;
    gap: var(--space-sm);
}
.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.nav a:hover {
    background: var(--olive);
    color: var(--white);
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--wine);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-phone svg {
    color: var(--olive);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--olive-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(92,107,79,0.85) 0%, rgba(107,45,62,0.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px var(--space-md) 80px;
    max-width: 700px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}
.hero-title .accent {
    color: var(--sand);
    font-weight: 600;
    display: block;
    font-size: 0.7em;
    margin-top: 8px;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-lg);
    font-family: var(--font-tajawal);
    font-weight: 400;
}
.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}
.btn-primary:hover {
    background: var(--olive-dark);
    border-color: var(--olive-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}
.btn-whatsapp:hover {
    background: #1EBE57;
    border-color: #1EBE57;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--olive);
    border-color: var(--olive);
}
.btn-outline:hover {
    background: var(--olive);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--wine);
    border-color: var(--white);
}
.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--space-2xl) 0;
}
.section-alt {
    background: var(--cream-dark);
}
.section-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wine);
    background: rgba(107,45,62,0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: var(--space-sm);
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--olive-dark);
    margin-bottom: var(--space-sm);
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
    font-family: var(--font-tajawal);
}
.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Cards Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.card:hover .card-img img {
    transform: scale(1.05);
}
.card-body {
    padding: var(--space-md);
}
.card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 6px;
}
.card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-tajawal);
}

/* ========================================
   SERVICES
   ======================================== */
.services-list {
    display: grid;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}
.service-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-4px);
}
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--olive);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.service-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 4px;
}
.service-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-tajawal);
}

/* ========================================
   ABOUT
   ======================================== */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.about-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-text .section-tag {
    margin-bottom: var(--space-sm);
}
.about-text .section-title {
    text-align: right;
    margin-bottom: var(--space-md);
}
.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    font-family: var(--font-tajawal);
    line-height: 1.9;
}
.about-stats {
    display: flex;
    gap: var(--space-lg);
}
.stat {
    text-align: center;
}
.stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--wine);
}
.stat span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-tajawal);
}

/* ========================================
   CONTACT
   ======================================== */
.section-contact {
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--wine-dark) 100%);
    color: var(--white);
}
.contact-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-xl);
    align-items: center;
}
.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}
.contact-info > p {
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--space-lg);
    font-family: var(--font-tajawal);
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}
.contact-row svg {
    color: var(--sand);
    flex-shrink: 0;
}
.contact-row a, .contact-row span {
    color: rgba(255,255,255,0.9);
}
.contact-row a:hover {
    color: var(--sand);
}
.contact-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: var(--space-lg) 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}
.footer-brand .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}
.footer-copy {
    font-size: 0.85rem;
}
.footer-phone {
    font-weight: 600;
    color: var(--sand);
    font-size: 1rem;
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.float-wa {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.float-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: var(--space-md);
        gap: 4px;
        border-bottom: 1px solid rgba(92,107,79,0.15);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
    }
    .nav.open {
        transform: translateY(0);
        opacity: 1;
    }
    .nav a {
        padding: 12px 16px;
        font-size: 1rem;
    }
    .menu-toggle {
        display: flex;
    }
    .header-phone {
        display: none;
    }
    .about-wrap {
        grid-template-columns: 1fr;
    }
    .about-img {
        order: -1;
    }
    .contact-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-row {
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding: 100px var(--space-md) 60px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .float-wa {
        bottom: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
    }
}
