@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
    --green: #17321F;
    --green-dark: #0f2416;

    --cream: #FFF8E8;
    --cream-soft: #FFF8E8;
    --cream-old: #CFCCC1;

    --gold: #DBB039;

    --text-dark: #17321F;
    --text-soft: rgba(23, 50, 31, 0.72);

    --white: #ffffff;
    --line: rgba(219, 176, 57, 0.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}


/* =============== HEADER =============== */

.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(940px, calc(100% - 52px));
    height: 80px;
    background: rgba(246, 240, 223, 0.88);
    border-radius: 999px;
    padding: 0 42px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    width: 162px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    position: relative;
    font-size: 22px;
    color: var(--green);
    transition: 0.25s ease;
    padding: 8px 2px 10px;
    line-height: 1;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 1px;
    background: var(--green);
    transform: translateX(-50%);
    transition: width 0.28s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 55%;
}

.main-nav a:hover {
    opacity: 0.75;
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 28px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--green);
    margin: 7px 0;
    border-radius: 999px;
}


/* =============== HERO =============== */

.hero-section {
    position: relative;
    min-height: 640px;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12)),
        url("../img/hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 150px 8% 110px;
    overflow: hidden;
    isolation: isolate;
}

/* Lengkungan di belakang header */
.hero-section::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -6%;
    width: 112%;
    height: 190px;
    background: rgba(255, 248, 232, 0.48);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    z-index: 1;
    pointer-events: none;
}

/* WAVE */
.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 155px;
    background-image: url("../img/niche-wave.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    z-index: 5;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(255,255,255,0.05), transparent 35%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 560px;
    color: var(--cream-soft);
    margin-top: 210px;
    margin-bottom: 210px;
}

.hero-small {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    margin-bottom: 8px;
    font-style: italic;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 8vw, 92px);
    line-height: 0.86;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin-top: 22px;
}

.hero-subtitle2 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin-bottom: 34px;
}

.btn-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    padding: 13px 22px;

    border: 1px solid rgba(219, 176, 57, 0.68);
    border-radius: 999px;

    background: rgba(255, 248, 232, 0.14);
    color: var(--cream);

    font-size: 18px;
    line-height: 1;
    text-decoration: none;

    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(23, 50, 31, 0.16);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.btn-outline span {
    display: inline-block;
    transform: translateY(-1px);
    transition: color 0.18s ease;
}

.hero-content .btn-outline:hover {
    transform: translateY(-3px);
    background: var(--cream);
    color: var(--green);
    border-color: var(--gold);
    box-shadow: 0 16px 32px rgba(23, 50, 31, 0.22);
}

.hero-content .btn-outline:hover span {
    color: var(--green);
}

.hero-content .btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}


/* =============== SECTION HEADING =============== */

.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 62px;
}

.section-heading span {
    width: 120px;
    height: 2px;
    background: var(--gold);
    opacity: 0.65;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    color: var(--green);
}


/* =============== SERVICES =============== */

.services-section {
    position: relative;
    background: var(--cream);
    padding: 88px 8% 300px;
    overflow: hidden;
    z-index: 2;
}

.services-wrapper {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 28px;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: var(--green);
    border-radius: 18px;
    padding: 85px 20px 0px;
    text-align: center;
    color: var(--cream);
    transition: 0.35s ease;
    cursor: default;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    background: var(--cream-old);
    color: var(--green);
    transform: translateY(-8px);
}

.service-icon {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);

    width: 70px;
    height: 70px;
    font-size: 32px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
    color: var(--cream);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.35s ease;
}

.service-icon i {
    display: block;
    line-height: 1;
    color: inherit;
    transform: translateY(1px);
}

.service-card:hover .service-icon {
    background: rgba(23, 50, 31, 0.9);
    color: var(--cream);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 0.95;
    margin-bottom: 13px;
}

.service-card p {
    font-size: 18px;
    line-height: 1.2;
    max-width: 230px;
    margin: 0 auto;
}

.decor-left {
    position: absolute;
    left: -35px;
    bottom: 30px;
    width: 350px;
    height: 350px;
    background: url("../img/services-decor-transparent.png") center/contain no-repeat;
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
}


/* =============== SERVICES HEADING =============== */

.services-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 120px;
    text-align: center;
}

.services-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    color: var(--green);
    line-height: 1;
}

.services-heading span {
    width: 400px;
    height: 2px;
    background: var(--green);
    opacity: 0.85;
}


/* =============== PROJECTS =============== */

.projects-section {
    position: relative;
    background: var(--green);
    color: var(--cream);
    padding: 100px 8% 280px;
    overflow: visible;
    z-index: 3;
}

.wave-top {
    position: absolute;
    left: 0;
    top: -54px;
    width: 100%;
    height: 155px;
    background-image: url("../img/niche-wave-green.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;
}

.projects-container {
    position: relative;
    z-index: 2;
    width: min(1300px, 100%);
    margin: 0 auto;
}

.project-title {
    width: min(650px, 100%);
    margin-bottom: 38px;
}

.project-title h2 {
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 42px;
    color: var(--cream);
}

.project-title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: 42px;
    height: 2px;
    background: var(--gold);
}

.project-title p {
    width: min(620px, 100%);
    font-size: 22px;
    line-height: 1.35;
    color: rgba(255, 248, 232, 0.9);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    overflow: hidden;
    border: 1px solid rgba(219, 176, 57, 0.7);
    border-radius: 8px;
    background: transparent;
    transition: 0.35s ease;

    display: flex;
    flex-direction: column;
}

.project-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.project-body {
    padding: 19px 22px 22px;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-category {
    position: relative;
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 248, 232, 0.75);
    margin-bottom: 22px;
}

.project-category::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 52px;
    height: 1px;
    background: var(--gold);
    opacity: 0.85;
}

.project-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--cream);
}

.project-body p {
    font-size: 16px;
    line-height: 1.35;
    color: rgba(255, 248, 232, 0.82);
    margin-bottom: 32px;
}

.project-view {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--cream);
    line-height: 2;
    transition: 0.25s ease;
}

.project-view span {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 10px;
    font-size: 0;
    line-height: 0;
    flex-shrink: 0;
    transform: translateY(1px);
    transition: 0.25s ease;
}

