/*
Theme Name: جاهز للسفر والسياحة
Theme URI: https://jahez-travel.example
Author: Jahez Travel & Tourism
Description: ثيم ووردبريس عصري بصفحة واحدة لوكالة جاهز للسفر والسياحة، متوافق مع Elementor للتعديل اللاحق.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: jahez-travel
*/

:root{
    --navy: #0d2c6b;
    --navy-dark: #081b45;
    --green: #8bc53f;
    --green-dark: #6da62c;
    --ink: #1c2333;
    --muted: #5b6472;
    --bg: #ffffff;
    --bg-soft: #f5f8f3;
    --border: #e6e9ef;
    --shadow: 0 20px 45px -20px rgba(13, 44, 107, 0.25);
    --radius: 18px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
    margin: 0;
    font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

ul{ margin: 0; padding: 0; list-style: none; }

.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section{ padding: 96px 0; }
.section-soft{ background: var(--bg-soft); }

.eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
    background: rgba(139,197,63,.12);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-head{
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-head h2{
    font-size: clamp(28px, 4vw, 38px);
    color: var(--navy);
    margin: 0 0 14px;
    font-weight: 800;
}

.section-head p{ color: var(--muted); margin: 0; font-size: 17px; }

.btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-primary{
    background: var(--green);
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(139,197,63,.55);
}
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-2px); }

.btn-outline{
    background: transparent;
    border-color: rgba(255,255,255,.55);
    color: #fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.12); transform: translateY(-2px); }

.btn-outline-navy{
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}
.btn-outline-navy:hover{ background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header{
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease;
}
.site-header.scrolled{ box-shadow: 0 10px 30px -18px rgba(13,44,107,.4); }

.header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 24px;
}

.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ height: 52px; width: auto; }

.main-nav ul{ display: flex; align-items: center; gap: 34px; }
.main-nav a{
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    position: relative;
    padding: 6px 2px;
}
.main-nav a::after{
    content: "";
    position: absolute;
    right: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--green);
    transition: width .25s ease;
}
.main-nav a:hover::after{ width: 100%; }

.header-cta{ display: flex; align-items: center; gap: 14px; }
.header-cta .btn{ padding: 11px 22px; font-size: 14px; }

.nav-toggle{
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span{ width: 26px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero{
    position: relative;
    padding: 190px 0 120px;
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 65%, #061534 100%);
    color: #fff;
    overflow: hidden;
}
.hero::before{
    content: "";
    position: absolute;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(139,197,63,.35), transparent 70%);
    top: -220px; inset-inline-start: -160px;
    border-radius: 50%;
}
.hero::after{
    content: "";
    position: absolute;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(139,197,63,.18), transparent 70%);
    bottom: -220px; inset-inline-end: -120px;
    border-radius: 50%;
}
.hero-inner{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 50px;
}
.hero h1{
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 22px;
}
.hero h1 span{ color: var(--green); }
.hero p{
    font-size: 18px;
    color: rgba(255,255,255,.82);
    max-width: 560px;
    margin: 0 0 36px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; }

.hero-card{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    padding: 34px;
    backdrop-filter: blur(6px);
    text-align: center;
}
.hero-card img{ margin: 0 auto 18px; max-height: 130px; width: auto; }
.hero-card p{ color: rgba(255,255,255,.85); font-size: 15px; margin: 0; }

.hero-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}
.hero-badges span{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: #fff;
}
.hero-badges span::before{ content: "\2713"; color: var(--green); font-weight: 900; }

/* ---------- About ---------- */
.about-grid{
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.about-visual{
    background: var(--navy);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow);
}
.about-visual::before{
    content: "";
    position: absolute; inset: 14px;
    border: 1px dashed rgba(139,197,63,.5);
    border-radius: 16px;
}
.about-visual img{ position: relative; z-index: 1; max-width: 220px; }

.about-text h2{
    font-size: clamp(26px, 4vw, 34px);
    color: var(--navy);
    font-weight: 800;
    margin: 0 0 18px;
}
.about-text p{ color: var(--muted); font-size: 16px; margin: 0 0 18px; }

.about-points{ display: grid; gap: 14px; margin-top: 26px; }
.about-points li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
}
.about-points li .dot{
    flex: none;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(139,197,63,.15);
    color: var(--green-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
}

/* ---------- Services ---------- */
.services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card{
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-icon{
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--green), var(--navy));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.service-icon svg{ width: 28px; height: 28px; stroke: #fff; }
.service-card h3{ font-size: 19px; color: var(--navy); margin: 0 0 10px; font-weight: 800; }
.service-card p{ font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Why us ---------- */
.why-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card{
    text-align: center;
    padding: 34px 22px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
}
.why-card .num{
    width: 50px; height: 50px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.why-card h4{ color: var(--navy); font-size: 16px; margin: 0 0 8px; font-weight: 800; }
.why-card p{ font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.contact-card{
    background: var(--navy);
    color: #fff;
    border-radius: 24px;
    padding: 44px;
}
.contact-card h3{ font-size: 22px; margin: 0 0 26px; font-weight: 800; }
.contact-list{ display: grid; gap: 18px; margin-bottom: 30px; }
.contact-list li{
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 14.5px;
    color: rgba(255,255,255,.9);
}
.contact-list li strong{ display: block; color: var(--green); font-size: 13px; margin-bottom: 2px; }
.contact-list .icon{
    flex: none;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
}
.contact-list .icon svg{ width: 16px; height: 16px; stroke: var(--green); }
.contact-actions{ display: flex; flex-wrap: wrap; gap: 14px; }

.map-frame{
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 340px;
    box-shadow: var(--shadow);
}
.map-frame iframe{ width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer{
    background: var(--navy-dark);
    color: rgba(255,255,255,.75);
    padding: 60px 0 26px;
}
.footer-grid{
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img{ height: 46px; margin-bottom: 16px; }
.footer-brand p{ font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-col h5{ color: #fff; font-size: 15px; margin: 0 0 18px; font-weight: 800; }
.footer-col ul{ display: grid; gap: 12px; }
.footer-col a{ font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-col a:hover{ color: var(--green); }
.footer-bottom{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 22px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}

/* ---------- WhatsApp float ---------- */
.wa-float{
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 998;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 30px -10px rgba(37,211,102,.6);
    animation: wa-pulse 2.4s infinite;
}
.wa-float svg{ width: 28px; height: 28px; fill: #fff; }
@keyframes wa-pulse{
    0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px){
    .hero-inner{ grid-template-columns: 1fr; }
    .hero-card{ order: -1; max-width: 320px; margin: 0 auto; }
    .about-grid{ grid-template-columns: 1fr; }
    .services-grid{ grid-template-columns: repeat(2, 1fr); }
    .why-grid{ grid-template-columns: repeat(2, 1fr); }
    .contact-grid{ grid-template-columns: 1fr; }
    .footer-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
    .main-nav{
        position: fixed;
        top: 78px; right: 0; left: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 18px 24px 26px;
        transform: translateY(-140%);
        opacity: 0;
        transition: transform .25s ease, opacity .25s ease;
    }
    .main-nav.open{ transform: translateY(0); opacity: 1; }
    .main-nav ul{ flex-direction: column; align-items: flex-start; gap: 18px; }
    .header-cta .btn-outline-navy{ display: none; }
    .nav-toggle{ display: flex; }
    .services-grid{ grid-template-columns: 1fr; }
    .why-grid{ grid-template-columns: 1fr; }
    .section{ padding: 70px 0; }
    .hero{ padding: 150px 0 90px; }
}
