/* =========================================================
   TRAVELLING AJA - DESTINASI EDUKASI
   ARTIKEL: BUDAYA MAKAN MASYARAKAT KOREA SELATAN
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f5f3ee;
    color: #171717;
    line-height: 1.8;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;
    min-height: 86px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #10110f;
    color: white;

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-logo-text strong {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: #ffffff;
}

.navbar-logo-text small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #d9a82e;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu > a {
    color: #e6e6e6;
    font-size: 13px;
    font-weight: 600;
    transition: .25s;
}

.nav-menu > a:hover {
    color: #e4ad2e;
}

.back-button {
    border: 1px solid rgba(255,255,255,.25);
    padding: 10px 17px;
    border-radius: 30px;

    display: flex;
    align-items: center;
    gap: 8px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 720px;
    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;
    background: #111;
}

.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(5, 7, 6, .94) 0%,
            rgba(5, 7, 6, .80) 35%,
            rgba(5, 7, 6, .35) 70%,
            rgba(5, 7, 6, .18) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(720px, 86%);
    margin-left: 8%;

    color: white;
}

.eyebrow,
.section-label {
    color: #c99728;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.02;

    margin: 18px 0 24px;
}

.hero h1 span {
    color: #e3aa2b;
    display: block;
}

.hero-description {
    max-width: 680px;

    font-size: 16px;
    line-height: 1.8;

    color: rgba(255,255,255,.82);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;

    margin-top: 27px;
}

.hero-meta span {
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

.hero-meta i {
    color: #e3aa2b;
    margin-right: 7px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 35px;

    padding: 14px 24px;

    background: #dfa92e;
    color: #151515;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    transition: .3s;
}

.hero-button:hover {
    transform: translateY(-3px);
    background: #efbb43;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section,
.content-section {
    width: min(1100px, 86%);
    margin: 0 auto;

    padding: 110px 0;

    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 60px;
}

.section-number {
    font-family: "Playfair Display", serif;
    font-size: 72px;
    line-height: 1;

    color: rgba(25,25,25,.12);
}

.intro-content,
.content-text {
    max-width: 760px;
}

.intro-content h2,
.content-text h2,
.etiquette-section h2,
.dish-section h2,
.restaurant-guide h2,
.language-section h2,
.conclusion h2,
.sources-section h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(35px, 4vw, 56px);
    line-height: 1.15;

    margin: 14px 0 25px;
}

.intro-content p,
.content-text p {
    margin-bottom: 18px;
    color: #5a5a55;
}

.intro-content .lead {
    font-family: "Playfair Display", serif;

    color: #262622;
    font-size: 24px;
    line-height: 1.6;
}


/* =========================================================
   ARTICLE LARGE IMAGE
========================================================= */

.article-image-large {
    width: min(1250px, 90%);
    margin: 0 auto 25px;
}

.article-image-large img {
    height: 600px;

    object-fit: cover;
    border-radius: 22px;
}

.image-caption {
    font-size: 11px;
    color: #888;

    margin-top: 12px;

    text-align: right;
    font-style: italic;
}


/* =========================================================
   INFO BOX
========================================================= */

.info-box {
    margin-top: 35px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 25px;

    border-left: 4px solid #d7a12a;

    background: #ebe7dd;
    border-radius: 0 15px 15px 0;
}

.info-box > i {
    color: #c89324;
    font-size: 22px;
    margin-top: 3px;
}

.info-box strong {
    display: block;
    margin-bottom: 5px;
}

.info-box p {
    margin: 0;
}


/* =========================================================
   ETIQUETTE SECTION
========================================================= */

.etiquette-section {
    background: #10120f;
    color: white;

    padding: 110px 8%;
}

.etiquette-section > h2,
.etiquette-section > .section-label,
.etiquette-intro {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.etiquette-section h2 {
    margin-top: 14px;
}

.etiquette-intro {
    color: rgba(255,255,255,.65);
    max-width: 1100px;
}

.etiquette-grid {
    max-width: 1100px;
    margin: 55px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.etiquette-card {
    min-height: 280px;

    padding: 30px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;

    transition: .3s;
}

.etiquette-card:hover {
    transform: translateY(-7px);
    background: rgba(255,255,255,.08);
}

.etiquette-card i {
    font-size: 26px;
    color: #dba62e;

    margin-bottom: 35px;
}

.etiquette-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 21px;

    margin-bottom: 15px;
}

.etiquette-card p {
    font-size: 13px;
    color: rgba(255,255,255,.60);
}


/* =========================================================
   SPLIT SECTION
========================================================= */

.split-section {
    min-height: 680px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #e8e3d8;
}

.split-image {
    min-height: 680px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 12%;
}

.split-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.15;

    margin: 15px 0 25px;
}

.split-content p:not(.section-label) {
    color: #595950;
    margin-bottom: 17px;
}


/* =========================================================
   DISH SECTION
========================================================= */

.dish-section {
    padding: 110px 7%;
}

.section-heading {
    max-width: 1100px;
    margin: 0 auto 50px;
}

.section-heading > p:not(.section-label) {
    max-width: 650px;
    color: #66645e;
}

.dish-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dish-card {
    overflow: hidden;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.06);

    transition: .3s;
}

.dish-card:hover {
    transform: translateY(-8px);
}

.dish-card > img {
    height: 250px;
    object-fit: cover;
}

.dish-content {
    padding: 25px;
}

.dish-content > span {
    display: inline-block;

    font-size: 11px;
    font-weight: 700;

    color: #b48219;

    margin-bottom: 7px;
}

.dish-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 25px;

    margin-bottom: 10px;
}

