:root {
    --primary-color: #D4770B;
    --secondary-color: #F5A524;
    --text-color: #333;
    --background-color: #FDFAF2;
    --mobile-padding: 1rem;
    --max-width: 1200px; /* Set a max width for large screens */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/urban.jpg?text=Arabian+Sands+Safari');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    padding: 8rem 2rem;
    margin-top: 5rem;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 3rem 1rem;
        margin-top: 8rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    padding: 0 var(--mobile-padding);
}

.tab-btn {
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: bold;
    border: none;
    background: white;
    position: relative;
    transition: all 0.3s;
    color: var(--text-color);
    border-radius: 8px;
    flex-grow: 1;
    text-align: center;
}

.tab-btn:hover {
    background-color: #e0e0e0;
    color: #000;
    transform: scale(1.05);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none; /* Hide all tab contents by default */
}

.tab-content.active {
    display: block; /* Show only active tab content */
}

@media (max-width: 1024px) {
    .tabs {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .tab-btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* Service Container */
.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0 var(--mobile-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-details {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
}

@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-image {
        height: 250px;
    }
    
    .service-details {
        padding: 1rem;
    }
}

/* Button Styles */
.book-now-btn,
.itinerary-btn,
.details-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    margin-right: 1rem;
    text-align: center;
}

@media (max-width: 480px) {
    .book-now-btn, .itinerary-btn, .details-btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .content-toggle-buttons {
        flex-direction: column;
    }
}

/* Feature List */
.feature-list {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .feature-item {
        align-items: flex-start;
    }
    
    .feature-item i {
        margin-top: 0.25rem;
    }
        .hero-section {
            padding: 8rem 1rem;
            margin-top: 5rem;
        }
}

/* General Mobile Improvements */
@media (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

/* Tablet and Desktop Enhancements */
@media screen and (min-width: 1024px) {
    .service-container {
        max-width: var(--max-width);
    }

    .content-toggle-buttons {
        flex-direction: row;
    }

    .book-now-btn, 
    .itinerary-btn, 
    .details-btn {
        width: auto;
        padding: 12px 25px;
    }
}

@media screen and (min-width: 1024px) {
    .service-container {
        display: flex;
        align-items: start;
        gap: 20px;
    }

    .service-image {
        width: 50%;
        max-height: 500px;
    }

    .service-details {
        width: 50%;
    }
}

/* Default styles for large screens */
.service-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
}

.image-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-image {
    width: 100%;
    height: auto;
}

/* Mobile View Styles */
@media (max-width: 1024px) {
    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        margin-bottom: 20px;
    }
}
