/* ===============================
   Global
================================ */
* {
    box-sizing: border-box;
}

.menu-toggle {
    display: none;
}


body {
    direction: rtl;
    margin: 0;
    font-family: "Tajawal", "Poppins", sans-serif;
    background: #f8f9fb;
    color: #222;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.grid {
    display: grid;
    /*gap: 30px;*/
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #c9a14a;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #b08d3d;
}

/* ===============================
   Header
================================ */
.site-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    /*position: sticky;
    top: 0;*/
    position: relative;
    z-index: 999;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*padding: 15px 0;*/
}


.logo {
    font-size: 24px;
    font-weight: 800;
    color: #c9a14a;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav li a {
    font-weight: 600;
    position: relative;
}

.main-nav li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a14a;
    transition: 0.3s;
}

.main-nav li a:hover::after {
    width: 100%;
}


/* ===============================
   Mobile Menu
================================ */

/* القائمة الجانبية (مخفية افتراضيًا) */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 30px 20px;
    transition: 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-menu {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    margin-bottom: 20px;
}


/*  تنسيق عناصر القائمة */

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 500;
}

/*  Overlay (الخلفية المعتمة) */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Media Query (جوال + تابلت) */

@media (max-width: 992px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
    }
}




/* ===============================
   Hero Section
================================ */
.hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero .content {
    width: auto;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    max-width: 700px;
    margin-bottom: 10px;
    margin-top: 0px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 15px;
}

/* ===============================
   Booking Form
================================ */
.booking-form {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.booking-form form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.booking-form input,
.booking-form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.booking-form button {
    background: #c9a14a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

/* ===============================
   Services
================================ */
/*.services {
    padding: 80px 0;
    background: #fff;
}*/

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.services p.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 20px;
}

.services .grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-box {
    background: #f8f9fb;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-box img {
    /*width: 70px;*/
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}


/* ===============================
   All Destinations Section
================================ */

.alldestinations {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
}
.alldestinations .content {
    grid-template-columns: 2fr 2fr;
}

.alldestinations .content .right {
    padding: 2%;
    
}

.alldestinations .content .left {
    padding: 3%;
}

.alldestinations .content img {
    max-height: 400px;
} 

.alldestinations .content .right h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: darkcyan;
}

.alldestinations .content .right h2 {
    margin-bottom: 30px;
}


/* ===============================
   Destinations
================================ */
/*.destinations {
    padding: 80px 0;
    background: #fff;
}*/

.destinations h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.destinations p.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 20px;
}

.destinations .grid {
    grid-template-columns: repeat(4, 1fr);
}

.destination-card {
    background: #f8f9fb;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.destination-card img {
    /*width: 70px;*/
    margin-bottom: 20px;
}

.destination-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}



/* ===============================
   Tours
================================ */
.tours {
    padding: 80px 0;
    display: none;
}

.tours .grid {
    grid-template-columns: repeat(3, 1fr);
}

.tour-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.tour-card:hover {
    transform: translateY(-8px);
}

.tour-card img {
    height: 220px;
    object-fit: cover;
}

.tour-card .content {
    padding: 20px;
}

.tour-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tour-card .price {
    color: #c9a14a;
    font-weight: 700;
}

/* ===============================
   About Section
================================ */
/*.about {
    background: #fff;
    padding: 80px 0;
}*/

.about .grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.about p {
    color: #555;
}


/* ===============================
   Why Us
================================ */
.why-us {
    background-color: #c9a14a;
    min-height: 400px;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    color: white;
    margin-top: 30px;
}
.why-us .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.why-us .content .section-content {
    background-color: #ebebec;
    border-radius: 30px;
    color: black;
    padding: 10px;
} 



/* ===============================
   Blog
================================ */
/*.blog {
    padding: 80px 0;
    background: #f8f9fb;
}*/

.blog .grid {
    grid-template-columns: 2fr 1fr 1fr;
}

.blog-intro {
    background: #c9a14a;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.blog-card img {
    height: 160px;
    object-fit: cover;
}

.blog-card .content {
    padding: 15px;
}

/* ===============================
   Testimonials
================================ */

.testimonials {
    display: none;
}


/* ===============================
   CTA
================================ */

.cta {
    margin-bottom: 50px;
    margin-top: 50px;
    min-height: 400px;
    padding: 20px;
    text-align: center;
}
.cta .content {
    grid-template-columns: 2fr 2fr;
    /*grid-template-columns: repeat(3, 1fr);*/
}
.cta .content img {
    min-width: 80%;
}
.cta .content h2 {
    font-size: 36px;
}
.cta .content p {
    margin-bottom: 20px;
}

/* ===============================
   Footer
================================ */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 60px 0 20px;
}

.site-footer .grid {
    grid-template-columns: repeat(3, 1fr);
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer a {
    color: #ccc;
}

.copy {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}



/* ===============================
   Single Page
================================ */
.single {
    background-image:url('https://worldexplorex.com/wp-content/uploads/2026/01/WorldExplorex-Thumb-01.webp');
    min-height: 400px;
    margin-bottom: 50px;
}

.grid-direction {
    grid-template-areas: "right left";
}

/*
.grid-direction .left  { grid-area: left; }
.grid-direction .right { grid-area: right; }

*/


/* ===============================
   Services Page
================================ */
.services-page .grid {
    grid-template-columns: repeat(2, 2fr);
}

.services-page .service-box img {
    display: inline-block;
}

/* ===============================
   Contact Page
================================ */
/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

/* Layout */
.contact-page {
    padding: 60px 0;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Info Box */
.contact-info {
    background: #f8f9fb;
    padding: 30px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    font-family: "Tajawal", "Poppins", sans-serif;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.contact-form button {
    font-family: "Tajawal", "Poppins", sans-serif;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Default (English - LTR) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Arabic - RTL */
html[dir="rtl"] .contact-grid {
    direction: rtl;
}

/* عكس الترتيب */
html[dir="rtl"] .contact-grid > *:first-child {
    order: 2;
}

html[dir="rtl"] .contact-grid > *:last-child {
    order: 1;
}


/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   Responsive
================================ */

@media (max-width: 992px) {
    .services .grid,
    .destinations .grid,
    .tours .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-form form {
        grid-template-columns: 1fr 1fr;
    }

    .blog .grid {
        grid-template-columns: 1fr;
    }
}

/* TABLET */
@media (max-width: 768px) {
    .services .grid,
    .destinations .grid,
    .why-us .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services .grid,
    .destinations .grid,
    .why-us .grid,
    .cta .grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }

    .tours .grid,
    .about .grid,
    .alldestinations .grid {
        grid-template-columns: 1fr;
    }

    .header-flex {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 768px) {

    .site-header {
        padding: 8px 0;
    }

    .header-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .logo {
        flex: 0 0 auto;
        font-size: 18px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .main-nav {
        position: relative;
    }

    /* أيقونة البرجر */
    .menu-toggle {
        display: block;
        font-size: 22px;
        cursor: pointer;
    }

    /* إخفاء القائمة */
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        width: 220px;
        box-shadow: 0 5px 20px rgba(0,0,0,.15);
        padding: 15px;
    }

    .main-nav.active ul {
        display: block;
    }
}

@media (max-width: 768px) {

    .header-flex {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    /* أيقونة القائمة (يسار) */
    .menu-toggle {
        justify-self: start;
        font-size: 22px;
        cursor: pointer;
    }

    /* اللوجو (وسط) */
    .logo {
        justify-self: center;
        text-align: center;
    }

    /* زر احجز الآن (يمين) */
    .book-btn {
        justify-self: end;
        padding: 6px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
}


