/**
 * Main Theme Styles
 * Created for WonderTour
 */

:root {
    --primary-color: #ff6b00;
    /* Hachi Orange - Official */
    --secondary-color: #0077b6;
    /* Oceanic Blue - Official */
    --accent-blue: #69E1F0;
    /* Cyan from Logo */
    --accent-green: #92D050;
    /* Green from Logo */
    --accent-yellow: #FFD166;
    /* Sun Yellow from Logo */
    --accent-pink: #F49AC2;
    /* Pink from Logo */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    margin: 0;
}

/* Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
.site-header {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.brand-logo {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

/* Transparent header: Invert black to white but keep Orange hue */
.site-header:not(.scrolled) .brand-logo {
    filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.1);
}

.site-header.scrolled .brand-logo {
    height: 45px;
}

.main-navigation {
    flex: 1;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 35px;
}

.main-navigation a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.site-header.scrolled .main-navigation a {
    color: var(--text-dark);
    text-shadow: none;
}

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

.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    /* Reduced from 25px */
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.site-header.scrolled .header-actions {
    color: var(--text-dark);
    text-shadow: none;
}

.contact-info {
    font-weight: 700;
    font-size: 0.85rem;
}

.language-switcher {
    font-size: 0.85rem;
    font-weight: 700;
}

.language-switcher a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.language-switcher a.active {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
    text-shadow: none;
    box-shadow: none;
}