/* garis panah */
.project-view span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 24px;
    height: 1px;
    background: currentColor;
    transform: translateY(-50%);
    border-radius: 999px;
}

/* kepala panah */
.project-view span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1.8px solid currentColor;
    border-right: 1.8px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

/* hover card */
.project-card:hover .project-view {
    color: var(--gold);
}

.project-card:hover .project-view span {
    transform: translate(6px, 1px);
}

/* wave bawah projects */
.wave-bottom {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 105px;
    background-image: url("../img/niche-wave.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;
}


/* =============== STORY =============== */

.story-section {
    position: relative;
    background: var(--cream);
    min-height: 420px;
    padding: 100px 8% 230px;
    overflow: visible;
    z-index: 1;
}

.story-heading,
.story-content {
    position: relative;
    z-index: 2;
}

.story-heading {
    margin-bottom: 36px;
    position: relative;
    z-index: 3;
}

.story-content {
    width: min(800px, 100%);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.story-content p {
    font-size: 22px;
    line-height: 1.5;
    color: var(--green);
    margin-bottom: 60px;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    padding: 13px 22px;

    border: 1px solid rgba(219, 176, 57, 0.68);
    border-radius: 999px;

    background: var(--green);
    color: var(--cream);

    font-size: 26px;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 12px 26px rgba(23, 50, 31, 0.16);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.btn-primary span {
    display: inline-block;
    transform: translateY(-1px);
    transition: color 0.18s ease;
}

.story-content .btn-primary:hover {
    transform: translateY(-3px);
    background: var(--cream);
    color: var(--green);
    border-color: var(--gold);
    box-shadow: 0 16px 32px rgba(23, 50, 31, 0.22);
}

.story-content .btn-primary:hover span {
    color: var(--green);
}

.story-content .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.story-bg-circle {
    position: absolute;
    right: -150px;
    bottom: -180px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(23, 50, 31, 0.055);
    z-index: 1;
    pointer-events: none;
}

/* arch besar tipis */
.story-bg-circle::before {
    content: "";
    position: absolute;
    right: 70px;
    bottom: 45px;
    width: 250px;
    height: 360px;
    border: 1px solid rgba(45, 104, 63, 0.473);
    border-radius: 140px 140px 0 0;
}

/* arch kecil di dalam */
.story-bg-circle::after {
    content: "";
    position: absolute;
    right: 120px;
    bottom: 72px;
    width: 145px;
    height: 230px;
    border: 1px solid rgba(45, 104, 63, 0.473);
    border-radius: 85px 85px 0 0;
}

.story-section::before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: 95px;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(45, 100, 61, 0.486);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.back-top {
    position: absolute;
    right: 44px;
    bottom: 44px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    transition: 0.3s ease;
}

.back-top:hover {
    background: var(--green);
    color: var(--cream);
}


/* =============== FOOTER =============== */

.site-footer {
    position: relative;
    background: var(--green);
    color: var(--cream);
    margin: 0;
    padding: 86px 7% 54px;
    border-radius: 90px 90px 0 0;
    overflow: hidden;
    z-index: 5;
}

.footer-inner {
    width: min(1165px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1.55fr 1fr 1fr;
    gap: 72px;
    align-items: start;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(219, 176, 57, 0.62);
}

/* BRAND LOGO IMAGE */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    width: 185px;
    margin-bottom: 26px;
}

.footer-logo-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-brand small {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 1.8px;
    color: rgba(255, 248, 232, 0.78);
    text-align: center;
}

/* COLUMN TITLE */
.footer-column h3 {
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 36px;
    color: var(--cream);
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.75;
}

/* CONTACT LINKS */
.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 18px;
}

.footer-contact li a {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 14px;
    color: rgba(255, 248, 232, 0.76);
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-contact li a i {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 248, 232, 0.68);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    color: var(--cream);
    transition: 0.25s ease;
}

.footer-contact li a span {
    display: block;
    font-size: 15px;
    line-height: 1.3;
}

.footer-contact li a:hover {
    color: var(--gold);
}

.footer-contact li a:hover i {
    color: var(--gold);
    border-color: var(--gold);
}

/* QUICK LINKS */
.footer-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links li::before {
    content: ">";
    color: var(--gold);
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 248, 232, 0.78);
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* SOCIAL */
.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.social-links a {
    color: var(--cream);
    opacity: 0.9;
    line-height: 1;
    transition: 0.25s ease;
}

.social-links i {
    font-size: 25px;
}

.social-links .fa-facebook-f,
.social-links .fa-tiktok {
    font-size: 23px;
}

.social-links a:hover {
    color: var(--gold);
    opacity: 1;
    transform: translateY(-4px);
}

/* COPYRIGHT */
.footer-bottom {
    position: relative;
    z-index: 6;
    width: min(1165px, 100%);
    margin: 0 auto;
    padding-top: 55px;
    text-align: center;
}

.footer-bottom p {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 248, 232, 0.82);
}

.story-section + .site-footer {
    padding-bottom: 56px;
}

.contact-page + .site-footer {
    padding-bottom: 56px;
}


/* =============== SCROLL PROGRESS =============== */

.niche-scroll-to-top {
    position: fixed;
    right: 38px;
    bottom: 38px;
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
    color: var(--green);
    cursor: pointer;
    z-index: 998;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 38px rgba(23, 50, 31, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: 0.35s ease;
}

.niche-scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.niche-scroll-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.niche-scroll-track,
.niche-scroll-progress {
    fill: none;
    stroke-width: 5;
}

.niche-scroll-track {
    stroke: rgba(23, 50, 31, 0.16);
}

.niche-scroll-progress {
    stroke: var(--gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.08s linear;
}

.niche-scroll-arrow {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.niche-scroll-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: 7px;
}

.niche-scroll-to-top:hover {
    background: var(--green);
}

.niche-scroll-to-top:hover .niche-scroll-arrow {
    background: var(--gold);
    color: var(--green);
}


/* =============== CONTACT PAGE =============== */

.contact-body {
    background: var(--cream-old);
}

.contact-page {
    position: relative;
    min-height: 100vh;
    background: var(--cream-old);
    padding: 175px 8% 130px;
    overflow: hidden;
}

/* pattern lingkaran kanan bawah */
.contact-page::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: 90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.22);
    z-index: 1;
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 2;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.contact-intro {
    max-width: 650px;
    margin-bottom: 46px;
}

.contact-intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(72px, 8vw, 108px);
    line-height: 0.92;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--green);
    margin-bottom: 26px;
}

