/* General Styles */
:root {
    --primary-color: #D4AF37;
    /* Luxury Gold */
    --secondary-color: #556B2F;
    /* Deep Olive Green */
    --background-light: #FFFFF0;
    /* Ivory */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --card-background: #ffffff;
    --hover-effect: #e6c05e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
    direction: rtl;
    /* Right-to-left for Arabic */
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: 'Amiri', serif;
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-family: 'Tajawal', sans-serif;
}

.btn:hover {
    background-color: var(--hover-effect);
}

/* Header & Navigation */
.header {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}


.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 30px;
    /* Adjusted for RTL */
}

.nav-links a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* Adjusted for RTL */
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.hero-content h1 {
    font-family: 'Amiri', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 1.1rem;
    color: #666;
}

/* Archaeological Sites Section */
.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.site-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: right;
}

.site-card:hover {
    transform: translateY(-10px);
}

.site-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.site-card h3 {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    margin: 20px 20px 10px 20px;
    color: var(--text-dark);
}

.site-card p {
    font-size: 1rem;
    color: #666;
    margin: 0 20px 15px 20px;
    line-height: 1.7;
    height: 100px;
    /* Fixed height for consistent cards */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Add ellipsis for overflow */
}

.site-card .map-link {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 0 0 10px 0;
    /* Rounded bottom-right only for RTL */
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 0.95rem;
    margin-right: 20px;
    margin-bottom: 20px;
}

.site-card .map-link:hover {
    background-color: #405720;
}

.site-card .map-link i {
    margin-left: 8px;
    /* Adjusted for RTL */
}

/* Hospitality Services Section */
.hospitality-card {
    border-top: 5px solid var(--secondary-color);
}

.hospitality-card h3 {
    color: var(--secondary-color);
}

.hospitality-card .map-link {
    background-color: var(--primary-color);
}

.hospitality-card .map-link:hover {
    background-color: var(--hover-effect);
}


/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer a {
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        margin-right: 0;
        /* Reset margin for smaller screens */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .site-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: var(--text-dark);
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .site-card p {
        height: auto;
        /* Allow text to expand on smaller screens */
    }

    .logo-img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }
}

/* تنسيق رقم الهاتف */
.phone-number {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px !important;
}

/* إصلاح زر الموقع الذهبي */
.location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D4AF37;
    /* اللون الذهبي المعتمد */
    color: #ffffff;
    padding: 8px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    border: none;
    gap: 8px;
    /* مسافة بين الكلمة والأيقونة */
}

.location-btn i {
    font-size: 0.8rem;
}

.location-btn:hover {
    background-color: #bfa030;
    /* درجة أغمق قليلاً عند التمرير */
    color: #fff;
}

/* تنسيق صورة الفندق داخل الكرت */
.hospitality-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* تحسين شكل الكرت الخدمي ليطابق الصورة */
.hospitality-card {
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 40px 20px !important;
}

.hospitality-card h3 {
    color: #556B2F;
    /* اللون الأخضر المعتمد للأسماء */
    margin-bottom: 10px;
}