.btn-primary:hover,
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* --- HERO ANIMATION SYSTEM --- */
@keyframes dropSoft {
    0% {
        opacity: 0;
        transform: translateY(-150px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    position: relative !important;
    height: 95vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #000 !important;
    overflow: hidden !important;
    text-align: center !important;
    padding: 0 !important;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 25, 47, 0.4) 100%, transparent 40%, transparent 60%, rgba(10, 25, 47, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 900px !important;
    margin-top: -150px !important;
    /* Extremely high on PC */
    width: 100% !important;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
    opacity: 0;
    animation: dropSoft 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    animation-delay: 0.5s !important;
}

.hero-content h1 span.highlight {
    color: var(--primary-color) !important;
    /* Elegant serif touch */
}

.hero-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    animation: dropSoft 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    animation-delay: 1.2s !important;
}

/* Search Bar - Reverted to Clean White Style */
.search-section {
    margin-top: -30px;
    /* Subtle original overlap */
    position: relative;
    z-index: 100;
}

.search-container {
    background: #fff !important;
    display: flex;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 5px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 25px;
    border-right: 1px solid #f1f5f9;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    /* Gray label */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.search-field select,
.search-field input {
    background: transparent !important;
    border: none !important;
    color: var(--text-dark) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    padding: 5px 0;
}

.search-field select option {
    background: #fff;
    color: var(--text-dark);
}

.search-btn-v4 {
    background: var(--primary-color) !important;
    /* Back to Hachi Orange */
    color: #fff !important;
    border: none;
    height: 48px;
    padding: 0 35px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    margin-left: 10px;
}

.search-btn-v4:hover {
    background: #e65c00 !important;
    transform: translateY(-2px);
}

/* Mobile Responsive Search */
@media (max-width: 768px) {
    .search-section {
        margin-top: -20px;
        padding: 0 15px;
    }

    .search-container {
        flex-direction: column !important;
        padding: 10px !important;
        gap: 0 !important;
    }

    .search-field {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
        padding: 15px 0 !important;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .search-btn-v4 {
        width: 100% !important;
        margin: 20px 0 0 !important;
        height: 50px !important;
    }
}

.search-field-v4 {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
}

.field-icon-v4 {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    color: #64748b !important;
    display: flex;
    align-items: center;
}

.search-field-v4 select {
    border: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    color: #444 !important;
    outline: none !important;
    cursor: pointer !important;
    width: 100% !important;
    padding: 5px 0 !important;
    font-family: inherit;
}

.search-divider-v4 {
    width: 1px;
    height: 25px;
    background: #e2e8f0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .search-divider-v4 {
        display: none;
    }
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 15px;
    padding: 0 35px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #e67e3a;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

:root {
    --primary-color: #ff6b00;
    /* Hachi Orange */
    --secondary-color: #0077b6;
    /* Oceanic Blue */
    --accent-color: #ffc300;
    /* Sunny Yellow */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #dfe6e9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Navigation overrides consolidated above */


.search-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #e65a00;
    transform: translateY(-2px);
}

/* --- Tour Cards (Clean & High Contrast) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tour-card-content {
    padding: 25px;
}

.tour-card-content h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    color: var(--text-dark);
}

.tour-card .price {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 800;
}

/* --- Destination Cards --- */
.dest-card {
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dest-card:hover {
    transform: scale(1.02);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: #e65a00;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* --- Footer --- */
.site-footer {
    background: #1e272e;
    color: #fff;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #a4b0be;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

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

    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .hero-content h1,
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    .search-container {
        grid-template-columns: 1fr;
    }

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

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tour-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.tour-card-content {
    padding: 25px;
}

.tour-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.tour-card .price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: block;
}

.footer-info .logo span {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
        transition: var(--transition);
    }

    .site-branding {
        position: relative;
        left: 0;
        transform: none;
        flex: 0 1 auto;
        /* Allow shrink */
        min-width: 0;
    }

    .header-actions {
        flex: 1 1 auto;
        gap: 8px !important;
        min-width: 0;
    }

    .main-navigation {
        display: none;
        position: fixed;
        /* Use fixed to avoid flexbox side-effects from parent */
        top: 75px;
        /* Adjust based on header height */
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        background: #fff;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        padding: 15px 0;
        z-index: 9999;
        border-radius: 15px;
        margin: 0 !important;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-navigation.toggled a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        padding: 15px 20px;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
    }

    /* Disable the desktop underline effect on mobile menu */
    .main-navigation.toggled a::after {
        display: none !important;
    }

    .main-navigation.toggled {
        display: block;
        animation: slideDown 0.3s ease;
    }

    /* Sub-menu styling for mobile */
    .main-navigation ul ul {
        display: none;
        padding-left: 15px;
        background: #f8f9fa;
    }

    .main-navigation li:hover>ul {
        display: block;
    }

    /* Fix Hamburger icon color on scrolled */
    .site-header.scrolled .menu-toggle {
        color: var(--text-dark) !important;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

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

    .main-navigation a {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: none;
        /* Remove default border */
        position: relative;
    }

    .main-navigation li:not(:last-child) a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20px;
        right: 20px;
        height: 1px;
        background: #f1f5f9;
        width: auto;
    }

    .main-navigation a:hover::after {
        width: auto;
        /* Prevent desktop hover logic */
        background: #f1f5f9;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

@media (max-width: 768px) {

    /* Hero handled above with flex centering */
    .search-container {

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

        .footer-bottom-inner {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }
    }

    @media (max-width: 480px) {
        .hero-content {
            margin-top: -240px !important;
            /* Way up for small screens */
            padding: 0 20px;
            width: 100%;
        }

        .hero-content h1 {
            font-size: 1.95rem !important;
            margin-bottom: 12px !important;
        }

        .hero-content p {
            font-size: 1.1rem !important;
            margin-bottom: 30px !important;
        }

        .site-header {
            max-width: 100vw;
            overflow: visible;
        }

        .site-header-inner {
            padding: 0 15px !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100%;
            box-sizing: border-box;
        }

        .brand-logo,
        .site-header.scrolled .brand-logo {
            height: 28px !important;
            /* Elegant smaller size */
            flex-shrink: 0;
        }

        .header-actions {
            display: flex !important;
            align-items: center !important;
            gap: 6px !important;
            /* Tight gaps for mobile */
            flex: 0 1 auto;
            justify-content: flex-end;
        }

        .contact-info {
            display: block !important;
            font-size: 11px;
            white-space: nowrap;
            margin-left: 15px;
            font-weight: 500;
            opacity: 0.9;
        }

        .language-switcher {
            font-size: 0.75rem;
            font-weight: 700;
            white-space: nowrap;
            margin-right: 2px;
        }

        .btn.btn-outline.book-tour-btn {
            display: none !important;
            /* Removed Book Now on mobile per request */
        }

        .menu-toggle {
            margin-left: 0 !important;
            padding: 0 5px !important;
        }
    }
}

/* --- FRONT PAGE COMPONENTS --- */
.section-padding {
    padding: 80px 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Tour Cards Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: #fff !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.tour-card-img-wrap {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.tour-card-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-img-wrap img {
    transform: scale(1.1);
}

.tour-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.tour-card-content {
    padding: 25px;
}

.tour-location {
    color: #0088cc;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.card-title {
    margin: 0 0 15px;
    font-size: 1.35rem;
    line-height: 1.4;
    color: #1a202c;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.tour-link {
    color: #0088cc !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.tour-link:hover {
    color: #005580 !important;
    text-decoration: none !important;
}

.tour-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Bento Grid Destinations */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
    grid-auto-flow: dense;
    transition: all 0.4s ease;
}

.bento-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
    display: block;
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
}

.bento-item.is-hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.bento-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
    text-align: center;
    transition: background 0.3s ease;
}

.bento-item h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-big {
    grid-column: span 2;
    grid-row: span 2;
}

/* Region Navigation */
.region-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.region-tab {
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 15px;
    transition: color 0.3s;
}

.region-tab.active {
    color: var(--secondary-color);
}

.region-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

/* Feature Advantages */
.features-section {
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials Slider */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    background-image: linear-gradient(rgba(10, 25, 47, 0.55), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: #fff;
}

.testimonials-section .section-title h2 {
    color: #fff;
}

.testimonials-section .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-wrapper {
    width: 100%;
    position: relative;
    padding: 0 10px;
    /* Slight breathing room for shadows */
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    padding: 0;
}

.testimonial-slide {
    flex: 0 0 33.3333%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: #334155;
    /* Dark grey for readability */
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    color: #475569;
}

.testimonial-author h4 {
    margin: 0;
    color: #1e293b;
    font-weight: 800;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #ffca28;
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 6px;
}

.search-wrapper {
    max-width: 1100px !important;
}

.feature-icon-blue {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
}

.feature-icon-green {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #22c55e !important;
}

.feature-icon-orange {
    background: rgba(249, 115, 22, 0.1) !important;
    color: #f97316 !important;
}

.feature-icon-yellow {
    background: rgba(234, 179, 8, 0.1) !important;
    color: #eab308 !important;
}

/* --- ARCHIVE TOUR COMPONENTS --- */
.archive-container {
    padding: 0 20px 80px;
}

.archive-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}

.archive-hero-banner {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(to right, rgba(0, 25, 50, 0.85), rgba(0, 25, 50, 0.4)), url('https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=1920&q=80');
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    margin-bottom: 60px;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.banner-sub {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.banner-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 25px 0;
    border-radius: 2px;
}

.banner-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
}

/* Sidebar & Filters */
.filter-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.filter-title {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    outline: none;
    font-size: 0.95rem;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    font-size: 0.95rem;
}

.apply-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: #e65c00;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.no-results {
    padding: 100px 40px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
}

.no-results .dashicons {
    font-size: 60px !important;
    width: 60px !important;
    height: 60px !important;
    color: #e2e8f0;
    margin-bottom: 20px;
}

/* --- SINGLE TOUR COMPONENTS --- */
/* --- SINGLE TOUR COMPONENTS --- */
.tour-single-hero {
    position: relative;
    height: 450px;
    background: #000;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    overflow: hidden;
}

.tour-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 1;
}

.tour-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.tour-single-hero .container {
    position: relative;
    z-index: 3;
    color: #fff;
    width: 100%;
}

.tour-single-hero h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-family: 'Playfair Display', serif;
}