.contact-intro p {
    width: min(560px, 100%);
    font-size: 24px;
    line-height: 1.42;
    color: rgba(23, 50, 31, 0.92);
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(380px, 1fr) minmax(420px, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Left card */
.contact-info-card {
    background: var(--cream);
    border-radius: 14px;
    padding: 46px 42px 38px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 20px rgba(252, 189, 2, 0.13);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(252, 189, 2, 0.22);
}

.contact-info-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(23, 50, 31, 0.14);
}

.contact-info-item:first-child {
    padding-top: 0;
}

.contact-info-item:last-of-type {
    margin-bottom: 28px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border: 2px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 20px;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background: var(--green);
    color: var(--cream);
    border-color: var(--green);
    transform: scale(1.06);
}

.contact-info-item p {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--green);
    margin: 0;
}

/* Contact notification */
.form-alert {
    position: fixed;
    top: 125px;
    right: 38px;
    z-index: 1000;
    min-width: 310px;
    max-width: 420px;
    padding: 16px 46px 16px 20px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.35;
    box-shadow: 0 16px 34px rgba(23, 50, 31, 0.18);
    animation: alertSlideIn 0.45s ease forwards;
}

.form-alert.success {
    background: var(--green);
    color: var(--cream);
    border: 1px solid rgba(219, 176, 57, 0.6);
}

.form-alert.failed {
    background: var(--cream);
    color: var(--green);
    border: 1px solid rgba(23, 50, 31, 0.18);
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.alert-close:hover {
    color: var(--gold);
    opacity: 1;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Social icons */
.contact-socials {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 10px;
    padding-left: 4px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 34px;
    line-height: 1;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-socials a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* Right card */
.contact-form-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #17321F 0%, #23482d 100%);
    border-radius: 14px;
    padding: 28px 28px 26px;
    min-height: 365px;
    color: var(--cream);
    box-shadow: 2px 2px 20px rgba(252, 189, 2, 0.26);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(252, 189, 2, 0.22);
}

/* decor di dalam card form */
.contact-form-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.05);
    z-index: 0;
}

.contact-form-card > * {
    position: relative;
    z-index: 2;
}

.contact-form-card h2 {
    position: relative;
    display: inline-block;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--cream);
}

.contact-form-card h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    background: rgba(219, 176, 57, 0.85);
    margin-top: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(219, 176, 57, 0.58);
    background: transparent;
    color: var(--cream);
    padding: 13px 14px;
    font-size: 19px;
    outline: none;
    border-radius: 5px;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 248, 232, 0.72);
}

.contact-form textarea {
    min-height: 130px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 248, 232, 0.035);
    box-shadow: 0 0 0 3px rgba(219, 176, 57, 0.12);
}

.contact-form button {
    align-self: flex-end;
    margin-top: 8px;
    border: 0;
    background: var(--cream-old);
    color: var(--green);
    padding: 11px 16px;
    font-size: 17px;
    border-radius: 5px;
    cursor: pointer;
    transition:
        background 0.28s ease,
        color 0.28s ease,
        transform 0.28s ease;
}

.contact-form button:hover {
    background: var(--green-dark);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Autofill */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--cream);
    caret-color: var(--gold);
    -webkit-box-shadow: 0 0 0 1000px #17321F inset;
    box-shadow: 0 0 0 1000px #17321F inset;
    border: 1px solid rgba(219, 176, 57, 0.58);
}

/* Textarea scrollbar */
.contact-form textarea::-webkit-scrollbar {
    width: 7px;
}

.contact-form textarea::-webkit-scrollbar-track {
    background: rgba(255, 248, 232, 0.08);
}

.contact-form textarea::-webkit-scrollbar-thumb {
    background: rgba(219, 176, 57, 0.65);
    border-radius: 999px;
}


/* =============== ABOUT PAGE =============== */

.about-page {
    background: var(--cream-old);
    min-height: 100vh;
}

.about-body {
    background: var(--cream-old);
}

.about-story-section {
    position: relative;
    min-height: 100vh;
    padding: 190px 8% 130px;
    overflow: visible;
    background: var(--cream-old);
    z-index: 1;
}

/* =============== ABOUT DECOR =============== */

/* decor kiri atas */
.about-story-section::before {
    content: "";
    position: absolute;
    left: -140px;
    top: 160px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.14);
    z-index: 1;
    pointer-events: none;
}

/* decor kiri bawah */
.about-story-section::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: 280px;
    width: 170px;
    height: 240px;
    border: 1px solid rgba(23, 50, 31, 0.10);
    border-radius: 100px 100px 0 0;
    z-index: 1;
    pointer-events: none;
}

.about-story-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 90px;
    position: relative;
    z-index: 2;
}

/* LEFT TEXT */
.about-kicker {
    margin-bottom: 48px;
}

.about-kicker span {
    position: relative;
    display: inline-block;
    font-size: 18px;
    letter-spacing: 6px;
    color: var(--green);
    text-transform: uppercase;
}

.about-kicker span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 78px;
    height: 1.8px;
    background: var(--gold);
}

.about-copy h1 {
    font-size: clamp(58px, 6vw, 78px);
    line-height: 1;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 32px;
}

.about-copy > p {
    max-width: 520px;
    font-size: 21px;
    line-height: 1.35;
    color: rgba(23, 50, 31, 0.88);
    margin-bottom: 28px;
}

.about-note {
    width: min(390px, 100%);
    margin-top: 28px;
    margin-left: 28px;
    background: rgba(255, 248, 232, 0.72);
    border-radius: 12px;
    padding: 16px 22px;
    box-shadow: 0 10px 24px rgba(50, 44, 23, 0.13);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-note:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(219, 176, 57, 0.58);
}

.about-note::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 16px;
    bottom: 16px;
    width: 1.5px;
    background: var(--gold);
}

.about-note p {
    padding-left: 22px;
    font-size: 20px;
    line-height: 1.25;
    color: rgba(23, 50, 31, 0.86);
}

