/* ==========================================================================
   KOPSOON CSS BUNDLE: kopsoon-core.css
   Generated for deployment bundling. Source files are kept for development.
   ========================================================================== */


/* ==========================================================================
   Source: style.css
   ========================================================================== */
/* ==========================================================================
   KOPSOON - MAIN STYLESHEET
   ========================================================================== */

/* --- 1. Global Variables & Palettes --- */
:root {
    /* Palet Warna: Warm, Clean, Semi-Premium */
    --color-coffee: #3C2A21;     
    --color-cream: #EAE3D2;      
    --color-leaf: #5D9C59;       
    --color-text-body: #4F4F4F;  
    --color-white: #FAF9F6;      
    --color-accent: #A0937D;     
    
    /* Tipografi (UBAH BAGIAN INI) */
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Utility */
    --border-radius: 12px;       
    --transition: all 0.3s ease;
}

/* --- 2. Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* --- 3. Layout & Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 4. Common Components (Buttons) --- */
.btn {
    display: inline-block;
    padding: 14px 32px; /* Sedikit dilebarkan agar terlihat premium */
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    /* Menggunakan transisi cubic-bezier agar efek memantulnya sangat halus */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    border: 2px solid transparent; 
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* Tombol Utama (Jelajahi Produk) */
.btn-primary {
    background-color: var(--color-leaf);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(93, 156, 89, 0.2); /* Bayangan dasar */
}

/* Hover Tombol Utama: Melayang ke atas + Bayangan Hijau menyala */
.btn-primary:hover {
    background-color: #4A5736;
    transform: translateY(-4px) scale(1.02); /* Sedikit membesar dan naik */
    box-shadow: 0 10px 25px rgba(93, 156, 89, 0.45); 
}

/* Tombol Sekunder (Cerita Kami) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-coffee);
    border: 2px solid var(--color-coffee);
    margin-left: 15px;
}

/* Hover Tombol Sekunder: Terisi warna kopi + Teks jadi putih + Melayang */
.btn-secondary:hover {
    background-color: var(--color-coffee); 
    color: var(--color-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(60, 42, 33, 0.3);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}



/* --- 6. Hero Section --- */
.hero-section {
    min-height: 100vh;
    background-image: url("../images/hero.webp"); /* Menggunakan file gambar Hero Anda */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

/* Ukuran disesuaikan kembali menjadi 46px karena teks berupa kalimat panjang */
.hero-title {
    font-family: var(--font-heading);
    font-size: 46px; 
    color: var(--color-coffee);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: var(--color-leaf);
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 540px;
    color: var(--color-text-body);
    line-height: 1.8;
}

.hero-actions {
    margin-top: 20px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(60, 42, 33, 0.2));
    transition: transform 0.4s ease-out, filter 0.4s ease-out; /* Transisi dasar agar hover mulus */
}

@media (min-width: 993px) {
    .hero-image:hover {
        transform: scale(1.05) translateY(-10px);
        filter: drop-shadow(0 25px 40px rgba(60, 42, 33, 0.35));
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Responsive Hero (Mobile & Tablet) --- */
@media (max-width: 992px) {
    .hero-container {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    .hero-title {
        font-size: 38px;
    }
    
    /* Panggil animasi floating otomatis di layar kecil */
    .hero-image {
        animation: float 4s ease-in-out infinite; 
    }
}



@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 140px;
        padding-bottom: 50px;
    }

    .hero-content {
        padding-right: 0;
        margin-top: 35px; 
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.35;
        margin-bottom: 20px;
        letter-spacing: -0.3px;
    }

    .hero-description {
        font-size: 15px;
        margin: 0 auto 35px auto;
        max-width: 100%;
        line-height: 1.7;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px; 
        width: 100%;
        max-width: 340px; 
        margin: 0 auto;   
    }

    .btn {
        display: block;
        width: 100%;
        padding: 14px 20px;
        text-align: center;
    }

    .btn-secondary {
        margin-left: 0; 
        margin-top: 0; 
    }

    .hero-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-image {
        max-width: 55%; 
        height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 25px; 
        line-height: 1.4;
    }

    .hero-description {
        font-size: 14px;
    }
    
    .hero-image {
        max-width: 65%; 
    }
}


/* ==========================================================================
   Source: navbar.css
   ========================================================================== */
/* ==========================================================================
   KOPSOON - NAVBAR STYLESHEET (DM SANS VERSION)
   ========================================================================== */

.site-navbar {
    background-color: transparent;
    box-shadow: none;
    position: absolute; /* <-- UBAH DARI 'fixed' MENJADI 'absolute' */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s ease-in-out;
}

/* KETIKA DI-SCROLL */
.site-navbar.scrolled {
    background-color: var(--color-white);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(60, 42, 33, 0.08);
}

/* PENYESUAIAN LEBAR BARU */
.site-navbar .container {
    max-width: 1500px; /* Menarik posisi kiri dan kanan agar lebih seimbang dan tidak terlalu mepet layar */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Styling Logo Brand */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 90px;     /* Atur tinggi logo agar pas di navbar, bisa kamu ubah jadi 40px atau 50px sesuai kecocokan */
    width: auto;      /* Menjaga rasio gambar agar tidak gepeng */
    display: block;
    object-fit: contain;
}

.navbar-logo .highlight {
    color: var(--color-leaf);          /* Warna hijau daun khas KOPSOON */
}

/* Tampilan Menu Navigasi (Desktop) */
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 45px; /* <-- UBAH KE 45px atau 50px AGAR JARAK ANTAR MENU LEBIH RENGGANG */
    align-items: center;
}

.nav-link {
    font-family: 'DM Sans', sans-serif; /* Memastikan font DM Sans */
    text-decoration: none;
    color: var(--color-text-body);
    font-weight: 700;                  /* Medium weight agar clean & cozy */
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--color-coffee);        /* Berubah warna menjadi cokelat gelap saat di-hover/aktif */
}

/* Efek garis bawah minimalis saat menu di-hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-leaf);
    transition: all 0.3s ease;
}

.nav-link:hover::after, 
.nav-link.active::after {
    width: 100%;
}

/* --- Tombol Hamburger (Mobile) --- */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--color-coffee);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* --- Responsive Menu (Mobile) --- */
@media (max-width: 768px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .site-navbar {
        padding: 16px 0;
    }

    .logo-img {
        height: 70px;
    }

    .navbar-toggle {
        display: flex;
        z-index: 1002;
    }

    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(43, 35, 29, 0.28);
        backdrop-filter: blur(2px);
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white); /* Latar belakang menu HP tetap solid agar teks terbaca */
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
        z-index: 1001;
        transition: 0.4s ease-in-out;
    }

    .navbar-menu.active {
        right: 0;
    }

    /* Animasi Hamburger beralih jadi ikon Close (X) */
    .navbar-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .navbar-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
}


