:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--text-main);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    transition: color var(--transition-normal);
}

.navbar.scrolled .navbar-brand {
    color: var(--text-main);
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

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

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


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

/* Make video act like object-fit: cover */
.video-container .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
    /* User can't click pause/play */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.6) 0%,
            rgba(15, 23, 42, 0.4) 50%,
            rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Search Bar Styles */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
    z-index: 10;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    padding: 0.5rem 1.5rem;
    transition: all var(--transition-normal);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    color: white;
    margin-right: 1rem;
    opacity: 0.8;
}

#tour-search {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    outline: none;
    font-family: 'Inter', sans-serif;
}

#tour-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Section Shared */
.section {
    padding: 6rem 0;
}

/* About Section */
.about {
    background-color: white;
}

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

.about-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Tour Filters */
.tour-filters {
    margin: 2rem auto 3rem;
    max-width: 950px;
}

.filter-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-filter {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 999px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-filter.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

/* Tours Section */
.tours {
    background-color: var(--bg-light);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Tour Card */
.tour-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.tour-image-container {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
}

.tour-image-container:hover {
    opacity: 0.95;
}

.tour-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tour-image-container:hover .tour-image {
    transform: scale(1.08);
}

.tour-price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.tour-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.tour-content a:hover .tour-title {
    color: var(--primary);
}

.tour-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.tour-duration svg {
    color: var(--primary);
}

/* FAQ Section Styles */
.faq {
    background-color: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 12px;
}

.faq-header:hover {
    background-color: var(--primary-light);
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-body {
    max-height: 200px;
    padding: 0.5rem 1rem 1.5rem 1rem;
}

.faq-body p {
    color: var(--text-muted);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    background: white;
    border-radius: 1.5rem;
    grid-column: 1 / -1;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 2 1 260px;
}

.footer-links {
    flex: 1 1 180px;
}

.footer-brand h2 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-brand,
    .footer-links {
        flex: 1 1 100%;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tour Detail Page Styles */
.tour-detail-wrapper {
    padding-top: 100px;
    background-color: var(--bg-light);
}

/* Gallery Grid Styles */
.gallery-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 2.5 / 1;
    max-height: 450px;
    min-height: 300px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
}

.gallery-wrapper div {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.gallery-img:hover {
    filter: brightness(0.85);
}

.gallery-img-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.gallery-img-sub {
    /* Styles for the sub images in the grid */
    height: 100%;
}

.gallery-img-more {
    position: relative;
    cursor: pointer;
}

.gallery-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    z-index: 2;
    transition: background 0.3s ease;
}

.gallery-img-more:hover .gallery-more-overlay {
    background: rgba(15, 23, 42, 0.5);
}

.btn-view-all {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: white;
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-view-all:hover {
    background: var(--bg-light);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s;
}

.lightbox-close:hover,
.lightbox-btn:hover {
    transform: scale(1.1);
}

.lightbox-header {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    z-index: 10000;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    user-select: none;
}

.tour-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.tour-main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tour-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.tour-box {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.tour-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

#btn-read-more:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Timeline / Itinerary */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.95rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid white;
}

.timeline-time {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Sticky Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.booking-price {
    font-size: 2rem;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wa-help-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.wa-help-card h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
}

.wa-help-card .wa-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.wa-help-card .wa-link svg {
    color: var(--primary-dark);
}

/* Page Tour Specific Nav */
.page-tour .navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.page-tour .navbar-brand,
.page-tour .nav-links a {
    color: var(--text-main) !important;
}

.page-tour .burger-menu span {
    background-color: var(--text-main) !important;
}

.page-tour .nav-links a:hover {
    color: var(--primary) !important;
}

/* Nav Actions & Burger Menu */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.burger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1002;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    transform-origin: center;
}

.navbar.scrolled .burger-menu span {
    background-color: var(--text-main);
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--text-main) !important;
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--text-main) !important;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .tour-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-main) !important;
        font-size: 1.25rem;
    }

    .nav-cta {
        display: none;
        /* Hide on mobile to save space */
    }

    .section {
        padding: 4rem 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .gallery-wrapper {
        border-radius: 0;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        width: calc(100% + 2.5rem);
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 250px;
        max-height: 400px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 0;
    }

    .gallery-grid>div:not(.gallery-img-main) {
        display: none;
    }

    .gallery-img-main {
        grid-column: 1 / -1;
        grid-row: 1 / -1;
    }

    .btn-view-all {
        bottom: 1rem;
        right: 1.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        width: auto;
    }

    .tour-detail-wrapper {
        padding-top: 80px;
    }

    .tour-main-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 32px;
    }

    .tour-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .tour-footer .btn {
        width: 100%;
    }

    .container {
        padding: 0 1.25rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Static Page Layout (About, Terms, Privacy, etc.) */
.static-page {
    padding: 100px 0 80px;
}

.static-page-inner {
    max-width: 800px;
    margin: 0 auto;
}

.static-page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.static-page-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.static-page-content h2,
.static-page-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.static-page-content p {
    margin-bottom: 1rem;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0 0 1.5rem 1.25rem;
}

.static-page-content li {
    margin-bottom: 0.35rem;
}

/* Floating WhatsApp Pulse */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-wa::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.floating-wa:hover {
    transform: translateY(-5px) scale(1.05);        
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20BA56;
}

/* Reviews Section Styles */
.reviews {
    background-color: var(--bg-light);
}

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

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.review-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.author-info strong {
    display: block;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* CTA Section Styles */
.cta {
    background: linear-gradient(rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.9)), url('../Foto/4.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
}

.cta-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

/* Contact Section Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-group h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.info-detail strong {
    display: block;
    font-size: 1.1rem;
}

.contact-map {
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    overflow: hidden;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.w-full {
    width: 100%;
}

/* Legal Pages Styling */
.legal-page .navbar {
    background: white;
    box-shadow: var(--shadow-sm);
}

.legal-page .navbar-brand,
.legal-page .nav-links a {
    color: var(--text-main) !important;
}

.legal-page .burger-menu span {
    background-color: var(--text-main) !important;
}

.legal-page .nav-links a:hover {
    color: var(--primary) !important;
}

.legal-content {
    padding-top: 10rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    margin-top: 3rem;
}

.legal-text h2 {
    margin: 2.5rem 0 1rem 0;
    font-size: 1.5rem;
}

.legal-text p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .tour-box {
        padding: 1.5rem;
    }

    .tour-includes-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .cta-title {
        font-size: 2.25rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}