/* public/css/tours.css */

/* =========================================
   TOURS PAGE - REDESIGN
   Giữ nguyên chức năng, làm mới giao diện
========================================= */

:root {
    --tour-orange: #e0592a;
    --tour-purple: #6f42c1;
    --tour-purple-dark: #56309a;
    --tour-yellow: #f8c84e;
    --tour-dark: #111111;
    --tour-bg: #f7f7f4;
    --tour-cream: #fff7e6;
    --tour-white: #ffffff;
    --tour-text: #444444;
    --tour-muted: #777777;
    --tour-border: rgba(17, 17, 17, 0.12);
    --tour-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--tour-bg);
}

.tours-page {
    width: 100%;
    overflow: hidden;
    background: var(--tour-bg);
    color: var(--tour-dark);
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.tours-container,
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.w-100 {
    width: 100%;
}

/* =========================================
   HERO
========================================= */

.tours-hero {
    position: relative;
    min-height: 62vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.tours-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(111, 66, 193, 0.24), transparent 42%),
        linear-gradient(180deg, rgba(0,0,0,0.34), rgba(0,0,0,0.78));
    z-index: 1;
}

.tours-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 22px;
}

.tours-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--tour-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.tours-hero .tours-eyebrow {
    color: var(--tour-yellow);
}

.secondary-pagers-hero-header {
    margin: 0;
    color: inherit;
    font-size: clamp(44px, 8vw, 100px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.tours-hero-text {
    max-width: 760px;
    margin: 22px auto 0;
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 700;
}

/* =========================================
   BUTTON
========================================= */

.main-red-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    background: var(--tour-purple);
    color: #fff;
    border: 2px solid var(--tour-purple);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.main-red-button:hover {
    background: var(--tour-purple-dark);
    border-color: var(--tour-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(111, 66, 193, 0.28);
}

.scroll-btn {
    margin-top: 28px;
}

/* =========================================
   TOUR INFO
========================================= */

.tour-info-section {
    background: var(--tour-bg);
    padding: 0 0 50px;
}

.tour-info-card {
    position: relative;
    z-index: 4;
    margin-top: -48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    background: #fff;
    border: 1px solid var(--tour-border);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--tour-shadow);
}

.tour-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f7f7f4;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 18px;
}

.tour-info-item span {
    width: 48px;
    height: 48px;
    background: var(--tour-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.tour-info-item small {
    display: block;
    color: var(--tour-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.tour-info-item strong {
    color: var(--tour-dark);
    font-size: 17px;
    font-weight: 900;
}

/* =========================================
   INTRO
========================================= */

.tour-intro-section {
    padding: 70px 0;
    background: var(--tour-bg);
}

.tour-intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: center;
}

.section-title {
    margin: 0;
    color: var(--tour-dark);
    font-size: clamp(30px, 4.6vw, 56px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.tours-paragraph {
    margin: 0;
    color: var(--tour-text);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 650;
}

/* =========================================
   GALLERY
========================================= */

.gallery-section {
    padding: 20px 0 80px;
    background: var(--tour-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 18px;
}

.gallery-img {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--tour-shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.55));
    z-index: 1;
}

.gallery-img span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-img:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.15);
}

.img-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background-image: url('https://images.unsplash.com/photo-1563514995960-91147a7b8e5c?auto=format&fit=crop&w=1000&q=80');
}

.img-2 {
    background-image: url('https://images.unsplash.com/photo-1532634922-8fe0b757fb13?auto=format&fit=crop&w=800&q=80');
}

.img-3 {
    background-image: url('https://images.unsplash.com/photo-1555658636-6e4a36210b15?auto=format&fit=crop&w=800&q=80');
}

.img-4 {
    grid-column: 3 / 5;
    background-image: url('https://images.unsplash.com/photo-1574681657388-1d227d8258e4?auto=format&fit=crop&w=1000&q=80');
}

.img-5 {
    display: none;
    background-image: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1000&q=80');
}

/* =========================================
   WAVE
========================================= */

.wave-div {
    width: 100%;
    background: var(--tour-bg);
    line-height: 0;
}

.wave-div img {
    width: 100%;
    display: block;
}

/* =========================================
   BOOKING
========================================= */

.booking-section {
    padding: 80px 0 100px;
    background:
        radial-gradient(circle at top left, rgba(111, 66, 193, 0.08), transparent 34%),
        var(--tour-cream);
}

.two-column-widget {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
    align-items: center;
}

.two-column-widget.reverse-layout {
    grid-template-columns: 0.9fr 1fr;
}

.gift-section-row {
    margin-top: 80px;
}

.left-column,
.right-column {
    min-width: 0;
}

.right-column {
    display: flex;
    justify-content: center;
}

.mock-widget {
    width: 100%;
    max-width: 450px;
    background: var(--tour-dark);
    color: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.18);
}

.widget-label {
    margin: 0 0 10px;
    color: var(--tour-yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mock-widget h3 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.widget-input {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.widget-input::placeholder {
    color: rgba(255,255,255,0.55);
}

.widget-input:focus {
    border-color: var(--tour-orange);
    background: rgba(255,255,255,0.12);
}

select.widget-input option {
    color: #111;
}

.gift-widget {
    background: #fff;
    color: var(--tour-dark);
    border: 1px solid var(--tour-border);
}

.gift-widget .widget-label {
    color: var(--tour-orange);
}

.gift-widget h3 {
    color: var(--tour-dark);
}

.gift-widget .widget-input {
    background: #f7f7f4;
    border-color: #ddd;
    color: var(--tour-dark);
}

.gift-widget .widget-input::placeholder {
    color: #888;
}

/* =========================================
   OLD CLASS COMPATIBILITY
========================================= */

.section-with-margin {
    padding: 60px 0;
}

.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-row {
    background: #fff;
    border-left: 5px solid var(--tour-purple);
    padding: 20px;
    margin: 30px auto;
    text-align: left;
    display: inline-block;
    border-radius: 14px;
    box-shadow: var(--tour-shadow);
}

.benefit-row div {
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: bold;
}

.benefit-row div:last-child {
    margin-bottom: 0;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {
    .tour-info-card {
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .tour-intro-grid,
    .two-column-widget,
    .two-column-widget.reverse-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .img-1,
    .img-2,
    .img-3,
    .img-4,
    .img-5 {
        display: block;
        grid-column: auto;
        grid-row: auto;
        height: 240px;
    }

    .booking-section {
        padding: 65px 0;
    }

    .gift-section-row {
        margin-top: 55px;
    }
}

@media (max-width: 650px) {
    .tours-container,
    .container {
        padding: 0 16px;
    }

    .tours-hero {
        min-height: 55vh;
    }

    .secondary-pagers-hero-header {
        font-size: clamp(40px, 15vw, 70px);
        letter-spacing: -0.5px;
    }

    .tours-hero-text {
        font-size: 15px;
    }

    .tour-intro-section {
        padding: 55px 0;
    }

    .section-title {
        font-size: clamp(30px, 12vw, 44px);
    }

    .tours-paragraph {
        font-size: 15px;
        line-height: 1.7;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 230px;
        border-radius: 22px;
    }

    .mock-widget {
        padding: 24px;
        border-radius: 22px;
    }

    .mock-widget h3 {
        font-size: 22px;
    }

    .tour-info-item {
        padding: 16px;
    }
}