/* =========================================================
   YOGYAKARTA — TRAVELLING AJA
   Destinasi Edukasi
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f5f2ec;
    color: #26231f;
    line-height: 1.8;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    height: 82px;
    padding: 0 6%;
    background: #171411;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.navbar-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 17px;
}

.logo-text small {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #d6a747;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu > a {
    color: #eee;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu > a:hover {
    color: #e4b34f;
}

.back-button {
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    padding: 9px 16px;
}

.back-button:hover {
    border-color: #e4b34f;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(14, 12, 9, 0.94) 0%,
            rgba(14, 12, 9, 0.79) 43%,
            rgba(14, 12, 9, 0.25) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1250px;

    margin: auto;
    color: white;
}

.eyebrow,
.section-label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d8a842;
}

.hero h1 {
    margin-top: 18px;

    max-width: 780px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.02;

    font-weight: 600;
}

.hero h1 span {
    color: #e4b34f;
}

.hero-description {
    max-width: 700px;

    margin-top: 25px;

    font-size: 16px;
    color: #e6e2dc;
}

.hero-meta {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    font-size: 12px;
    color: #ddd;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: #e4b34f;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 35px;

    padding: 13px 23px;

    border-radius: 30px;

    background: #e4b34f;
    color: #171411;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;
}

.hero-button:hover {
    transform: translateY(-3px);
    background: #f0c363;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

main {
    overflow: hidden;
}

.intro-section,
.content-section {
    max-width: 1100px;
    margin: auto;

    padding: 110px 30px;

    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;
}

.section-number {
    font-family: "Playfair Display", serif;

    font-size: 70px;
    line-height: 1;

    color: rgba(110, 82, 40, 0.16);
}

.intro-content,
.content-text {
    max-width: 780px;
}

.intro-content h2,
.content-text h2,
.section-heading h2,
.split-content h2,
.dark-content h2,
.conclusion h2 {
    margin: 12px 0 25px;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;

    color: #201c18;
}

.intro-content p,
.content-text p {
    margin-bottom: 20px;
}

.lead {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    line-height: 1.55;
    color: #6f5733;
}


/* =========================================================
   ARTICLE IMAGES
========================================================= */

