/* =========================================
   BANGUN'AN STUDIO
========================================= */

:root {
    --brown: #8F6A4F;
    --olive: #6F755E;
    --deep-olive: #556048;
    --sage: #8A9277;
    --taupe: #B79372;

    --off-white: #F5F4F1;
    --cream: #E9E3D6;
    --white: #FFFFFF;

    --charcoal: #33362E;
    --light-grey: #D7D2C8;

    --terracotta: #A86F4E;

    --radius-small: 14px;
    --radius: 22px;
    --radius-large: 32px;

    --shadow:
        0 15px 40px rgba(51, 54, 46, 0.08);

    --transition:
        0.25s ease;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #ebe9e4;
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================
   PAGE
========================================= */

.page-container {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;

    background: var(--off-white);

    overflow: hidden;

    box-shadow:
        0 0 60px rgba(51, 54, 46, 0.08);
}


/* =========================================
   HERO
========================================= */

.hero {
    padding: 38px 28px 40px;
    text-align: center;
    background: var(--off-white);
}


/* LOGO */

.logo-wrapper {
    width: 100%;
    height: 210px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    overflow: visible;
}

.logo {
    width: 320px;
    max-width: 92%;
    height: auto;

    object-fit: contain;

    mix-blend-mode: multiply;
}


/* EYEBROW */

.eyebrow {
    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: var(--olive);
}


/* HERO TITLE */

.hero h1 {
    margin-bottom: 25px;

    font-family: "Instrument Serif", serif;

    font-size: clamp(48px, 12vw, 66px);
    font-weight: 400;

    line-height: 0.97;
    letter-spacing: -1.5px;

    color: var(--charcoal);
}

.hero h1 span {
    color: var(--brown);
}


/* DESCRIPTION */

.hero-description {
    max-width: 420px;

    margin: 0 auto 28px;

    font-size: 15px;
    line-height: 1.75;

    color: #676960;
}


/* =========================================
   BUTTON
========================================= */

.btn {
    width: 100%;
    min-height: 56px;

    margin-bottom: 12px;
    padding: 16px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.btn span {
    font-size: 19px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: var(--deep-olive);

    box-shadow:
        0 12px 28px rgba(85, 96, 72, 0.20);
}

.btn-primary:hover {
    background: var(--olive);
}

.btn-secondary {
    color: var(--charcoal);
    background: transparent;

    border:
        1px solid var(--light-grey);
}

.btn-secondary:hover {
    background: white;
}

.btn-light {
    margin-top: 25px;

    color: var(--deep-olive);
    background: var(--off-white);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================
   PROJECT SLIDESHOW
========================================= */

.project-feature {
    padding: 0 20px 30px;
}


/* MAIN FRAME */

.project-slider {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border-radius: var(--radius-large);

    background: var(--deep-olive);

    box-shadow: var(--shadow);

    touch-action: pan-y;
}


/* EACH SLIDE */

.project-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease;
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
}


/* SLIDE IMAGE */

.project-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.015);

    transition:
        transform 5s ease;
}

.project-slide.active img {
    transform: scale(1.05);
}


/* DARK GRADIENT */

.slider-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to top,
            rgba(20, 25, 20, 0.68) 0%,
            rgba(20, 25, 20, 0.20) 38%,
            rgba(20, 25, 20, 0.02) 70%
        );

    pointer-events: none;
}


/* TEXT */

.slider-content {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 30px;

    z-index: 5;

    color: white;
}

.slider-content span {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.3px;
    text-transform: uppercase;

    opacity: 0.88;
}

.slider-content h2 {
    font-family: "Instrument Serif", serif;

    font-size: 38px;
    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.5px;
}


/* ARROWS */

.slider-arrow {
    position: absolute;

    top: 50%;

    z-index: 6;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;

    color: white;

    background:
        rgba(30, 34, 28, 0.28);

    backdrop-filter:
        blur(8px);

    cursor: pointer;

    font-size: 27px;
    font-family: Arial, sans-serif;

    opacity: 0;

    transition:
        opacity 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.project-slider:hover
.slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background:
        rgba(30, 34, 28, 0.60);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}


/* COUNTER */

.slider-counter {
    position: absolute;

    right: 20px;
    bottom: 22px;

    z-index: 6;

    display: flex;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 10px;
    letter-spacing: 1px;
}

.counter-line {
    width: 22px;
    height: 1px;

    background:
        rgba(255, 255, 255, 0.55);
}


/* DOTS */

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 17px;
}

.slider-dot {
    width: 6px;
    height: 6px;

    border: none;
    border-radius: 50%;

    background:
        #bebeb5;

    cursor: pointer;

    padding: 0;

    transition:
        width 0.3s ease,
        border-radius 0.3s ease,
        background 0.3s ease;
}

.slider-dot.active {
    width: 22px;

    border-radius: 10px;

    background:
        var(--deep-olive);
}


/* =========================================
   GENERIC SECTION
========================================= */

