/* Tunes and Dunes - Simple Classy Theme */
:root {
    /* Minimalist Palette */
    --color-primary: #C5A059;
    /* Solid Gold - Accent Only */
    --color-secondary: #2D3436;
    --color-accent: #2D3436;

    /* Solid Colors Only - No Gradients */
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-gray: #636E72;
    --color-text-light: #FFFFFF;
    --color-border: #E1E1E1;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Subtle Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

/* Import Inter Font Only */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}



.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    /* Slightly rounded squares instead of pills */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #b08d45;
    /* Darker Gold */
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Adjust based on actual aspect ratio */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Mobile Contact Trigger Button */
#contactModalTrigger {
    background: transparent;
    border: 1px solid var(--color-text-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

#contactModalTrigger:hover {
    background: var(--color-text-dark);
    color: #fff;
    transform: scale(1.05);
}

/* Desktop Nav (Hidden on Mobile) */
.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Mobile Header Elements (Hidden on Desktop) */
.mobile-toggle,
.mobile-contact {
    display: none;
    color: var(--color-text-dark);
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-contact {
    gap: 1rem;
}

.mobile-contact a {
    color: var(--color-text-dark);
    transition: color 0.3s;
}

.mobile-contact a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    height: 85vh;
    /* Reduced from 100vh */
    min-height: 600px;
    /* Ensure strictly minimum height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Solid Overlay */
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide.active {
    transform: translateX(0);
    z-index: 2;
}

.hero-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: #fff;
    color: #000;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.slider-indicator.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Taxi Booking Section */
.taxi-booking {
    background-color: var(--color-bg-white);
}

.taxi-flex {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.taxi-content {
    flex: 1;
}

.taxi-image {
    flex: 1;
}

.taxi-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.taxi-form {
    background: #fff;
}

.taxi-form .form-group {
    margin-bottom: 1.5rem;
}

.taxi-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.taxi-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.taxi-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.btn-block {
    width: 100%;
}

@media (max-width: 1024px) {
    .taxi-flex {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .taxi-image {
        order: -1;
    }

    .taxi-content {
        width: 100%;
    }
}

/* Tours Section */
.tours {
    background: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-gray);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.tour-card {
    background: var(--color-bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    /* Subtle shadow */
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tour-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.tour-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
    /* Gentle zoom */
}

/* Removed gradient overlay on image for cleaner look */
.tour-image::after {
    display: none;
}

.tour-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.tour-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-gray);
    flex-wrap: wrap;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tour-meta i {
    color: var(--color-primary);
}

.tour-content p {
    color: var(--color-text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.tour-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
    display: block;
}

.view-all-tours {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Mobile Tours Slider - Hidden on Desktop */
.tours-slider-mobile {
    display: none;
}

/* Services Section */
.services {
    background: #fff;
    /* Clean white */
    color: var(--color-text-dark);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

/* Removed decorative circle/blob for simplicity */
.services::before {
    display: none;
}

.services h2 {
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: var(--transition-bounce);
}

.service-item:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    /* Icon matches text */
    margin-bottom: 1rem;
    transition: var(--transition-bounce);
}

.service-item:hover .service-icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.service-item h3 {
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-item p {
    color: var(--color-text-gray);
    opacity: 1;
}

/* Footer */
footer {
    background: #1A1A1A;
    /* Solid Dark */
    color: #fff;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    color: #ccc;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links i {
    margin-right: 0.8rem;
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Tablet/Mobile Breakpoint */
@media (max-width: 768px) {
    .hero {
        height: 65vh;
        /* Reduced height */
        min-height: 450px;
        /* Reduced constraint */
    }

    .hero-content h1 {
        font-size: 1.6rem;
        /* Smaller title for long text */
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    /* About & Global Mobile Spacing */
    .section-padding {
        padding: 3rem 0;
        /* Reduce global padding on mobile */
    }

    /* Adjust features for mobile */
    .features-grid {
        gap: 2rem;
    }
}

/* RESPONSIVE DESIGN - 1024px Breakpoint */
@media (max-width: 1024px) {

    /* HERO adjustments */
    .slider-prev,
    .slider-next {
        display: none;
    }

    /* Font adjustments already handled in 768px or 1024px generic */
    .hero-content p {
        font-size: 1rem;
    }

    /* HEADER - Mobile Layout logic */
    /* HEADER - Mobile Layout logic */
    .nav-links {
        display: flex;
        /* Always display flex for transition to work */
        /* Hide onscreen via position */
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.5rem;
        box-shadow: 10px 0 40px rgba(197, 160, 89, 0.15);
        border-top: 4px solid var(--color-primary);
        /* visibility needed to prevent focus when closed, transition it to delay hiding */
        visibility: hidden;
        transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s linear 0.5s;
        z-index: 1001;
        overflow-y: auto;
    }

    /* Tunes of Dunes Branding - Use BEFORE to place at Top */
    .nav-links::before {
        content: 'TUNES OF DUNES';
        display: block;
        font-family: 'Inter', sans-serif;
        font-weight: 800;
        font-size: 1.1rem;
        /* Smaller, cleaner */
        color: var(--color-text-dark);
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        width: 100%;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid #F3F3F3;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    /* Remove the old ::after branding */
    .nav-links::after {
        content: '';
        display: none;
    }

    /* Swap ::before and ::after roles for cleaner DOM order logic via CSS */
    /* Actually better to use specific pseudo elements or just structure properly. 
       Let's stick to using ::after for the Logo to keep HTML clean? 
       No, ::before is top border. Let's make a readable block. 
    */

    .nav-links li {
        width: 100%;
        margin-bottom: 0.2rem;
        /* Tighter list */
        opacity: 0;
        transform: translateX(-15px);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 0.8rem 1rem;
        /* Compact touch targets */
        font-size: 1rem;
        /* Standard readable size */
        font-weight: 600;
        color: #2D3436;
        border-radius: 8px;
        transition: all 0.2s ease;
        background: transparent;
    }

    /* Vibrant Active/Hover State */
    .nav-links a:hover {
        background: #FFF9F0;
        color: var(--color-primary);
        padding-left: 1.2rem;
        box-shadow: none;
        /* Cleaner, no shadow needed for items */
        transform: none;
    }

    /* Add Icons via CSS content? No, simplify. Just text. */

    /* Mobile Menu Button Container */
    .nav-links .btn {
        margin-top: auto;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
        display: block;
        opacity: 0;
        background: var(--color-primary);
        color: white;
        border-radius: 8px;
        /* Less bubbly */
        padding: 0.8rem;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2);
        transform: translateY(0);
        transition: transform 0.2s;
    }

    .nav-links .btn:active {
        transform: scale(0.98);
    }

    .nav-links.mobile-active {
        /* display: flex; already flex */
        left: 0;
        visibility: visible;
        transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s linear 0s;
        /* No delay on show */
    }

    /* Crisp Entrance Animation */
    @keyframes slideInItem {
        from {
            opacity: 0;
            transform: translateX(-15px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-links.mobile-active li {
        animation: slideInItem 0.4s ease-out forwards;
    }

    .nav-links.mobile-active .btn {
        animation: slideInItem 0.5s ease-out forwards 0.4s;
    }

    .nav-links.mobile-active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.mobile-active li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-links.mobile-active li:nth-child(3) {
        animation-delay: 0.20s;
    }

    .nav-links.mobile-active li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-links.mobile-active li:nth-child(5) {
        animation-delay: 0.30s;
    }

    /* Fresh Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        /* Very light */
        backdrop-filter: blur(8px);
        /* Strong blur for 'frost' effect */
        z-index: 999;
        /* LOWER than Header (1000) */
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Show Mobile Elements */
    .mobile-toggle,
    .mobile-contact {
        display: flex;
        align-items: center;
    }

    /* Layout: Toggle - Logo - Contact */
    nav {
        display: flex;
        /* Switch to Flex for better control */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 0.5rem;
        /* Add small padding */
    }

    .mobile-toggle {
        flex: 0 0 40px;
        /* Fixed width for toggle */
    }

    .logo {
        text-align: center;
        flex: 1;
        /* Take remaining space */
        font-size: 1.1rem;
        /* Smaller font for mobile */
        white-space: nowrap;
        /* Prevent wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-contact {
        flex: 0 0 40px;
        /* Fixed width for contact match toggle */
        justify-content: flex-end;
    }


    /* Section Adjustments */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2,
    .section-header h2,
    .services h2 {
        font-size: 2.2rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Mobile Tour Slider logic */
    .tours-grid {
        display: none;
        /* Hide grid */
    }

    .tours-slider-mobile {
        display: block;
        position: relative;
        overflow: visible;
        padding: 0 0.5rem;
    }

    .tours-slider-wrapper {
        overflow-x: auto;
        /* Native scrolling */
        overflow-y: hidden;
        overflow-y: hidden;
        display: flex;
        align-items: stretch;
        /* Starts flex context */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Smooth iOS scroll */
        scroll-behavior: smooth;
        margin: 0 -0.5rem;
        padding: 0 0.5rem 1.5rem 0.5rem;
        /* Space for shadow/scrollbar */
        /* Hide scrollbar if desired, but usually good to keep default or style minimal */
        scrollbar-width: none;
        /* Firefox */
    }

    .tours-slider-wrapper::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .tours-slider-track {
        display: contents;
        /* Remove track from layout tree so wrapper controls cards directly */
    }

    .tour-card-mobile {
        flex: 0 0 85%;
        /* Now 85% of wrapper width */
        max-width: 85%;
        margin-right: 1rem;
        /* Gap replacement since display:contents ignores gap on itself */
        background: #fff;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        scroll-snap-align: center;
        scroll-snap-stop: always;
        /* Force stop on each slide */

        /* Ensure specific height or block behavior */
        display: flex;
        flex-direction: column;
        height: auto;

        /* Disable entrance animations */
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: transform 0.2s ease;
    }

    .tour-card-mobile:hover {
        /* Keep hover transform simple */
        transform: translateY(-5px) !important;
    }

    .tour-card-mobile:last-child {
        margin-right: 0.5rem;
        /* Padding at end */
    }

    .tours-slider-dots {
        display: none;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-dot.active {
        background: var(--color-primary);
        width: 12px;
        height: 12px;
    }
}

/* --- CONTACT MODAL STYLES (Added Fix) --- */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Darker overlay */
    backdrop-filter: blur(5px);
    z-index: 9999;
    /* Highest priority */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.contact-modal-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.contact-modal-overlay.active .contact-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.modal-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--color-text-dark);
    letter-spacing: 0.5px;
}

.modal-header p {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.modal-intro {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.contact-block {
    margin-bottom: 1.2rem;
    text-align: left;
    padding-left: 10px;
}

.contact-block h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.contact-block p,
.contact-block a {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.contact-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* =========================================
   NEW SECTIONS STYLING (Combos, Blog, SEO)
   ================================********* */

/* --- Best Value Combos --- */
.combos {
    background: var(--color-bg-light);
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.combo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.combo-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.02);
}

.combo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.combo-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.combo-card:hover .combo-image img {
    transform: scale(1.1);
}

.combo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFD700;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.combo-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.combo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.combo-content p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tour-content {
    padding: 1.5rem;
    flex-grow: 1;
    /* Allow content to fill space */
    display: flex;
    /* Enable flexbox */
    flex-direction: column;
    /* Stack children vertically */
}

.tour-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.tour-content p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Ensure button hits bottom */
.tour-content .btn {
    margin-top: auto;
    align-self: flex-start;
    /* Or center/stretch based on design preference. Default is stretch if not set, making button full width if not careful, but .btn usually has width. Let's stick to align-self: start or just margin-top: auto. */
}

.combo-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.combo-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.combo-features i {
    color: var(--color-primary);
}

.combo-price {
    margin-top: auto;
    margin-bottom: 1rem;
    text-align: center;
}

.price-tag {
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Coming Soon Card */
.combo-card.coming-soon {
    background: #f9f9f9;
    border: 1px dashed #ccc;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
}

.coming-soon-label {
    background: #eee;
    color: #888;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* --- SEO Content Block --- */
.seo-content {
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.seo-content h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.seo-text-block {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    text-align: center;
}

.seo-text-block p {
    margin-bottom: 1rem;
}

/* --- Common Page Header --- */
.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 60px;
    /* Header Offset */
}

/* Overlay for readability */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    /* Bolder */
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .combo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    color: #f0f0f0;
    letter-spacing: 0.5px;
}

.page-header-badge {
    background: var(--color-primary);
    color: #fff;
    /* White text for premium feel? Or Black? Let's go White with text-shadow or Black without. Gold usually needs Black. Let's try Black but cleaner. */
    color: #2c2c2c;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Blog Layout --- */
.blog-list {
    background: var(--color-bg-light);
}

.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Responsive adjustment for Blog */
@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    /* Override global tours-grid hide for Blog & Hotels page */
    .blog-list .tours-grid,
    .hotels-list .tours-grid {
        display: grid !important;
        /* Force show */
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--color-primary);
}

.blog-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #444;
    /* Darker for readability on light theme, or if dark theme is desired adjust */
}

.blog-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5rem;
    color: #444;
}

.blog-content strong {
    color: var(--color-text-dark);
}

/* Sidebar */
.blog-sidebar .sidebar-widget {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    color: var(--color-text-dark);
    display: inline-block;
}

.related-package-card {
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.related-package-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-package-content {
    padding: 1rem;
}

.related-package-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.sidebar-categories {
    list-style: none;
}

.sidebar-categories li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    color: var(--color-text-gray);
    font-weight: 500;
    display: block;
}

.sidebar-categories a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

/* Mobile Responsiveness for Blog */
@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* --- Package Page Filters --- */
.package-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-gray);
    font-family: var(--font-body);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(197, 160, 89, 0.05);
}

.filter-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

/* Filter Selection Visibility Control */
.filter-section {
    display: none;
    /* Default hidden */
}

.filter-section.active {
    display: grid;
    /* Match tours-grid display type */
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Contact & Booking Modal Styles --- */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999 !important;
    /* Force top */
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.contact-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-modal-overlay.active .contact-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.modal-close:hover {
    background: #ff4757;
    color: #fff;
    transform: rotate(90deg);
}

.modal-header-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header-content h3 {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.modal-header-content p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9f9f9;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.contact-form .form-row {
    display: flex;
    gap: 1rem;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form .btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    background: var(--color-bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-item.active .faq-question {
    background: rgba(197, 160, 89, 0.05);
    /* Slight accent background */
    color: var(--color-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff;
}

.faq-answer p {
    padding: 0 1.2rem 1.2rem 1.2rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Coming Soon Polishes */
.coming-soon-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(197, 160, 89, 0.03);
    border: 2px dashed var(--color-border);
    border-radius: 20px;
    margin: 2rem 0;
}

.coming-soon-card h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.coming-soon-card p {
    font-size: 1.1rem;
    color: var(--color-text-gray);
}

.combo-card.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px dashed var(--color-border);
}

.coming-soon-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
}