
/* =========================================================
   NYAMPLENG JOGJA
   PROFESSIONAL TOURISM PORTAL
   COMPLETE MASTER STYLESHEET
   VERSION 2.0
========================================================= */

/* =========================================================
   01. DESIGN SYSTEM
========================================================= */

:root {
    --maroon: #701d35;
    --maroon-dark: #3d1020;
    --maroon-light: #8d304a;

    --gold: #bd9653;
    --gold-light: #dfc18b;

    --cream: #f8f6f1;
    --white: #ffffff;

    --text: #292321;
    --muted: #827b75;

    --border: #e9e2d8;
    --surface-soft: #f2eee8;

    --shadow-sm: 0 5px 20px rgba(42, 24, 20, .06);
    --shadow: 0 12px 35px rgba(42, 24, 20, .10);
    --shadow-lg: 0 20px 60px rgba(42, 24, 20, .16);

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;

    --transition: .3s ease;

    --container: 1180px;
}

/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-width: 320px;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    overflow-x: hidden;
}

body,
button,
input {
    font-family: var(--font-body);
}

button,
input {
    font-size: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--maroon);
    color: white;
}

[hidden] {
    display: none !important;
}

/* =========================================================
   03. GLOBAL UTILITIES
========================================================= */

.section-padding {
    padding: 100px 8%;
}

.section-label,
.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.section-heading {
    max-width: var(--container);
    margin: 0 auto 45px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.section-heading h2 {
    margin-top: 12px;
    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
}

.section-heading p {
    max-width: 550px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.section-number {
    flex-shrink: 0;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================================================
   04. NAVIGATION
========================================================= */

.navbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;

    background: rgba(248, 246, 241, .94);
    border-bottom: 1px solid rgba(189, 150, 83, .15);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition: var(--transition);
}

.navbar.scrolled {
    height: 72px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    flex-shrink: 0;
    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .5px;
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    position: relative;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-menu a::after {
    position: absolute;
    content: "";
    bottom: -8px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--gold);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--maroon);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 12px 20px;
    background: var(--maroon);
    color: white;
    border: 1px solid var(--maroon);
    border-radius: 3px;

    font-size: 10px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-button:hover {
    background: transparent;
    color: var(--maroon);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 4px;

    background: white;
    color: var(--maroon);

    font-size: 21px;
}

/* =========================================================
   05. HERO
========================================================= */

.hero {
    position: relative;
    min-height: 680px;
    padding: 150px 8% 100px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(36, 10, 20, .94),
            rgba(61, 16, 32, .76)
        ),
        url("https://images.unsplash.com/photo-1596402184320-417e7178b2cd?auto=format&fit=crop&w=1800&q=85");

    background-position: center;
    background-size: cover;

    color: white;
}

.hero::before {
    position: absolute;
    content: "";
    inset: 0;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(189, 150, 83, .22),
            transparent 35%
        );
}

.hero-container {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: var(--container);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 720px;
}

.hero .eyebrow {
    color: var(--gold-light);
}

.hero h1 {
    margin: 24px 0;
    font-family: var(--font-heading);
    font-size: clamp(43px, 6vw, 76px);
    font-weight: 600;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-content > p {
    max-width: 570px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 2;
}

.hero-actions {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.secondary-button {
    min-height: 48px;
    padding: 14px 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);
    border-radius: 3px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;

    transition: var(--transition);
}

.primary-button {
    background: var(--gold);
    color: var(--maroon-dark);
}

.primary-button:hover {
    background: transparent;
    color: var(--gold-light);
    transform: translateY(-3px);
}

.secondary-button {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, .45);
}

.secondary-button:hover {
    background: white;
    color: var(--maroon-dark);
    transform: translateY(-3px);
}

.hero-side {
    min-height: 260px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    border: 1px solid rgba(223, 193, 139, .45);
    background: rgba(30, 10, 18, .28);

    backdrop-filter: blur(8px);
}

.hero-side-label {
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 3px;
}

.hero-side strong {
    margin: 12px 0;
    font-family: var(--font-heading);
    font-size: 30px;
    letter-spacing: 2px;
}

