@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --gold: #c5a059;
    --gold-dark: #a8874a;
    --navy: #0f172a;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--navy);
    overflow-x: hidden;
}


.main-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

/* 3. تصميم أرقام الخطوات (Stepper) */
.stepper {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: -50px auto 40px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    z-index: 100;
}

.step { flex: 1; text-align: center; opacity: 0.3; transition: 0.4s; position: relative; }
.step.active { opacity: 1; }
.step span {
    display: block; width: 40px; height: 40px; line-height: 40px;
    border: 2px solid var(--gold); border-radius: 50%;
    margin: 0 auto 10px; font-weight: bold; font-size: 18px;
}
.step.active span { background: var(--gold); color: white; box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }
.step p { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* 4. تصميم الخانات والزراير */
.booking-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }
.booking-section {
    display: none; background: white; padding: 40px;
    border-radius: 25px; box-shadow: var(--shadow);
}
.booking-section.active { display: block !important; animation: slideUp 0.5s ease; }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* خانات التاريخ والبيانات */
input[type="date"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    width: 100%; padding: 16px; border: 1.5px solid #e2e8f0;
    border-radius: 12px; font-size: 15px; background: #fcfcfc;
    transition: 0.3s; margin-top: 8px;
}
input:focus { border-color: var(--gold); outline: none; background: white; box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1); }

/* أزرار الإجراءات */
.btn-next, #final-book-btn {
    background: var(--navy) !important; color: white !important;
    padding: 16px 45px; border-radius: 50px; border: none;
    font-weight: 600; cursor: pointer; transition: 0.3s; text-transform: uppercase;
}
.btn-next:hover { background: var(--gold) !important; transform: translateY(-3px); }
.btn-back { background: transparent; border: 1px solid #cbd5e1; padding: 16px 40px; border-radius: 50px; cursor: pointer; }

/* 5. الكاروسيل (Carousel) - تعديل الموبايل */
.rooms-carousel {
    display: flex; gap: 20px; overflow-x: auto; padding: 20px 0;
    scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rooms-carousel::-webkit-scrollbar { display: none; }

.room-card {
    min-width: 320px; background: white; border-radius: 20px;
    border: 1px solid #eee; overflow: hidden; scroll-snap-align: center;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .room-card { min-width: 280px; transform: scale(0.95); } /* تصغير الكارت ف الموبايل */
    .stepper { margin: -40px 10px 30px; padding: 15px 5px; }
    .step p { font-size: 10px; }
}

.selection-area { padding: 20px; background: #fafafa; border-top: 1px solid #eee; }

/* زرار السلكت الذكي */
.btn-select {
    width: 100%; padding: 12px; border-radius: 10px; border: 2px solid #eee;
    background: white; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-select.selected { background: #10b981; color: white; border-color: #10b981; }

/* زرار تزويد الغرف */
.qty-stepper {
    display: flex; align-items: center; justify-content: space-between;
    background: #f1f5f9; padding: 10px 15px; border-radius: 50px; margin-bottom: 15px;
}
.qty-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--navy); }

/* زرار التبديل (Switch) */
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.slider.round { border-radius: 34px; background-color: #cbd5e1; }
input:checked + .slider { background-color: var(--gold); }

/* 6. الخطوة رقم 4 (الماليات) */
.confirmation-container { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.summary-card, .payment-options {
    flex: 1; min-width: 320px; background: #fff;
    padding: 30px; border-radius: 20px; border: 1px solid #f1f5f9;
}
.price-row {
    display: flex; justify-content: space-between; padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0; font-size: 16px;
}
.price-row.deposit { color: #e11d48; font-weight: bold; font-size: 18px; border: none; }

/* المربع المنبثق (Modal) */
.modal {
    display: none; position: fixed; z-index: 10000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
}
.modal-content {
    background: white; margin: 10% auto; padding: 40px;
    border-radius: 25px; width: 90%; max-width: 500px; text-align: center;
}

/* 1. الخطوط والأساسيات */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --gold: #c5a059;
    --navy: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: var(--light-bg); color: var(--navy); }

/* 2. الهيدر بصورة خلفية */
.main-header {
    background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)), url('images/hotel-bg.jpg'); /* صورتك هنا */
    background-size: cover; background-position: center;
    padding: 80px 20px; text-align: center; color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}
.main-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gold); letter-spacing: 3px; }

/* 3. تصميم شريط الخطوات (Stepper) */
.stepper {
    display: flex; justify-content: space-between; max-width: 800px;
    margin: -40px auto 40px; background: white; padding: 20px;
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step { flex: 1; text-align: center; opacity: 0.3; transition: 0.4s; }
.step.active { opacity: 1; }
.step span {
    display: block; width: 35px; height: 35px; line-height: 35px;
    border: 2px solid var(--gold); border-radius: 50%; margin: 0 auto 5px;
    font-weight: bold; font-size: 16px;
}
.step.active span { background: var(--gold); color: white; box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }
.step p { font-size: 11px; font-weight: 600; text-transform: uppercase; }

/* 4. الخانات والمدخلات (عصري جداً) */
.booking-section { display: none; background: white; padding: 40px; border-radius: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); max-width: 1000px; margin: 0 auto; }
.booking-section.active { display: block !important; animation: fadeInUp 0.5s ease; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.date-picker-row, .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; color: var(--navy); text-transform: uppercase; }

input[type="date"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    width: 100%; padding: 15px; border: 1.5px solid var(--border); border-radius: 12px;
    background: #fcfcfc; transition: 0.3s; font-family: inherit;
}
input:focus { border-color: var(--gold); outline: none; background: white; box-shadow: 0 0 0 4px rgba(197,160,89,0.1); }

/* 5. الكاروسيل والغرف (إصلاح الصور والأبعاد) */
.carousel-container { padding: 20px 0; overflow-x: auto; scrollbar-width: none; }
.rooms-carousel { display: flex; gap: 20px; }

.room-card {
    min-width: 320px; max-width: 320px; background: white; border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden; transition: 0.4s;
}
.room-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.room-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border); }
.room-info { padding: 20px; }
.room-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 10px; }
.price-tag { color: var(--gold); font-weight: bold; font-size: 1.1rem; display: block; margin-bottom: 15px; }