/* RIGHT VISUAL */
.about-visual {
    position: relative;
    min-height: 460px;
    z-index: 2;
}

.about-main-image {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 340px;
    height: 460px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(23, 50, 31, 0.18);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.45s ease;
}

.about-accent-image {
    position: absolute;
    right: 0;
    bottom: -90px;
    width: 280px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(23, 50, 31, 0.18);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    z-index: 3;
}

.about-accent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.45s ease;
}

/* hover interaktif */
.about-visual:hover .about-main-image {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(250, 222, 66, 0.199);
}

.about-visual:hover .about-accent-image {
    transform: translate(10px, -10px);
    box-shadow: 0 18px 34px rgba(250, 222, 66, 0.199);
}

.about-visual:hover img {
    transform: scale(1.045);
    filter: contrast(1.04) saturate(1.04);
}

/* decorative soft arch kanan bawah */
.about-mobile-arch {
    position: absolute;
    right: -160px;
    bottom: -240px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.20);
    z-index: 1;
    pointer-events: none;
}

.about-mobile-arch::after {
    content: "";
    position: absolute;
    right: 100px;
    bottom: 90px;
    width: 210px;
    height: 310px;
    border: 1px solid rgba(23, 50, 31, 0.12);
    border-radius: 120px 120px 0 0;
}


/* =========================
   PAGE LOAD + SCROLL REVEAL
   ========================= */

body {
    opacity: 0;
    animation: pageFadeIn 0.75s ease forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-22px);
    transition:
        opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-left.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(22px);
    transition:
        opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-right.reveal-active {
    opacity: 1;
    transform: translateX(0);
}


/* =========================
   TEXT REVEAL ANIMATION
   ========================= */

.reveal-text {
    opacity: 1;
}

.reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        filter 0.65s ease;
}

.reveal-text.reveal-active .reveal-word {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    body,
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-word {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}


/* =========================
   PROJECTS REVEAL WRAPPERS
   ========================= */

.project-category-hero-reveal,
.project-item-reveal,
.project-back-reveal,
.project-detail-hero-reveal,
.project-preview-reveal {
    width: 100%;
}

.project-item-reveal {
    height: 100%;
}

.project-item-reveal .project-item-card {
    height: 100%;
}

.project-back-reveal {
    width: fit-content;
}


/* =========================
   PROJECTS REVEAL DELAY
   ========================= */

.projects-page-title.reveal {
    transition-delay: 0.04s;
}

.projects-category-card:nth-child(1) {
    transition-delay: 0.04s;
}

.projects-category-card:nth-child(2) {
    transition-delay: 0.09s;
}

.projects-category-card:nth-child(3) {
    transition-delay: 0.14s;
}

.project-category-hero-reveal.reveal {
    transition-delay: 0.04s;
}

.project-item-reveal:nth-child(1) {
    transition-delay: 0.04s;
}

.project-item-reveal:nth-child(2) {
    transition-delay: 0.09s;
}

.project-item-reveal:nth-child(3) {
    transition-delay: 0.14s;
}

.project-item-reveal:nth-child(4) {
    transition-delay: 0.19s;
}

.project-back-reveal.reveal {
    transition-delay: 0.08s;
}

.project-detail-hero-reveal.reveal {
    transition-delay: 0.04s;
}

.project-gallery-wrap.reveal {
    transition-delay: 0.08s;
}

.project-project-nav.reveal {
    transition-delay: 0.10s;
}

.project-preview-reveal.reveal-left {
    transition-delay: 0.06s;
}

.project-preview-reveal.reveal-right {
    transition-delay: 0.10s;
}

.project-nav-back.reveal {
    transition-delay: 0.08s;
}

/* =========================
   PROJECTS PAGE
   ========================= */

.projects-body {
    background: var(--cream-old);
}

.projects-main {
    position: relative;
    background: var(--cream-old);
    overflow: visible;
    z-index: 1;
}

.projects-page {
    position: relative;
    min-height: auto;
    padding: 200px 0 255px;
    background: var(--cream-old);
    overflow: visible;
    z-index: 1;
}

/* curve cream bagian atas */
.projects-bg-shape {
    position: absolute;
    top: 0;
    left: 50%;
    width: 200vw;
    height: 300px;
    transform: translateX(-50%);
    background: rgba(255, 248, 232, 0.42);
    z-index: 1;
    pointer-events: none;

    -webkit-mask: radial-gradient(
        ellipse 27% 70% at 50% 100%,
        transparent 0 98.5%,
        #000 99%
    );

    mask: radial-gradient(
        ellipse 27% 70% at 50% 100%,
        transparent 0 98.5%,
        #000 99%
    );
}

/* decor kiri atas */
.projects-decor-right::before {
    content: "";
    position: absolute;
    left: -140px;
    top: 160px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.14);
    z-index: 1;
    pointer-events: none;
}

/* decor kiri bawah */
.projects-decor-right::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: 500px;
    width: 200px;
    height: 280px;
    border: 1px solid rgba(219, 176, 57, 0.62);
    border-radius: 100px 100px 0 0;
    z-index: 1;
    pointer-events: none;
}

/* decor kanan bawah */
.projects-decor-bottom {
    position: absolute;
    right: -160px;
    bottom: -255px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.20);
    z-index: 1;
    pointer-events: none;
}

.projects-decor-bottom::after {
    content: "";
    position: absolute;
    right: 150px;
    bottom: 120px;
    width: 210px;
    height: 310px;
    border: 4px solid rgba(42, 97, 59, 0.24);
    border-radius: 120px 120px 0 0;
}

.projects-page-inner {
    position: relative;
    z-index: 3;
    width: min(1220px, calc(100% - 90px));
    margin: 0 auto;
}

.projects-page-title {
    text-align: center;
    color: var(--green);
    margin: 0 0 62px;
}

.projects-page-title h1 {
    font-size: 68px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 12px;
}

.projects-title-line {
    width: 400px;
    height: 2px;
    background: var(--green);
    opacity: 0.72;
    margin: 0 auto 22px;
}

.projects-page-title p {
    width: min(750px, 100%);
    margin: 40px auto 0;
    font-size: 22px;
    line-height: 1.4;
    color: var(--green);
}