.hero-side > span:last-child {
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    letter-spacing: 1px;
}

/* =========================================================
   06. QUICK INFORMATION
========================================================= */

.quick-info {
    position: relative;
    z-index: 2;

    max-width: 1180px;
    margin: -35px auto 0;
    padding: 30px 35px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;

    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item > strong {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 27px;
}

.info-item h3 {
    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: 15px;
}

.info-item p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

/* =========================================================
   07. EXPLORATION
========================================================= */

.exploration {
    background: var(--cream);
}

.exploration > .section-heading {
    margin-bottom: 35px;
}

/* SEARCH PANEL */

.search-panel {
    max-width: var(--container);
    margin: 0 auto 30px;
    padding: 22px;

    display: flex;
    align-items: flex-end;
    gap: 15px;

    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.search-input-wrap {
    flex: 1;
}

.search-input-wrap label {
    display: block;
    margin-bottom: 8px;
    color: var(--maroon-dark);
    font-size: 11px;
    font-weight: 700;
}

#destinationSearch {
    width: 100%;
    height: 48px;
    padding: 0 15px;

    border: 1px solid var(--border);
    border-radius: 3px;
    outline: none;

    background: var(--cream);
    color: var(--text);

    font-size: 12px;
    transition: border var(--transition);
}

#destinationSearch:focus {
    border-color: var(--gold);
}

#destinationSearch::placeholder {
    color: #aaa19a;
}

.search-button {
    min-width: 145px;
    height: 48px;
    padding: 0 20px;

    border: 1px solid var(--maroon);
    border-radius: 3px;

    background: var(--maroon);
    color: white;

    font-size: 10px;
    font-weight: 700;

    transition: var(--transition);
}

.search-button:hover {
    background: white;
    color: var(--maroon);
}

/* CATEGORY FILTER */