/* ==========================================================================
   Source: footer.css
   ========================================================================== */
/* ==========================================================================
   KOPSOON - FOOTER
   ========================================================================== */

.site-footer {
    width: 100%;
    clear: both;
    background: #D9D9D9;
    color: #2B231D;
    font-family: var(--font-body);
    padding: 56px 0 22px;

    /* PENGATUR POSISI FOOTER */
    --footer-max-width: 1320px;
    --footer-left-offset: -80px;
    --footer-right-offset: 80px;
}

.footer-container {
    width: 100%;
    max-width: var(--footer-max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* GRID UTAMA FOOTER */
.footer-main {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 160px minmax(300px, 1fr);
    align-items: start;
    column-gap: 48px;
    min-height: 155px;
}

.footer-col {
    min-width: 0;
}

/* KOLOM KIRI */
.footer-left {
    text-align: left;
    justify-self: start;
    padding-top: 10px;
    transform: translateX(var(--footer-left-offset));
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #2B231D;
    margin-bottom: 14px;
}

.footer-subtext {
    max-width: 235px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(43, 35, 29, 0.52);
    margin: 0;
}

/* KOLOM TENGAH */
.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 28px;
}

.footer-logo-img {
    width: 95px;
    height: auto;
    object-fit: contain;
    opacity: 0.92;
}

/* KOLOM KANAN */
.footer-right {
    justify-self: end;
    width: 100%;
    max-width: 305px;
    text-align: left;
    padding-top: 0;
    transform: translateX(var(--footer-right-offset));
}

.footer-contact-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #2B231D;
    margin-bottom: 24px;
}

.footer-contact-desc {
    max-width: 300px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
    color: rgba(43, 35, 29, 0.62);
    margin-bottom: 22px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2B231D;
    background: rgba(43, 35, 29, 0.08);
    border: 1px solid rgba(43, 35, 29, 0.08);
    box-shadow: 0 3px 10px rgba(43, 35, 29, 0.08);
    transition: var(--transition);
}

.social-icon-btn .icon-svg {
    width: 20px;
    height: 20px;
}

.social-icon-btn:hover {
    color: var(--color-white);
    background: var(--color-leaf);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(93, 156, 89, 0.28);
}

/* COPYRIGHT */
.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(43, 35, 29, 0.12);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 500;
    color: rgba(43, 35, 29, 0.48);
    letter-spacing: 0.2px;
}

