* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: #f9f5f0;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* شاشة التحميل */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5b2c6f, #1a5276);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}

.loader-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    width: 150px;
    height: auto;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

.welcome-text {
    color: white;
    margin-top: 20px;
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .welcome-text {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 1rem;
        text-align: center;
    }
}

/* التصميم الرئيسي */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container img {
    height: 50px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #5b2c6f;
}

.language-switcher select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s;
}

/* قسم العرض الرئيسي */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 100px;
    right: 100px;
    color: white;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #5b2c6f;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #7d3c98;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    padding: 10px 15px;
    margin-right: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background-color: white;
}

/* قسم الرحلات */
.tours-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #5b2c6f;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tour-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-duration {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(91, 44, 111, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tour-info {
    padding: 20px;
}

.tour-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.tour-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9rem;
}

.tour-details i {
    margin-left: 5px;
    color: #5b2c6f;
}

.tour-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tour-price span:first-child {
    color: #666;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #5b2c6f;
}

.tour-btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* قسم الحجز */
.booking-section {
    background-color: #f0e6f6;
    padding: 80px 0;
}

.booking-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.booking-form h2 {
    text-align: center;
    color: #5b2c6f;
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5b2c6f;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* قسم التعليقات */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
    border: 3px solid #5b2c6f;
}

.client-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.client-info span {
    color: #777;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tour-name {
    display: block;
    color: #5b2c6f;
    font-size: 0.9rem;
    font-weight: 500;
}

/* زر واتساب */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.5rem;
    margin-left: 10px;
}

/* التكيف مع الأجهزة الصغيرة */
@media (max-width: 992px) {
    .slide-content {
        right: 50px;
        bottom: 50px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: right 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin-bottom: 20px;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .slide-content {
        right: 20px;
        left: 20px;
        bottom: 20px;
        max-width: none;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        margin-top: 70px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .booking-form {
        padding: 25px;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }

    .whatsapp-btn i {
        margin-left: 0;
    }
}