.explore-toolbar {
    max-width: var(--container);
    margin: 0 auto 30px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.category-filters button {
    padding: 10px 17px;

    border: 1px solid var(--border);
    border-radius: 3px;

    background: white;
    color: var(--muted);

    font-size: 10px;
    font-weight: 600;

    transition: var(--transition);
}

.category-filters button:hover,
.category-filters button.active {
    border-color: var(--maroon);
    background: var(--maroon);
    color: white;
}

.result-count {
    color: var(--muted);
    font-size: 10px;
}

/* =========================================================
   08. DESTINATION CARDS
========================================================= */

.destination-grid {
    max-width: var(--container);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.destination-card {
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: white;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.destination-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.destination-card > img {
    width: 100%;
    height: 225px;

    object-fit: cover;
    background: var(--surface-soft);

    transition: transform .6s ease;
}

.destination-card:hover > img {
    transform: scale(1.04);
}

.card-info {
    padding: 23px;
}

.destination-category {
    display: inline-block;
    margin-bottom: 11px;

    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.card-info h3 {
    margin-bottom: 10px;
    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.3;
}

.card-info > p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.card-info .destination-location {
    margin-top: 13px;
    color: var(--maroon);
    font-size: 10px;
    font-weight: 600;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 20px;
    padding-bottom: 5px;

    border-bottom: 1px solid var(--gold);

    color: var(--maroon);
    font-size: 10px;
    font-weight: 700;

    transition: var(--transition);
}

.detail-button:hover {
    color: var(--gold);
    gap: 13px;
}

/* EMPTY AND LOADING */

.empty-message,
.loading-message {
    grid-column: 1 / -1;
    padding: 55px 20px;

    text-align: center;
    color: var(--muted);
}

.empty-message h3 {
    margin-bottom: 10px;
    color: var(--maroon);
    font-family: var(--font-heading);
    font-size: 25px;
}

.empty-message p {
    font-size: 12px;
}

/* =========================================================
   09. MAP SECTION
========================================================= */

.map-section {
    background: white;
}

.map-layout {
    max-width: var(--container);
    margin: 0 auto;

    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 35px;
    align-items: stretch;
}

.map-description {
    padding: 35px;
    background: var(--maroon-dark);
    color: white;
}

.map-tag {
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.map-description h3 {
    margin: 20px 0;
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.3;
}

.map-description > p {
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    line-height: 2;
}

.map-legend {
    margin-top: 35px;
    display: grid;
    gap: 15px;
}

.map-legend > div {
    display: flex;
    align-items: center;
    gap: 11px;

    color: rgba(255, 255, 255, .85);
    font-size: 10px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.nature {
    background: #54a77a;
}

.legend-dot.culture {
    background: var(--gold);
}

.legend-dot.food {
    background: #d87565;
}

.map-wrapper {
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--border);
}

#tourismMap {
    width: 100%;
    height: 100%;
    min-height: 420px;
    z-index: 1;
}

.leaflet-popup-content-wrapper {
    border-radius: 4px;
}

.leaflet-popup-content {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.8;
}

.leaflet-popup-content strong {
    color: var(--maroon);
    font-size: 13px;
}

/* =========================================================
   10. CULINARY FEATURE
========================================================= */

.feature-section {
    position: relative;
    min-height: 490px;
    padding: 100px 8%;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(36, 10, 20, .95),
            rgba(61, 16, 32, .55)
        ),
        url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=1800&q=85");

    background-position: center;
    background-size: cover;

    color: white;
}

.feature-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.feature-content .section-label {
    color: var(--gold-light);
}

.feature-content h2 {
    margin: 22px 0;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
}

.feature-content p {
    max-width: 500px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 2;
}

.feature-link {
    display: inline-flex;
    margin-top: 30px;
    padding-bottom: 7px;

    border-bottom: 1px solid var(--gold-light);

    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;

    transition: var(--transition);
}

.feature-link:hover {
    gap: 12px;
    color: white;
}

/* =========================================================
   11. CULTURE SECTION
========================================================= */

.culture-section {
    background: var(--cream);
}

.culture-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    border: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow-sm);
}

.culture-content > div {
    max-width: 620px;
}

.culture-content h3 {
    margin-bottom: 13px;
    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: 27px;
}

.culture-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

/* =========================================================
   12. FOOTER
========================================================= */

.footer {
    padding: 70px 8% 25px;
    background: #241018;
    color: white;
}

.footer-main {
    max-width: var(--container);
    margin: 0 auto 55px;

    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-logo {
    color: white;
}

.footer-main > div:first-child {
    max-width: 340px;
}

.footer-main > div:first-child > p {
    margin-top: 15px;
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    line-height: 1.9;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 22px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, .13);

    color: rgba(255, 255, 255, .45);
    font-size: 9px;
}

/* =========================================================
   13. SEPARATE DESTINATION DETAIL PAGE
========================================================= */

.destination-page {
    min-height: 70vh;
    padding: 115px 8% 100px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(189, 150, 83, .09),
            transparent 30%
        ),
        var(--cream);
}

.destination-page-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* BREADCRUMB */

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    color: var(--muted);
    font-size: 11px;
}

.detail-breadcrumb a {
    color: var(--maroon);
    font-weight: 700;
}

.detail-breadcrumb a:hover {
    color: var(--gold);
}

/* BACK LINK */

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;

    color: var(--maroon);
    font-size: 11px;
    font-weight: 700;

    transition: color var(--transition);
}

.detail-back-link:hover {
    color: var(--gold);
}

/* DETAIL HERO */

.detail-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;

    border-radius: 8px;
    background: var(--maroon-dark);
    box-shadow: var(--shadow-lg);
}

.detail-hero img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    transition: transform .8s ease;
}

.detail-hero:hover img {
    transform: scale(1.035);
}

.detail-hero::after {
    position: absolute;
    content: "";
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(35, 10, 20, .91),
            rgba(35, 10, 20, .48) 65%,
            rgba(35, 10, 20, .12)
        );
}

.detail-hero-content {
    position: relative;
    z-index: 1;

    min-height: 420px;
    padding: 65px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    color: white;
}

