/* ============================================================
   مؤسسة منارات الرسوة للمقاولات والدعاية والإعلان - style.css
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --orange: #F97316;
    --black: #0F0F0F;
    --white: #FFFFFF;
    --gray: #6B7280;
    --font: 'Tajawal', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15,15,15,0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 24px;
}

.navbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    z-index: 1001;
}

/* ============================================================
   Logo
   ============================================================ */
.navbar__logo {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 6px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.navbar__brand img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
}

/* ============================================================
   Nav Links
   ============================================================ */
.navbar__nav { display: flex; gap: 28px; }

.navbar__nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.navbar__nav a:hover { color: var(--orange); }

.navbar__btn {
    background-color: var(--orange);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.3s;
    z-index: 1001;
}
.navbar__btn:hover { background-color: #EA580C; }

/* ============================================================
   Mobile Menu Toggle
   ============================================================ */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================================
   Hero Banner
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/hero-bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,15,0.3) 0%, rgba(15,15,15,0.8) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 14px;
}

.hero__desc {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #ddd;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.btn--primary {
    background-color: var(--white);
    color: var(--black);
}
.btn--primary:hover { background-color: #e5e5e5; }

.btn--whatsapp {
    background-color: #25D366;
    color: var(--white);
}
.btn--whatsapp:hover { background-color: #1DA851; }

/* ============================================================
   Works Title
   ============================================================ */
.works {
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    background-color: var(--black);
}

.works__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.works__title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 36px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.works__title span { color: var(--orange); }

.works__link:hover .works__title span { color: #EA580C; }

/* ============================================================
   Slider
   ============================================================ */
.slider {
    position: relative;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.slider__slide--active {
    opacity: 1;
    pointer-events: auto;
}

.slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(15,15,15,0.9));
    padding: 28px 24px 18px;
    color: var(--white);
}

.slider__caption h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.slider__caption p { font-size: 0.85rem; color: #ccc; }

.slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.slider__btn:hover { background: var(--orange); }
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s;
}
.slider__dot--active { background-color: var(--orange); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 0 0;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer__col h3 { font-size: 1.2rem; color: var(--orange); margin-bottom: 4px; }
.footer__col h4 { font-size: 1rem; margin-bottom: 12px; color: var(--white); }
.footer__col p { font-size: 0.9rem; color: #999; margin-bottom: 6px; }
.footer__col a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.footer__col a:hover { color: var(--orange); }
.footer__slogan { color: var(--orange); font-weight: 600; margin-top: 8px; }

.footer__bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: #666;
    font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE - Mobile
   ============================================================ */
@media (max-width: 768px) {
    .nav__toggle { display: flex; }

    .navbar__nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background-color: #111;
        padding: 100px 28px 32px;
        gap: 4px;
        transition: right 0.35s ease;
        z-index: 1000;
        box-shadow: -4px 0 24px rgba(0,0,0,0.6);
        overflow-y: auto;
    }

    .navbar__nav.active { right: 0; }

    .navbar__nav a {
        display: block;
        padding: 14px 18px;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 10px;
        color: #ccc;
    }

    .navbar__nav a:hover {
        background-color: rgba(249,115,22,0.12);
        color: var(--orange);
    }

    .navbar__btn { display: none; }

    .hero {
        height: 85vh;
        height: 85dvh;
        min-height: 420px;
        max-height: 550px;
        background-position: center top;
    }

    .hero__content { padding: 0 16px; }

    .hero__btns {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero__btns .btn {
        width: 85%;
        max-width: 280px;
        text-align: center;
    }

    .slider {
        height: 280px;
        border-radius: 12px;
        margin: 0 10px;
        width: auto;
    }

    .slider__btn {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .slider__btn--prev { left: 8px; }
    .slider__btn--next { right: 8px; }

    .slider__caption { padding: 18px 14px 12px; }
    .slider__caption h3 { font-size: 0.95rem; }
    .slider__caption p { font-size: 0.75rem; }

    .slider__dots { gap: 6px; margin-top: 14px; }
    .slider__dot { width: 7px; height: 7px; }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .works { padding: 40px 0 30px; }
}