/* ==================================================
   GOOGLE FONT
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ==================================================
   ROOT VARIABLES
================================================== */

:root {
    --primary-color: #ffffff;
    --secondary-color: #3d3d3d;
    --text-light: #727272;
    --extra-light: #f3f4f6;
    --font-family: 'Poppins', sans-serif;
}


/* ==================================================
   ANIMATIONS
================================================== */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(-600px, 600px) rotate(45deg);
        opacity: 0;
    }
}


/* ==================================================
   GLOBAL
================================================== */

body {
    user-select: none;
    margin: 0;
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}


/* Fade Utility */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.show {
    animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) forwards;
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    transition: background 0.35s cubic-bezier(.22, 1, .36, 1), border 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s cubic-bezier(.22, 1, .36, 1), transform 0.45s cubic-bezier(.34, 1.56, .64, 1);
}


/* Navbar ketika scroll */

.navbar.scrolled {
    background: rgba(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
    transform: translateY(15px);
    border-radius: 30px;
    margin: 20px;
    top: 20px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo img {
    width: 150px;
    transition: transform 0.3s ease;
}


/* Nav Links */

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links li a {
    display: inline-block;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 500;
    padding: 10px 19px;
    border-radius: 15px;
    transition: transform 0.25s ease;
}

.nav-links li a:hover {
    transform: scale(1.1);
    background-color: rgb(255, 255, 255);
}


/* Button Navbar */

.nav-links li button {
    padding: 13px 21px;
    border: none;
    background-color: rgb(233, 178, 78);
    color: white;
    font-size: 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--font-family);
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-links li button:hover {
    transform: scale(1.1);
    background-color: rgb(153, 120, 49);
}


/* Hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(0, 0, 0);
    border-radius: 20px;
    transition: all 0.3s ease;
}


/* Hamburger Active */

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ==================================================
   HERO SECTION
================================================== */

.heroback {
    position: relative;
}

.hero {
    background-image: url(images/hero_1.jpg);
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    padding: 250px 100px;
    display: flex;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}


/* Overlay */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-text {
    position: relative;
    z-index: 1;
    color: white;
    text-align: left;
    padding-top: 100px;
}

.hero-text h1,
.hero-text p {
    transition: transform 0.3s ease;
}

.hero-text h1:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hero-text P:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


/* ==================================================
   ABOUT SECTION
================================================== */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.about-container {
    width: 1200px;
    /* ukuran tetap */
    background: white;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Header */

.about-header {
    padding: 0 44px;
    position: relative;
    z-index: 2;
}

.about-header h2 {
    color: #292929;
    font-size: 2rem;
    margin: 5px 0;
}

.ornament {
    color: orange;
    font-size: 14px;
    letter-spacing: 3px;
}

.bg-text1 {
    top: -110px;
    left: 10px;
    position: absolute;
    font-size: 100px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.10);
    pointer-events: none;
}


/* Content */

.isi {
    display: flex;
    gap: 50px;
    height: 100%;
}

.isi img {
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.text {
    flex: 1;
    overflow-y: auto;
}

.poto {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.poto:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


/* =========================
   JOURNEY SECTION
========================= */

.journey {
    padding: 0px 20px;
    text-align: center;
    position: relative;
}

.journey-header {
    font-size: 1.5rem;
    margin-bottom: 60px;
    position: relative;
}

.bg-text {
    position: absolute;
    top: -110px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 100px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}


/* =========================
   CARD WRAPPER
========================= */

.journey-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}


/* =========================
   CARD
========================= */

.card {
    position: relative;
    max-width: 300px;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}


/* Overlay Gradient */

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.card:hover {
    transform: scale(1.1);
}


/* Text Overlay */

.card-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    color: white;
    z-index: 2;
}


/* Price Badge */

.price {
    background: #e6a84b;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}


/* Hover Effect */

.card:hover img {
    transform: scale(1.1);
}


/* =========================
   PROJECT SECTION
========================= */

.project {
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.project-header {
    font-size: 1.5rem;
    margin-bottom: 60px;
    position: relative;
}


/* =========================
   CARD WRAPPER
========================= */

.project-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}


/* =========================
   CARD
========================= */

.project-card {
    position: relative;
    max-width: 300px;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}


/* Overlay Gradient */

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.project-card:hover {
    transform: scale(1.1);
}


/* Text Overlay */

.project-card-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    color: white;
    z-index: 2;
}


/* Price Badge */

.project-price {
    background: #e6a84b;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}


/* Hover Effect */

.project-card:hover img {
    transform: scale(1.1);
}

.joins {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    padding: 100px;
    background-image: url(images/9.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-family);
    transition: transform 0.25s ease, color 0.25s ease;
}

.joins h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.joins a {
    text-decoration: none;
    display: inline-block;
    padding: 13px 21px;
    border: none;
    background-color: rgb(233, 178, 78);
    color: white;
    font-size: 1rem;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.joins a:hover {
    transform: scale(1.1);
    background-color: rgb(153, 120, 49);
}


/* ==================================================
   FOOTER
================================================== */

footer {
    text-align: center;
    padding: 30px;
    background-color: rgb(22, 22, 22);
    color: rgb(202, 202, 202);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 15px;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .bg-text {
        font-size: 60px;
        top: -10px;
    }
    .bg-text1 {
        font-size: 60px;
        top: -40px;
    }
    .journey-cards {
        flex-wrap: nowrap;
        /* ⬅ MATIIN WRAP */
        overflow-x: auto;
        /* ⬅ AKTIFIN SCROLL */
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 30px;
        gap: 50px;
        -webkit-overflow-scrolling: touch;
    }
    .journey-cards::-webkit-scrollbar {
        display: none;
    }
    .card {
        flex: 0 0 80%;
        /* ⬅ BIKIN LEBAR CARD 80% */
        max-width: none;
        /* ⬅ MATIIN max-width 400px */
    }
    .project-cards {
        flex-wrap: nowrap;
        /* ⬅ MATIIN WRAP */
        overflow-x: auto;
        /* ⬅ AKTIFIN SCROLL */
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 30px;
        gap: 50px;
        -webkit-overflow-scrolling: touch;
    }
    .project-cards::-webkit-scrollbar {
        display: none;
    }
    .project-card {
        flex: 0 0 80%;
        /* ⬅ BIKIN LEBAR CARD 80% */
        max-width: none;
        /* ⬅ MATIIN max-width 400px */
    }
    .navbar {
        padding: 10px 20px;
    }
    .navbar.scrolled {
        margin: 10px;
        transform: translateY(8px);
        border-radius: 20px;
    }
    .logo img {
        width: 120px;
    }
    .hero {
        padding: 150px 20px;
        height: 30vh;
    }
    .hero-text {
        position: absolute;
        padding-left: 20px;
        padding-top: 0px;
        font-size: 0.8rem;
        width: 80%;
    }
    .isi {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .teks {
        font-size: 0.9rem;
        padding-left: 0;
    }
    section {
        scroll-margin-top: 90px;
    }
}

.contacta {
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.harep a {
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: transform 0.25s ease, color 0.25s ease;
}

.harep a:hover {
    transform: scale(1.1);
    color: rgb(153, 120, 49);
}