/* ============================================= */
/* RESET & BASE STYLES */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ============================================= */
/* TYPOGRAPHY */
/* ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

.section-title {
    font-size: 2rem;
}

.section-description {
    color: #4b5563;
    margin-bottom: 0;
    max-width: 32rem;
}

/* ============================================= */
/* LAYOUT & CONTAINERS */
/* ============================================= */
.section-container {
    padding: 2.5rem 1.5rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    text-align: left;
}

.section-text {
    max-width: 50%;
    margin-bottom: 0;
    text-align: left;
}

/* ============================================= */
/* UPDATED HERO SECTION - SMALLER */
/* ============================================= */
.hero-section {
    height: 80vh; /* Reduced from 80vh */
    min-height: 500px; /* Reduced from 500px */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    color: white;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero-section,
.hero-section *:not(.mobile-menu-toggle) {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ============================================= */
/* NAVIGATION */
/* ============================================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-links a:hover {
    color: #f8d56b;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8d56b;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.mobile-menu-close {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
}

/* ============================================= */
/* BUTTONS & CTAs */
/* ============================================= */
.cta-button {
    background-color: #f8d56b;
    color: #333 !important;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.filter-button {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background-color: white;
    color: #1f2937;
}

.filter-button.active {
    background-color: #0d9488;
    color: white;
    border-color: #0d9488;
}

.filter-button.inactive {
    background-color: white;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.filter-button:hover {
    background-color: #f3f4f6;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================= */
/* CONSISTENT TOUR CARD SIZES */
/* ============================================= */
.tour-cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

.tour-card {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: white;
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-image {
    background-color: #d1d5db;
    height: 12rem; /* Fixed height */
    border-radius: 0.75rem 0.75rem 0 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.tour-card:hover .card-image {
    transform: scale(1.03);
}

.card-content {
    padding: 1rem;
    flex-grow: 1; /* Allow content to grow and fill space */
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    flex: 1;
    min-height: 2.8rem; /* Consistent title height */
}

.card-rating {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #333;
}

.card-rating svg {
    width: 1rem;
    height: 1rem;
    color: #f8d56b;
    margin-right: 0.25rem;
}

.card-description {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    flex-grow: 1; /* Allow description to take available space */
    min-height: 3.5rem; /* Minimum height for consistency */
}

.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.tour-card-link:hover {
    transform: translateY(-5px);
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto; /* Push to bottom */
    margin-bottom: 0.5rem;
}

.feature-tag {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.card-duration {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ============================================= */
/* BOOKING FORM SECTION - ALWAYS VISIBLE */
/* ============================================= */
.booking-form-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.booking-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin: 0 auto;
    display: block !important; /* Show booking form on all screens */
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.form-header p {
    color: #4b5563;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #111827;
}

.form-group input::placeholder {
    color: #6b7280;
}

.form-group input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #0d9488 0%, #065f46 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

.privacy-note {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.privacy-note a {
    color: #0d9488;
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}

.mobile-cta-button {
    display: none !important; /* Hide mobile CTA button since form is always visible */
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
.footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8d56b;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-about p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #f8d56b, transparent);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #f8d56b;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #f8d56b;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.footer-social a {
    color: #111827;
    background-color: #f8d56b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background-color: white;
    color: #111827;
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9ca3af;
    font-size: 0.9rem;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-credits {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f8d56b, #0d9488, #f8d56b);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #f8d56b;
}

.separator {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-instagram {
    display: none;
}

/* ============================================= */
/* RESPONSIVE STYLES */
/* ============================================= */

/* Desktop - 4x1 grid (4 columns) */
@media (min-width: 1200px) {
    .tour-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet - 2x2 grid (2 columns) */
@media (min-width: 769px) and (max-width: 1199px) {
    .tour-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - Scrollable single column */
@media (max-width: 768px) {
    .hero-section {
        height: 40vh; /* Even smaller on mobile */
        min-height: 300px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .booking-form-section {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .hero-text {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .tour-cards-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 1rem 0.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: unset;
        justify-content: flex-start;
        text-align: left;
    }
    
    .tour-card-link {
        flex: 0 0 85vw;
        scroll-snap-align: start;
        height: auto;
    }
    
    .tour-card {
        width: 100%;
        height: 100%;
    }
    
    .card-title {
        min-height: auto; /* Flexible height on mobile */
        font-size: 1rem;
    }
    
    .card-description {
        min-height: auto; /* Flexible height on mobile */
        font-size: 0.8rem;
    }
    
    /* Hide scrollbar but keep functionality */
    .tour-cards-grid::-webkit-scrollbar {
        display: none;
    }
    
    .tour-cards-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .section-text {
        max-width: 100%;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links-container {
        text-align: left;
    }
    
    .footer-heading::after {
        left: 0;
        transform: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-close {
        display: block;
    }
}

/* Further reduce hero size on very small screens */
@media (max-width: 480px) {
    .hero-section {
        height: 35vh;
        min-height: 250px;
    }
    
    .booking-form-section {
        padding: 1rem;
    }
    
    .booking-form {
        padding: 1rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-container {
        padding: 1.5rem 1rem;
    }
    
    .section-header {
        align-items: flex-start;
        text-align: left;
    }
}

/* Show Instagram section only on larger screens */
@media (min-width: 1024px) {
    .footer-instagram {
        display: block;
    }
}