/*
Theme Name: Tura Travel
Theme URI: https://cuscocreativos.com
Author: Cusco Creativos
Author URI: https://cuscocreativos.com
Description: Tema personalizado para Tura Travel, con un enfoque en SEO, rendimiento y estándares modernos.
Version: 1.0.0
Text Domain: turatravel
*/

/* ==========================================================================
   1. Typography Imports
   ========================================================================== */
/* Inter for clean, highly legible body text and Montserrat for geometric bold headers */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* ==========================================================================
   2. Design Tokens (Variables)
   ========================================================================== */
:root {
	/* Colors - Tura Travel Palette */
	--color-primary-dark: #123032;     /* Dark Teal/Green (Main Logo, Navigation) */
	--color-primary-green: #52A08C;    /* Main Green Background */
	--color-accent-yellow: #F1B711;    /* Bright Yellow Highlights */
	--color-accent-sand: #D1B98F;      /* Beige/Sand (Secondary Logo) */
	
	/* Neutral Colors */
	--color-white: #FFFFFF;
	--color-black: #000000;
	--color-text-main: #1F2937;        /* Dark Gray for readable text */
	--color-text-light: #6B7280;       /* Lighter Gray for secondary text */
	--color-bg-light: #F9FAFB;         /* Very light gray for section backgrounds */

	/* Typography */
	--font-primary: 'Inter', sans-serif;
	--font-heading: 'Montserrat', sans-serif;

	/* Font Sizes (Fluid Modular Scale) */
	--text-xs: 0.75rem;     /* 12px */
	--text-sm: 0.875rem;    /* 14px */
	--text-base: 1rem;      /* 16px */
	--text-lg: 1.125rem;    /* 18px */
	--text-xl: 1.25rem;     /* 20px */
	--text-2xl: 1.5rem;     /* 24px */
	--text-3xl: 1.875rem;   /* 30px */
	--text-4xl: 2.25rem;    /* 36px */
	--text-5xl: 3rem;       /* 48px */
	--text-6xl: 3.75rem;    /* 60px */

	/* Spacing */
	--space-1: 0.25rem;     /* 4px */
	--space-2: 0.5rem;      /* 8px */
	--space-3: 0.75rem;     /* 12px */
	--space-4: 1rem;        /* 16px */
	--space-5: 1.25rem;     /* 20px */
	--space-6: 1.5rem;      /* 24px */
	--space-8: 2rem;        /* 32px */
	--space-10: 2.5rem;     /* 40px */
	--space-12: 3rem;       /* 48px */
	--space-16: 4rem;       /* 64px */
	--space-20: 5rem;       /* 80px */
	--space-24: 6rem;       /* 96px */

	/* Transitions */
	--transition-fast: 150ms ease-in-out;
	--transition-normal: 300ms ease-in-out;

	/* Border Radius */
	--radius-sm: 0.25rem;   /* 4px */
	--radius-md: 0.5rem;    /* 8px */
	--radius-lg: 1rem;      /* 16px */
	--radius-full: 9999px;
}

/* ==========================================================================
   3. CSS Reset & Global Styles
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	color: var(--color-text-main);
	background-color: var(--color-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* ==========================================================================
   4. Typography Styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 800; /* Extra bold for headings to match the geometric style */
	line-height: 1.2;
	color: var(--color-text-main);
	margin-bottom: var(--space-4);
	text-transform: uppercase; /* Matching the TURA TRAVEL style */
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

@media (min-width: 768px) {
	h1 { font-size: var(--text-5xl); }
	h2 { font-size: var(--text-4xl); }
	h3 { font-size: var(--text-3xl); }
}

p {
	margin-bottom: var(--space-4);
	text-transform: none;
}

a {
	color: var(--color-primary-green);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--color-primary-dark);
}

/* ==========================================================================
   5. Utility Classes
   ========================================================================== */
/* Text Colors */
.text-primary-dark { color: var(--color-primary-dark); }
.text-primary-green { color: var(--color-primary-green); }
.text-accent-yellow { color: var(--color-accent-yellow); }
.text-accent-sand { color: var(--color-accent-sand); }
.text-white { color: var(--color-white); }

/* Backgrounds */
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-primary-green { background-color: var(--color-primary-green); }
.bg-accent-yellow { background-color: var(--color-accent-yellow); }
.bg-accent-sand { background-color: var(--color-accent-sand); }
.bg-light { background-color: var(--color-bg-light); }