.section {
    padding: 85px 28px;
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading h2 {
    font-family: "Instrument Serif", serif;

    font-size: 48px;
    font-weight: 400;

    line-height: 1;
    letter-spacing: -1px;

    color: var(--charcoal);
}


/* =========================================
   SERVICES
========================================= */

.services {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.service-card {
    position: relative;

    overflow: hidden;

    padding: 24px;

    border:
        1px solid rgba(51, 54, 46, 0.08);

    border-radius: var(--radius);

    background: white;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-number {
    display: block;

    margin-bottom: 40px;

    font-family: "Instrument Serif", serif;
    font-size: 21px;

    color: var(--brown);
}

.service-card h3 {
    margin-bottom: 10px;

    font-size: 20px;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;

    color: #6d6f68;
}

.service-card::after {
    content: "";

    position: absolute;

    top: -30px;
    right: -30px;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    background:
        rgba(111, 117, 94, 0.07);
}


/* =========================================
   TRUST
========================================= */

.trust {
    color: white;
    background: var(--deep-olive);
}

.trust .eyebrow {
    color: #d8d3c5;
}

.trust .section-heading h2 {
    color: white;
}

.trust-list {
    border-top:
        1px solid rgba(255,255,255,0.18);
}

.trust-item {
    min-height: 67px;

    display: grid;

    grid-template-columns:
        46px 1fr;

    gap: 10px;

    align-items: center;

    border-bottom:
        1px solid rgba(255,255,255,0.18);
}

.trust-item span {
    font-family:
        "Instrument Serif",
        serif;

    font-size: 18px;

    color: #c7bba9;
}

.trust-item p {
    font-size: 15px;
    font-weight: 500;
}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio {
    background: #efede8;
}

.portfolio-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;
}

.portfolio-card:nth-child(3) {
    grid-column:
        1 / -1;
}

.portfolio-image-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 5 / 6;

    overflow: hidden;

    border-radius: var(--radius);

    background: #ddd;

    box-shadow:
        0 10px 30px rgba(51,54,46,0.08);
}

.portfolio-card:nth-child(3)
.portfolio-image-wrapper {
    aspect-ratio: 16 / 9;
}

.portfolio-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease;
}

.portfolio-image-wrapper:hover
.portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(20,25,20,0.60) 0%,
            rgba(20,25,20,0.10) 45%,
            transparent 72%
        );

    pointer-events: none;
}

.project-number {
    position: absolute;

    left: 18px;
    bottom: 17px;

    z-index: 2;

    font-family:
        "Instrument Serif",
        serif;

    font-size: 22px;

    color: white;
}

.portfolio-card > p {
    margin: 10px 3px 0;

    font-size: 12px;

    color: #676960;
}


/* =========================================
   FINAL CTA
========================================= */

.final-cta {
    margin: 20px;

    padding: 50px 28px;

    color: white;

    border-radius: var(--radius-large);

    background: var(--brown);
}

.final-cta .eyebrow {
    color: #f0dfd1;
}

.final-cta h2 {
    margin-bottom: 22px;

    font-family:
        "Instrument Serif",
        serif;

    font-size: 46px;
    font-weight: 400;

    line-height: 1;

    letter-spacing: -1px;
}

.final-cta > p:not(.eyebrow) {
    font-size: 14px;

    line-height: 1.7;

    opacity: 0.88;
}


/* =========================================
   SOCIAL
========================================= */

.social-links {
    padding: 55px 28px 20px;

    display: flex;
    flex-direction: column;
}

.social-links a {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--light-grey);

    font-size: 16px;
    font-weight: 500;

    transition:
        color var(--transition),
        padding var(--transition);
}

.social-links a:first-child {
    border-top:
        1px solid var(--light-grey);
}

.social-links a:hover {
    padding-left: 5px;

    color: var(--brown);
}

.social-links span {
    font-size: 21px;

    color: var(--olive);
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 45px 28px 50px;

    text-align: center;
}

.footer-brand {
    margin-bottom: 4px;

    font-family:
        "Instrument Serif",
        serif;

    font-size: 27px;
}

footer > p:not(.footer-brand) {
    font-size: 12px;

    color: #777970;
}

.copyright {
    margin-top: 20px;

    font-size: 11px !important;

    opacity: 0.65;
}


/* =========================================
   PAGE LOAD
========================================= */

.hero,
.project-feature,
.section,
.final-cta,
.social-links,
footer {
    animation:
        fadeUp 0.8s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(18px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

    body {
        padding: 35px 0;
    }

    .page-container {
        border-radius: 30px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    /* arrows tetap sedikit terlihat di HP */
    .slider-arrow {
        opacity: 0.72;

        width: 36px;
        height: 36px;

        font-size: 24px;
    }

}


@media (max-width: 390px) {

    .hero {
        padding-left: 21px;
        padding-right: 21px;
    }

    .section {
        padding-left: 21px;
        padding-right: 21px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .section-heading h2,
    .final-cta h2 {
        font-size: 42px;
    }

    .logo {
        width: 280px;
    }

    .slider-content h2 {
        font-size: 34px;
    }

}