/* --- Fonts & Paths --- */
@font-face {
font-family: 'Felix';
/* Adjustment 1: Path changed to work from within the css folder in XAMPP */
src: url('../fonts/FelixTitling.ttf');
font-style: normal;
font-weight: normal;
}

:root {
--primary-dark: #1a1a1a;
--gold: #D4AF37;
--olive-dark: #6B6331;
--olive-light: #8B834F;
--cream-bg: #EAE3AA;
--white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: 'Felix', sans-serif; color: var(--primary-dark); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; width: 100%; }

h1, h2, h3, h4, 
h1 *, h2 *, h3 *, h4 * {
font-family: 'Felix', serif !important;text-transform: uppercase; 
letter-spacing: 2px;
font-weight: normal;
}

/* Adjustment 2: Unify fonts for all texts and paragraphs (Desktop & Mobile) */
p, span, li, a, label, input, textarea, .iti-content p {
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-size: 1.1rem !important;
    text-transform: none !important;
}

img { max-width: 100%; height: auto; }

/* --- LAZY LOADING CSS --- */
/* 1. Placeholder Background */
.swiper-slide, .overview-images, .icon-item {
position: relative;
}

/* 2. Image Initial State (Hidden) */
img[loading="lazy"] {
opacity: 0;
transition: opacity 0.8s ease-in-out; /* Smooth Fade-in */
}

/* 3. Image Loaded State (Visible) */
img.loaded {
opacity: 1;
}
/* --- END LAZY LOADING CSS --- */

/* Navigation */
.nav-container { position: fixed; top: 25px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 1100px; z-index: 1000; transition: top 0.3s; }
nav { background: rgba(255, 255, 255, 0.98); padding: 10px 40px; border-radius: 100px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 1px solid var(--gold); }

/* Logo Style */
.logo { display: flex; align-items: center; }
.logo img { max-height: 90px; width: auto; object-fit: contain; }

.nav-contact {
font-family: 'Open Sans', sans-serif;
font-size: 0.95rem;
color: var(--olive-dark);
display: flex;
align-items: center;
gap: 15px;
}
.nav-btn, .booking-btn {
background: var(--gold);
color: white;
border: none;
padding: 12px 30px;
border-radius: 50px;
cursor: pointer;
transition: 0.3s;
font-family: inherit;
font-size: 0.95rem;
white-space: nowrap;
}
.booking-btn {
margin-top: 20px;
display: inline-block;
font-size: 1rem;
padding: 15px 35px;
}

/* Mobile Only Button in Hero */
.mobile-hero-btn {
display: none; /* Hidden on Desktop */
background: var(--gold);
color: white;
border: none;
padding: 15px 0;
width: 100%;
border-radius: 50px;
font-size: 1.1rem;
margin: 26px 0 26px;
cursor: pointer;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero { position: relative; min-height: 100vh; padding: 120px 0 80px; display: flex; align-items: center; background: var(--primary-dark); color: var(--white); overflow: hidden; }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2; }
.hero .container { position: relative; z-index: 3; }
.hero-flex { margin-top: 40px; display: flex; gap: 50px; align-items: center; }
.hero-text { flex: 1; }
.hero-text h1 { font-family: 'Felix', serif; font-size: 6.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: normal; text-align:center; }
.hero-subtitle {
     font-size: 25px !important; /* تكبير الجملة الثانية */
    font-family: 'Felix', serif;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    color: var(--gold);
    text-align: center;

}

/* تنسيق الجملة الثانية (السفلية) */
.hero-description {
    font-size: 25px !important; /* تكبير الجملة الثانية */
    font-family: 'Felix', serif;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    color: var(--gold);
    text-align: center;
}
/* Adjustment 3: Adjust Video Box to support YouTube Iframe */
.video-box { 
    flex: 1.4; 
    height: 420px; 
    background: #000; 
    border: 1px solid var(--gold); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
    overflow: hidden; 
    border-radius: 10px; 
    width: 100%; 
}
.video-box iframe { width: 100%; height: 100%; border: none; }

/* Adjustment 4: Permanently hide video controls */
.video-controls-bottom {
display: none !important;
}