/* Specific Highlights */
.highlight-yellow {
	color: var(--color-accent-yellow);
}
.highlight-white {
    color: var(--color-white);
}

/* Container */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--space-5);
}

/* ==========================================================================
   6. Header & Navigation (Mega Menu)
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-bg-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.logo-link {
	display: inline-block;
}

.site-logo {
    max-height: 45px; /* Adjust height based on standard navbar sizes, preserving aspect ratio */
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.main-navigation a {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: var(--text-sm);
}

.main-navigation a:hover {
    color: var(--color-primary-green);
}

.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.arrow {
    font-size: 0.7em;
    transition: transform var(--transition-fast);
}

/* Mega Menu Desktop */
.has-mega-menu {
    position: static; /* Vital para que el submenu use ancho completo de la ventana */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    border-top: 1px solid var(--color-bg-light);
    z-index: 99;
}

@media (min-width: 992px) {
    .has-mega-menu:hover .mega-menu, 
    .has-mega-menu:focus-within .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .has-mega-menu:hover > a .arrow {
        transform: rotate(180deg);
    }
}

.mega-menu-inner {
    display: flex;
    padding: var(--space-10) var(--space-5);
    gap: var(--space-10);
	flex-wrap: wrap;
}

.mega-menu-columns {
    display: flex;
    flex: 3;
    gap: var(--space-8);
    justify-content: space-between;
}

.mega-menu-title {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-4);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
}

.mega-menu-column a {
    color: var(--color-text-main);
    font-weight: 400;
    position: relative;
    transition: all var(--transition-fast);
}

.mega-menu-column a:hover {
    color: var(--color-primary-green);
    transform: translateX(3px);
}

.mega-menu-featured {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.featured-image-card {
    text-align: center;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mega-menu-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal);
    object-fit: cover;
}

.featured-image-card:hover .mega-menu-img {
    transform: translateY(-5px);
}

.featured-image-caption {
    font-size: var(--text-sm);
    font-weight: 500;
    margin-top: var(--space-3);
    color: var(--color-text-main);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.login-link {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: var(--text-sm);
}

.btn-primary {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Mobile Utilities */
.d-lg-none {
    display: none;
}

/* Tablet & Mobile Responsive */
@media (max-width: 991px) {
    .site-header {
        position: static; /* Vital: Remueve el stacking context para que el z-index del drawer funcione */
        z-index: auto;
    }

    .d-lg-none {
        display: flex;
    }

    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100vh;
        background-color: var(--color-white);
        z-index: 1050;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        display: flex;
        overflow-y: auto;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    }

    .main-navigation.is-active {
        transform: translateX(0);
    }

    /* Off-canvas Header (Profile snippet) */
    .offcanvas-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: var(--space-6) var(--space-5);
        border-bottom: 1px solid var(--color-bg-light);
    }

    .offcanvas-profile {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }

    .profile-img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: contain;
        background-color: var(--color-bg-light);
        padding: 4px;
        border: 1px solid var(--color-bg-light);
    }

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

    .profile-name {
        font-weight: 700;
        color: var(--color-text-main);
        font-family: var(--font-heading);
        font-size: var(--text-sm);
    }

    .profile-role {
        font-size: var(--text-xs);
        color: var(--color-text-light);
    }

    .close-offcanvas {
        background: none;
        border: none;
        font-size: var(--text-2xl);
        line-height: 1;
        cursor: pointer;
        color: var(--color-text-light);
        padding: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-4) var(--space-2);
        gap: var(--space-2);
        margin: 0;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        padding: var(--space-3) var(--space-4);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--radius-lg);
        color: var(--color-text-main);
        font-weight: 500;
    }

    /* Emulate the active style from image 2 on hover/active */
    .main-navigation a:active,
    .main-navigation li.current-menu-item > a {
        background-color: #6366F1; /* Primary color from reference, or we use --color-primary-green */
        color: var(--color-white);
    }
    
    /* Using TURA's green instead of purple for consistency, but if user wants exact emulation we can adjust */
    .main-navigation a:active,
    .main-navigation li.current-menu-item > a {
        background-color: var(--color-primary-green);
        color: var(--color-white);
    }

    /* Submenu (Mega menu as accordion) */
    .mega-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        border-top: none;
        background-color: transparent;
    }

    .has-mega-menu.is-open .mega-menu {
        display: block;
    }
    
    .has-mega-menu.is-open .arrow {
        transform: rotate(180deg);
    }

    .mega-menu-inner {
        flex-direction: column;
        padding: 0 var(--space-4) var(--space-4) var(--space-6);
        gap: var(--space-4);
    }
    
    .mega-menu-columns {
        flex-direction: column;
        gap: var(--space-4);
    }

    .mega-menu-title {
        margin-top: var(--space-3);
    }

    .mega-menu-featured {
        display: none; /* Hide featured image in mobile menu to save space */
    }
    
    .mega-menu-column a {
        padding: var(--space-2) 0;
        font-size: var(--text-sm);
        border-radius: 0;
    }
    
    .mega-menu-column a:active {
        background: transparent;
        color: var(--color-primary-green);
    }

    .header-actions {
        display: none;
    }

    /* Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: var(--space-3) 0;
        z-index: 1040;
        border-top: 1px solid var(--color-bg-light);
    }

    .mobile-bottom-nav .nav-item {
        color: #9CA3AF;
        padding: var(--space-2);
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: color var(--transition-fast);
    }

    .mobile-bottom-nav .nav-item.active,
    .mobile-bottom-nav .nav-item:active {
        color: var(--color-text-main);
    }

    /* Overlay */
    .offcanvas-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 1045;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        display: none;
    }

    .offcanvas-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }
}

