:root {
    --primary: #1a365d;
    --accent: #f6931e;
    --bg-light: #f9f9f9;
    --text-dark: #333;
    --success: #25d366;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #111;
        --text-dark: #eee;
        --primary: #1a365d;
    }
    body { background: #111; color: #eee; }
}

html, body { 
    height: 100%; 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

body { 
    background: var(--bg-light); 
    color: var(--text-dark); 
    font-family: 'Cairo', sans-serif; 
    line-height: 1.6; 
}

* { 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

/* ===== Animations ===== */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: 0.8s ease-out; 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 8%; 
    background: white; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000;
}

.logo { 
    font-size: 1.8rem; 
    font-weight: 900; 
    color: var(--primary); 
    text-decoration: none; 
}

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

.nav-links { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.nav-links li { 
    margin: 0 15px; 
}

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

.btn-cta { 
    background: var(--success); 
    color: white; 
    padding: 10px 22px; 
    border-radius: 50px; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none; 
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width:768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        width: 220px;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 30px;
        gap: 20px;
        transform: translateX(100%);
        transition: .3s;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-toggle {
        display: block;
    }
}

/* ===== HERO ===== */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(26,54,93,0.7), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=1470&auto=format&fit=crop') no-repeat center center/cover;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    padding-top: 80px;
}

.hero-badge { 
    background: var(--accent); 
    color: white; 
    padding: 5px 20px; 
    border-radius: 30px; 
    font-weight: 800; 
    font-size: 1rem; 
    margin-bottom: 20px; 
    display: inline-block; 
}

.hero h1 { 
    font-size: clamp(2.2rem, 6vw, 4rem); 
    margin: 10px 0; 
}

.hero p { 
    font-size: 1.4rem; 
    opacity: 0.9; 
    max-width: 700px; 
    margin: 0 auto; 
}

/* ===== STATS ===== */
.stats { 
    display: flex; 
    justify-content: space-around; 
    padding: 50px 10%; 
    background: var(--primary); 
    color: white; 
    text-align: center; 
    flex-wrap: wrap; 
}

.stat-item { 
    margin: 15px; 
    flex: 1; 
    min-width: 150px; 
}

.stat-item h3 { 
    font-size: 2.5rem; 
    color: var(--accent); 
    margin: 0; 
}

/* ===== PARTNERS / COMPANIES ===== */
.partners { 
    padding: 80px 10%; 
    background: #fff; 
    text-align: center; 
}

.partners h2 { 
    font-size: 2rem; 
    color: var(--primary); 
    margin-bottom: 40px; 
}

.partners p { 
    font-size: 1.1rem; 
    color: #666; 
    margin-bottom: 30px; 
}

.partners-scroll {
    display: flex; 
    gap: 30px; 
    overflow-x: auto; 
    scroll-behavior: smooth;
    padding: 20px 0 40px;
}

.partner-card {
    flex: 0 0 160px; 
    background: #fafafa; 
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08); 
    padding: 20px 15px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px;
    transition: .3s;
}

.partner-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0,0,0,.12); 
}

.partner-card img {
    width: 90px; 
    height: 90px; 
    object-fit: contain;
    filter: grayscale(100%); 
    transition: .3s;
}

.partner-card:hover img { 
    filter: grayscale(0%); 
}

.partner-card span { 
    font-weight: 700; 
    color: var(--primary); 
    text-align: center; 
}

/* سكرول أنيق */
.partners-scroll::-webkit-scrollbar { 
    height: 8px; 
}

.partners-scroll::-webkit-scrollbar-thumb { 
    background: var(--accent); 
    border-radius: 4px; 
}

/* ===== GALLERY ===== */
.gallery { 
    padding: 80px 10%; 
    text-align: center; 
}

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    margin-top: 40px; 
}

.gallery-item { 
    position: relative; 
    border-radius: 15px; 
    height: 350px; 
    overflow: hidden; 
    cursor: pointer; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.5s; 
}

.gallery-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(26, 54, 93, 0.9); 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    color: white; 
    padding: 20px;
    opacity: 0; 
    transition: 0.4s ease; 
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay,
.gallery-item.touch .gallery-overlay { 
    opacity: 1; 
    transform: translateY(0); 
}

.gallery-item:hover img { 
    transform: scale(1.1); 
}

