
/* =====================================================
   ALANONA COUNTRY PAGE
   Country: Japan
   File: /destinations/japan/japan.css
===================================================== */

:root {
    --navy: #103b43;
    --navy-deep: #0b2d34;
    --teal: #346a6c;
    --teal-light: #eaf3f2;
    --ink: #202d30;
    --muted: #667578;
    --paper: #ffffff;
    --soft: #f5f8f7;
    --border: #e2e9e7;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 3px solid #73b9b5;
    outline-offset: 4px;
}

.section-container {
    width: min(var(--max-width), calc(100% - 48px));
    margin-inline: auto;
}

/* HEADER */

.site-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: min(var(--max-width), calc(100% - 48px));
    min-height: 82px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    flex-shrink: 0;
}

.brand img {
    width: 165px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: #34494c;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--teal);
}

/* HERO */

.hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy-deep);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 48%;
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 29, 34, 0.88) 0%,
            rgba(7, 29, 34, 0.62) 48%,
            rgba(7, 29, 34, 0.12) 100%
        );
}

.hero-content {
    width: min(var(--max-width), calc(100% - 48px));
    margin-inline: auto;
    padding-block: 100px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    display: block;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    line-height: 1.6;
}

.hero .eyebrow {
    color: #a8d9d4;
}

.hero h1 {
    max-width: 760px;
    margin: 16px 0 20px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.06;
    letter-spacing: -2px;
    font-weight: 750;
}

.hero-content p {
    max-width: 590px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.8;
}

.hero-location {
    position: absolute;
    right: max(24px, calc((100% - var(--max-width)) / 2));
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
}

.hero-location span:first-child {
    font-size: 18px;
}

.button {
    min-height: 50px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #ffffff;
    color: var(--navy);
}

.button-primary:hover {
    background: #eaf3f2;
}

/* INTRODUCTION */

.intro {
    max-width: 850px;
    padding-block: 86px 82px;
    text-align: center;
}

.intro h2,
.section-heading h2,
.guide-heading h2 {
    margin: 12px 0 20px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.intro p {
    margin: 0 auto 14px;
    max-width: 790px;
    color: var(--muted);
    line-height: 1.9;
}

/* CITY CARDS */

.cities-section {
    padding-block: 78px 92px;
    background: var(--soft);
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.section-subtitle {
    margin: 0;
    color: var(--muted);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.city-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 7px;
    box-shadow: 0 6px 24px rgba(16, 59, 67, 0.035);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 34px rgba(16, 59, 67, 0.11);
}

.city-image-link {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    background: #dce8e6;
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .city-image {
    transform: scale(1.045);
}

.city-image-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: var(--navy);
    font-size: 19px;
}

.city-card-content {
    padding: 25px 24px 27px;
}

.city-tag {
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.city-card h3 {
    margin: 8px 0 12px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.25;
}

.city-card h3 a:hover {
    color: var(--teal);
}

.city-card-content p {
    min-height: 108px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* TRAVEL GUIDE */

.guide-section {
    padding-block: 88px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 80px;
}

.guide-heading h2 {
    margin-bottom: 18px;
}

.guide-heading > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.guide-items {
    display: grid;
    gap: 0;
}

.guide-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding-block: 23px;
    border-bottom: 1px solid var(--border);
}

.guide-item:first-child {
    padding-top: 0;
}

.guide-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.guide-number {
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.guide-item h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.4;
}

.guide-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* CLOSING CTA */

.closing-section {
    padding-block: 76px;
    background: var(--navy);
    color: #ffffff;
    text-align: center;
}

.closing-content {
    max-width: 780px;
}

.closing-section .section-kicker {
    color: #a8d9d4;
}

.closing-section h2 {
    margin: 14px 0;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.closing-section p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.9;
}

.button-light {
    background: #ffffff;
    color: var(--navy);
}

.button-light:hover {
    background: #eaf3f2;
}

/* FOOTER */

.site-footer {
    padding-block: 44px 22px;
    background: #f4f7f6;
}

.footer-inner {
    width: min(var(--max-width), calc(100% - 48px));
    margin-inline: auto;
}

.footer-brand img {
    width: 145px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}

.footer-inner > p {
    max-width: 490px;
    margin: 15px 0 30px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 19px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.footer-bottom a {
    color: var(--teal);
    font-weight: 700;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero {
        min-height: 510px;
    }

    .city-grid {
        gap: 17px;
    }

    .city-image-link {
        height: 220px;
    }

    .city-card-content {
        padding: 21px 18px 23px;
    }

    .city-card h3 {
        font-size: 25px;
    }

    .city-card-content p {
        min-height: 140px;
    }

    .guide-layout {
        gap: 40px;
    }
}

@media (max-width: 680px) {
    .section-container,
    .header-inner,
    .footer-inner {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 72px;
        gap: 15px;
    }

    .brand img {
        width: 128px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .main-nav a:first-child {
        display: none;
    }

    .hero {
        min-height: 520px;
        align-items: flex-end;
    }

    .hero-image {
        object-position: center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(7, 29, 34, 0.91) 0%,
                rgba(7, 29, 34, 0.58) 58%,
                rgba(7, 29, 34, 0.13) 100%
            );
    }

    .hero-content {
        width: calc(100% - 36px);
        padding-block: 100px 90px;
    }

    .hero h1 {
        margin-top: 12px;
        font-size: clamp(43px, 12vw, 60px);
        letter-spacing: -1.6px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .hero-location {
        right: 18px;
        bottom: 17px;
    }

    .intro {
        padding-block: 64px;
    }

    .intro h2,
    .section-heading h2,
    .guide-heading h2 {
        font-size: 32px;
    }

    .cities-section {
        padding-block: 62px;
    }

    .city-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .city-image-link {
        height: 245px;
    }

    .city-card-content {
        padding: 23px;
    }

    .city-card-content p {
        min-height: 0;
    }

    .guide-section {
        padding-block: 65px;
    }

    .guide-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .guide-item {
        grid-template-columns: 34px 1fr;
        gap: 14px;
    }

    .closing-section {
        padding-block: 64px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

@media (max-width: 380px) {
    .brand img {
        width: 112px;
    }

    .main-nav {
        gap: 10px;
    }

    .main-nav a {
        font-size: 11px;
    }
}