/* For Desktop - explicitly hide overlay & offcanvas header */
@media (min-width: 992px) {
    .offcanvas-overlay {
        display: none !important;
    }
}

/* ==========================================================================
   7. Hero Section (Home)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -1px; /* seamless connection with sticky header */
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.slide-active {
    opacity: 1;
}

/* Overlay dark gradient for white text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    max-width: 600px;
    font-weight: 500;
}

/* Glassmorphism Search Box */
.hero-search-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.search-form-hero {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: nowrap;
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px; /* Half of gap */
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--color-bg-light);
}

.search-label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-2);
}

.input-wrap {
    position: relative;
}

.search-input,
.search-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: var(--text-sm);
    color: var(--color-text-main);
    padding: var(--space-1) 0;
}

.search-input:focus,
.search-select:focus {
    outline: none;
}

.select-wrap {
    display: flex;
    align-items: center;
}

.search-select {
    appearance: none;
    cursor: pointer;
    padding-right: var(--space-4);
}

.select-arrow {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: var(--color-text-light);
}

.search-action {
    display: flex;
    align-items: flex-end;
}

.search-submit {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    white-space: nowrap;
}

/* Mobile Hero Adjustments */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        padding-top: var(--space-16);
        padding-bottom: var(--space-16);
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .search-form-hero {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
    }
    
    .search-field:not(:last-child)::after {
        display: none;
    }
    
    .search-field {
        border-bottom: 1px solid var(--color-bg-light);
        padding-bottom: var(--space-3);
    }
    
    .search-action {
        margin-top: var(--space-2);
    }
    
    .search-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   8. Trip Customization Modal
   ========================================================================== */
.trip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.trip-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.trip-modal-box {
    background-color: var(--color-white);
    width: 90%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.trip-modal-overlay.is-active .trip-modal-box {
    transform: scale(1);
}

.trip-modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    font-size: var(--text-3xl);
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.trip-modal-close:hover {
    color: var(--color-text-main);
}

.trip-modal-title {
    font-size: var(--text-2xl);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-6);
    line-height: 1.3;
    padding-right: var(--space-6);
    font-family: var(--font-heading);
    font-weight: 800;
}

.trip-modal-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.trip-modal-form .form-group {
    margin-bottom: 0;
}

.trip-modal-form .form-group.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .trip-modal-form .form-grid {
        grid-template-columns: 1fr;
    }
}

.trip-modal-form label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: var(--space-2);
}

.trip-modal-form input[type="text"],
.trip-modal-form input[type="email"],
.trip-modal-form input[type="tel"],
.trip-modal-form textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-bg-light);
    border-radius: var(--radius-md);
    background-color: #F9FAFB;
    color: var(--color-text-main);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast);
}

.trip-modal-form input:focus,
.trip-modal-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-green);
    background-color: var(--color-white);
}