/* Icons Section */
.icons-section { background: #e6dbc1; padding: 60px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.icons-grid { display: flex; justify-content: space-around; align-items: center; text-align: center; gap: 30px; flex-wrap: wrap; }
.icon-item { flex: 1; min-width: 200px; }
.icon-item img { height: 140px; margin-bottom: 20px; filter: sepia(0.5) saturate(2); }
.icon-item p { font-family: 'Open Sans', sans-serif; color: var(--olive-dark); font-size: 1.2rem; }

/* Overview Section */
.overview { padding: 100px 0; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.overview-text h2 { font-size: 3.2rem; margin-bottom: 20px; color: var(--olive-dark); }
.overview-text p { font-family: 'Open Sans', sans-serif; font-size: 1.15rem; color: #555; }
.overview-images { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 15px; }
.overview-images img.tall { grid-row: span 2; height: 100%; }
.overview-images img { width: 100%; height: 220px; object-fit: cover; border-radius: 30px; border: 2px solid var(--cream-bg); }

/* Itinerary Section */
.itinerary { background: #e6dbc1; padding: 100px 0; }
.iti-card {
display: flex;
background: white;
margin-bottom: 50px;
height: 500px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0,0,0,0.05);
flex-direction: row;
}
.iti-card.rev { flex-direction: row-reverse; }
.iti-content {
width: 50%;
padding: 50px;
overflow-y: auto;
font-family: 'Open Sans', sans-serif;
}
.iti-content::-webkit-scrollbar { width: 5px; }
.iti-content::-webkit-scrollbar-thumb { background: var(--gold); }
.iti-img { width: 50%; position: relative; cursor: pointer; }
.iti-img .swiper { width: 100%; height: 100%; }
.iti-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iti-img h3 {
font-size: 3.5rem;
z-index: 10;
text-shadow: 0 2px 8px rgba(0,0,0,0.7);
position: absolute;
bottom: 40px;
left: 0;
width: 100%;
text-align: center;
color: white;
}
.swiper-pagination { bottom: 20px; z-index: 10; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.5); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--gold); }
.itinerary .caption {
text-align: center;
font-family: 'Open Sans', sans-serif;
font-size: 0.95rem;
color: var(--olive-dark);
margin-bottom: 50px;
padding: 0 10px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: transparent;
    overflow: hidden;
}
.about-title {
font-family: 'Felix', serif !important;text-transform: uppercase; 
text-align: left;
font-size: 3.2rem;
color: var(--olive-dark);
margin-bottom: 20px;
text-transform: uppercase;
position: relative;
}
.about-text-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
.about-text-column {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.license-heading {
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-left: 3px solid #c5a059;
    padding-left: 10px;
}
.about-icons-row {
            display: flex;
            justify-content: space-around;
            align-items: flex-start;
            margin-top: 40px;
            text-align: center;
        }
.about-icons-row .icon-item {
    text-align: center;
}
.about-icons-row .icon-item img {
    width: 129px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.about-icons-row .icon-item img:hover {
    transform: translateY(-5px);
}
.about-icons-row .icon-item p {
    color: #c5a059;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pricing Section */
.price-section {
background: #938136;
color: white;
padding: 100px 0;
position: relative;
overflow: hidden;
}
.price-section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://images.unsplash.com/photo-1520257328559-427317b24a1f?w=1200&h=800&fit=crop');
background-size: cover;
background-position: center;
opacity: 0.1;
z-index: 0;
}
.price-container {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 50px;
position: relative;
z-index: 1;
}
.price-tag h2 { font-size: 5.5rem; color: #ffffff; }
.list-box h1 {
margin: 42px 0 15px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 5px;
}
.list-box p { font-family: 'Open Sans', sans-serif; font-size: 1.2rem; }

/* Inquire Section */
.inquire { padding: 100px 0; }
.form-card {
background: #e6dbc1;
padding: 80px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
border-radius: 40px;
}
input, textarea {
width: 100%;
padding: 20px;
margin-bottom: 20px;
border: none;
border-radius: 10px;
font-family: inherit;
background: white;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.submit-btn {
background: var(--primary-dark);
color: white;
border: none;
padding: 20px;
width: 100%;
border-radius: 10px;
cursor: pointer;
font-size: 1.1rem;
}

/* Modal and Footer */
.booking-modal {
    max-width: 850px !important;
    width: 95% !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    color: #D4AF37;
    padding-top: 46px;
    text-align: center;
}

.full-content-scroll {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
    text-align: left;
    line-height: 1.6;
}

.detail-section h3, .legal-full-text h3 {
    font-family: 'Felix', serif !important;
    font-weight: bold;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
    margin-top: 25px;
    font-size: 1.2rem;
}

.clean-list, .clean-list-x, .terms-bullets {
    list-style: none;
    padding-left: 0;
    padding-top: 19px;
}

.clean-list li::before { content: "✔ "; color: green; margin-right: 10px; }
.clean-list-x li::before { content: "✖ "; color: red; margin-right: 10px; }
.terms-bullets li { margin-bottom: 5px; padding-left: 15px; border-left: 2px solid var(--gold); }

.legal-full-text p {
    padding-top: 19px;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 15px;
}

.modal-footer {
    padding: 15px;
    background: #f4f4f4;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Footer & Overlay */
footer { background: var(--primary-dark); color: white; text-align: center; padding: 20px 10px; font-family: 'Open Sans', sans-serif; font-size: 0.85rem; }
.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; justify-content: center; align-items: center; }
.overlay-content { background: white; color: var(--primary-dark); padding: 40px; border-radius: 20px; max-width: 750px; width: 90%; position: relative; max-height: 80vh; overflow-y: auto; }
.overlay h2 { margin-bottom: 20px; color: var(--olive-dark); }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: var(--gold); }

/* ---------------------------
RESPONSIVE / MOBILE STYLES
--------------------------- */

@media (max-width: 900px) {
/* Navbar Changes */
.nav-container { width: 100%; top: 0; border-radius: 0; }
nav { 
border-radius: 0; 
border: none; 
border-bottom: 1px solid var(--gold); 
justify-content: center;
padding: 10px 20px; 
}
.logo img { max-height: 86px; }
.nav-contact, .nav-btn { display: none; }

/* Global Layout */
.hero-flex, .overview-grid, .price-container, .form-card {
display: flex;
flex-direction: column;
gap: 0;
}

/* Hero Section */
.hero .container {
margin: 67px 0 0 0;
position: relative;
z-index: 3;
}
.hero { padding-top: 100px; text-align: center; }
.hero-text h1 { font-size: 3.5rem; }
.video-box { width: 100%; height: 300px; margin-top: 20px; }

/* Show Mobile Button */
.mobile-hero-btn { display: block; }

/* Icons */
.icons-grid { flex-direction: column; gap: 40px; }
.icon-item { width: 100%; }

/* Overview Images */
.overview-images {
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
gap: 15px;
}
.overview-images img.tall {
margin: 30px 0 0 0;
grid-column: span 2; 
grid-row: auto;
height: 250px;
width: 100%;
}
.overview-images img {
height: 200px; 
}

/* Headings */
.overview-text h2, .about h2 { font-size: 2.5rem; }
.price-tag h2 { font-size: 3.5rem; }

/* Itinerary */
.iti-card, .iti-card.rev {
flex-direction: column-reverse; 
height: auto;
max-height: none;
}

.iti-img { height: 300px; width: 100%; }
.iti-content { 
width: 100%; 
padding: 30px 20px;            
height: 350px; 
overflow-y: auto;   
border-top: 1px solid var(--gold); /* Aesthetic line separating text from image */
}

.iti-img h3 { bottom: 20px; font-size: 2.2rem; }

/* Adjustment: Unify font size for mobile */
p, span, li, .iti-content p { font-size: 1rem !important; }

.form-card { padding: 40px 20px; border-radius: 20px; }
}

@media (max-width: 600px) {
/* Further Text Adjustments for Mobile */
.hero-text h1 { font-size: 3.8rem; } /* Scaled down from 4.8rem to fit better */
.hero-text p { font-size: 1rem; }
.hero-description{
        font-size: 21px  !important;
    font-family: 'Felix', serif;
}

.hero-subtitle {
    font-size: 22px !important;
    margin-bottom: 16px;
}
.overview-text h2, .about h2, h2 { font-size: 3.5rem; }
.overview-text p { font-size: 1rem; }

.video-box { height: 220px; }

.price-tag h2 {         font-weight: bold;
font-size: 4.8rem; }
.iti-img h3 { font-size: 1.8rem; }
.icon-item p { font-size: 1.1rem; }

input, textarea { padding: 15px; }
}

/* Library Styling */
.iti { width: 100%; margin-bottom: 10px; } 
.iti__flag-container { z-index: 10; }
.iti__country-name { color: #000; }

label {
    display: block;
    text-align: left;
    margin-bottom: 2px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.required-star {
    color: red;
    margin-left: 3px;
}

.form-card form {
    text-align: left;
}
.whatsapp-rect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* لون أخضر واتساب */
    color: white !important;
    padding: 15px 35px;
    text-decoration: none;
    font-family: 'Felix', serif;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px; /* شكل مستطيل */
    border: 2px solid #25D366;
    transition: all 0.3s ease;
}

.whatsapp-rect-btn:hover {
    background-color: transparent;
    color: #25D366 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* تعديل لون الصور في الهوفر ليناسب الخلفية الشفافة */
.whatsapp-rect-btn:hover img {
    filter: brightness(1) saturate(100%);
}
@media (max-width: 768px) {
            .about-text-grid {
                grid-template-columns: 1fr; /* جعل النصوص تحت بعضها */
                gap: 20px;
            }
            .about-icons-row {
                flex-direction: column; /* جعل الأيقونات تحت بعضها */
                align-items: center;
                gap: 30px;
            }
            .about-title {
                text-align: center; /* توسيط العنوان في الموبايل */
            }
            .icon-item {
                width: 100%;
            }
        }