/* ============================================= */
/* 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-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

/* ============================================= */
/* HERO SECTION - FIXED BLACK BOX ISSUE */
/* ============================================= */
.hero-section {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../assets/hero/Index-hero.webp') !important;
}

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

.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);
}

.view-more-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border: 1px solid #1f2937;
    border-radius: 9999px;
    color: #111827;
    background-color: transparent;
    transition: background-color 0.3s ease;
    margin-top: 2.5rem;
    cursor: pointer;
}

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

.view-more-button svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

/* ============================================= */
/* CARD COMPONENTS - FIXED SAME SIZE BOXES */
/* ============================================= */
.tour-cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

.tour-cards-grid::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.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%;
    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: 200px; /* Fixed height for all card images */
    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 area to expand equally */
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    min-height: 2.5rem; /* Reserve space for 2-line titles */
    display: flex;
    align-items: center;
}

.card-rating {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #333;
    white-space: nowrap; /* Prevent rating from wrapping */
}

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

.card-description {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    flex-grow: 1; /* Make descriptions take equal space */
}

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

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

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

.trip-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
}

.trip-duration i {
    color: #ff6b35;
}

/* ============================================= */
/* BOOKING FORM - ADDED HEADING */
/* ============================================= */
.booking-form-section {
    margin-top: 3rem;
}

.booking-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

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

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

.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;
}

/* ============================================= */
/* GOOGLE REVIEWS SECTION - FIXED SIZING */
/* ============================================= */
.reviews-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ============================================= */
/* REVIEWS SLIDER STYLES - FIXED SIZING */
/* ============================================= */
.reviews-slider-container {
    position: relative;
    margin: 2rem 0;
    padding: 0 3rem;
}

.reviews-slider {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.review-card {
    flex: 0 0 calc(100% - 1rem);
    min-width: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
    min-height: 280px; /* Set minimum height for consistency */
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #0d9488;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-author {
    flex: 1;
}

.review-author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
    gap: 0.5rem;
}

.review-stars {
    color: #f8d56b;
    margin-left: 0.5rem;
}

.review-content {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    max-height: 4.8em;
    overflow: hidden;
    flex-grow: 1; /* Allow content to expand */
}

.review-content.expanded {
    max-height: none;
}

.review-read-more {
    color: #0d9488;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.review-read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.review-card.expanded .review-read-more i {
    transform: rotate(180deg);
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #0d9488;
}

.slider-button:hover {
    background: #f8d56b;
    transform: translateY(-50%) scale(1.1);
}

.slider-button.prev {
    left: 0;
}

.slider-button.next {
    right: 0;
}

.slider-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

/* ============================================= */
/* 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;
}

/* Hide the entire Instagram section on all screens by default */
.footer-instagram {
    display: none;
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    /* Navigation */
    .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;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-links a {
        color: white;
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        position: relative;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #f8d56b;
        transition: width 0.3s ease;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }
    
    .nav-links a.active {
        color: #f8d56b;
    }
    
    /* Tour Cards Grid */
    .tour-cards-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: unset;
    }
    
    .tour-card-link {
        flex: 0 0 280px;
        scroll-snap-align: start;
        height: auto;
    }
    
    .tour-cards-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .tour-cards-grid::-webkit-scrollbar-thumb {
        background: #f8d56b;
        border-radius: 2px;
    }
    
    /* Section Header */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-text {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-container {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    /* Booking Form */
    .booking-form {
        padding: 1.5rem;
    }
    
    /* Card Header */
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-rating {
        margin-top: 0.5rem;
    }
    
    /* Review Card */
    .review-card {
        min-height: 250px; /* Slightly smaller on mobile */
    }
    
    .card-image {
        height: 180px; /* Slightly smaller on mobile */
    }
}

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

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

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .booking-form {
        padding: 1.2rem;
    }
}


/* Footer Legal Links */
.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;
}

.instagram-feed {
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
    overflow: hidden;
}

.no-caption {
    height: 400px !important;
}

.no-caption a[style*="color:#c9c8cd"],
.no-caption p {
    display: none !important;
}

.no-caption > div {
    padding-bottom: 0 !important;
    height: 100% !important;
}

.no-caption > div > a {
    height: 100% !important;
    display: block !important;
}

.feature-item {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.feature-item > div:not(.feature-icon) {
    flex: 1;
}

/* Instagram Card Styles */
.instagram-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 320px;
    transition: transform 0.3s ease;
}

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

.instagram-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.instagram-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #f8d56b;
}

.instagram-info {
    display: flex;
    flex-direction: column;
}

.instagram-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.instagram-name {
    font-size: 12px;
    color: #8e8e8e;
}

.instagram-embed {
    height: 320px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.instagram-stats {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: white;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #8e8e8e;
}

.instagram-stats i {
    margin-right: 4px;
    color: #0d9488;
}

.instagram-follow-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #405DE6;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.instagram-follow-btn:hover {
    background: #3a4bc1;
}

.instagram-follow-btn i {
    margin-right: 8px;
}