/* grid */
.projects-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* card outer */
.projects-category-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 15px;
    border-radius: 18px;
    background: var(--cream);
    color: var(--green);
    text-decoration: none;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.projects-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(23, 50, 31, 0.12);
}

/* frame foto */
.projects-category-image-frame {
    position: relative;
    overflow: hidden;
    height: 300px;
    flex-shrink: 0;
    border: 1px solid rgba(219, 176, 57, 0.85);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    background: #d7d3c9;
}

.projects-category-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.58);
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.projects-category-card:hover .projects-category-image-frame img {
    filter: brightness(1);
    transform: scale(1.025);
}

/* area bawah */
.projects-category-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 98px;
    padding: 12px 14px 12px;
    background: var(--cream);
    border: 1px solid rgba(219, 176, 57, 0.85);
    border-top: none;
    border-radius: 0 0 14px 14px;
}

.projects-category-content h2 {
    position: relative;
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
    padding-bottom: 8px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    color: var(--green);
    transition: color 0.25s ease;
}

.projects-category-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 1px;
    background: var(--gold);
    transition:
        width 0.32s ease,
        background 0.25s ease;
}

.projects-category-card:hover .projects-category-content h2::after {
    width: 72px;
}

.projects-view-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--green);
    transition: color 0.25s ease;
}

.projects-view-text {
    font-size: 18px;
    line-height: 1;
    transition: color 0.25s ease;
}

.projects-view-arrow {
    font-size: 18px;
    line-height: 1;
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

/* hover */
.projects-category-card:hover .projects-view-link,
.projects-category-card:hover .projects-view-text,
.projects-category-card:hover .projects-view-arrow {
    color: var(--gold);
}

.projects-category-card:hover .projects-view-arrow {
    transform: translateX(3px);
}

/* footer projects biar nyatu */
.projects-body .site-footer {
    position: relative;
    z-index: 20;
    margin-top: -85px;
}

/* =========================
   PROJECT CATEGORY PAGE
   Residentials / Commercials / Office
   ========================= */

.project-category-body {
    background: var(--cream);
}

.project-category-main {
    position: relative;
    min-height: 100vh;
    background: var(--cream);
    overflow: visible;
}

/* =========================
   HERO CATEGORY
   ========================= */

.project-category-hero {
    position: relative;
    min-height: 100vh;
    padding: 0 8%;
    overflow: hidden;
    color: var(--green);
    background: var(--cream-old);
}

/* gambar hero asli */
.project-category-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(0.72) saturate(0.92);
}

/* overlay cream supaya teks hijau tetap kebaca */
.project-category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 248, 232, 0.28),
        rgba(255, 248, 232, 0.48)
    );
    z-index: 1;
    pointer-events: none;
}

/* decor soft kiri atas hero */
.project-category-hero::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(23, 50, 31, 0.16);
    z-index: 2;
    pointer-events: none;
}

/* wave cream ke section bawah */
.project-category-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -50px;
    width: 100%;
    height: 145px;
    background-image: url("../img/niche-wave.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    z-index: 2;
    pointer-events: none;
}

.project-category-hero-content {
    position: absolute;
    top: 30%;
    left: 50%;
    z-index: 3;

    width: min(820px, 100%);
    margin: 0;
    transform: translate(-50%, 50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: var(--green);
}

.project-category-hero-content h1 {
    width: 100%;
    margin: 0 auto 14px;
    padding: 0;

    font-size: clamp(72px, 5.4vw, 94px);
    line-height: 0.96;
    font-weight: 500;
    
    color: var(--green);
    text-align: center;
    text-shadow: 0 8px 22px rgba(255, 248, 232, 0.45);
}

.project-category-hero-content span {
    display: block;
    width: 92px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 28px;
}

.project-category-hero-content p {
    width: min(760px, 100%);
    margin: 0 auto;
    font-size: 26px;
    line-height: 1.18;
    color: rgba(23, 50, 31, 0.92);
    text-align: center;
}

/* =========================
   PROJECT LIST SECTION
   ========================= */

.project-category-section {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    padding: 88px 6.5% 140px;
    background: var(--cream);
    color: var(--green);
    min-height: 620px;
    overflow: visible;
}

/* decor kanan bawah section */
.project-category-section::before {
    content: "";
    position: absolute;
    right: -190px;
    bottom: -260px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--cream-old);
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
}

/* arch outline kanan bawah */
.project-category-section::after {
    content: "";
    position: absolute;
    right: 40px;
    bottom: -30px;
    width: 180px;
    height: 270px;
    border: 1px solid rgba(23, 50, 31, 0.12);
    border-radius: 110px 110px 0 0;
    z-index: 1;
    pointer-events: none;
}

.project-category-inner {
    position: relative;
    z-index: 3;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.project-category-inner::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 18px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(23, 50, 31, 0.10);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* GRID FULL */
.project-list-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
    align-items: start;
}

/* =========================
   PROJECT CARD
   ========================= */

.project-list-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 34px;
    align-items: stretch;
    grid-auto-rows: minmax(400px, auto);
}

.project-item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    height: 100%;
    padding: 14px 14px 14px;
    border: 1px solid rgba(219, 176, 57, 0.82);
    border-radius: 12px;
    color: var(--cream);
    text-decoration: none;
    background: var(--green);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(23, 50, 31, 0.10);
    transition:
        transform 0.32s ease,
        border-color 0.32s ease,
        box-shadow 0.32s ease,
        background 0.32s ease,
        color 0.32s ease;
}

/* decor bulat samar di belakang arrow */
.project-item-card::before {
    content: "";
    position: absolute;
    right: -64px;
    bottom: -64px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.16);
    z-index: 0;
    transition: transform 0.32s ease, opacity 0.32s ease;
}

.project-item-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    background: var(--cream);
    color: var(--green);
    box-shadow: 0 20px 40px rgba(23, 50, 31, 0.18);
}

.project-item-card:hover::before {
    background: rgba(23, 50, 31, 0.10);
    transform: scale(1.16);
    opacity: 0.9;
}

/* IMAGE */
.project-item-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(23, 50, 31, 0.10);
    margin-bottom: 16px;
}

.project-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.78) saturate(0.92);
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.project-item-card:hover .project-item-image img {
    transform: scale(1.045);
    filter: brightness(1) saturate(1.03);
}

