/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e67e22;
    --secondary-color: #d35400;
    --text-color: #2c3e50;
    --background-color: #f9f9f9;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    flex-direction: row-reverse;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--black);
}

.lang-btn[data-lang="it"] {
    font-family: 'Noto Sans Arabic', sans-serif;
}

[dir="rtl"] .lang-btn {
    font-family: 'Noto Sans Arabic', sans-serif;
}

/* Buttons */
.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    justify-content: center;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
}


.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://cdn.getyourguide.com/img/tour/6445ad93769fc.jpeg/145.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}



.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Featured Excursions */
.featured-excursions {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.featured-excursions h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.excursions-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.view-all-button {
    text-align: center;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Destinations */
.destinations {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.destinations h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.destination-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.destination-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-prev,
.slider-next {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--secondary-color);
}

/* Quick Quote */
.quick-quote {
    padding: 5rem 2rem;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1682686580391-615b1e32be1f');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.quick-quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quick-quote h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-quote p {
    margin-bottom: 2rem;
}

.quick-quote-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quick-quote-form input,
.quick-quote-form select {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Newsletter */
.newsletter {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .quick-quote-form .form-row,
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .main-nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .feature {
        padding: 1.5rem;
    }
}

/* Mobile Menu Styles */
#nav-menu {
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    #nav-menu {
        left: 0;
        right: 0;
    }
    
    #nav-menu:not(.hidden) {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
        padding: 1.5rem;
    }

    .language-selector-mobile {
        display: flex;
        align-items: center;
    }

    .language-selector-desktop {
        display: none;
    }
}

@media (min-width: 768px) {
    .language-selector-mobile {
        display: none;
    }

    .language-selector-desktop {
        display: flex;
    }
}

/* Taller Header Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 5rem; /* Increased height */
}

@media (min-width: 768px) {
    .main-nav {
        height: 6rem; /* Even taller on desktop */
    }
}

.header-spacer {
    height: 5rem;
}

@media (min-width: 768px) {
    .header-spacer {
        height: 6rem;
    }
}

/* Larger Mobile Menu */
@media (max-width: 767px) {
    #nav-menu {
        top: 5rem; /* Adjusted for taller header */
        max-height: calc(100vh - 5rem);
        padding: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.125rem; /* 18px */
        padding: 0.75rem 0;
    }
    
    .language-selector-mobile span {
        font-size: 1.125rem;
    }
}

/* Larger Desktop Menu */
@media (min-width: 768px) {
    .nav-link {
        font-size: 1.125rem;
        padding: 0.5rem 0;
    }
    
    .cta-button {
        font-size: 1.125rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Larger Language Flags */
.lang-btn img {
    width: 30px;
    height: auto;
}

/* Smooth transitions */
.nav-links {
    transition: all 0.3s ease;
}

/* Active language indicator */
.lang-btn.active {
    border-bottom: 3px solid #f97316;
}