.trip-modal-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-4);
    font-size: var(--text-base);
}

/* Intl-tel-input overrides */
.iti {
    width: 100%;
    display: block;
}
.iti__country-list {
    color: var(--color-text-main);
    font-size: var(--text-sm);
    max-width: 320px;
    white-space: normal;
    z-index: 10000;
}
.trip-modal-form .iti__tel-input {
    width: 100% !important;
}
.iti__dropdown-content {
    background-color: var(--color-white);
}

/* Validation Messages */
.validation-msg {
    display: block;
    font-size: var(--text-xs);
    margin-top: var(--space-2);
    font-weight: 500;
}
.valid-msg {
    color: #10B981; /* Success Green */
}
.error-msg {
    color: #EF4444; /* Error Red */
}
.hide {
    display: none;
}

/* ==========================================================================
   9. Popular Tours Section (Bento Grid)
   ========================================================================== */
.section-padding {
    padding: var(--space-20) 0;
}

.bg-gray-50 {
    background-color: var(--color-bg-light); 
}

/* Header Layout */
.popular-tours-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-12);
    gap: var(--space-8);
}

.header-titles {
    flex: 0 0 50%;
}

.subheading {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--text-5xl);
    color: var(--color-primary-dark);
    line-height: 1.1;
    font-weight: 800;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.header-desc {
    flex: 0 0 45%;
    padding-top: var(--space-4);
}

.header-desc p {
    font-size: var(--text-base);
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.bento-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary-dark);
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

/* Specific Box Sizings based on 5-column layout */
.box-wide-left {
    grid-column: span 3;
}
.box-narrow-right {
    grid-column: span 2;
}
.box-narrow-left {
    grid-column: span 2;
}
.box-wide-right {
    grid-column: span 3;
}

.box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.box-content {
    position: relative;
    z-index: 2;
    padding: var(--space-6);
    width: 100%;
}

.box-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
    font-weight: 500;
}

.box-title {
    color: var(--color-white);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
}

/* Tour Slider System */
.tour-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    scrollbar-width: thin;
    -ms-overflow-style: none; /* IE and Edge */
}
.tour-slider::-webkit-scrollbar {
    height: 6px;
}
.tour-slider::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 4px;
}

.tour-slide-card {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary-dark);
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    height: 400px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tour-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: var(--space-6);
    width: 100%;
}

.slide-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
    font-weight: 500;
}

.slide-title {
    color: var(--color-white);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Tour Slider Wrappers and Arrows */
.tour-slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-prev {
    left: -24px;
}

.slider-next {
    right: -24px;
}

/* Responsive Rules for Tour Slider */
@media (max-width: 991px) {
    .slider-arrow {
        display: none !important;
    }
    
    .popular-tours-header {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .header-titles, .header-desc {
        flex: 1 1 100%;
    }
    
    .header-desc {
        padding-top: 0;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-4);
        margin-bottom: var(--space-8);
    }
    
    .bento-box {
        grid-column: span 1 !important;
        height: 280px; /* fixed height for mobile */
    }
    
    .tour-slide-card {
        flex: 0 0 calc(50% - 8px);
        height: 350px;
    }
}

@media (max-width: 768px) {
    .tour-slider {
        scroll-padding-left: var(--space-4);
        padding: 0 var(--space-4) var(--space-4);
        margin-left: calc(-1 * var(--space-4));
        margin-right: calc(-1 * var(--space-4));
    }
    .tour-slide-card {
        flex: 0 0 80%;
        height: 320px;
    }
}

/* ==========================================================================
   10. Features Banner (Why Choose Us)
   ========================================================================== */
.features-section {
    padding: 4rem 0;
}

.features-banner {
    position: relative;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-color: #12AF91; /* Base fallback */
    margin: 0 auto;
    /* Do NOT use overflow:hidden so the llama leaps out */
}

.features-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 175, 145, 0.85); /* Exact Teal Match */
    border-radius: 24px;
    z-index: 1;
}

.features-grid {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 4rem;
    padding-right: 380px; /* Robust space reserved strictly for llama */
}

.feature-item {
    color: var(--color-white);
    text-align: center;
    flex: 1 1 33.333%;
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    line-height: 1.25;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0;
    font-weight: 400;
}

.llama-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 135%; /* Break top and bottom perfectly */
    width: auto;
    max-width: 380px;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.25));
    z-index: 10;
}