.dish-content p {
    font-size: 13px;
    color: #77746e;
}


/* =========================================================
   RESTAURANT GUIDE
========================================================= */

.restaurant-guide {
    background: #ded9cd;
    padding: 110px 8%;
}

.guide-heading,
.guide-list {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.guide-list {
    margin-top: 45px;
}

.guide-list > div {
    display: grid;
    grid-template-columns: 90px 300px 1fr;
    align-items: center;

    gap: 30px;

    padding: 30px 0;

    border-top: 1px solid rgba(0,0,0,.13);
}

.guide-list > div:last-child {
    border-bottom: 1px solid rgba(0,0,0,.13);
}

.guide-list span {
    color: #b88620;
    font-size: 12px;
    font-weight: 700;
}

.guide-list h3 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
}

.guide-list p {
    color: #69675f;
    font-size: 13px;
}


/* =========================================================
   LANGUAGE SECTION
========================================================= */

.language-section {
    padding: 110px 8%;

    background: #121411;
    color: white;
}

.language-section > .section-label,
.language-section > h2,
.phrase-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.language-section > h2 {
    margin-top: 14px;
}

.phrase-grid {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.phrase-card {
    padding: 28px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
}

.phrase-card strong {
    display: block;

    font-size: 25px;

    color: #e5b03b;
    margin-bottom: 8px;
}

.phrase-card span {
    display: block;

    font-size: 12px;
    color: rgba(255,255,255,.45);

    margin-bottom: 20px;
}

.phrase-card p {
    font-size: 13px;
    color: rgba(255,255,255,.75);
}


/* =========================================================
   CONCLUSION
========================================================= */

.conclusion {
    width: min(850px, 86%);
    margin: auto;

    padding: 120px 0;
}

.conclusion p:not(.section-label) {
    color: #5f5e58;

    font-size: 16px;

    margin-bottom: 18px;
}


/* =========================================================
   SOURCES
========================================================= */

.sources-section {
    padding: 100px 8%;

    background: #ebe7dd;
}

.source-list {
    max-width: 1100px;
    margin: auto;
}

.source-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0;

    border-top: 1px solid rgba(0,0,0,.13);

    transition: .25s;
}

.source-list a:last-child {
    border-bottom: 1px solid rgba(0,0,0,.13);
}

.source-list a:hover {
    padding-left: 12px;
}

.source-list strong {
    font-family: "Playfair Display", serif;
    font-size: 20px;
}

.source-list p {
    font-size: 12px;
    color: #77746c;

    margin-top: 4px;
}

.source-list i {
    color: #b98720;
}


/* =========================================================
   BACK SECTION
========================================================= */

.back-section {
    padding: 65px 8%;
    text-align: center;
}

.back-section a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 25px;

    border: 1px solid #222;
    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    transition: .3s;
}

.back-section a:hover {
    background: #151515;
    color: white;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0d0f0c;
    color: white;

    padding: 70px 8% 35px;

    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand strong {
    font-family: "Playfair Display", serif;
    font-size: 25px;
}

.footer-brand span {
    margin-top: 5px;

    color: #c8972d;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

footer > p {
    margin-top: 25px;

    color: rgba(255,255,255,.45);
    font-size: 12px;
}

.footer-copy {
    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.35);
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-menu > a:not(.back-button) {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .etiquette-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dish-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phrase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-list > div {
        grid-template-columns: 60px 220px 1fr;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 0 5%;
        min-height: 72px;
    }

    .navbar-logo img {
        width: 40px;
        height: 40px;
    }

    .navbar-logo-text strong {
        font-size: 16px;
    }

    .navbar-logo-text small {
        font-size: 7px;
    }

    .back-button {
        padding: 8px 12px !important;
        font-size: 11px !important;
    }


    /* HERO */

    .hero {
        min-height: 620px;
    }

    .hero-content {
        margin-left: 7%;
        width: 86%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-meta {
        gap: 10px;
        flex-direction: column;
    }


    /* ARTICLE */

    .intro-section,
    .content-section {
        width: 86%;

        padding: 80px 0;

        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-number {
        font-size: 50px;
    }

    .article-image-large {
        width: 92%;
    }

    .article-image-large img {
        height: 350px;
        border-radius: 14px;
    }


    /* ETIQUETTE */

    .etiquette-section {
        padding: 80px 7%;
    }

    .etiquette-grid {
        grid-template-columns: 1fr;
    }


    /* SPLIT */

    .split-section {
        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 420px;
    }

    .split-content {
        padding: 70px 8%;
    }


    /* FOOD */

    .dish-section {
        padding: 80px 6%;
    }

    .dish-grid {
        grid-template-columns: 1fr;
    }

    .dish-card > img {
        height: 300px;
    }


    /* GUIDE */

    .restaurant-guide {
        padding: 80px 7%;
    }

    .guide-list > div {
        grid-template-columns: 45px 1fr;
        gap: 15px;
    }

    .guide-list p {
        grid-column: 2;
    }


    /* LANGUAGE */

    .language-section {
        padding: 80px 7%;
    }

    .phrase-grid {
        grid-template-columns: 1fr;
    }


    /* SOURCES */

    .sources-section {
        padding: 80px 7%;
    }

    .source-list a {
        gap: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .navbar-logo-text small {
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-description {
        line-height: 1.65;
    }

    .intro-content h2,
    .content-text h2,
    .etiquette-section h2,
    .dish-section h2,
    .restaurant-guide h2,
    .language-section h2,
    .conclusion h2,
    .sources-section h2 {
        font-size: 34px;
    }

}