/* DATE */
.project-item-date {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: fit-content;
    margin: 0 0 16px;
    padding-bottom: 9px;

    font-size: 11px;
    line-height: 1;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255, 248, 232, 0.78);
    transition: color 0.25s ease;
}

.project-item-date::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.project-item-card:hover .project-item-date {
    color: rgba(23, 50, 31, 0.78);
}

.project-item-card:hover .project-item-date::after {
    width: 74px;
}

/* TITLE */
.project-item-card h2 {
    position: relative;
    z-index: 2;
    width: calc(100% - 62px);
    margin: 0;
    font-size: clamp(45px, 2.35vw, 38px);
    line-height: 1.02;
    font-weight: 400;
    color: var(--cream);
    transition: color 0.25s ease;
}

.project-item-card:hover h2 {
    color: var(--green);
}

.project-item-type {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin-top: 60px;
    padding: 7px 12px;

    border: 1px solid rgba(255, 248, 232, 0.22);
    border-radius: 999px;

    font-size: 11px;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    color: rgba(255, 248, 232, 0.72);
    background: rgba(255, 248, 232, 0.08);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.project-item-card:hover .project-item-type {
    color: rgba(23, 50, 31, 0.78);
    border-color: rgba(23, 50, 31, 0.18);
    background: rgba(23, 50, 31, 0.06);
}

/* ARROW */
.project-item-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    display: block;

    background: rgba(255, 248, 232, 0.18);
    color: var(--cream);

    font-size: 0;
    line-height: 1;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.project-item-arrow::before {
    content: "→";
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -54%);

    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    color: currentColor;
}

.project-item-card:hover .project-item-arrow {
    transform: translateX(6px);
    background: var(--green);
    color: var(--cream);
    box-shadow: 0 8px 18px rgba(23, 50, 31, 0.16)
}

/* BACK LINK */
.project-back-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: fit-content;
    margin-top: 82px;
    padding: 15px 26px;

    border: 1px solid rgba(219, 176, 57, 0.72);
    border-radius: 12px;
    background: var(--green);
    color: var(--gold);

    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.2px;
    text-decoration: none;

    box-shadow: 0 12px 26px rgba(23, 50, 31, 0.14);
    overflow: hidden;

    transition:
        transform 0.28s ease,
        background 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.project-back-link::before {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -42px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.10);
    pointer-events: none;
    transition:
        transform 0.28s ease,
        background 0.28s ease;
}

.project-back-link:hover {
    transform: translateY(-4px);
    background: var(--cream);
    color: var(--green);
    border-color: var(--gold);
    box-shadow: 0 18px 34px rgba(23, 50, 31, 0.18);
}

.project-back-link:hover::before {
    transform: scale(1.18);
    background: rgba(23, 50, 31, 0.08);
}

.project-back-link span {
    position: relative;
    z-index: 2;
    display: inline-block;
    transform: translateY(-1px);
    transition: transform 0.25s ease;
}

.project-back-link:hover span {
    transform: translate(-4px, -1px);
}

.project-back-link {
    isolation: isolate;
}

.project-back-link > * {
    position: relative;
    z-index: 2;
}

/* FOOTER CONNECT */
.project-category-body .site-footer {
    position: relative;
    z-index: 20;
    margin-top: -70px;
}

/* =========================
   PROJECT DETAIL PAGE
   Desktop
   ========================= */

.project-detail-body {
    background: var(--cream-old);
}

.project-detail-main {
    position: relative;
    min-height: 100vh;
    background: var(--cream-old);
    overflow: visible;
}

/* HERO */
.project-detail-hero {
    position: relative;
    min-height: 610px;
    padding: 125px 8% 185px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--cream-old);
}

.project-detail-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(0.58) saturate(0.92);
}

.project-detail-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to right,
            rgba(23, 50, 31, 0.62),
            rgba(23, 50, 31, 0.18)
        );
    pointer-events: none;
}

.project-detail-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 155px;
    background-image: url("../img/niche-wave-cream-old.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    z-index: 3;
    pointer-events: none;
}

.project-detail-hero-content {
    position: relative;
    z-index: 4;
    width: min(620px, 100%);
    color: var(--cream);
    margin-top: 150px;
}

.project-detail-category {
    position: relative;
    width: fit-content;
    margin-bottom: 34px;
    padding-bottom: 10px;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
}

.project-detail-category::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62px;
    height: 1px;
    background: var(--gold);
}

.project-detail-hero-content h1 {
    width: min(800px, 120%);
    margin: 0 0 40px;
    font-size: clamp(58px, 6vw, 86px);
    line-height: 1.1;
    font-weight: 500;
    color: var(--cream);
}

.project-detail-hero-content p {
    width: min(700px, 100%);
    font-size: 24px;
    line-height: 1.28;
    color: rgba(255, 248, 232, 0.9);
}

.project-hero-back {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    margin-top: 160px;
    padding: 13px 22px;

    border: 1px solid rgba(219, 176, 57, 0.68);
    border-radius: 999px;

    background: rgba(255, 248, 232, 0.14);
    color: var(--cream);

    font-size: 15px;
    line-height: 1;
    text-decoration: none;

    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(23, 50, 31, 0.16);

    transition:
        transform 0.28s ease,
        background 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.project-hero-back span {
    display: inline-block;
    transform: translateY(-1px);
    transition: transform 0.25s ease;
}

.project-hero-back:hover {
    transform: translateY(-3px);
    background: var(--cream);
    color: var(--green);
    border-color: var(--gold);
    box-shadow: 0 16px 32px rgba(23, 50, 31, 0.22);
}

.project-hero-back:hover span {
    transform: translate(-4px, -1px);
}

/* CONTENT */
.project-detail-content {
    position: relative;
    z-index: 4;
    padding: 96px 8% 155px;
    background: var(--cream-old);
    overflow: visible;
}

/* decor kanan bawah */
.project-detail-content::before {
    content: "";
    position: absolute;
    right: -190px;
    bottom: -230px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.26);
    z-index: 1;
    pointer-events: none;
}