.tour-quick-meta {
    display: flex;
    gap: 25px;
    margin-top: 15px;
    font-weight: 500;
    opacity: 0.9;
}

.tour-quick-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.tour-description {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f5f5f5;
    margin-bottom: 40px;
}

.tour-description h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* Itinerary & Timeline */
.itinerary-section {
    margin-bottom: 50px;
}

.itinerary-toggle {
    margin-bottom: 15px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.itinerary-toggle summary {
    padding: 15px 25px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: all 0.3s;
    background: #f7fafc;
}

.itinerary-toggle summary::-webkit-details-marker {
    display: none;
}

.itinerary-toggle[open] summary {
    background: var(--secondary-color);
    color: #fff;
}

.itinerary-content {
    padding: 25px 30px 30px 50px;
    line-height: 1.8;
    color: #4a5568;
    position: relative;
}

.itinerary-content::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 30px;
    width: 2px;
    background: #edf2f7;
}

.itinerary-content::after {
    content: '';
    position: absolute;
    left: 26px;
    top: 35px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

/* Booking Sidebar */
.booking-card {
    padding: 30px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    position: sticky;
    top: 100px;
}

.booking-price {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    text-align: center;
}

.booking-price .label {
    font-size: 0.9rem;
    color: #999;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-price .value {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.booking-form h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-align: center;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    background: #fcfcfc;
    box-sizing: border-box;
}

.additional-info-section {
    margin: 60px 0;
}

.additional-info-section h2 {
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item .dashicons {
    color: var(--primary-color);
    font-size: 32px !important;
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 15px;
}

.info-item h4 {
    margin: 10px 0 8px;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Itinerary Details */
.summary-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.itinerary-header {
    margin-bottom: 15px;
}

.itinerary-header strong {
    font-size: 1.15rem;
    color: #1e293b;
    display: block;
    margin-bottom: 8px;
}

.meal-tag {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ebf8ff;
    padding: 6px 15px;
    border-radius: 20px;
    width: fit-content;
}

.itinerary-desc {
    font-size: 1.05rem;
    color: #4a5568;
}

/* Notices Grid */
.notices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.notice-toggle {
    border-radius: 12px;
    background: #f9f9f9;
    overflow: hidden;
    border: 1px solid #eee;
}

.notice-toggle summary {
    padding: 18px 25px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: all 0.3s;
}

.notice-toggle summary::-webkit-details-marker {
    display: none;
}

.notice-content {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.grid-span-all {
    grid-column: span 2;
}

.section-title-left {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.support-text {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-layout {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 992px) {
    .tour-details-grid {
        grid-template-columns: 1fr;
    }

    .tour-sidebar {
        max-width: 500px;
        margin: 40px auto 0;
        width: 100%;
        position: static !important;
    }

    .notices-grid {
        grid-template-columns: 1fr;
    }

    .grid-span-all {
        grid-column: auto;
    }

    .testimonial-slide {
        flex: 0 0 50% !important;
    }

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

    .archive-sidebar {
        order: 2;
    }

    .archive-main {
        order: 1;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-hero-banner {
        height: 280px;
        margin-bottom: 30px;
    }

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

    .banner-desc {
        font-size: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .banner-divider {
        margin: 15px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .bento-tall,
    .bento-wide,
    .bento-big {
        grid-row: auto;
        grid-column: auto;
    }

    .testimonial-slide {
        flex: 0 0 100% !important;
    }

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

    .tour-card-img-wrap {
        height: 200px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .additional-info-section h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .info-item {
        padding: 15px;
    }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(60px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered Delays for Grid Items */
.reveal.delay-100 { transition-delay: 0.2s; }
.reveal.delay-200 { transition-delay: 0.4s; }
.reveal.delay-300 { transition-delay: 0.6s; }
.reveal.delay-400 { transition-delay: 0.8s; }
.reveal.delay-500 { transition-delay: 1.0s; }
.reveal.delay-600 { transition-delay: 1.2s; }

/* --- Single Post 2-Column Layout --- */
.post-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    margin-top: 50px;
    align-items: flex-start;
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 0;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .post-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .post-sidebar {
        position: static;
    }
}