/* public/css/locations.css */

/* =========================================
   LOCATIONS PAGE - REDESIGN
   Giữ nguyên chức năng, làm mới giao diện
========================================= */

:root {
    --loc-orange: #e0592a;
    --loc-purple: #6f42c1;
    --loc-purple-dark: #56309a;
    --loc-dark: #111111;
    --loc-cream: #fff7e6;
    --loc-bg: #f7f7f4;
    --loc-white: #ffffff;
    --loc-text: #444444;
    --loc-muted: #777777;
    --loc-border: rgba(17, 17, 17, 0.12);
    --loc-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(--loc-bg);
}

.locations-page {
    width: 100%;
    overflow: hidden;
    background: var(--loc-bg);
    color: var(--loc-dark);
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.locations-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.text-center {
    text-align: center;
}

/* =========================================
   HERO
========================================= */

.locations-hero {
    position: relative;
    min-height: 58vh;
    background:
        url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80')
        center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.locations-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(111, 66, 193, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.74));
    z-index: 1;
}

.locations-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 22px;
}

.locations-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--loc-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.locations-hero .locations-eyebrow {
    color: #f8c84e;
}

.massive-hero-h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 8vw, 108px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.locations-hero-content p:last-child {
    max-width: 720px;
    margin: 22px auto 0;
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 700;
}

/* =========================================
   LOCATION LIST
========================================= */

.locations-list-section {
    padding: 80px 0 40px;
    background:
        radial-gradient(circle at top left, rgba(111, 66, 193, 0.08), transparent 34%),
        var(--loc-bg);
}

.location-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--loc-border);
    border-radius: 30px;
    padding: 42px;
    margin-bottom: 36px;
    box-shadow: var(--loc-shadow);
    overflow: hidden;
}

.location-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 220px;
    height: 220px;
    background: rgba(111, 66, 193, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.location-info {
    position: relative;
    z-index: 2;
}

.location-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    background: var(--loc-purple);
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(111, 66, 193, 0.25);
}

.section-title {
    margin: 0 0 22px;
    color: var(--loc-dark);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.location-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: #f7f7f4;
    border-radius: 16px;
    border: 1px solid #eee;
}

.location-detail span {
    flex-shrink: 0;
    font-size: 20px;
}

.location-detail p {
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 800;
}

.locations-paragraph {
    margin: 22px 0 0;
    color: var(--loc-text);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 650;
}

/* =========================================
   BOOKING FORM
========================================= */

.booking-panel {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.booking-box {
    width: 100%;
    max-width: 440px;
    background: var(--loc-dark);
    color: #fff;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.18);
}

.booking-label {
    margin: 0 0 10px;
    color: #f8c84e;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.booking-box h3 {
    margin: 0 0 24px;
    color: #fff;
    text-align: left;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-row label {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    font-weight: 800;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-form input,
.booking-form select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.booking-form input::placeholder {
    color: rgba(255,255,255,0.55);
}

.booking-form select {
    color: #fff;
}

.booking-form select option {
    color: #111;
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: var(--loc-orange);
    background: rgba(255,255,255,0.12);
}

.main-red-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    margin-top: 8px;
    padding: 13px 20px;
    background: var(--loc-purple);
    color: #fff;
    border: 2px solid var(--loc-purple);
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.main-red-button:hover {
    background: var(--loc-purple-dark);
    border-color: var(--loc-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(111, 66, 193, 0.28);
}

/* =========================================
   MAP
========================================= */

.map-section {
    padding: 0 0 50px;
    background: var(--loc-bg);
    line-height: normal;
}

.map-card {
    background: #fff;
    border: 1px solid var(--loc-border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--loc-shadow);
}

.map-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    border-bottom: 1px solid #eee;
}

.map-header h3 {
    margin: 0;
    color: var(--loc-dark);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.map-header span {
    color: var(--loc-muted);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.google-map {
    width: 100%;
    line-height: 0;
}

.google-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
    background: #eee;
}

.map-empty {
    width: 100%;
    height: 450px;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
    text-align: center;
    padding: 30px;
}

.map-empty strong {
    color: var(--loc-dark);
    font-size: 18px;
    margin-bottom: 8px;
}

.map-empty p {
    margin: 0;
}

/* =========================================
   EMPTY LOCATIONS
========================================= */

.locations-empty-section {
    padding: 80px 0;
    background: var(--loc-bg);
}

.locations-empty-box {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 26px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--loc-shadow);
}

.locations-empty-box h2 {
    margin: 0 0 12px;
    color: #999;
    font-size: 28px;
}

.locations-empty-box p {
    margin: 0;
    color: #777;
}

/* =========================================
   WAVE
========================================= */

.wave-div {
    width: 100%;
    background-color: var(--loc-bg);
    line-height: 0;
}

.wave-div img {
    width: 100%;
    display: block;
}

/* =========================================
   CENTER SECTION
========================================= */

.locations-text-center-section {
    padding: 70px 0;
    background: var(--loc-cream);
}

.locations-text-center-section .locations-paragraph {
    max-width: 720px;
    margin: 18px auto 0;
}

/* =========================================
   ENHANCE LINKS
========================================= */

.enhance-experience-section {
    padding: 70px 0 90px;
    background:
        radial-gradient(circle at top right, rgba(224, 89, 42, 0.08), transparent 34%),
        #f4f8f7;
}

.enhance-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 36px;
}

.enhance-box {
    position: relative;
    min-height: 260px;
    border-radius: 28px;
    padding: 34px;
    text-decoration: none;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--loc-shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.enhance-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.68));
    z-index: 1;
}

.enhance-box div {
    position: relative;
    z-index: 2;
    text-align: left;
}

.enhance-box span {
    display: inline-block;
    margin-bottom: 12px;
    color: #f8c84e;
    font-weight: 900;
    letter-spacing: 1px;
}

.enhance-box h2 {
    margin: 0 0 10px;
    color: white;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.enhance-box p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-weight: 700;
}

.enhance-tour {
    background:
        url('https://images.unsplash.com/photo-1563514995960-91147a7b8e5c?auto=format&fit=crop&w=1200&q=80')
        center/cover no-repeat;
}

.enhance-private {
    background:
        url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=1200&q=80')
        center/cover no-repeat;
}

.enhance-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.16);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {
    .location-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .booking-panel {
        justify-content: flex-start;
    }

    .booking-box {
        max-width: 100%;
    }

    .enhance-links-grid {
        grid-template-columns: 1fr;
    }

    .locations-list-section {
        padding-top: 60px;
    }
}

@media (max-width: 700px) {
    .locations-container {
        padding: 0 16px;
    }

    .locations-hero {
        min-height: 50vh;
    }

    .massive-hero-h1 {
        font-size: clamp(42px, 15vw, 70px);
        letter-spacing: -0.5px;
    }

    .locations-hero-content p:last-child {
        font-size: 15px;
    }

    .location-card {
        padding: 24px;
        border-radius: 22px;
    }

    .section-title {
        font-size: clamp(30px, 11vw, 42px);
    }

    .locations-paragraph {
        font-size: 15px;
        line-height: 1.7;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .booking-box {
        padding: 24px;
        border-radius: 22px;
    }

    .booking-box h3 {
        font-size: 21px;
    }

    .map-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-header span {
        text-align: left;
    }

    .google-map iframe,
    .map-empty {
        height: 340px;
    }

    .locations-text-center-section,
    .enhance-experience-section {
        padding: 55px 0;
    }

    .enhance-box {
        min-height: 220px;
        padding: 26px;
        border-radius: 22px;
    }
}