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

:root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #f7b733; /* Warna emas/kuning */
    --font-sans: "Inter", sans-serif;
    --font-handwriting: "Caveat", cursive;

    --gold-color: #cca450;
    --text-muted: #a0a0a0;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #000000;
    background-size: cover;
    min-height: 100vh;
    color: white;
    font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #111;
}

/* LOGO */
.logo h4 {
    color: #ffb22c;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 1px;
}

.logo p {
    color: #d4d4d4;
    font-size: 13px;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* MENU */
.navbar_content {
    display: flex;
    gap: 90px;
}

.navbar_content1 {
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.navbar_content1:hover {
    color: #ffb22c;
}

.hamburger {
    display: none;
    color: #ffb22c;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
}

/* section hero */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 60px 90px;
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url("/asset/image/hero.png");

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

/* LEFT */
.hero-left {
    width: 50%;
    /* Memanggil animasi slide dari kiri */
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0; /* Mulai dari transparan sebelum animasi */
}

.hero-left h1 {
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.1;
}

.hero-left h2 {
    font-size: 70px;
    color: #d6a100;
    font-style: italic;
    font-weight: 400;
    margin: 5px 0;
}

.hero-left p {
    margin-top: 45px;
    color: #d0d0d0;
    line-height: 1.8;
    width: 80%;
    font-size: 18px;
}

.btn {
    display: inline-block;
    margin-top: 45px;
    padding: 14px 28px;
    border: 1px solid #d6a100;
    color: #d6a100;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #d6a100;
    color: #111;
}

.stats {
    display: flex;
    gap: 80px;
    margin-top: 70px;
}

.stats h3 {
    font-size: 70px;
    font-weight: 300;
}

.stats span {
    color: #ccc;
    font-size: 17px;
}

/* RIGHT */
.hero-right {
    width: 45%;
    text-align: center;
    /* Memanggil animasi slide dari kanan dengan sedikit delay (0.3s) */
    animation: slideInRight 1s ease-out 0.3s forwards;
    opacity: 0; /* Mulai dari transparan sebelum animasi */
}

.hero-right img {
    width: 420px;
    max-width: 100%;
    /* Tambahan animasi melayang (floating) berulang untuk gambar */
    animation: floating 4s ease-in-out infinite;
    animation-delay: 1.3s; /* Mulai melayang setelah animasi slide selesai */
}

/* ========================================= */
/* KEYFRAMES ANIMASI                         */
/* ========================================= */

/* Animasi masuk dari kiri */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animasi masuk dari kanan */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* section brand story */

.brand-story-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 50px 10%;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
    gap: 60px;
    align-items: center;
}

.image-column {
    flex: 1;
    min-width: 300px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Pastikan kamu mengganti URL gambar ini dengan gambar parfum aslimu */
    background-color: #000;
}

.text-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === TIPOGRAFI === */
.title {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.subtitle {
    font-family: var(--font-handwriting);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.subtitle .highlight {
    color: var(--accent-color);
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    margin: 0 0 30px 0;
    color: #cccccc;
}

.quote {
    font-family: var(--font-handwriting);
    font-size: 2rem;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.author {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
    margin: 0;
}

/* === ANIMASI (AWAL DISEMBUNYIKAN) === */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

/* Animasi Slide dari Kiri untuk Gambar */
.slide-in-left {
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

/* Animasi Fade dari Bawah untuk Teks */
.fade-in-up {
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Delay agar teks muncul bergantian (staggered) */
.delay-1 {
    transition-delay: 0.2s;
}
.delay-2 {
    transition-delay: 0.4s;
}
.delay-3 {
    transition-delay: 0.6s;
}
.delay-4 {
    transition-delay: 0.8s;
}

/* Class ini ditambahkan oleh JS saat elemen masuk viewport */
.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

/* === RESPONSIVE (MOBILE) === */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .text-column {
        padding-top: 20px;
    }
}

.collection-section {
    padding: 100px 10%;
    background-color: #1a1a1a; /* Warna latar gelap sesuai tema */
    color: #e0e0e0;
}

/* --- Header Koleksi --- */
.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 60px;
}

.header-left {
    flex: 1;
}

.header-left .overline {
    color: #d6a100;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.header-left .title {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
}

.header-left .title .highlight {
    color: #d6a100; /* Warna emas */
}

.header-right {
    flex: 1;
    max-width: 500px;
}

.header-right p {
    color: #888888;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* --- Grid Produk --- */
.collection-grid {
    display: grid;
    /* Membuat grid responsif: otomatis 1 kolom di HP, banyak kolom di PC */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* --- Kartu Produk (Product Card) --- */
.product-card {
    background-color: #3b3223; /* Warna kecoklatan/olive gelap dari desain */
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px); /* Efek melayang saat di-hover */
}

.card-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 28px;
    margin: 0 0 5px 0;
    color: #ffffff;
    font-weight: 400;
}

.card-content .subtitle {
    color: #d6a100;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.card-content .desc {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

/* --- Tags / Komposisi --- */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    border: 1px solid #cccccc;
    color: #cccccc;
    padding: 6px 12px;
    font-size: 12px;
    text-transform: capitalize;
    border-radius: 2px;
}

.ingredients-section {
    padding: 100px 10%;
    background-color: #3a3224; /* Warna coklat gelap khas alam */
    color: #ffffff;
    text-align: center;
}

.ingredients-header {
    margin-bottom: 70px;
}

.overline-gold {
    color: #d6a100;
    font-size: 16px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.ingredients-header .title {
    font-size: 42px;
    font-weight: 300;
    margin: 0 0 15px 0;
}

.ingredients-header .subtitle {
    color: #b0a89a;
    font-size: 16px;
}

/* Layout Konten Utama (Kiri-Kanan) */
.ingredients-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Kiri: Grid Bahan */
.ingredients-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.ingredient-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ingredient-item:hover {
    transform: translateY(-5px); /* Efek naik sedikit saat di-hover */
}

/* Lingkaran Garis Emas & Gambar */
.img-ring {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px auto;
    border: 1px solid #d6a100; /* Garis emas */
    border-radius: 50%;
    padding: 6px; /* Jarak antara garis emas dan gambar */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
}

.ingredient-item:hover .img-ring {
    border-color: #fff; /* Garis menyala putih saat di-hover */
}

.img-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ingredient-item h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.ingredient-item p {
    font-size: 13px;
    color: #9c9586;
    margin: 0;
}

/* Kanan: Teks Dinamis */
.ingredients-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.ingredients-display p {
    font-size: 20px;
    line-height: 1.8;
    color: #d4d4d4;
    font-style: italic;
    transition: opacity 0.3s ease;
}

.placeholder-text {
    color: #8c8374 !important;
}

.info-section {
    position: relative;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-image:
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url("/asset/image/info.png");

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

    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 100vh;
}

.info-wrapper {
    max-width: 800px;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Teks Emas Kecil di Atas */
.sub-heading {
    color: var(--gold-color);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Judul Utama */
.info-title {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.info-title .highlight {
    color: var(--gold-color);
}

/* Garis Pemisah Emas */
.separator {
    width: 250px;
    height: 1px;
    background-color: var(--gold-color);
    opacity: 0.4;
    border: none;
    margin: 1.5rem 0;
}

/* Deskripsi Paragraf */
.info-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Tombol */
.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold-color);
    color: #0a0a0a;
}

/* Fitur Bawah (Desktop) */
.section-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem; /* Jarak horizontal diperlebar sesuai gambar */
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5rem;
    width: 100%;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item .dot {
    color: var(--gold-color);
    font-size: 1.2rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
    will-change: opacity, transform; /* Optimasi performa browser */
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.2s;
}
.delay-3 {
    transition-delay: 0.3s;
}
.delay-4 {
    transition-delay: 0.4s;
}
.delay-5 {
    transition-delay: 0.5s;
}
.delay-6 {
    transition-delay: 0.6s;
}

.review-section {
    background-color: #1a1a1a; /* Warna background gelap */
    padding: 4rem 2rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Mencegah kartu meluber ke samping layar */
}

/* --- Header Shape --- */
.review-header-container {
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.review-header-shape {
    background-color: #555555;
    padding: 2rem 4rem;
    /* Membuat bentuk asimetris seperti di gambar */
    clip-path: polygon(5% 0, 95% 0, 100% 70%, 55% 90%, 45% 85%, 0 100%);
    display: inline-block;
}

.review-title {
    color: var(--gold-color, #cca450); /* Warna emas */
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 2px;
}

/* --- Container & Wrapper --- */
.review-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap; /* Agar turun ke bawah di layar kecil */
    max-width: 1000px;
    width: 100%;
}

.polaroid-wrapper {
    /* Wrapper ini yang menerima animasi naik, tidak mengganggu rotasi di dalamnya */
    display: inline-block;
}

/* --- Polaroid Card Design --- */
.polaroid-card {
    background-color: #e0e0e0; /* Putih agak abu untuk frame luar */
    padding: 15px 15px 25px 15px;
    width: 320px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease; /* Transisi halus saat di-hover */
}

/* Efek kemiringan */
.tilt-left {
    transform: rotate(-4deg);
}
.tilt-right {
    transform: rotate(5deg);
    margin-top: 30px; /* Sedikit lebih rendah dari kartu kiri */
}

/* Efek saat mouse diarahkan ke kartu (opsional) */
.polaroid-card:hover {
    transform: scale(1.05) rotate(0deg); /* Kartu membesar dan lurus */
    z-index: 10;
}

/* Area Teks (Foto) */
.polaroid-content {
    background-color: #737373; /* Warna abu-abu dalam */
    padding: 2rem 1.5rem;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.polaroid-content p {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Area Bawah (Rating & Nama) */
.polaroid-footer {
    text-align: center;
    margin-top: 15px;
    color: #1a1a1a;
}

.polaroid-footer .stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.polaroid-footer .author {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    margin: 0;
    font-weight: bold;
}

.site-footer {
    background-color: #050505; /* Warna hitam yang lebih pekat dari section atasnya untuk memberi kesan penutup */
    padding: 5rem 2rem 2rem;
    color: #ffffff;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tipografi Brand */
.footer-brand {
    font-family: "Playfair Display", serif;
    color: var(--gold-color, #cca450);
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
}

.footer-subtitle {
    color: var(--text-muted, #a0a0a0);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
}

/* Kontainer Icon Sosial Media */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

/* Desain Icon Outline Minimalis */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efek saat kursor diarahkan ke Icon */
.social-icon:hover {
    border-color: var(--gold-color, #cca450);
    color: var(--gold-color, #cca450);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(204, 164, 80, 0.2);
}

/* Area Hak Cipta di paling bawah */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: #555555;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 25px;
    }

    .hamburger {
        display: block;
    }

    .navbar_content {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 40%;
        height: calc(100vh - 80px);
        background: #111;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.4s ease-in-out;
        z-index: 999;
    }

    .navbar_content.active {
        left: 0; /* Tarik menu masuk ke layar */
    }

    .collection-header {
        flex-direction: column;
        gap: 20px;
    }

    .header-left .title {
        font-size: 32px;
    }

    .header-right {
        max-width: 100%;
    }

    .ingredients-content {
        flex-direction: column-reverse; /* Teks di atas, grid di bawah */
    }
    .ingredients-display {
        margin-bottom: 40px;
        padding: 0;
    }
    .ingredients-display p {
        font-size: 16px;
    }

    .info-title {
        font-size: 2.2rem;
    }

    .section-features {
        gap: 1.5rem;
        flex-direction: column; /* Mengubah fitur menjadi bertumpuk di HP */
        margin-top: 3rem;
    }

    .separator {
        width: 150px; /* Garis lebih pendek di HP */
    }

    .delay-1 {
        transition-delay: 0.1s;
    }
    .delay-2 {
        transition-delay: 0.15s;
    }
    .delay-3 {
        transition-delay: 0.2s;
    }
    .delay-4 {
        transition-delay: 0.25s;
    }
    .delay-5 {
        transition-delay: 0.3s;
    }
    .delay-6 {
        transition-delay: 0.35s;
    }
}