.project-detail-content::after {
    content: "";
    position: absolute;
    right: 54px;
    bottom: -10px;
    width: 190px;
    height: 295px;
    border: 1px solid rgba(23, 50, 31, 0.13);
    border-radius: 120px 120px 0 0;
    z-index: 1;
    pointer-events: none;
}

/* =========================
   PROJECT DETAIL - GALLERY ONLY
   ========================= */

.project-gallery-wrap {
    position: relative;
    z-index: 3;
    width: min(1320px, 100%);
    margin: 0 auto 96px;
}

/* decor halus belakang */
.project-gallery-wrap::before {
    content: "";
    position: absolute;
    left: -38px;
    top: -38px;
    width: 155px;
    height: 155px;
    border: 1px solid rgba(219, 176, 57, 0.58);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.project-gallery-wrap::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: 62px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.18);
    z-index: 0;
    pointer-events: none;
}

/* card gallery */
.project-gallery-shell {
    position: relative;
    z-index: 2;
    padding: 26px 34px 22px;

    border: 1px solid rgba(219, 176, 57, 0.40);
    border-radius: 14px;

    background: rgba(255, 248, 232, 0.34);
    box-shadow: 0 18px 40px rgba(23, 50, 31, 0.09);
    backdrop-filter: blur(4px);
}

/* GALLERY TOP HEADER */

.project-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    margin-bottom: 18px;
}

.project-gallery-heading {
    display: flex;
    align-items: center;
    min-width: 0;
}

.project-gallery-heading span {
    position: relative;
    display: inline-block;
    padding-right: 18px;

    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gold);
}

.project-gallery-heading span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 2px;
    height: 22px;
    background: rgba(219, 176, 57, 0.6);
    transform: translateY(-50%);
}

.project-gallery-date-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.project-gallery-date-badge i {
    position: relative;
    font-size: 32px;
    color: var(--gold);
    line-height: 1;
    padding-right: 14px;
}

.project-gallery-date-badge i::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 2px;
    height: 22px;
    background: rgba(219, 176, 57, 0.6);
    transform: translateY(-50%);
}

.project-gallery-date-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.project-gallery-date-text small {
    display: block;
    margin: 0;

    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(23, 50, 31, 0.58);
}

.project-gallery-date-text strong {
    display: block;

    font-size: 20px;
    line-height: 1.05;
    font-weight: 600;
    color: var(--green);
}

/* stage gambar */
.project-gallery-stage {
    position: relative;
}

.project-gallery-slider {
    position: relative;
    width: 100%;
    height: 580px;
    border-radius: 8px;
    overflow: hidden;

    background: rgba(23, 50, 31, 0.12);
    border: 1px solid rgba(219, 176, 57, 0.38);
    box-shadow: 0 18px 38px rgba(23, 50, 31, 0.12);
}

.project-gallery-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease,
        transform 0.7s ease;
}

.project-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.project-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) saturate(0.98);

    transition:
        transform 0.45s ease,
        filter 0.35s ease;
}

.project-gallery-stage:hover .project-gallery-slide.active img {
    transform: scale(1.035);
    filter: brightness(0.98) saturate(1.02);
}

/* info tanggal di dalam gambar */
.project-gallery-overlay-info {
    position: absolute;
    left: 28px;
    bottom: 26px;
    z-index: 7;

    min-width: 180px;
    padding: 13px 18px 15px;

    background: linear-gradient(
        135deg,
        rgba(23, 50, 31, 0.86) 0%,
        rgba(23, 50, 31, 0.66) 100%
    );

    border-left: 1px solid var(--gold);
    box-shadow: 0 12px 24px rgba(23, 50, 31, 0.18);
    backdrop-filter: blur(6px);

    opacity: 0.96;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

.project-gallery-stage:hover .project-gallery-overlay-info {
    transform: translateY(-3px);
    opacity: 1;
}

.project-gallery-overlay-info::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 42px;
    height: 1px;
    background: var(--gold);
}

.project-gallery-overlay-info span {
    display: block;
    margin-bottom: 5px;

    font-size: 12px;
    line-height: 1;
    color: rgba(255, 248, 232, 0.84);
}

.project-gallery-overlay-info strong {
    display: block;

    font-size: 23px;
    line-height: 1;
    font-weight: 500;
    color: var(--cream);
}

/* tombol slider muncul saat hover foto */
.project-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 8;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(219, 176, 57, 0.58);
    border-radius: 50%;

    background: rgba(255, 248, 232, 0.92);
    color: var(--green);

    font-size: 0;
    line-height: 1;

    display: block;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    box-shadow: 0 12px 24px rgba(23, 50, 31, 0.14);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.project-gallery-stage:hover .project-slider-btn {
    opacity: 1;
    visibility: visible;
}

.project-slider-btn::before {
    position: absolute;
    left: 50%;
    top: 50%;

    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    color: currentColor;
}

.project-slider-prev::before {
    content: "‹";
    transform: translate(-54%, -55%);
}

.project-slider-next::before {
    content: "›";
    transform: translate(-46%, -55%);
}

.project-slider-prev {
    left: 24px;
    transform: translate(-10px, -50%);
}

.project-slider-next {
    right: 24px;
    transform: translate(10px, -50%);
}

.project-gallery-stage:hover .project-slider-prev {
    transform: translate(0, -50%);
}

.project-gallery-stage:hover .project-slider-next {
    transform: translate(0, -50%);
}

.project-slider-btn:hover {
    background: var(--green);
    color: var(--cream);
    border-color: var(--green);
    box-shadow: 0 16px 30px rgba(23, 50, 31, 0.22);
}

.project-slider-prev:hover {
    transform: translate(-4px, -50%);
}

.project-slider-next:hover {
    transform: translate(4px, -50%);
}

/* dots */
.project-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    margin-top: 18px;
}

.project-gallery-dots button {
    width: 8px;
    height: 8px;

    border: 0;
    border-radius: 999px;

    background: rgba(23, 50, 31, 0.18);
    cursor: pointer;

    transition:
        width 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease,
        opacity 0.25s ease;
}

.project-gallery-dots button.active {
    width: 24px;
    background: var(--green);
}

.project-gallery-dots button:hover {
    background: rgba(23, 50, 31, 0.44);
}

/* =========================
   PROJECT PREVIEW NAV
   Previous / Next with Image
   ========================= */