@media (max-width: 1100px) {
    .features-grid {
        padding: 3rem 2rem;
        padding-right: 200px;
        gap: 2rem;
    }
    .llama-img {
        height: 120%;
        max-width: 250px;
        right: 0;
    }
}

@media (max-width: 991px) {
    .features-grid {
        flex-direction: column;
        padding: 3rem 2rem 150px 2rem; /* Bottom padding for llama */
    }
    .feature-item {
        max-width: 80%;
        margin: 0 auto;
    }
    .llama-img {
        top: auto;
        bottom: -20px;
        transform: translateY(0);
        right: 0;
        left: 0;
        margin: 0 auto;
        height: 250px;
    }
}

/* ==========================================================================
   11. Google Reviews Section
   ========================================================================== */
.reviews-section {
    padding: 5rem 0;
}

.reviews-slider {
    /* Uses the generic .tour-slider layout from above automatically */
}

.reviews-slider .review-card {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    height: auto; /* Allow natural height */
    min-width: 0;
    
    background-color: var(--color-white);
    border-radius: 8px; /* Google standard */
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .reviews-slider .review-card {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .reviews-slider .review-card {
        flex: 0 0 85%;
    }
}



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

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-right: 1rem;
    flex-shrink: 0;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #202124; /* exact google name color */
    margin: 0 0 2px 0;
    font-family: Arial, sans-serif; /* Google mostly uses basic sans-serif like Roboto/Arial here */
}

.review-author-stats {
    font-size: 0.85rem;
    color: #70757a;
    font-family: Arial, sans-serif;
}

.review-rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 8px;
}

.stars {
    color: #fbbc04; /* Google golden */
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.85rem;
    color: #70757a;
    font-family: Arial, sans-serif;
}

.review-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3c4043;
    font-family: Arial, sans-serif;
    margin: 0;
}
}

/* ==========================================================================
   12. FAQ Section
   ========================================================================== */
.faq-section {
    background-color: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

.faq-item.is-open .faq-question {
    color: var(--color-primary);
}

.faq-item.is-open .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding-bottom: 1.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   13. Blog Section
   ========================================================================== */
.blog-section {
    background-color: var(--color-light); /* Enforces the soft 50 contrast */
}

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

.blog-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--color-primary); /* fallback */
}

