/* ================================================
   GOOGLE FONTS
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
    --gold:           #d4af37;
    --gold-light:     #e8cc6a;
    --gold-dim:       rgba(212, 175, 55, 0.12);
    --gold-glow:      rgba(212, 175, 55, 0.35);
    --bg:             #080808;
    --bg-2:           #0f0f0f;
    --bg-3:           #141414;
    --text:           #f0ece4;
    --text-muted:     #888;
    --nav-bg:         rgba(8, 8, 8, 0.96);
    --whatsapp:       #25d366;

    --font-display:   'Cormorant Garamond', serif;
    --font-body:      'Outfit', sans-serif;

    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-pill: 50px;

    --shadow-gold:  0 8px 30px rgba(212, 175, 55, 0.2);
    --shadow-dark:  0 20px 60px rgba(0,0,0,0.6);

    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

body.light-theme {
    --bg:         #f5f0e8;
    --bg-2:       #ece8df;
    --bg-3:       #e4dfd4;
    --text:       #1a1a1a;
    --text-muted: #666;
    --nav-bg:     rgba(245, 240, 232, 0.97);
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.5s, color 0.5s;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ================================================
   LOADER
   ================================================ */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
}
.loader-logo span { color: var(--gold); }

.loader-bar {
    width: 160px;
    height: 2px;
    background: #222;
    margin-top: 14px;
    overflow: hidden;
    position: relative;
}
.loader-bar::after {
    content: '';
    position: absolute;
    inset-block: 0;
    left: -100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: loading 1.4s ease-in-out infinite;
}
@keyframes loading { to { left: 100%; } }

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 9999;
    padding: 12px 5%;
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(20px);
    transition: transform 0.4s ease, background 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
}
.logo span { color: var(--gold); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 28px;
}
.nav-menu a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--transition);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }

.icon-btn, .lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--gold-dim);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-pill);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.icon-btn:hover, .lang-btn:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
#theme-toggle i { transition: transform 0.5s; }

.menu-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--gold);
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    line-height: 1;
}

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100svh; /* svh بدل vh — بيحل مشكلة الـ mobile browser bars */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.65) 60%,
        rgba(0,0,0,0.9) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 800px;
    width: 100%;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-content p {
    font-size: clamp(0.8rem, 3vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 36px;
    opacity: 0.85;
    text-transform: uppercase;
}

.book-now-btn {
    display: inline-block;
    padding: 16px 44px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}
.book-now-btn:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.2);
}

/* ================================================
   SECTION SHARED
   ================================================ */
section {
    padding: 100px 5%;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: 2px;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}

/* ================================================
   ABOUT
   ================================================ */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.about-text h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1rem;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.about-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.about-features i { color: var(--gold); }

.about-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-img::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--gold), transparent 60%);
    z-index: 0;
}
.about-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    filter: brightness(0.85);
    transition: var(--transition-slow);
}
.about-img:hover img {
    filter: brightness(1);
    transform: scale(1.03);
}

/* ================================================
   SERVICES
   ================================================ */
.services-section {
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.06), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-gold);
}

.service-card i {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 22px;
    display: block;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================================================
   FLEET / SLIDER
   ================================================ */
.fleet-section {
    background: var(--bg);
    padding-bottom: 120px;
}

.slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-dark);
    touch-action: pan-y;
}

.slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.slide {
    position: relative;
    min-width: 100%;
    overflow: hidden;
}
.slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    filter: brightness(0.65) contrast(1.1);
    transition: filter 0.6s, transform 0.6s;
    display: block;
}
.slide:hover img {
    filter: brightness(0.85) contrast(1.1);
    transform: scale(1.04);
}
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
    z-index: 1;
}

.slide-caption {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    width: 90%;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.s-btn:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}
.s-btn.prev { left: 20px; }
.s-btn.next { right: 20px; }

/* ================================================
   CONTACT FOOTER
   ================================================ */
.contact-footer {
    background: var(--bg-2);
    padding-top: 100px;
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.contact-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.contact-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
}
.contact-header p {
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.c-card {
    background: var(--bg-3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-slow);
    color: var(--text);
    display: block;
}
.c-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-gold);
}