.detail-category {
    display: inline-block;
    padding: 8px 13px;

    border: 1px solid rgba(223, 193, 139, .7);
    background: rgba(45, 16, 27, .55);

    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.detail-hero h1 {
    max-width: 800px;
    margin: 20px 0 12px;

    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 65px);
    line-height: 1.12;
}

.detail-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 2;
}

.detail-location {
    margin-top: 17px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
}

/* DETAIL CONTENT */

.detail-main-grid {
    margin-top: 35px;

    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, .8fr);
    gap: 28px;
    align-items: start;
}

.detail-article,
.detail-information-card {
    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: white;
    box-shadow: var(--shadow-sm);
}

.detail-article h2,
.detail-information-card h2,
.related-section h2 {
    margin-bottom: 17px;

    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: 27px;
    line-height: 1.3;
}

.detail-article p {
    margin-bottom: 15px;

    color: var(--muted);
    font-size: 13px;
    line-height: 2.1;
}

.detail-information-card h2 {
    font-size: 23px;
}

/* VISITOR INFORMATION */

.detail-info-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.detail-info-row:last-child {
    border-bottom: 0;
}

.detail-info-row strong {
    display: block;
    margin-bottom: 6px;

    color: var(--maroon);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-info-row span {
    display: block;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

/* DETAIL ACTIONS */

.detail-actions {
    margin-top: 22px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-actions a {
    min-height: 46px;
    padding: 13px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--maroon);
    border-radius: 3px;

    background: var(--maroon);
    color: white;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;

    transition: var(--transition);
}

.detail-actions a:hover {
    background: white;
    color: var(--maroon);
    transform: translateY(-2px);
}

.detail-actions a.secondary {
    background: white;
    color: var(--maroon);
}

.detail-actions a.secondary:hover {
    background: var(--maroon);
    color: white;
}

/* PHOTO CREDIT */

.detail-photo-credit {
    margin-top: 20px;
    color: var(--muted);
    font-size: 10px;
}

.detail-photo-credit a {
    color: var(--maroon);
    text-decoration: underline;
}

/* RELATED DESTINATIONS */

.related-section {
    margin-top: 75px;
}

.related-section > p {
    margin: -5px 0 25px;
    color: var(--muted);
    font-size: 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.related-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: white;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.related-card img {
    width: 100%;
    height: 175px;

    object-fit: cover;
    background: var(--surface-soft);

    transition: transform .5s ease;
}

.related-card:hover img {
    transform: scale(1.04);
}

.related-card-content {
    padding: 20px;
}

.related-card-content span {
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.related-card-content h3 {
    margin: 9px 0;

    color: var(--maroon-dark);
    font-family: var(--font-heading);
    font-size: 19px;
}

.related-card-content a {
    display: inline-block;
    margin-top: 8px;

    color: var(--maroon);
    font-size: 10px;
    font-weight: 700;
}

.related-card-content a:hover {
    color: var(--gold);
}

/* NOT FOUND */

.detail-not-found {
    padding: 90px 25px;
    text-align: center;
}

.detail-not-found h1 {
    margin-bottom: 15px;

    color: var(--maroon);
    font-family: var(--font-heading);
    font-size: 38px;
}

.detail-not-found p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
}

/* IMAGE FALLBACK */

.image-unavailable {
    background: var(--maroon-dark);
}

/* =========================================================
   14. INTERACTION & ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

button:disabled {
    cursor: not-allowed;
    opacity: .6;
}

/* =========================================================
   15. TABLET RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .nav-container {
        padding: 0 5%;
    }

    .nav-menu {
        gap: 20px;
    }

    .hero-container {
        gap: 35px;
    }

    .quick-info {
        margin-left: 5%;
        margin-right: 5%;
    }

    .section-padding,
    .feature-section,
    .footer {
        padding-left: 6%;
        padding-right: 6%;
    }

    .destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 10px;
    }

    .nav-button {
        padding: 11px 14px;
        font-size: 9px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-side {
        max-width: 400px;
        min-height: 170px;
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-layout {
        grid-template-columns: 1fr;
    }

    .map-description {
        padding: 30px;
    }

    .detail-main-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-hero-content {
        padding: 45px;
    }
}

/* =========================================================
   16. MOBILE NAVIGATION
========================================================= */

@media (max-width: 760px) {

    .navbar,
    .navbar.scrolled {
        height: 70px;
    }

    .nav-container {
        padding: 0 6%;
    }

    .logo {
        font-size: 19px;
    }

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;

        width: 100%;
        padding: 15px 6% 25px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: var(--cream);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);
        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 12px;
    }

    .nav-menu a::after {
        display: none;
    }
}

/* =========================================================
   17. MOBILE GENERAL
========================================================= */

@media (max-width: 650px) {

    html {
        scroll-padding-top: 75px;
    }

    .section-padding {
        padding: 70px 6%;
    }

    .section-heading {
        margin-bottom: 30px;
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading p {
        font-size: 11px;
    }

    .section-number {
        display: none;
    }

    /* HERO */

    .hero {
        min-height: 650px;
        padding: 125px 6% 80px;
    }

    .hero h1 {
        font-size: clamp(39px, 10vw, 55px);
    }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-side {
        min-height: 145px;
        padding: 25px;
    }

    .hero-side strong {
        font-size: 24px;
    }

    .hero-actions {
        gap: 10px;
    }

    .primary-button,
    .secondary-button {
        min-height: 45px;
        padding: 12px 16px;
        font-size: 9px;
    }

    /* QUICK INFO */

    .quick-info {
        margin: -20px 5% 0;
        padding: 22px 17px;
        gap: 22px 12px;
    }

    .info-item {
        gap: 9px;
    }

    .info-item > strong {
        font-size: 22px;
    }

    .info-item h3 {
        font-size: 12px;
    }

    .info-item p {
        font-size: 9px;
    }

    /* SEARCH */

    .search-panel {
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
    }

    #destinationSearch {
        height: 45px;
        font-size: 11px;
    }

    .search-button {
        width: 100%;
        height: 45px;
    }

    .explore-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-filters {
        gap: 7px;
    }

    .category-filters button {
        padding: 9px 12px;
        font-size: 9px;
    }

    /* CARDS */

    .destination-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .destination-card > img {
        height: 220px;
    }

    .card-info {
        padding: 20px;
    }

    .card-info h3 {
        font-size: 21px;
    }

    /* MAP */

    .map-description {
        padding: 25px;
    }

    .map-description h3 {
        font-size: 27px;
    }

    .map-wrapper,
    #tourismMap {
        min-height: 340px;
    }

    /* FEATURE */

    .feature-section {
        min-height: 430px;
        padding: 75px 6%;
    }

    .feature-content h2 {
        font-size: 40px;
    }

    .feature-content p {
        font-size: 11px;
    }

    /* CULTURE */

    .culture-content {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .culture-content h3 {
        font-size: 23px;
    }

    /* FOOTER */

    .footer {
        padding: 55px 6% 22px;
    }

    .footer-main {
        flex-direction: column;
        gap: 35px;
    }

    .footer-links {
        gap: 17px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    /* DETAIL */

    .destination-page {
        padding: 95px 6% 75px;
    }

    .detail-hero,
    .detail-hero-content {
        min-height: 390px;
    }

    .detail-hero-content {
        padding: 27px;
    }

    .detail-hero h1 {
        font-size: clamp(32px, 9vw, 40px);
    }

    .detail-hero p {
        font-size: 11px;
    }

    .detail-main-grid {
        margin-top: 20px;
        gap: 18px;
    }

    .detail-article,
    .detail-information-card {
        padding: 23px;
    }

    .detail-article h2,
    .detail-information-card h2 {
        font-size: 23px;
    }

    .detail-article p {
        font-size: 12px;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions a {
        width: 100%;
    }

    .related-section {
        margin-top: 50px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .related-card img {
        height: 200px;
    }
}

/* =========================================================
   18. SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .logo {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .info-item {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }

    .info-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .category-filters button {
        padding: 8px 10px;
    }

    .detail-hero h1 {
        font-size: 31px;
    }
}

/* =========================================================
   19. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   20. END OF MASTER STYLESHEET
========================================================= */