.blog-card-image-link {
    display: block;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.blog-title a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-excerpt p {
    margin: 0;
}

.blog-read-more {
    font-weight: 700;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    align-self: flex-start;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
}

.blog-read-more:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.custom-footer {
    background-color: #54a08e;
    color: #fff;
    position: relative;
    padding-top: 10px; /* Space inside */
    font-family: 'Product Sans', Arial, sans-serif;
    margin-top: 8vw; /* responsive gap to ensure the image sits freely above */
}

.footer-separator-img {
    position: absolute;
    bottom: 99%; /* Exactly attaches to the top edge and points upward */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.footer-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 11;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col-logo {
    padding-right: 2rem;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-social-icons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-social-icons a {
    color: #fff;
    transition: opacity 0.3s ease;
}

.footer-social-icons a:hover {
    opacity: 0.7;
}

.footer-company-info {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact a {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.footer-bottom a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col-logo {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
    }
}

/* ==========================================================================
   15. Single Tour Product (Airbnb Style)
   ========================================================================== */
.tour-single-main {
    padding: 3rem 0 6rem 0;
    background-color: #fff;
}

.tour-hero-section {
    margin-bottom: 2.5rem;
}

.tour-single-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.tour-single-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tour-single-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Airbnb Gallery */
.airbnb-gallery {
    display: flex;
    height: 480px;
    gap: 8px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-main {
    width: 50%;
    height: 100%;
}

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

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

.gallery-grid {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.gallery-item {
    width: 100%;
    height: 100%;
}

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

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

.disabled-item {
    background-color: solid #e5e7eb;
}

.btn-show-photos {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #fff;
    border: 1px solid #111;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-show-photos:hover {
    background: #f8f8f8;
}

/* Layout Grid */
.tour-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Left Content */
.tour-quick-facts-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.fact-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fact-box svg {
    color: var(--color-primary);
}

.fact-text {
    display: flex;
    flex-direction: column;
}

.fact-text strong {
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.fact-text span {
    font-size: 0.9rem;
    color: var(--color-text);
}

.tour-section {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2.5rem;
}

.tour-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
}

.tour-inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.tour-box {
    padding: 1.8rem;
    border-radius: 12px;
}

.card-inc {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.card-exc {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.format-inc ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    list-style: none;
    color: var(--color-text);
}
.format-inc ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

.format-exc ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    list-style: none;
    color: var(--color-text);
}
.format-exc ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Accordion Itinerary */
.accordion-item {
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-item.is-open .accordion-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.day-badge {
    background: var(--color-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.day-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-dark);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-item.is-open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

.accordion-inner {
    padding: 1.5rem;
}

/* Table */
.tura-table {
    width: 100%;
    border-collapse: collapse;
}

.tura-table th, .tura-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.tura-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--color-text-dark);
}

.tura-table td {
    color: var(--color-text);
}

.price-cell {
    color: var(--color-primary) !important;
    font-size: 1.1rem;
}

/* Right Sidebar Sticky Widget */
.tour-col-sidebar {
    position: relative;
}

.booking-widget-sticky {
    position: sticky;
    top: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    background: #fff;
}

.booking-widget-header {
    margin-bottom: 1.5rem;
}

.lbl-from {
    font-size: 0.9rem;
    color: var(--color-text);
}

.booking-price h3 {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin: 0;
    font-family: var(--font-heading);
}

.booking-widget-body {
    margin-bottom: 1.5rem;
}

.widget-action-or {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}
.widget-action-or::before {
    content: "";
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}
.widget-action-or span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
}

.booking-guarantees ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-guarantees li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

@media (max-width: 991px) {
    .tour-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .booking-widget-sticky {
        position: relative;
        top: 0;
    }
    
    .tour-inc-exc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .airbnb-gallery {
        flex-direction: column;
        height: auto;
    }
    .gallery-main {
        width: 100%;
        height: 300px;
    }
    .gallery-grid {
        display: none;
    }
    .tour-single-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   16. Blog Single Post
   ========================================================================== */

/* Hero Section */
.blog-hero-section {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.blog-hero-section.no-hero-image {
    min-height: 220px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-green) 100%);
    align-items: center;
}

.blog-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 1rem;
    color: #fff;
    max-width: 860px;
}

.post-categories-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-badge {
    background: var(--color-primary-green);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.category-badge:hover {
    background: var(--color-accent-yellow);
    color: var(--color-primary-dark);
}

.blog-single-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.blog-hero-section.no-hero-image .blog-single-title {
    color: #fff;
}

.blog-single-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-meta-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar-sm {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.4);
}

.author-meta-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.meta-secondary {
    font-size: 0.82rem;
    opacity: 0.8;
}

/* Share Bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.share-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.9;
}

.share-btn:hover {
    transform: scale(1.15);
    opacity: 1;
}

.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #1da1f2; color: #fff; }
.share-wa { background: #25d366; color: #fff; }

/* Blog Layout (Content + Sidebar) */
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Article Content */
.blog-article-content {
    min-width: 0;
}

.post-entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-main);
}

.post-entry-content h2,
.post-entry-content h3,
.post-entry-content h4 {
    font-family: var(--font-heading);
    margin: 2rem 0 1rem;
    color: var(--color-primary-dark);
}

.post-entry-content h2 { font-size: 1.7rem; }
.post-entry-content h3 { font-size: 1.35rem; }

.post-entry-content p {
    margin-bottom: 1.5rem;
}

.post-entry-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.post-entry-content ul,
.post-entry-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.post-entry-content li {
    margin-bottom: 0.5rem;
}

.post-entry-content blockquote {
    border-left: 4px solid var(--color-primary-green);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--color-bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

/* Tags */
.post-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin: 2.5rem 0;
}

.post-tag {
    background: var(--color-bg-light);
    color: var(--color-text-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.post-tag:hover {
    background: var(--color-primary-green);
    color: #fff;
    border-color: var(--color-primary-green);
}

/* Author Card */
.author-card-block {
    display: flex;
    gap: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.author-card-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--color-primary-green);
}

.author-card-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.2rem;
}

.author-card-name {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
}

.author-card-bio {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text-main);
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.post-nav-link:hover {
    border-color: var(--color-primary-green);
    background: var(--color-bg-light);
    transform: translateY(-2px);
}

.post-nav-next {
    text-align: right;
}

.nav-direction {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-nav-next .nav-direction {
    justify-content: flex-end;
}

.post-nav-link strong {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-primary-green);
}

/* Search Widget */
.sidebar-widget-search {
    border: none;
    padding: 0;
    background: transparent;
}

.sidebar-search-form {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.sidebar-search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.sidebar-search-btn {
    background: var(--color-primary-green);
    color: #fff;
    border: none;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-search-btn:hover {
    background: var(--color-primary-dark);
}

/* Categories in Sidebar */
.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li {
    border-bottom: 1px solid #f3f4f6;
    padding: 0.5rem 0;
}

.sidebar-categories-list li:last-child {
    border-bottom: none;
}

.sidebar-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.sidebar-categories-list a:hover {
    color: var(--color-primary-green);
}

.sidebar-categories-list .children {
    padding-left: 1rem;
}

/* Recent Posts */
.sidebar-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-recent-link {
    display: flex;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.sidebar-recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-recent-placeholder {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-dark) 100%);
}

.sidebar-recent-info strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--color-text-main);
    margin-bottom: 3px;
    transition: color 0.2s;
}

.sidebar-recent-link:hover .sidebar-recent-info strong {
    color: var(--color-primary-green);
}

.sidebar-recent-info span {
    font-size: 0.78rem;
    color: var(--color-text-light);
}

/* Tag Cloud */
.sidebar-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tags-cloud a {
    background: var(--color-bg-light);
    color: var(--color-text-main) !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem !important;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    display: inline-block;
}

.sidebar-tags-cloud a:hover {
    background: var(--color-primary-green) !important;
    color: #fff !important;
    border-color: var(--color-primary-green);
}

/* CTA Widget */
.sidebar-cta-widget {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-green) 100%) !important;
    border: none !important;
    color: #fff;
    text-align: center;
}

