/* ===========================================
   ملف CSS الرئيسي الموحد
   دمج ملفات الهيدر والصفحة الرئيسية
   =========================================== */

/* المتغيرات الأساسية */
:root {
    /* الألوان الرئيسية */
    --primary: #d4af37; /* ذهبي مصري */
    --secondary: #1e6b52; /* أخضر نيل */
    --light: #f8f5e9;
    --dark: #2c3e50;
    --sand: #e6d2a9;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --gradient: linear-gradient(135deg, #d4af37 0%, #1e6b52 100%);
    --gradient-reverse: linear-gradient(135deg, #1e6b52 0%, #d4af37 100%);
    
    /* متغيرات الهيدر */
    --header-bg: rgba(255, 255, 255, 0.97);
    --header-scrolled-bg: rgba(255, 255, 255, 0.99);
    --header-height: 80px;
    --header-scrolled-height: 70px;
}

/* إعادة التعيين الأساسي */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   أنماط الهيدر
   =========================================== */

/* الهيدر الرئيسي */
.main-header {
    background-color: var(--header-bg);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    height: var(--header-height);
}

.main-header.header-scrolled {
    height: var(--header-scrolled-height);
    background-color: var(--header-scrolled-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
}

/* محتوى الهيدر */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    transition: var(--transition);
}

/* الشعار */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
    padding: 5px;
    border-radius: 12px;
    transition: var(--transition);
}

.logo:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.logo-icon {
    background: var(--gradient);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-reverse);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.logo:hover .logo-icon::before {
    opacity: 1;
}

.logo-icon i {
    transition: var(--transition);
}

.logo:hover .logo-icon i {
    transform: scale(1.1);
}

.logo-text h1 {
    font-size: 28px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: var(--transition);
}

.logo:hover .logo-text h1 {
    background: var(--gradient-reverse);
    -webkit-background-clip: text;
    background-clip: text;
}

.logo-text p {
    font-size: 13px;
    color: var(--secondary);
    margin-top: 2px;
    font-weight: 600;
    transition: var(--transition);
}

.logo:hover .logo-text p {
    color: var(--primary);
}

/* قائمة التنقل الأساسية */
.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 14px;
    transition: var(--transition);
    width: 20px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover i {
    transform: translateX(-3px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary);
}

/* زر الحجز في الهيدر */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(30, 107, 82, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-reverse);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.header-cta:hover::before {
    width: 100%;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 107, 82, 0.4);
}

.header-cta i {
    transition: var(--transition);
}

.header-cta:hover i {
    transform: translateX(5px);
}

/* زر القائمة للجوال */
.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 22px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* قائمة الجوال */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    border-right: 4px solid transparent;
}

.mobile-nav-item a:hover,
.mobile-nav-item a.active {
    background: var(--primary);
    color: white;
    border-right: 4px solid var(--secondary);
    transform: translateX(-5px);
}

.mobile-nav-item i {
    font-size: 18px;
    width: 24px;
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(30, 107, 82, 0.3);
}

.mobile-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 107, 82, 0.4);
}

/* ===========================================
   أنماط الصفحة الرئيسية
   =========================================== */

/* هيرو/بطل - معدل ليكون أقصر وإظهار الوحدات */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://static.hiamag.com/inline-images/%D8%AA%D8%AC%D8%A7%D8%B1%D8%A8%20%D9%85%D9%85%D8%AA%D8%B9%D8%A9%20%D9%84%D9%84%D8%AC%D9%85%D9%8A%D8%B9%20%D9%81%D9%8A%20%D9%88%D8%A7%D8%AC%D9%87%D8%A9%20%D8%B1%D9%88%D8%B4%D9%86%20%D8%A7%D9%84%D8%A8%D8%AD%D8%B1%D9%8A%D8%A9.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 20px 80px; /* تقليل الحشو */
    margin-bottom: 0;
    overflow: visible;
    height: 60vh; /* تقصير الارتفاع */
    min-height: 400px; /* ارتفاع أدنى */
    max-height: 500px; /* ارتفاع أقصى */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تأثير التدرج المعدل */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* تعتيم خلفي */
    z-index: 1;
}

/* تدرج سفلي لإظهار الوحدات */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* ارتفاع التدرج */
    background: linear-gradient(to top, var(--light) 20%, transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* فوق الطبقات */
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #d4af37, #f8f5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
    }
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #f0f0f0;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(30, 107, 82, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 4;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-reverse);
    transition: all 0.5s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 107, 82, 0.4);
}

.cta-button i {
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* مؤشر السحب لأسفل - معدل */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    text-align: center;
    color: white;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
    font-weight: 500;
}

.arrow-down {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.arrow-down:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.arrow-down i {
    font-size: 18px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(50%) translateY(0);
    }
    40% {
        transform: translateX(50%) translateY(-10px);
    }
    60% {
        transform: translateX(50%) translateY(-5px);
    }
}

/* قسم الوحدات الرئيسي - معدل ليكون ظاهراً */
.units-section {
    position: relative;
    margin-top: -40px; /* رفع القسم لأعلى */
    z-index: 10;
    padding: 60px 0 80px;
    background: var(--light);
}

/* عنصر جذب الانتباه لإظهار الوحدات */
.units-preview {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.units-preview h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.units-preview p {
    color: var(--dark);
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.preview-arrow {
    font-size: 24px;
    color: var(--primary);
    animation: floatArrow 2s ease-in-out infinite;
}

@keyframes floatArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* عنوان قسم الوحدات */
.section-title.units-title {
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
}

.section-title.units-title h2 {
    font-size: 36px;
    color: var(--dark);
    padding: 0 20px;
}

.section-title.units-title h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--gradient);
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

/* الأقسام */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 18px;
}

