/* ===== 1. BASE STYLES & RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    /* This is for Right-to-Left Arabic support */
    text-align: right;
    direction: rtl;
}

/* Container for consistent width */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ===== 2. RESPONSIVE NAVBAR ===== */
.custom-nav {
    background-color: #000000 !important; /* خلفية سوداء */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    transition: all 0.3s ease;
    /* Sticky positioning for modern browsers */
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    padding: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    font-size: 1.4rem;
    color: white !important; /* أيقونة القائمة المتنقلة باللون الأبيض */
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* تغيير لون أيقونة القائمة المتنقلة إلى الأبيض */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-links {
    gap: 5px;
}

.nav-link {
    color: white !important; /* نص أبيض */
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus {
    color: #bd9322 !important; /* لون ذهبي عند التحويم */
    background-color: rgba(189, 147, 34, 0.1); /* خلفية ذهبية فاتحة */
}

/* Mobile language switcher inside navbar */
.mobile-language {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* حدود أفتح */
}

.mobile-language .footer-lang-btn {
    margin-left: 10px;
    color: white !important; /* نص أبيض لأزرار اللغة */
    border-color: rgba(255, 255, 255, 0.3) !important; /* حدود بيضاء شفافة */
}

/* تحسين للأجهزة المحمولة */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95); /* خلفية سوداء للقائمة المتنقلة */
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }
    
    .nav-link {
        color: white !important;
        margin: 5px 0;
    }
}
/* ===== 3. RESPONSIVE HERO VIDEO SECTION ===== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px 30px;
    max-width: 900px;

    background: rgba(0, 0, 0, 0.6); /* darker */
    border-radius: 12px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* ===== 4. WHATSAPP FLOATING BUTTON ===== */
.whatsapp-floating {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-floating:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.05);
}

/* ===== 5. PROPERTIES SWIPER SECTION ===== */
.section {
    padding: 80px 0;
}

.properties-swiper {
    background-color: #f8f9fa;
}

/* Card Styles */
.card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.03);
}

.image-logo {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: black;
    border-radius: 6px;
    padding: 5px 8px;
    z-index: 2;
}

.image-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.price-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.before-price {
    text-decoration: line-through;
    opacity: 0.8;
    font-size: 0.8rem;
}

.after-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f97316;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
    min-height: 3.6em;
    line-height: 1.4;
}

.card-content address {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-style: normal;
    line-height: 1.5;
    display: block;
}

.amenities {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #555;
}

.amenities span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Swiper Navigation */
.swiper {
    padding: 10px 10px 50px !important;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.9);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    color: #f97316 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next {
    left: 15px !important;
    right: auto !important;
}

.swiper-button-prev {
    right: 15px !important;
    left: auto !important;
}