.sidebar-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-cta-inner h3 {
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.sidebar-cta-inner p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

/* Related Posts */
.related-posts-section {
    background: var(--color-bg-light);
    padding: 4rem 0;
    margin-top: 3rem;
}

/* ==========================================================================
   17. Blog Archive Page
   ========================================================================== */

/* Hero Banner */
.archive-hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a4a48 50%, var(--color-primary-green) 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.archive-hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.archive-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.archive-hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.archive-hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* Category Filter Pills */
.archive-category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.cat-pill {
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.25s;
    backdrop-filter: blur(4px);
}

.cat-pill:hover,
.cat-pill.is-active {
    background: #fff;
    color: var(--color-primary-dark);
    border-color: #fff;
}

/* Archive Layout */
.archive-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    margin-bottom: 5rem;
}

.archive-posts-col {
    min-width: 0;
}

/* Featured Post Card */
.featured-archive-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.featured-archive-card:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.featured-card-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 340px;
}

.featured-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

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

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0) 60%, rgba(0,0,0,0.3) 100%);
}

.featured-card-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary-green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.featured-card-title a {
    text-decoration: none;
    color: var(--color-primary-dark);
    transition: color 0.2s;
}

.featured-card-title a:hover {
    color: var(--color-primary-green);
}

.featured-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.featured-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.author-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.author-avatar-xs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Blog card footer row */
.blog-card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* Blog card No Thumb */
.blog-card-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f5, #e5e7eb);
}

/* Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--color-text-main);
    transition: all 0.2s;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--color-primary-green);
    color: #fff;
    border-color: var(--color-primary-green);
}

.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
    width: auto;
    padding: 0 1rem;
}

/* No Posts */
.archive-no-posts {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.archive-no-posts h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}

.archive-no-posts p {
    color: var(--color-text-light);
    max-width: 400px;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-single-layout,
    .archive-layout {
        grid-template-columns: 1fr;
    }

    .blog-hero-section {
        min-height: 380px;
    }

    .blog-single-title {
        font-size: 2rem;
    }

    .featured-archive-card {
        grid-template-columns: 1fr;
    }

    .featured-card-image-wrap {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .archive-hero-title {
        font-size: 2rem;
    }

    .blog-single-title {
        font-size: 1.7rem;
    }

    .blog-single-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-navigation-block {
        grid-template-columns: 1fr;
    }

    .author-card-block {
        flex-direction: column;
    }

    .archive-category-pills {
        gap: 0.4rem;
    }
}
