/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.language-selector {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid #ff6b35;
    background: transparent;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 12px;
}

.lang-btn:hover,
.lang-btn.active {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* Header */
header {
    margin-top: 70px; /* Account for fixed navbar */
}

.hero-image {
    height: 100vh;
    /* CUSTOMIZABLE BACKGROUND IMAGE - Replace with your preferred image */
    background: url('images/galsa.jpeg') center/cover no-repeat;
    /* Fallback gradient if image doesn't load */
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1); /* Light white overlay */
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    background: rgba(0, 0, 0, 0.4); /* Dark background for text readability */
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

/* Gallery Section */
#gallery {
    padding: 80px 0;
    background: #ffffff;
}

#gallery h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
    color: #333;
    padding: 30px 20px 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.card-overlay h3 {
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Slider Section */
.swiper-container {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ff6b35;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Booking Section */
#booking {
    padding: 80px 0;
    background: #f8f9fa;
    color: #333;
}

#booking h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.booking-subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 50px;
    opacity: 0.8;
}

.booking-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.booking-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-info {
    margin-bottom: 30px;
}

.booking-info h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #333;
}

.booking-info ul {
    list-style: none;
}

.booking-info li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #555;
}

form fieldset {
    border: none;
    margin-bottom: 25px;
}

form legend {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

form input,
form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

form input::placeholder {
    color: #999;
}

form input:focus,
form select:focus {
    outline: none;
    border-color: #ff6b35;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

form select option {
    background: #fff;
    color: #333;
}

#whatsappBtn {
    width: 100%;
    padding: 15px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

#whatsappBtn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* BACKGROUND IMAGE OPTIONS - Uncomment and modify the one you want to use */

/* Option 1: Desert landscape background */
/*
.hero-image {
    background: url('image/photo1.jpg') center/cover no-repeat;
}
*/

/* Option 2: Tamri beach and mountains background */
/*
.hero-image {
    background: url('images/tamri-beach-mountains.jpg') center/cover no-repeat;
}
*/

/* Option 3: Quad adventure background */
/*
.hero-image {
    background: url('images/quad-desert-adventure.jpg') center/cover no-repeat;
}
*/

/* Option 4: Moroccan landscape background */
/*
.hero-image {
    background: url('images/moroccan-landscape.jpg') center/cover no-repeat;
}
*/

/* Option 5: Custom image - replace 'your-image.jpg' with your preferred image */
/*
.hero-image {
    background: url('images/your-image.jpg') center/cover no-repeat;
}
*/

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .language-selector {
        flex-wrap: wrap;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
    
    .booking-form-container {
        padding: 20px;
    }
    
    #gallery h2,
    #booking h2 {
        font-size: 2em;
    }
}