/* TABLET */
@media (max-width: 992px) {
    .site-footer {
        --footer-left-offset: -30px;
        --footer-right-offset: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr 140px 1fr;
        column-gap: 32px;
    }

    .footer-right {
        max-width: 285px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .site-footer {
        padding: 42px 0 22px;

        /* RESET POSISI DI MOBILE BIAR TIDAK BERANTAKAN */
        --footer-left-offset: 0px;
        --footer-right-offset: 0px;
    }

    .footer-container {
        padding: 0 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }

    .footer-left,
    .footer-right {
        text-align: center;
        justify-self: center;
        padding-top: 0;
    }

    .footer-subtext,
    .footer-contact-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-center {
        padding-top: 0;
        height: auto;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 30px;
    }
}


/* ==========================================================================
   Source: page-transition.css
   ========================================================================== */
:root {
    --transition-cream: #f7f0df;
    --transition-cream-soft: #efe4cf;
    --transition-brown: #6f4a36;
    --transition-dark-green: #183f29;
    --transition-deep: #241914;
    --transition-vw: 100vw;
    --transition-vh: 100vh;
    --transition-vv-left: 0px;
    --transition-vv-top: 0px;
}

html {
    background: var(--transition-cream);
}

body {
    background: var(--transition-cream);
}

body.is-transitioning {
    cursor: wait;
}

body.is-transitioning a,
body.is-transitioning button {
    pointer-events: none;
}

.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    top: var(--transition-vv-top, 0px);
    left: var(--transition-vv-left, 0px);
    width: 100vw;
    height: 100vh;
    width: var(--transition-vw, 100vw);
    height: var(--transition-vh, 100vh);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 14% 82%, rgba(111, 74, 54, 0.28) 0 13%, transparent 14%),
        radial-gradient(circle at 90% 12%, rgba(24, 63, 41, 0.24) 0 15%, transparent 16%),
        linear-gradient(135deg, var(--transition-cream) 0%, var(--transition-cream-soft) 48%, #d9cbb6 100%);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    transition:
        transform 820ms cubic-bezier(0.78, 0, 0.18, 1),
        opacity 240ms ease,
        visibility 0ms linear 0ms;
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint size;
}

body.page-ready .page-transition-overlay {
    transform: translate3d(0, -105%, 0);
    opacity: 1;
    visibility: hidden;
    transition:
        transform 820ms cubic-bezier(0.78, 0, 0.18, 1),
        visibility 0ms linear 840ms;
}

body.page-exiting .page-transition-overlay {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    transition:
        transform 720ms cubic-bezier(0.78, 0, 0.18, 1),
        visibility 0ms linear 0ms;
}

.transition-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px),
        linear-gradient(0deg, rgba(111,74,54,0.12) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 0 62%, transparent 100%);
}

.transition-splash {
    position: absolute;
    border-radius: 55% 45% 44% 56% / 50% 43% 57% 50%;
    pointer-events: none;
}

.transition-splash-left {
    left: -120px;
    bottom: -90px;
    width: min(40vw, 440px);
    height: min(40vw, 380px);
    background: rgba(111, 74, 54, 0.92);
    transform: rotate(-18deg);
}

.transition-splash-left::before {
    content: '';
    position: absolute;
    inset: 84px 88px 92px 92px;
    border: 32px solid var(--transition-cream);
    border-radius: 50%;
    transform: rotate(30deg);
}

.transition-splash-right {
    right: -130px;
    top: -120px;
    width: min(36vw, 390px);
    height: min(38vw, 420px);
    background: rgba(24, 63, 41, 0.88);
    transform: rotate(23deg);
}

.transition-mark {
    position: relative;
    z-index: 2;
    width: min(38vw, 210px);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    background: rgba(247, 240, 223, 0.72);
    border: 1px solid rgba(111, 74, 54, 0.2);
    box-shadow: 0 26px 80px rgba(36, 25, 20, 0.18);
    backdrop-filter: blur(8px);
    transform: translateY(8px) scale(0.96);
    opacity: 0;
    transition: opacity 260ms ease, transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body:not(.page-ready) .transition-mark,
body.page-exiting .transition-mark {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 160ms;
}

.transition-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(36, 25, 20, 0.12));
}

.transition-label {
    font-family: var(--font-heading, 'DM Sans', sans-serif);
    color: var(--transition-brown);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

main,
.site-navbar,
.site-footer {
    transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

body.page-exiting main,
body.page-exiting .site-navbar,
body.page-exiting .site-footer {
    opacity: 0.24;
    transform: translateY(-10px);
    filter: blur(2px);
}

@media (prefers-reduced-motion: reduce) {
    .page-transition-overlay,
    .transition-mark,
    main,
    .site-navbar,
    .site-footer {
        transition: none !important;
    }

    body.page-ready .page-transition-overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-transition-overlay {
        height: 100svh;
        height: 100dvh;
        height: var(--transition-vh, 100dvh);
    }

    .transition-splash-left {
        width: 300px;
        height: 270px;
        left: -150px;
        bottom: -100px;
    }

    .transition-splash-right {
        width: 280px;
        height: 310px;
        right: -150px;
        top: -120px;
    }

    .transition-mark {
        width: 150px;
    }

    .transition-logo {
        width: 60px;
        height: 60px;
    }
}


/* ==========================================================================
   KOPSOON - Deployment Responsive Safety Guard
   ========================================================================== */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }

    a,
    button,
    .btn {
        touch-action: manipulation;
    }
}