.gallery-overlay h3 { 
    margin: 0 0 10px; 
    color: var(--accent); 
    font-weight: 800; 
}

/* ===== FAQ ===== */
.faq { 
    padding: 80px 10%; 
    background: white; 
}

.faq-container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.faq-item { 
    border-bottom: 1px solid #eee; 
    margin-bottom: 10px; 
}

.faq-btn { 
    width: 100%; 
    padding: 20px; 
    background: none; 
    border: none; 
    text-align: right; 
    font-size: 1.2rem; 
    font-weight: 800; 
    color: var(--primary); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-family: 'Cairo'; 
}

.faq-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: 0.3s ease-out; 
}

.faq-content p { 
    padding: 0 20px 20px; 
    color: #555; 
}

.faq-item.active .faq-content { 
    max-height: 200px; 
}

/* ===== BOOKING FORM ===== */
.booking-section { 
    padding: 80px 10%; 
    background: #edf2f7; 
}

.form-card { 
    max-width: 750px; 
    margin: 0 auto; 
    background: white; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); 
}

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 30px; 
}

.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.form-group.full { 
    grid-column: span 2; 
}

.form-group label { 
    font-weight: 700; 
    color: var(--primary); 
}

.form-group input, 
.form-group select, 
.form-group textarea { 
    padding: 12px; 
    border: 2px solid #e2e8f0; 
    border-radius: 10px; 
    font-family: 'Cairo'; 
    font-size: 1rem; 
    outline: none; 
    transition: 0.3s; 
}

.form-group input:focus { 
    border-color: var(--accent); 
}

.btn-submit { 
    width: 100%; 
    padding: 15px; 
    background: var(--success); 
    color: white; 
    border: none; 
    border-radius: 10px; 
    font-size: 1.2rem; 
    font-weight: 800; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    margin-top: 25px; 
    transition: 0.3s; 
}

.btn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.btn-submit:hover:not(:disabled) { 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); 
}

/* ===== ملاحظة التنويه ===== */
.price-note { 
    text-align: center; 
    font-size: 0.95rem; 
    color: #777; 
    margin-top: 15px; 
}

/* ===== MAP MODAL ===== */
.map-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.9); 
    z-index: 2000; 
    justify-content: center; 
    align-items: center; 
}

.modal-content { 
    position: relative; 
    width: 90%; 
    max-width: 900px; 
    height: 70vh; 
    background: #fff; 
    border-radius: 15px; 
    overflow: hidden; 
}

.close-modal { 
    position: absolute; 
    top: 15px; 
    left: 15px; 
    background: var(--accent); 
    color: white; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
    z-index: 2001; 
}

/* ===== FOOTER ===== */
footer { 
    background: #111; 
    color: white; 
    padding: 70px 10% 30px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
}

.footer-about h2 { 
    color: var(--accent); 
    margin-bottom: 15px; 
}

.footer-about p { 
    color: #eee; 
    font-size: 1.1rem; 
    line-height: 1.6; 
    margin: 5px 0; 
}

.footer-links h4 { 
    color: var(--accent); 
    margin-bottom: 15px; 
}

.footer-links a, 
.footer-links span { 
    color: #ccc; 
    text-decoration: none; 
    display: block; 
    margin: 10px 0; 
    transition: 0.3s; 
}

/* ===== SPLASH SCREEN ===== */
#splash {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeOut 0.8s ease-in-out 3s forwards;
}

#splash .logo-img {
    width: 280px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    display: block;
}

#splash .logo-text {
    color: white;
    font-family: 'Cairo', sans-serif;
    text-align: center;
    display: none;
}

#splash .logo-text h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 900;
}

#splash .logo-text h1 span { 
    color: #f6961e; 
}

#splash .logo-img:error + .logo-text,
#splash .logo-img:not([src]) + .logo-text {
    display: block;
}

.skip-splash {
    position: absolute;
    bottom: 40px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Cairo';
    font-size: 1rem;
    transition: 0.3s;
}

.skip-splash:hover { 
    background: rgba(255,255,255,0.3); 
}

@keyframes fadeOut {
    to { 
        opacity: 0; 
        visibility: hidden; 
        pointer-events: none; 
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-grid { 
        grid-template-columns: 1fr; 
    }
    .form-group.full { 
        grid-column: span 1; 
    }
}