/* البطاقات */
.tours {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tour-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.tour-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-content h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
}

.tour-description {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.6;
}

.tour-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price-text {
    color: #777;
    font-size: 13px;
}

.price-amount {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tour-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--secondary);
    flex: 1;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    flex: 1;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* الخدمات */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
    height: 100%;
    opacity: 0.05;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
}

.service-item h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* تأثيرات */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: transform 0.8s;
}

.shine:hover::after {
    transform: translateX(100%) rotate(30deg);
}

/* رسالة عدم وجود وحدات */
.no-units-message {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 15px;
    margin-top: 20px;
}

.no-units-message i {
    font-size: 50px;
    color: #d4af37;
    margin-bottom: 15px;
}

.no-units-message h3 {
    color: #666;
    margin-bottom: 12px;
}

.no-units-message p {
    color: #888;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* معلومات الوحدة */
.unit-meta {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.unit-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.unit-meta i {
    color: var(--primary);
    font-size: 11px;
}

/* قسم استكشف درة العروس وجدة */
.explore-section {
    background: linear-gradient(135deg, #f8f5e9 0%, #e6d2a9 100%);
    border-radius: 15px;
    padding: 40px 30px;
    margin: 60px 0;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.explore-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.explore-content h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.explore-content p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* ===========================================
   Responsive للموبايل
   =========================================== */

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .tours {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .explore-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* تحسينات للموبايل */
    .hero {
        height: 55vh;
        min-height: 350px;
        max-height: 450px;
        padding: 80px 20px 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 30px;
    }
    
    .units-preview h3 {
        font-size: 28px;
    }
    
    .explore-section {
        padding: 35px 25px;
        margin: 50px 0;
    }
    
    .explore-content h2 {
        font-size: 24px;
    }
    
    /* زيادة تأثير التدرج للموبايل */
    .hero::after {
        height: 80px;
    }
    
    /* ضبط قسم الوحدات للموبايل */
    .units-section {
        margin-top: -30px;
        padding: 50px 0 60px;
    }
    
    .units-preview {
        bottom: -60px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 300px;
        max-height: 400px;
        padding: 70px 15px 50px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 28px;
        padding: 0 10px;
    }

    .hero p {
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .tours {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tour-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .explore-section {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .explore-content h2 {
        font-size: 22px;
    }
    
    .explore-content p {
        font-size: 15px;
        padding: 0 10px;
    }
    
    /* تحسينات للموبايل */
    .scroll-indicator {
        bottom: 25px;
    }
    
    .scroll-indicator span {
        font-size: 13px;
    }
    
    .arrow-down {
        width: 36px;
        height: 36px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    /* تحسين عرض قسم الوحدات */
    .units-section {
        margin-top: -20px;
        padding: 40px 0 50px;
    }
    
    .units-preview {
        bottom: -50px;
        padding: 0 15px;
    }
    
    .units-preview h3 {
        font-size: 24px;
    }
    
    .units-preview p {
        font-size: 14px;
    }
    
    .hero::after {
        height: 60px;
    }
    
    .section-title.units-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 45vh;
        min-height: 250px;
        max-height: 350px;
        padding: 60px 15px 40px;
    }
    
    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
        padding: 0 10px;
    }
    
    .section-title p {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .tour-card {
        margin: 0 5px;
    }
    
    .tour-badge {
        font-size: 12px;
        padding: 6px 12px;
        top: 15px;
        right: 15px;
    }
    
    .tour-content {
        padding: 15px;
    }
    
    .tour-content h3 {
        font-size: 18px;
    }
    
    .price-amount {
        font-size: 22px;
    }
    
    .explore-content h2 {
        font-size: 20px;
    }
    
    .explore-content p {
        font-size: 14px;
    }
    
    /* تحسينات نهائية للموبايل */
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator span {
        font-size: 12px;
    }
    
    .arrow-down {
        width: 32px;
        height: 32px;
    }
    
    .arrow-down i {
        font-size: 16px;
    }
    
    /* تحسين قسم الوحدات للشاشات الصغيرة */
    .units-section {
        margin-top: -15px;
        padding: 30px 0 40px;
    }
    
    .units-preview {
        bottom: -40px;
    }
    
    .units-preview h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .units-preview p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .preview-arrow {
        font-size: 20px;
    }
    
    .hero::after {
        height: 50px;
    }
    
    .section-title.units-title {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .section-title.units-title h2 {
        font-size: 24px;
    }
    
    /* تحسين الهيدر للجوال */
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .hero {
        height: 40vh;
        min-height: 220px;
        max-height: 300px;
        padding: 50px 10px 30px;
    }
    
    .hero h1 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .units-section {
        margin-top: -10px;
        padding: 25px 0 30px;
    }
    
    .units-preview {
        bottom: -30px;
    }
    
    .units-preview h3 {
        font-size: 20px;
    }
    
    .tour-content {
        padding: 12px;
    }
    
    .tour-buttons .btn-secondary,
    .tour-buttons .btn-outline {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
}

/* تحسينات إضافية للعرض على الموبايل */
@media (max-height: 600px) {
    .hero {
        height: 55vh;
    }
    
    .hero-content {
        padding-top: 10px;
    }
}

/* تحسين عرض الصورة الخلفية على الموبايل */
@media (max-width: 768px) and (orientation: portrait) {
    .hero {
        background-position: center 40%;
    }
}

/* تحسين للشاشات الصغيرة جداً */
@media (max-width: 320px) {
    .hero {
        min-height: 200px;
        max-height: 280px;
    }
    
    .units-preview h3 {
        font-size: 18px;
    }
    
    .section-title.units-title h2 {
        font-size: 22px;
    }
}