/* ==========================================================================
   BOTANICAL GLASSMORPHISM DESIGN SYSTEM (COMPACT & CLEAN V2)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    /* Palette Kontras Tinggi */
    --sage-dark: #0f2017;
    --sage-mid: #223c30;
    --sage-light: #eef4f0;
    --gold-luxury: #c59e51;
    --pure-white: #ffffff;
    
    /* Utilitas */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 4px 30px rgba(15, 32, 23, 0.03), 0 20px 60px rgba(15, 32, 23, 0.08);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, rgba(238, 244, 240, 0.85), rgba(213, 227, 218, 0.9)), 
                url('https://images.unsplash.com/photo-1545241047-6083a3684587?q=80&w=1920&auto=format&fit=crop') fixed center/cover no-repeat;
    color: var(--sage-dark);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* ==========================================================================
   NAVIGASI (HEADER)
   ========================================================================== */
.main-header {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(15, 32, 23, 0.04);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 65px;
    width: auto;
    transition: var(--transition-smooth);
}

.brand-logo:hover img {
    transform: scale(1.03);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--sage-dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-luxury), transparent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu ul li a:hover {
    opacity: 1;
    color: var(--gold-luxury);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-admin-nav {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sage-dark);
    border: 2px solid var(--sage-dark);
    padding: 10px 24px;
    border-radius: 40px;
    transition: var(--transition-smooth);
}

.btn-admin-nav:hover {
    background-color: var(--sage-dark);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 90px 40px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow-premium);
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--sage-mid);
    font-weight: 800;
    margin-bottom: 20px;
    background: rgba(34, 60, 48, 0.06);
    padding: 6px 16px;
    border-radius: 20px;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-luxury);
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--sage-mid), var(--sage-dark));
    color: var(--pure-white);
    box-shadow: 0 8px 20px rgba(15, 32, 23, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 32, 23, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    color: var(--sage-dark);
    border: 1px solid rgba(15, 32, 23, 0.15);
}

.btn-secondary:hover {
    background-color: var(--pure-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   FEATURES CARDS
   ========================================================================== */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 45px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--pure-white);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* ==========================================================================
   KATALOG GRID SYSTEM
   ========================================================================== */
.katalog-header {
    text-align: center;
    margin-bottom: 45px;
}

.katalog-header h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.katalog-header p {
    color: var(--sage-mid);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.produk-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 32, 23, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.produk-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(15, 32, 23, 0.12);
}

.img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--sage-light);
}

.produk-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.produk-card:hover img {
    transform: scale(1.05);
}

.produk-info {
    padding: 20px 4px 0 4px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.produk-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.harga {
    color: #aa7c2c;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-card {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--sage-dark);
    color: var(--pure-white);
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.btn-card:hover {
    background-color: var(--sage-mid);
}

/* ==========================================================================
   DETAIL PRODUK ARCHITECTURE
   ========================================================================== */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: var(--sage-mid);
}

.breadcrumb a {
    color: var(--sage-dark);
    text-decoration: none;
    font-weight: 700;
}

.detail-produk-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    background: var(--pure-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
}

.detail-media {
    width: 100%;
    position: sticky;
    top: 110px;
}

.detail-img-frame {
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
}

.detail-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aa7c2c;
    font-weight: 800;
    margin-bottom: 8px;
}

.detail-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.detail-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: #aa7c2c;
    margin-bottom: 20px;
}

.detail-divider {
    height: 1px;
    background-color: rgba(15, 32, 23, 0.08);
    margin-bottom: 25px;
}

.detail-description h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--sage-mid);
    margin-bottom: 10px;
}

.detail-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.care-guide-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    background: var(--sage-light);
    padding: 20px;
    border-radius: 16px;
    border-left: 3px solid var(--gold-luxury);
}

.care-item {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    gap: 10px;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Pembersihan Duplikasi & Efisiensi Tombol WA */
.btn-block-wa {
    text-align: center;
    background: linear-gradient(135deg, #1bd741, #128c7e);
    color: var(--pure-white);
    padding: 16px 24px;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.2);
    transition: var(--transition-smooth);
}

.btn-block-wa:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-3px);
}

.btn-back-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--sage-mid);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-back-link:hover {
    color: var(--gold-luxury);
}

/* ==========================================================================
   FOOTER (BOUTIQUE NOIR)
   ========================================================================== */
.main-footer {
    background-color: #0b1510;
    color: rgba(255, 255, 255, 0.6);
    padding: 70px 0 30px 0;
    margin-top: 100px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--pure-white);
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-nav-column h4 {
    color: var(--pure-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-nav-column ul {
    list-style: none;
}

.footer-nav-column ul li {
    margin-bottom: 12px;
}

.footer-nav-column ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-nav-column ul li a:hover {
    color: var(--gold-luxury);
    padding-left: 4px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-copyright strong {
    color: var(--pure-white);
}

.credit-link {
    color: var(--gold-luxury);
    text-decoration: none;
    font-weight: 700;
}

/* ==========================================================================
   OPTIMASI GLOBAL MEDIA QUERIES (RESPONSIVE ULTRA AMAN)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    .nav-menu ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .detail-produk-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
    .detail-media {
        position: relative;
        top: 0;
    }
    .detail-img-frame {
        height: 380px;
    }
    .detail-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        margin: 20px auto;
    }
    .hero-section {
        padding: 50px 20px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .footer-brand-desc {
        margin: 0 auto;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}