/* =========================================
   FUN TOURS TAIWAN — INTERACTIVE EXPLORER
   ========================================= */

:root {
    --ft-green: #35e321;
    --ft-green-dark: #25b817;
    --ft-cream: #f3e4bd;
    --ft-cream-light: #faf3df;
    --ft-charcoal: #292929;
    --ft-charcoal-light: #343434;
    --ft-dark: #171717;
    --ft-white: #ffffff;
    --ft-text: #2b2b2b;
    --ft-light-text: #eeeeee;
    --ft-ocean: #79c8ea;
    --ft-gold: #e5bd65;
    --ft-shadow: 0 12px 30px rgba(0,0,0,.20);
}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--ft-cream);
    color: var(--ft-text);
    line-height: 1.6;
}


/* ---------- HERO ---------- */

.hero {
    background:
        linear-gradient(
            135deg,
            rgba(53,227,33,.96),
            rgba(37,184,23,.96)
        );

    color: var(--ft-white);

    padding: 72px 24px;

    text-align: center;

    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;

    margin-bottom: 18px;

    font-weight: 800;

    text-shadow: 0 2px 6px rgba(0,0,0,.20);
}

.hero p {
    max-width: 760px;

    margin: 0 auto 32px;

    font-size: 20px;

    color: rgba(255,255,255,.96);
}

.hero-button {
    display: inline-block;

    background: var(--ft-ocean);
    color: var(--ft-dark);

    padding: 15px 34px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    box-shadow: 0 5px 14px rgba(0,0,0,.18);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.hero-button:hover {
    background: var(--ft-white);

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(0,0,0,.22);
}


/* ---------- MAIN ---------- */

main {
    max-width: 1480px;

    margin: 0 auto;

    padding: 46px 24px 70px;
}

.map-section {
    display: grid;

    grid-template-columns:
        minmax(0, 1.75fr)
        minmax(320px, .85fr);

    gap: 30px;

    align-items: start;
}


/* ---------- MAP PANEL ---------- */

.map-column {
    background: var(--ft-charcoal);

    border-radius: 12px;

    padding: 26px;

    box-shadow: var(--ft-shadow);
}

.map-column h2 {
    color: var(--ft-white);

    margin-bottom: 18px;

    font-size: 30px;
    line-height: 1.2;
}

#map {
    width: 100%;

    min-height: 680px;

    background: var(--ft-ocean);

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.12);
}


/* Helps the SimpleMaps canvas stay contained */
#map svg,
#map canvas {
    max-width: 100%;
}


/* ---------- DESTINATION PANEL ---------- */

.info-column {
    min-width: 0;
}

.destination-card {
    background: var(--ft-charcoal-light);

    color: var(--ft-white);

    border-radius: 12px;

    padding: 26px;

    border-top: 6px solid var(--ft-green);

    box-shadow: var(--ft-shadow);

    position: sticky;
    top: 20px;
}

.destination-card h2 {
    margin-bottom: 14px;

    color: var(--ft-white);

    font-size: 31px;
    line-height: 1.2;
}

.destination-card p {
    color: var(--ft-light-text);

    font-size: 16px;

    line-height: 1.7;
}

.destination-card h3 {
    margin-top: 24px;
    margin-bottom: 9px;

    color: var(--ft-green);

    font-size: 19px;
}

.destination-card ul {
    padding-left: 21px;

    color: var(--ft-light-text);

    line-height: 1.65;
}

.destination-card li {
    margin-bottom: 5px;
}


/* ---------- DESTINATION IMAGE ---------- */

#region-photo {
    display: block;

    width: 100%;

    height: 270px;

    margin: 18px 0 20px;

    object-fit: cover;

    border-radius: 8px;

    background: #222;

    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}


/* ---------- TOUR BUTTON ---------- */

#tourButton {
    width: 100%;

    margin-top: 28px;

    padding: 16px 18px;

    border: none;
    border-radius: 6px;

    background: var(--ft-green);
    color: var(--ft-dark);

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 5px 14px rgba(0,0,0,.18);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

#tourButton:hover {
    background: var(--ft-gold);

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(0,0,0,.22);
}

#tourButton:active {
    transform: translateY(0);
}


/* ---------- FOOTER ---------- */

footer {
    background: var(--ft-dark);

    color: var(--ft-white);

    text-align: center;

    padding: 28px 20px;

    font-size: 14px;
}


/* ---------- TABLET ---------- */

@media (max-width: 1050px) {

    .map-section {
        grid-template-columns: 1fr;
    }

    .destination-card {
        position: static;
    }

    #map {
        min-height: 590px;
    }

    #region-photo {
        height: 340px;
    }

}


/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

    .hero {
        padding: 54px 18px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-button {
        width: 100%;
        max-width: 320px;
    }

    main {
        padding: 28px 14px 48px;
    }

    .map-section {
        gap: 20px;
    }

    .map-column,
    .destination-card {
        padding: 18px;
        border-radius: 9px;
    }

    .map-column h2,
    .destination-card h2 {
        font-size: 26px;
    }

    #map {
        min-height: 470px;
        border-radius: 6px;
    }

    #region-photo {
        height: 230px;
    }

    #tourButton {
        font-size: 16px;
        padding: 15px;
    }

}


/* ---------- VERY SMALL PHONES ---------- */

@media (max-width: 430px) {

    .hero h1 {
        font-size: 38px;
    }

    #map {
        min-height: 410px;
    }

    #region-photo {
        height: 205px;
    }

}