.swiper-pagination-bullet {
    background-color: #ccc !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: #f97316 !important;
}

  /* About section with background */
    .about {
        background: url('images/IMG_2990-scaled-min.jpg') center/cover no-repeat;
        padding: 120px 50px;
        position: relative;
        min-height: 600px;
        display: flex;
        align-items: center;
    }

    /* Dark overlay */
    .about::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    /* Text container - move to right */
    .about-container {
        position: relative;
        max-width: 1200px;
        margin-left: auto;
        margin-right: 0;
        z-index: 2;
        display: flex;
        justify-content: flex-end;
    }

    /* Glass effect box */
    .glass-box {
        background: white;
        padding: 40px;
        border-radius: 15px;
        backdrop-filter: blur(10px);
        color: #000;
        border: 1px solid rgba(255,255,255,0.3);
        max-width: 600px;
        width: 100%;
    }

    /* Title */
    .glass-box h2 {
        font-size: 32px;
        margin-bottom: 15px;
        color: #000 !important;
    }

    /* Modern button */
    .btn-modern {
        display: inline-block;
        padding: 12px 30px;
        background: linear-gradient(135deg, #d4a241, #bd9322);
        color: black;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 700;
        margin-top: 15px;
        transition: 0.3s ease;
        text-decoration: none;
    }

    .btn-modern:hover {
        background: linear-gradient(135deg, #e7b85a, #c49f32);
        transform: translateY(-3px);
    }



/* ===== 8. TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    margin: 0 10px;
    border: 1px solid #eee;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    min-height: 120px;
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
    border: 3px solid #f0f0f0;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #222;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Featured Destinations Section */
    .featured-destinations {
        padding: 80px 20px;
    }
    
    .featured-destinations .header {
        text-align: left;
        margin-bottom: 50px;
    }
    
    .featured-destinations .header h1 {
        font-size: 2.5rem;
        color: #3b4249;
        margin-bottom: 15px;
    }
    
    .featured-destinations .header p {
        color: #6c757d;
        font-size: 1.1rem;
    }
    
    .destinations-grid {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .destination-card {
        flex: 1;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        aspect-ratio: 1 / 0.75;
        min-height: 300px;
    }
    
    .destination-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    .location-name {
        color: white;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        margin: 0;
    }
/* Footer */
        .footer {
            background-color: #000000;
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .footer-column h3 {
            margin-bottom: 20px;
            font-size: 18px;
        }
        
        .footer-column ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover {
            color: var(--accent-color);
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: background-color 0.3s;
        }
        
        .social-icons a:hover {
            background-color:  #bf9926;;
        }
        
        .copyright {
            text-align: center;
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 14px;
        }
        
        .footer-logo img {
            width: 120px;
            margin-bottom: 15px;
            filter: brightness(0) invert(1);
        }

        /* Footer Language Switcher */
        .footer-language {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-lang-btn {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .footer-lang-btn:hover, .footer-lang-btn.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        /* WhatsApp Floating Button */
        .whatsapp-floating {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background-color: #25D366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            text-decoration: none;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }
        
        .whatsapp-floating:hover {
            background-color: #128C7E;
            transform: scale(1.1);
        }
        
        .card-link {
            text-decoration: none !important;
            color: inherit !important;
            display: block;
        }
        
        .card-link:hover .card {
            transform: translateY(-5px);
            box-shadow: var(--hover-shadow);
        }
        
        /* Mobile Menu Language Switcher */
        .mobile-language {
            display: none;
            padding: 15px 0;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 15px;
        }
        
        .mobile-language .footer-lang-btn {
            width: 100%;
            text-align: center;
            margin-bottom: 10px;
        }
        /* Footer Language Switcher */
.footer-language {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Update hover and active color */
.footer-lang-btn:hover, 
.footer-lang-btn.active {
    background: #bf9926;
    border-color: #bf9926;
    color: white;
}

/* Mobile Menu Language Switcher */
.mobile-language {
    display: none;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 15px;
}

.mobile-language .footer-lang-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    background: #bf9926;
    border-color: #bf9926;
    color: white;
}

/* ===== 10. RESPONSIVE MEDIA QUERIES ===== */

/* A. Tablet Devices (768px and below) */
@media (max-width: 768px) {
    /* Navbar */
    .logo-img {
        height: 38px;
    }
    .mobile-language {
        display: block;
    }

    /* Hero Section */
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    /* Destinations */
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .destination-card {
        height: 250px;
    }

    /* About */
    .glass-box {
        padding: 30px;
    }
    .about-content h2 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* B. Mobile Devices (576px and below) */
@media (max-width: 576px) {
    /* Navbar */
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px !important;
    }

    /* Hero */
    .hero-section {
        height: 60vh;
        min-height: 350px;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }

    /* Card */
    .card-image-wrapper {
        height: 200px;
    }
    .card-content h3 {
        font-size: 1.1rem;
    }

    /* WhatsApp Button */
    .whatsapp-floating {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        left: 20px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-text {
        font-size: 1rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-column h3 {
        font-size: 1.2rem;
    }
}

/* C. Extra Small Devices (400px and below) */
@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    .header h1 {
        font-size: 2rem;
    }
    .amenities {
        flex-direction: column;
        gap: 8px;
    }
}