/* c-card-link = كارت كله clickable */
.c-card-link {
    cursor: pointer;
    text-decoration: none;
}

.c-icon {
    width: 60px; height: 60px;
    background: var(--gold-dim);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.c-icon i { font-size: 1.4rem; color: var(--gold); }
.c-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.c-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Contact links داخل الكارد */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
    text-decoration: none;
}
.contact-link:hover { color: var(--gold); }
.whatsapp-link:hover { color: var(--whatsapp); }

/* ================================================
   MAP
   ================================================ */
.map-section {
    max-width: 1100px;
    margin: 0 auto 0;
    padding: 0 5%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.map-section iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: var(--radius-lg);
    filter: grayscale(30%) contrast(1.1);
}

/* ================================================
   FOOTER MEGA
   ================================================ */
.footer-mega {
    background: var(--bg);
    margin-top: 80px;
    padding: 80px 5% 0;
    border-top: 1px solid rgba(212,175,55,0.15);
}

.footer-grid-mega {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.footer-col .logo {
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.footer-col > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 40px; height: 40px;
    background: var(--gold-dim);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 1px;
    background: var(--gold);
}

.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a,
.footer-col ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
    cursor: pointer;
}
.footer-col ul li a:hover,
.footer-col ul li:hover { color: var(--gold); }

.final-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}
.final-bar p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 99999;
    width: 58px; height: 58px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
[class*="reveal-"] {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.17,0.85,0.32,1.2),
                transform 1.2s cubic-bezier(0.17,0.85,0.32,1.2);
}
.reveal-up   { transform: translateY(60px); }
.reveal-zoom { transform: scale(0.92); }
.active {
    opacity: 1;
    transform: none;
}

/* ================================================
   RESPONSIVE — 1024px
   ================================================ */
@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-img img { height: 360px; }

    .footer-grid-mega {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================
   RESPONSIVE — 768px (Tablet / Mobile)
   ================================================ */
@media (max-width: 768px) {
    section { padding: 70px 5%; }

    /* Navbar */
    .menu-toggle { display: block; }

    /* Hide lang label on small screens to save space */
    .lang-btn span { display: none; }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        padding: 20px 0;
        background: var(--nav-bg);
        border-bottom: 1px solid rgba(212,175,55,0.3);
        text-align: center;
        gap: 0;
    }
    .nav-menu li { padding: 14px 0; }
    .nav-menu.active { display: flex; }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact cards */
    .contact-cards-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid-mega {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Slider */
    .slide img { height: 300px; }
    .slide-caption { font-size: 1.1rem; bottom: 28px; }

    /* Hero */
    .hero-content h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .hero-content p  { font-size: 0.75rem; letter-spacing: 1.5px; }
    .book-now-btn    { padding: 14px 32px; font-size: 0.8rem; }

    /* Map */
    .map-section iframe { height: 260px; }

    /* About */
    .about-split { padding: 0; }
    .about-img img { height: 280px; }
}

/* ================================================
   RESPONSIVE — 480px (Small Mobile)
   ================================================ */
@media (max-width: 480px) {
    .s-btn { width: 38px; height: 38px; font-size: 0.9rem; }
    .book-now-btn { padding: 13px 28px; }

    /* Loader text size */
    .loader-logo { font-size: 1.6rem; letter-spacing: 2px; }

    /* Logo */
    .logo { font-size: 1.3rem; letter-spacing: 2px; }

    /* Contact cards: أقل padding على الموبايل */
    .c-card { padding: 28px 20px; }

    /* Hero */
    .hero-content { padding: 0 16px; }
    .hero-content h1 { letter-spacing: 1px; }

    /* Section title */
    .section-title { margin-bottom: 40px; }

    /* Footer final bar */
    .final-bar p { font-size: 0.7rem; }

    /* Slide caption */
    .slide-caption { font-size: 0.95rem; letter-spacing: 1px; bottom: 20px; }
}