/* ============================================================
   TOK SIDIK GONG SUMEDANG
   Main Stylesheet
   ============================================================ */


/* ============================================================
   NOE DISPLAY FONT
   ============================================================ */

@font-face {
    font-family: "Noe Display";
    src: url("../fonts/NoeDisplay-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* ============================================================
   RESET
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #11110f;
    color: #eee9dc;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Visible outline for keyboard users */
a:focus-visible {
    outline: 1px solid var(--gold-light);
    outline-offset: 4px;
}

/* Respect "reduce motion" device setting */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* ============================================================
   COLOUR PALETTE
   ============================================================ */

:root {
    --black: #11110f;
    --dark: #181815;

    --gold: #b89a5a;
    --gold-light: #d1b878;

    --cream: #eee9dc;
    --muted: #aaa59a;

    --border: rgba(184, 154, 90, 0.28);
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 6%;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Navigation */

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ddd8cc;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold-light);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 25px 80px;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.78)
        ),
        url("../images/gong-hero.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* Dark overlay */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(0, 0, 0, 0.35) 100%
        );
    pointer-events: none;
}


/* Hero content */

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* Small heading */

.hero-kicker {
    margin-bottom: 25px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-light);
}


/* Main name */

.hero-title {
    font-family: "Noe Display", Georgia, serif;
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.025em;
    color: var(--cream);
}


/* Second line */

.hero-title span {
    display: block;
    margin-top: 12px;
    color: var(--gold-light);
}


/* Hero description */

.hero-description {
    width: 100%;
    max-width: 620px;
    margin: 35px auto 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #d0ccc1;
}


/* Hero button */

.hero-button {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 30px;
    border: 1px solid var(--gold);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.hero-button:hover {
    background: var(--gold);
    color: var(--black);
}


/* ============================================================
   GENERAL SECTION
   ============================================================ */

.section {
    padding: 120px 6%;
}

.section-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}


/* ============================================================
   ABOUT
   ============================================================ */

.about {
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.about-heading {
    font-family: "Noe Display", Georgia, serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 0.98;
    color: var(--cream);
}

.about-text {
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 22px;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   QUOTE
   ============================================================ */

.quote {
    background: var(--dark);
    text-align: center;
}

.quote-inner {
    max-width: 850px;
    margin: 0 auto;
}

.quote-text {
    font-family: "Noe Display", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--cream);
}

.quote-line {
    width: 50px;
    height: 1px;
    margin: 35px auto 0;
    background: var(--gold);
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    background: var(--black);
    text-align: center;
}

.contact-heading {
    margin-bottom: 55px;
    font-family: "Noe Display", Georgia, serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1;
    color: var(--cream);
}


/* Contact boxes */

.contact-grid {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-item {
    padding: 32px 20px;
    border-right: 1px solid var(--border);
}

.contact-item:last-child {
    border-right: none;
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-value {
    font-size: 14px;
    color: var(--cream);
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--gold-light);
}


/* ============================================================
   SOCIAL MEDIA
   ============================================================ */

.socials {
    margin-top: 75px;
}

.socials-heading {
    margin-bottom: 25px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    min-width: 110px;
    padding: 12px 20px;
    border: 1px solid rgba(238, 233, 220, 0.2);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(184, 154, 90, 0.06);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 40px 6%;
    background: #0c0c0b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-name {
    margin-bottom: 10px;
    font-family: "Noe Display", Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--gold-light);
}

.footer-copy {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8d887e;   /* brighter than before for readability */
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 800px) {

    .site-header {
        padding: 25px 5%;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a {
        font-size: 9px;
    }

    .section {
        padding: 90px 7%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .contact-item:last-child {
        border-bottom: none;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 550px) {

    .site-header {
        padding: 22px 20px;
    }

    .header-inner {
        justify-content: center;
    }

    .main-nav {
        display: none;
    }


    /* Hero */

    .hero {
        padding: 100px 25px 70px;
    }

    .hero-kicker {
        margin-bottom: 22px;
        font-size: 10px;
        letter-spacing: 0.25em;
    }

    .hero-title {
        font-size: clamp(3.3rem, 15vw, 5.5rem);
        line-height: 0.9;
    }

    .hero-title span {
        margin-top: 8px;
    }

    .hero-description {
        margin-top: 30px;
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-button {
        margin-top: 30px;
        padding: 13px 23px;
        font-size: 11px;
    }


    /* Sections */

    .section {
        padding: 75px 25px;
    }

    .section-label,
    .socials-heading,
    .contact-label {
        font-size: 11px;
    }


    /* About */

    .about-heading {
        font-size: 3.3rem;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.8;
    }


    /* Quote */

    .quote-text {
        font-size: 2.5rem;
    }


    /* Contact */

    .contact-heading {
        font-size: 3.3rem;
        margin-bottom: 40px;
    }


    /* Socials */

    .social-links {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .social-link {
        width: 100%;
        font-size: 11px;
    }


    /* Footer */

    .site-footer {
        padding: 30px 20px;
    }

    .footer-name {
        font-size: 21px;
    }
}
