/* RESET & GLOBALS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #fcf9f7;
    color: #292323;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

:root {
    --dark: #292323;
    --soft-dark: #554b4b;
    --cream: #fcf9f7;
    --white: #ffffff;
    --pink: #c98787;
    --pink-dark: #a96565;
    --pink-light: #f5e5e2;
    --border: #eadfdb;
    --shopee-color: #ee4d2d;
    --tiktok-color: #000000;
}

.container {
    width: min(100% - 36px, 1100px);
    margin: auto;
}

.section {
    padding: 75px 0;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pink-dark);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.15;
    color: var(--dark);
}

.section-description {
    color: var(--soft-dark);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 15px;
}

/* NAVBAR & DROPDOWN */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(252, 249, 247, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border, #eadfdb);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark, #292323);
    transition: color 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.nav-item:hover {
    color: var(--pink-dark, #a96565);
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark, #292323);
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
    font-family: inherit;
}

.dropdown-btn:hover {
    color: var(--pink-dark, #a96565);
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    border: 1px solid var(--border, #eadfdb);
    padding: 8px 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--dark, #292323);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--pink-light, #f5e5e2);
    color: var(--pink-dark, #a96565);
}

.nav-svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.dropdown-header {
    padding: 8px 16px 4px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--pink-dark, #a96565);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border, #eadfdb);
    margin: 6px 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark, #292323);
    cursor: pointer;
    padding: 4px;
}

@media screen and (max-width: 850px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 12px;
        border-bottom: 1px solid var(--border, #eadfdb);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 10px;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* HERO SECTION */
.hero {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 60px;
    background: radial-gradient(circle at 50% 30%, rgba(245, 229, 226, .95), transparent 55%),
        linear-gradient(145deg, #fcf9f7, #f6ebe8);
}

.hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(201, 135, 135, .15);
    filter: blur(10px);
    top: 12%;
    left: -120px;
    animation: floating 7s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(201, 135, 135, .12);
    filter: blur(8px);
    right: -100px;
    bottom: 10%;
    animation: floating 8s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-top: 45px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: fadeUp .8s ease both;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(55px, 17vw, 105px);
    line-height: .95;
    letter-spacing: -3px;
    margin-bottom: 18px;
    animation: fadeUp .8s .1s ease both;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 6vw, 40px);
    line-height: 1.25;
    margin-bottom: 15px;
    animation: fadeUp .8s .2s ease both;
}

.hero-description {
    max-width: 420px;
    margin: auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--soft-dark);
    animation: fadeUp .8s .3s ease both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    animation: fadeUp .8s .4s ease both;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    /* Padding samping sedikit diperlebar agar proporsional */
    width: fit-content;
    /* Mencegah tombol melebar memenuhi layar */
    max-width: 240px;
    /* Batas lebar maksimal tombol */
    margin: 0 auto;
    /* Memastikan posisi tombol tetap di tengah saat di HP */
    background: var(--dark);
    color: white;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s ease;
    text-align: center;
}

.hero-button:hover {
    transform: translateY(-4px);
    background: var(--pink-dark);
    color: white;
    box-shadow: 0 15px 30px rgba(80, 50, 50, .15);
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    color: #817474;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 35px;
    background: #9f8d8d;
    animation: scrollLine 1.7s infinite;
}

/* HOOK SECTION */
.hook {
    background: var(--dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hook::before {
    content: "DLY";
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 220px;
    font-weight: 700;
    opacity: .025;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.hook-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: auto;
}

.hook .section-label {
    color: #e2aaaa;
}

.hook h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 9vw, 55px);
    line-height: 1.15;
}

.hook p {
    color: #c9bcbc;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 17px;
}

/* MARKETPLACE SECTION */
.marketplace-section {
    background: white;
}

.marketplace-header {
    text-align: center;
    max-width: 650px;
    margin: auto;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.marketplace-card {
    background: #fdfafa;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marketplace-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(70, 45, 45, .08);
}

.mp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-svg-icon {
    width: 36px;
    height: 36px;
    fill: var(--dark);
    transition: fill 0.3s ease;
}

.marketplace-card.shopee:hover .card-svg-icon {
    fill: var(--shopee-color);
}

.marketplace-card.tiktok:hover .card-svg-icon {
    fill: var(--tiktok-color);
}

.marketplace-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.marketplace-card p {
    font-size: 12px;
    color: var(--soft-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mp-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--pink-light);
    color: var(--pink-dark);
    transition: all .3s ease;
}

.marketplace-card.shopee:hover .mp-btn {
    background: var(--shopee-color);
    color: white;
}

.marketplace-card.tiktok:hover .mp-btn {
    background: var(--tiktok-color);
    color: white;
}

/* FOOTER SECTION */
.site-footer {
    background: #292323;
    color: #ffffff;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-wrapper {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

/* LOGO MENJADI PUTIH BERSIH */
.footer-logo-img.white-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-bio {
    color: #afa2a2;
    font-size: 13px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #afa2a2;
    font-size: 13px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-link-item:hover {
    color: var(--pink-light);
}

.footer-contact p {
    color: #afa2a2;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.wa-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.wa-svg-icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.wa-footer-btn:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

.footer-bottom {
    background: #1f1a1a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #817474;
    font-size: 12px;
}

/* SCROLL REVEAL & ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(.3);
        transform-origin: top;
        opacity: .3;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    100% {
        transform: scaleY(.3);
        transform-origin: bottom;
        opacity: .3;
    }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 850px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        align-items: flex-start;
    }
}

/* Katalog dropdown: grouped collections, alphabetical items, and a scrollable menu */
.dropdown-content {
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain
}

.dropdown-content .catalog-all-link {
    margin-top: 5px;
    border-top: 1px solid var(--border);
    padding-top: 11px;
    padding-bottom: 11px;
    font-weight: 700;
    color: var(--pink-dark)
}

.dropdown-content .catalog-all-link:hover {
    background: #fff8f6
}

.dropdown-icon-item .nav-svg-icon {
    flex-shrink: 0
}

@media(max-width:850px) {
    .dropdown.open .dropdown-content {
        display: block
    }

    .dropdown-content {
        max-height: 50vh;
        overflow-y: auto
    }

    .dropdown.open>.dropdown-btn {
        color: var(--pink-dark)
    }
}