:root {
    --bg-color: #f8fafc;
    --primary-blue: #1e4d6d;
    --gold-accent: #c5a059;
    --text-dark: #2d3748;
    --text-muted: #718096;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Tajawal', sans-serif; background-color: var(--bg-color); direction: rtl; color: var(--text-dark); line-height: 1.6; }

/* Header & Nav */
.luxury-header { min-height: 100vh; padding: 0 8%; position: relative; overflow: hidden; }
.glass-nav { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary-blue); font-weight: 900; }
.logo img { height: 50px; }
.nav-links a { text-decoration: none; color: var(--text-muted); margin-right: 30px; font-weight: bold; }
.nav-links a.active { color: var(--primary-blue); border-bottom: 2px solid var(--gold-accent); }

/* Hero Section */
.hero-section { display: flex; align-items: center; height: 80vh; gap: 50px; }
.hero-text { flex: 1.2; }
.main-title { font-size: 4rem; line-height: 1.1; font-weight: 900; color: var(--primary-blue); margin-bottom: 20px; }
.main-title span { color: var(--gold-accent); }
.cta-button { background: var(--primary-blue); color: white; border: none; padding: 15px 40px; border-radius: 12px; cursor: pointer; font-weight: bold; }

/* Visual Side */
.hero-visual { flex: 1; position: relative; }
.floating-card { background: #4ade80; width: 300px; height: 160px; border-radius: 30px; position: relative; z-index: 2; }
.card-content { background: white; position: absolute; bottom: 20px; right: 20px; padding: 10px; border-radius: 15px; }

/* Stats Section */
.stats-section { background-color: #f1f5f9; padding: 80px 8%; text-align: center; }
.stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card { background: white; padding: 40px 20px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: 0.3s; }
.stat-card:hover { transform: translateY(-10px); }
.stat-icon { font-size: 2rem; color: var(--gold-accent); margin-bottom: 15px; }
.stat-number { color: var(--primary-blue); font-size: 2.5rem; font-weight: 900; }

/* About Section */
.about-resort { padding: 100px 8%; background: white; }
.about-container { display: flex; align-items: center; gap: 60px; }
.about-visual { flex: 1; }
.main-video-box { height: 350px; background: var(--primary-blue); border-radius: 30px; display: flex; align-items: center; justify-content: center; color: white; }
.about-text-side { flex: 1.2; }
.blue-title { color: var(--primary-blue); font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; }
.check-list { list-style: none; margin: 20px 0; }
.check-list i { color: var(--gold-accent); margin-left: 10px; }

/* Footer */
.final-footer { background: #0d2a3d; color: white; padding: 80px 8% 20px; }
.footer-grid-final { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col-links h3 { margin-bottom: 20px; font-size: 1.2rem; }
.footer-col-links ul { list-style: none; }
.footer-col-links a { color: #cbd5e1; text-decoration: none; }
.copyright { text-align: center; margin-top: 50px; border-top: 1px solid #1e4d6d; padding-top: 20px; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section, .about-container { flex-direction: column; text-align: center; }
    .main-title { font-size: 2.5rem; }
}
/* أضف هذه التعديلات في نهاية ملف style.css */

html {
    /* هذا السطر يضمن أن النصوص لا تصغر بشكل مبالغ فيه عند تصغير المتصفح */
    font-size: 16px; 
}

.hero-section, .about-container, .stats-container {
    /* تقليل المسافات القصوى لضمان تجمع العناصر في المنتصف */
    max-width: 1400px;
    margin: 0 auto;
}

.main-title {
    /* استخدام وحدات تجعل الخط يحافظ على هيبته */
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
}

.stat-card {
    /* التأكد من أن البطاقات لها عرض أدنى لكي لا تختفي عند التصغير */
    min-width: 250px;
}

/* لإصلاح المسافات البيضاء الضخمة التي تظهر عند الـ 25% */
body {
    min-width: 1200px; /* يمنع الموقع من الانكماش الزائد */
    overflow-x: auto;
}
/* تنسيق شبكة المرافق (المربعات الـ 9) */
.services-grid-section {
    padding: 60px 8%;
    background-color: #f8fafc;
}

.main-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease-in-out;
    border: 1px solid #edf2f7;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-image {
    position: relative;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-label {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 15px;
    text-align: center;
    color: white;
}

.card-label h3 {
    font-size: 1.4rem;
    font-weight: 900;
}

.card-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e4d6d;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-info {
    padding: 20px;
    text-align: right;
}

.card-info p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 60px; /* لتوحيد ارتفاع النصوص */
    overflow: hidden;
}

.service-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.service-tags span {
    background: #f1f5f9;
    color: #1e4d6d;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid #e2e8f0;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .main-grid-container {
        grid-template-columns: 1fr;
    }
}
/* --- تعديل واجهة الهيرو (توسيط كامل وحذف العناصر الجانبية) --- */

.hero-section {
    display: flex;
    flex-direction: column; /* تحويل التوزيع من أفقي إلى عمودي */
    align-items: center;    /* توسيط العناصر أفقياً */
    justify-content: center; /* توسيط العناصر عمودياً */
    text-align: center;      /* توسيط النصوص */
    height: 85vh;            /* ضبط الارتفاع */
    gap: 20px;
}

.hero-text {
    flex: none;      /* إلغاء تمدد النص لجهة واحدة */
    width: 100%;     /* أخذ العرض الكامل للتوسيط */
    max-width: 900px; /* تحديد أقصى عرض لضمان القراءة المريحة */
}

.main-title {
    font-size: 4.8rem; /* تكبير العنوان بما أنه أصبح وحيداً في المنتصف */
    margin-bottom: 25px;
}

.description {
    margin: 0 auto 35px; /* توسيط الوصف أفقياً */
    font-size: 1.3rem;
    max-width: 700px;    /* جعل النص في المنتصف بشكل متناسق */
}

/* --- حذف الجزء المشار إليه بالأحمر --- */
.hero-visual {
    display: none; /* إخفاء الكتلة الخضراء والعناصر الجانبية تماماً */
}
/* تنسيق الرابط ليظهر كشكل بيضاوي مطابق للبقية */
.discover-link {
    display: inline-block;
    background: #f1f5f9;       /* نفس خلفية الأشكال البيضاوية الأخرى */
    color: #1e4d6d;            /* اللون الأزرق الأساسي للنص */
    padding: 6px 15px;         /* مساحة داخلية مطابقة */
    border-radius: 50px;       /* شكل بيضاوي */
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;     /* إزالة الخط السفلي */
    border: 1px solid #e2e8f0; /* إطار خفيف */
    transition: 0.3s;
}

.discover-link:hover {
    background-color: #1e4d6d; /* ينعكس اللون عند التأشير بالماوس */
    color: white;
    transform: scale(1.05);
}
@media (max-width: 480px) {
    .service-tags {
        flex-wrap: wrap; /* نسمح للكلمات بالنزول لسطرين فقط في الجوالات الصغيرة جداً */
        justify-content: center; /* لتكون الكلمات في المنتصف وشكلها أرتب */
    }
    
    .discover-link {
        width: 100%; /* ليكون زر اكتشف المزيد عريضاً وسهل الضغط بالإصبع */
        text-align: center;
    }
}