/* زرار السلكت الذكي */
.btn-select {
    width: 100%; padding: 12px; border-radius: 10px; border: 2px solid var(--border);
    background: white; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.room-card.selected { border: 2px solid var(--gold); background: #fffdf9; }
.room-card.selected .btn-select { background: #10b981; color: white; border-color: #10b981; }

/* كبسولة الكمية */
.qty-stepper {
    display: flex; align-items: center; justify-content: space-between;
    background: #f1f5f9; padding: 8px 15px; border-radius: 50px; margin-bottom: 15px;
}
.qty-btn { background: none; border: none; font-size: 18px; cursor: pointer; font-weight: bold; }

/* 6. الأزرار (إصلاح مشكلة الالتصاق) */
.actions { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }

.btn-next, #final-book-btn {
    background: var(--navy) !important; color: white !important;
    padding: 15px 40px; border-radius: 50px; border: none;
    font-weight: 600; text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.btn-next:hover { background: var(--gold) !important; transform: scale(1.05); }

.btn-back {
    background: white; border: 1.5px solid var(--navy); color: var(--navy);
    padding: 15px 40px; border-radius: 50px; font-weight: 600; cursor: pointer;
}

/* 7. تنظيم الخطوة 4 (Summary & Payment) */
.confirmation-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.summary-card, .payment-options { padding: 25px; border-radius: 20px; border: 1px solid var(--border); background: #fafafa; }
.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #ddd; }
.price-row.deposit { color: #e11d48; font-weight: bold; font-size: 1.1rem; border: none; }

/* 8. تصميم الموبايل (Responsive) */
@media (max-width: 768px) {
    .date-picker-row, .form-row, .confirmation-container { grid-template-columns: 1fr; }
    .room-card { min-width: 270px; } /* تصغير الكارت ف الموبايل عشان العميل يشوف اللي بعده */
    .actions { flex-direction: column-reverse; gap: 15px; }
    .btn-next, .btn-back { width: 100%; }
    .stepper { margin: -30px 10px 30px; padding: 10px; }
    .step p { display: none; } /* إخفاء النص الصغير ف الموبايل */
}

/* سحب الأرباح (Track Box) */
.track-booking-box { text-align: center; }
.track-booking-box input { border-radius: 10px 0 0 10px !important; }
.track-booking-box button { border-radius: 0 10px 10px 0 !important; }

/* --- 1. أساسيات وتنسيق الخطوط --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --gold: #c5a059;
    --navy: #0f172a;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: var(--bg-light); color: var(--navy); }

/* --- 2. هيدر ملكي بخلفية --- */
.main-header {
    background: linear-gradient(rgba(15,23,42,0.75), rgba(15,23,42,0.75)), url('images/hotel-bg.jpg'); /* صورتك هنا */
    background-size: cover; background-position: center;
    padding: 80px 20px; text-align: center; color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}
.main-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 3rem); color: var(--gold); letter-spacing: 3px; }

/* --- 3. تصميم شريط الخطوات (Stepper) --- */
.stepper {
    display: flex; justify-content: space-around; max-width: 800px;
    margin: -40px auto 30px; background: white; padding: 20px;
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step { flex: 1; text-align: center; opacity: 0.25; transition: 0.4s; }
.step.active { opacity: 1; color: var(--gold); }
.step span {
    display: block; width: 35px; height: 35px; line-height: 35px;
    border: 2px solid var(--gold); border-radius: 50%; margin: 0 auto 5px;
    font-weight: bold; font-size: 16px;
}
.step.active span { background: var(--gold); color: white; box-shadow: 0 0 12px rgba(197, 160, 89, 0.4); }
.step p { font-size: 11px; font-weight: 600; text-transform: uppercase; }

/* --- 4. الأقسام والخانات (عصري وشيك) --- */
.booking-section { display: none; background: white; padding: clamp(20px, 5vw, 40px); border-radius: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); max-width: 1000px; margin: 0 auto; }
.booking-section.active { display: block !important; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; color: var(--navy); text-transform: uppercase; }

input, select, textarea {
    width: 100% !important; padding: 15px !important; border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important; background: #fcfcfc !important; transition: 0.3s !important;
}
input:focus, select:focus { border-color: var(--gold) !important; outline: none; background: white !important; }

/* --- 5. الكاروسيل والغرف (إصلاح الموبايل) --- */
.carousel-container { padding: 20px 0; overflow-x: auto; scrollbar-width: none; }
.rooms-carousel { display: flex; gap: 20px; padding: 0 5px; }

.room-card {
    min-width: 320px; max-width: 320px; background: white; border: 1px solid #edf2f7;
    border-radius: 20px; overflow: hidden; transition: 0.4s;
}
.room-card img { width: 100%; height: 200px; object-fit: cover; }
.room-info { padding: 25px; }
.price-tag { color: var(--gold); font-weight: bold; font-size: 1.2rem; display: block; margin-bottom: 15px; }

/* زرار الـ Multi-select الفخم */
.multi-select-toggle {
    display: flex; align-items: center; gap: 12px; background: #f1f5f9;
    padding: 10px 18px; border-radius: 50px; width: fit-content; margin-bottom: 20px;
}
.switch { position: relative; width: 44px; height: 22px; }
.switch input { opacity: 0; }
.slider.round { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #cbd5e1; border-radius: 34px; transition: .4s; }
.slider.round:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: .4s; }
input:checked + .slider { background: var(--gold); }
input:checked + .slider:before { transform: translateX(22px); }

/* زرار السلكت */
.btn-select {
    width: 100%; padding: 14px; border-radius: 12px; border: 2px solid #e2e8f0;
    background: white; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.room-card.selected { border: 2.5px solid var(--gold); background: #fffdf5; }
.room-card.selected .btn-select { background: #10b981; color: white; border-color: #10b981; }

/* --- 6. إصلاح الخطوة 4 (Summary & Payment) --- */
.confirmation-container {
    display: flex; flex-direction: column; gap: 25px; margin: 30px 0;
}

.summary-card, .payment-options {
    width: 100% !important; background: #ffffff !important;
    padding: 25px !important; border-radius: 20px !important;
    border: 1px solid #f1f5f9 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}

.summary-card h4, .payment-options h4 {
    color: var(--gold); border-bottom: 1.5px solid #f8fafc;
    padding-bottom: 15px; margin-bottom: 20px; font-family: 'Playfair Display', serif;
}

.price-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #f1f5f9; }
.price-row.deposit { color: #e11d48; font-weight: bold; font-size: 1.1rem; border: none; }

/* --- 7. الأزرار (تنسيق نهائي) --- */
.actions { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.btn-next, #final-book-btn {
    background: var(--navy) !important; color: white !important;
    padding: 16px 40px; border-radius: 50px; font-weight: 600;
    text-transform: uppercase; cursor: pointer; border: none; transition: 0.3s;
}
.btn-next:hover { background: var(--gold) !important; transform: scale(1.03); }
.btn-back { background: white; border: 1.5px solid var(--navy); color: var(--navy); padding: 16px 40px; border-radius: 50px; font-weight: 600; cursor: pointer; }

/* --- 8. تعديلات الموبايل القصوى (Responsive) --- */
@media (max-width: 768px) {
    .date-picker-row, .form-row { grid-template-columns: 1fr !important; }
    .room-card { min-width: 280px; max-width: 280px; }
    .actions { flex-direction: column-reverse; width: 100%; }
    .btn-next, .btn-back { width: 100% !important; }
    .summary-card, .payment-options { padding: 15px !important; } /* تصغير الحواف ف الموبايل */
    .stepper { margin: -30px 10px 30px; }
    .step p { display: none; }
}

@media (max-width: 768px) {
    /* 1. إزالة المربع الأبيض الخلفي في الموبايل */
    .booking-wrapper {
        padding: 0 !important; /* إلغاء أي مسافات خارجية */
        background: transparent !important; /* جعل الخلفية شفافة */
        box-shadow: none !important; /* إزالة الظل الكبير */
    }

    .booking-section {
        border-radius: 0 !important; /* إلغاء الحواف المستديرة عشان يملأ الشاشة */
        box-shadow: none !important; /* إزالة ظل السكشن نفسه */
        padding: 20px 15px !important; /* مسافة داخلية بسيطة عشان الكلام ملمسش الشاشة */
        width: 100vw !important; /* إجبار السكشن ياخد عرض الشاشة بالملي */
        margin: 0 !important;
    }

    /* 2. تظبيط الخطوة الرابعة عشان متطلعش بره */
    .confirmation-container {
        padding: 0 10px !important; /* مسافة أمان صغيرة جداً من الجنبين */
    }

    .summary-card, .payment-options {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important; /* ملء عرض السكشن بالكامل */
    }
}


/* إصلاح شامل لسكشن التقييمات V8 */
.eden-v8-section {
    direction: ltr !important; /* الإنجليزي لازم يبدأ من الشمال */
    text-align: center !important;
    max-width: 1200px;
    margin: 60px auto !important; /* سنترة السكشن في نص الصفحة */
    padding: 20px;
    clear: both; /* لمنع أي تداخل من السكاشن اللي فوقه */
}

.v8-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center; /* سنترة العنوان والنجوم */
}

.v8-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* توزيع الكروت بالتساوي */
    gap: 25px;
    margin-bottom: 40px;
    text-align: left; /* الكلام جوه الكارت يفضل شمال */
}

/* ظبط الأزرار السفلية */
.v8-main-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

/* الموبايل */
@media (max-width: 768px) {
    .v8-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .v8-card { width: 100%; }
}