/* تحسينات الألوان والتصميم للموقع */
:root {
    --primary-color: #e9b44c;
    --secondary-color: #9b2915;
    --accent-color: #5c8d89;
    --light-color: #f9f5eb;
    --dark-color: #3d3b30;
    --header-bg: linear-gradient(to right, #e9b44c, #9b2915);
    --section-bg: rgba(249, 245, 235, 0.9);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: 1px solid #e9b44c;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body {
    background-image: url('images/abu_simbel_temple_exterior.jpeg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--dark-color);
    font-family: 'Cairo', 'Arial', sans-serif;
}

header {
    background: var(--header-bg);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

nav {
    background-color: var(--secondary-color);
    padding: 10px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

section {
    background-color: var(--section-bg);
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    margin-top: 0;
}

h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

/* تنسيق قسم الخدمات السياحية */
.tourism-services-info {
    display: grid;
    gap: 30px;
}

.service-card, .safari-card {
    background-color: var(--card-bg);
    border: var(--card-border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.service-card:hover, .safari-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card h3, .safari-card h4 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.safari-title {
    text-align: center;
    color: var(--secondary-color);
    margin: 30px 0 20px;
    font-size: 1.8em;
}

.safari-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.safari-details h5 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.safari-details ul {
    padding-left: 20px;
}

.safari-details li {
    margin-bottom: 8px;
}

.additional-services, .tips-section {
    background-color: rgba(92, 141, 137, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    list-style: none;
    margin: 15px 0;
}

.cities-list li {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* تنسيق قسم بيت الضيافة */
.guesthouse-info {
    display: grid;
    gap: 30px;
}

.booking-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.booking-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: scale(1.05);
}

/* تنسيق معرض الصور */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* تنسيق التذييل */
footer {
    background: var(--header-bg);
    color: var(--light-color);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .safari-details {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* تنسيق مبادل اللغة */
.language-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.language-switcher a {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.language-switcher a.active {
    background-color: var(--secondary-color);
    color: var(--light-color);
}