.article-image-large {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.article-image-large img {
    height: 560px;
    object-fit: cover;
    border-radius: 5px;
}

.image-caption {
    padding-top: 12px;

    font-size: 11px;
    color: #7b756d;

    letter-spacing: 0.3px;
}


/* =========================================================
   INFO BOX
========================================================= */

.info-box {
    margin-top: 35px;

    padding: 25px;

    display: flex;
    gap: 20px;

    border-left: 4px solid #c9973e;

    background: #ece5d9;
}

.info-box > i {
    margin-top: 5px;
    color: #b88730;
    font-size: 20px;
}

.info-box strong {
    display: block;
    margin-bottom: 5px;
}

.info-box p {
    margin: 0;
    font-size: 14px;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline-section {
    padding: 110px 8%;
    background: #ebe6dc;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.timeline {
    max-width: 900px;
    margin: auto;
}

.timeline-item {
    position: relative;

    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;

    padding: 0 0 55px;
}

.timeline-item::before {
    content: "";

    position: absolute;
    left: 119px;
    top: 10px;

    width: 1px;
    height: 100%;

    background: #c9bfae;
}

.timeline-item::after {
    content: "";

    position: absolute;
    left: 113px;
    top: 9px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: #b58432;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #a8772b;
}

.timeline-item h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.timeline-item p {
    color: #655f57;
    font-size: 14px;
}


/* =========================================================
   SPLIT SECTION — TAMAN SARI
========================================================= */

.split-section {
    max-width: 1250px;
    margin: 120px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #1d1a17;
}

.split-image {
    min-height: 600px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    padding: 80px 65px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #ddd;
}

.split-content h2 {
    color: white;
}

.split-content p {
    margin-bottom: 20px;
    color: #c9c4bc;
}


/* =========================================================
   CULTURE
========================================================= */

.culture-section {
    padding: 110px 7%;
    background: #ede8df;
}

.culture-grid {
    max-width: 1150px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.culture-card {
    padding: 35px 28px;

    background: #f8f6f1;
    border: 1px solid #ded8ce;

    transition: 0.3s;
}

.culture-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 35px rgba(0,0,0,0.08);
}

.culture-card i {
    margin-bottom: 25px;

    font-size: 28px;
    color: #b5822f;
}

.culture-card h3 {
    margin-bottom: 13px;
    font-size: 21px;
}

.culture-card p {
    font-size: 13px;
    color: #716b63;
}


/* =========================================================
   DARK SECTION
========================================================= */

.dark-section {
    padding: 130px 30px;

    background:
        linear-gradient(
            rgba(20,17,14,0.94),
            rgba(20,17,14,0.94)
        ),
        url("assets/yogyakarta-hero.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.dark-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.dark-content h2 {
    color: white;
}

.dark-content p {
    max-width: 750px;
    margin: 0 auto 20px;

    color: #c9c4bd;
}


/* =========================================================
   ETIQUETTE
========================================================= */

.etiquette-section {
    padding: 110px 7%;
}

.etiquette-grid {
    max-width: 1150px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.etiquette-card {
    position: relative;

    min-height: 270px;

    padding: 35px 25px;

    background: white;
    border-bottom: 3px solid #b58432;
}

.etiquette-card > span {
    position: absolute;
    right: 18px;
    top: 10px;

    font-family: "Playfair Display", serif;
    font-size: 55px;

    color: rgba(181,132,50,0.10);
}

.etiquette-card i {
    margin-bottom: 30px;

    font-size: 25px;
    color: #ad7a2b;
}

.etiquette-card h3 {
    margin-bottom: 13px;
    font-size: 20px;
}

.etiquette-card p {
    font-size: 13px;
    color: #777168;
}


/* =========================================================
   CONCLUSION
========================================================= */

.conclusion {
    max-width: 900px;
    margin: auto;

    padding: 120px 30px;

    text-align: center;
}

.conclusion p {
    max-width: 750px;
    margin: 0 auto 17px;

    color: #625d55;
}


/* =========================================================
   SOURCES
========================================================= */

.sources-section {
    padding: 100px 7%;
    background: #e8e2d8;
}

.source-list {
    max-width: 950px;
    margin: auto;
}

.source-list > a {
    padding: 25px 5px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #cbc2b4;

    transition: 0.3s;
}

.source-list > a:hover {
    padding-left: 15px;
    color: #9c6d26;
}

.source-list strong {
    font-family: "Playfair Display", serif;
    font-size: 19px;
}

.source-list p {
    margin-top: 5px;

    font-size: 12px;
    color: #777168;
}

.source-list i {
    font-size: 14px;
}


/* =========================================================
   BACK SECTION
========================================================= */

.back-section {
    padding: 60px 30px;
    text-align: center;
}

.back-section a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 13px 22px;

    border: 1px solid #aaa093;
    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.back-section a:hover {
    background: #1c1916;
    border-color: #1c1916;
    color: white;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    min-height: 210px;

    padding: 55px 7%;

    background: #151310;
    color: white;

    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-family: "Playfair Display", serif;
    font-size: 25px;
}

.footer-brand span {
    margin-top: 5px;

    font-size: 9px;
    letter-spacing: 3px;

    color: #c79742;
}

footer > p {
    margin-top: 22px;

    font-size: 11px;
    letter-spacing: 2px;

    color: #8f8980;
}

.footer-copy {
    margin-top: 25px;

    font-size: 11px;
    color: #6f6a63;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 950px) {

    .nav-menu > a:not(.back-button) {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .intro-section,
    .content-section {
        grid-template-columns: 70px 1fr;
        gap: 25px;
    }

    .section-number {
        font-size: 55px;
    }

    .culture-grid,
    .etiquette-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        margin: 80px 30px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        height: 70px;
        padding: 0 20px;
    }

    .navbar-logo img {
        width: 39px;
        height: 39px;
    }

    .logo-text strong {
        font-size: 14px;
    }

    .logo-text small {
        font-size: 7px;
    }

    .back-button {
        font-size: 11px !important;
        padding: 8px 12px;
    }


    /* HERO */

    .hero {
        min-height: 670px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                rgba(15,13,10,0.80),
                rgba(15,13,10,0.92)
            );
    }

    .hero-content {
        width: 88%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }


    /* CONTENT */

    .intro-section,
    .content-section {
        padding: 80px 25px;

        display: block;
    }

    .section-number {
        margin-bottom: 25px;
        font-size: 45px;
    }

    .intro-content h2,
    .content-text h2,
    .section-heading h2,
    .split-content h2,
    .dark-content h2,
    .conclusion h2 {
        font-size: 35px;
    }

    .lead {
        font-size: 20px;
    }


    /* IMAGES */

    .article-image-large {
        width: calc(100% - 40px);
    }

    .article-image-large img {
        height: 330px;
    }


    /* TIMELINE */

    .timeline-section {
        padding: 80px 25px;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 25px;
    }

    .timeline-item::before {
        left: 68px;
    }

    .timeline-item::after {
        left: 62px;
    }


    /* TAMAN SARI */

    .split-section {
        margin: 70px 20px;

        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 330px;
    }

    .split-content {
        padding: 50px 30px;
    }


    /* CARDS */

    .culture-section,
    .etiquette-section {
        padding: 80px 25px;
    }

    .culture-grid,
    .etiquette-grid {
        grid-template-columns: 1fr;
    }


    /* DARK */

    .dark-section {
        padding: 90px 25px;
        background-attachment: scroll;
    }


    /* CONCLUSION */

    .conclusion {
        padding: 90px 25px;
    }


    /* SOURCES */

    .sources-section {
        padding: 80px 25px;
    }

}