.project-project-nav {
    position: relative;
    z-index: 3;
    width: min(960px, 100%);
    margin: 0 auto 48px;
    padding-top: 38px;
    border-top: 1px solid rgba(255, 248, 232, 0.68);

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.project-nav-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.project-nav-left,
.project-nav-right {
    align-items: stretch;
}

/* CARD PREV / NEXT */
.project-preview-nav {
    position: relative;
    width: 100%;
    height: 158px;
    min-height: 158px;
    padding: 16px 17px;

    display: grid;
    align-items: center;
    gap: 14px;

    display: grid;
    align-items: center;
    gap: 22px;

    border: 1px solid rgba(219, 176, 57, 0.46);
    border-radius: 14px;
    background: rgba(255, 248, 232, 0.24);
    color: var(--green);
    text-decoration: none;
    overflow: hidden;

    box-shadow: 0 14px 30px rgba(23, 50, 31, 0.09);

    transition:
        transform 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.project-preview-nav::before {
    content: "";
    position: absolute;
    bottom: -62px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.23);
    z-index: 0;
    pointer-events: none;
    transition:
        transform 0.28s ease,
        background 0.28s ease;
}

.project-preview-nav:hover {
    transform: translateY(-5px);
    background: rgba(255, 248, 232, 0.42);
    border-color: var(--gold);
    box-shadow: 0 20px 38px rgba(23, 50, 31, 0.15);
}

.project-preview-nav:hover::before {
    transform: scale(1.14);
    background: rgba(23, 50, 31, 0.08);
}

.project-preview-nav > * {
    position: relative;
    z-index: 2;
}

/* PREVIOUS: teks kiri, gambar kanan, arrow kiri */
.project-preview-prev {
    grid-template-columns: minmax(0, 1fr) 205px;
    text-align: left;
    padding-left: 24px;
    padding-right: 14px;
}

.project-preview-prev::before {
    left: -58px;
}

.project-preview-prev::after {
    content: "←";
    left: 22px;
    bottom: 18px;
}

.project-preview-prev .project-preview-info {
    padding-left: 48px;
    padding-right: 4px;
}

/* NEXT: gambar kiri, teks kanan, arrow kanan */
.project-preview-next {
    grid-template-columns: 205px minmax(0, 1fr);
    text-align: left;
    padding-left: 14px;
    padding-right: 24px;
}

.project-preview-next::before {
    right: -58px;
}

.project-preview-next::after {
    content: "→";
    right: 22px;
    bottom: 18px;
}

.project-preview-next .project-preview-info {
    padding-left: 4px;
    padding-right: 58px;
}

/* IMAGE */
.project-preview-image {
    width: 205px;
    height: 116px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(219, 176, 57, 0.38);
    background: rgba(23, 50, 31, 0.12);
    box-shadow: 0 10px 22px rgba(23, 50, 31, 0.10);
}

.project-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82) saturate(0.95);
    transition:
        transform 0.38s ease,
        filter 0.38s ease;
}

.project-preview-nav:hover .project-preview-image img {
    transform: scale(1.055);
    filter: brightness(0.96) saturate(1);
}

/* TEXT */
.project-preview-info span {
    position: relative;
    display: inline-block;
    margin-bottom: 13px;
    padding-bottom: 7px;

    font-size: 11px;
    line-height: 1;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: rgba(23, 50, 31, 0.58);

    white-space: nowrap;
}

.project-preview-info span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 38px;
    height: 1px;
    background: var(--gold);
    transition: width 0.28s ease;
}

.project-preview-nav:hover .project-preview-info span::after {
    width: 70px;
}

.project-preview-info h2 {
    width: 100%;
    max-width: 235px;
    margin: 0;

    font-size: clamp(24px, 1.85vw, 31px);
    line-height: 0.92;
    font-weight: 400;
    color: var(--green);

    word-break: normal;
}

/* ARROW */
.project-preview-prev::after,
.project-preview-next::after {
    position: absolute;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--green);
    color: var(--cream);

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1;

    box-shadow: 0 10px 22px rgba(23, 50, 31, 0.16);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.project-preview-prev:hover::after {
    transform: translateX(-5px);
    background: var(--gold);
    color: var(--green);
}

.project-preview-next:hover::after {
    transform: translateX(5px);
    background: var(--gold);
    color: var(--green);
}

/* BACK CARD hanya untuk project pertama */
.project-nav-back {
    position: relative;
    width: fit-content;
    min-width: 0;
    height: fit-content;
    align-self: center;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 26px;
    border: 1px solid rgba(219, 176, 57, 0.72);
    border-radius: 12px;

    background: var(--green);
    color: var(--gold);

    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.2px;
    text-decoration: none;

    box-shadow: 0 12px 26px rgba(23, 50, 31, 0.14);
    overflow: hidden;

    transition:
        transform 0.28s ease,
        background 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.project-nav-back::before {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -42px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.10);
    pointer-events: none;
    transition:
        transform 0.28s ease,
        background 0.28s ease;
}

.project-nav-back span {
    position: relative;
    z-index: 2;
    display: inline-block;
    transform: translateY(-1px);
    transition: transform 0.25s ease;
}

.project-nav-back:hover {
    transform: translateY(-4px);
    background: var(--cream);
    color: var(--green);
    border-color: var(--gold);
    box-shadow: 0 18px 34px rgba(23, 50, 31, 0.18);
}

.project-nav-back:hover::before {
    transform: scale(1.18);
    background: rgba(23, 50, 31, 0.08);
}

.project-nav-back:hover span {
    transform: translate(-4px, -1px);
}

.project-nav-back-under {
    align-self: flex-start;
    margin-top: 0;
}

/* BACK BUTTON KHUSUS PROJECT PERTAMA */
.project-nav-left:has(> .project-nav-back:only-child) {
    justify-content: center;
    align-items: flex-start;
}

.project-nav-left:has(> .project-nav-back:only-child) .project-nav-back {
    align-self: flex-start;
    height: 48px;
    padding: 0 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* BACK BUTTON*/
.project-detail-body .project-back-link {
    position: relative;
    z-index: 3;
    margin-top: 0;
}

/* footer */
.project-detail-body .site-footer {
    position: relative;
    z-index: 20;
    margin-top: -70px;
}