/* Project: UN Perfume (Enhanced Brand Identity 2026) */

:root {
    --uchi-pink: #FFB6C1;
    --white: #ffffff;
    --bg-dark: #000000;
    --glass-bg: rgba(255, 255, 255, 0.85); /* Warna terang untuk kontainer logo */
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { 
    background: var(--bg-dark); 
    min-height: 100vh; 
    color: var(--white); 
    overflow-x: hidden; 
    position: relative; 
}

/* --- DYNAMIC BG --- */
.bg-dynamic-container { position: fixed; inset: 0; z-index: -10; }
.bg-image-layer { 
    width: 100%; height: 100%; 
    background-size: cover; 
    background-position: center; 
    transition: 0.8s ease-in-out; 
    opacity: 0; 
}
.bg-overlay-gradient { 
    position: absolute; inset: 0; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9)); 
}

/* --- NEW HEADER & BRAND BOX --- */
.main-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
    width: 100%; 
    padding: 20px 5%;
}

.brand-container-glass {
    width: fit-content;
    perspective: 1000px;
}

.glass-organic-shape {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 40px;
    border-radius: 0 0 40px 40px; /* Bentuk organik di bawah */
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatLogo 4s ease-in-out infinite; /* Animasi mengapung */
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-organic-shape:hover {
    transform: scale(1.05) translateY(5px);
    background: rgba(255, 255, 255, 0.95);
}

.logo-branded { 
    height: 90px; /* Ukuran lebih besar agar menonjol */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* --- HERO GRID --- */
.hero-uchi { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 160px 5% 80px; /* Ditambah padding top agar tidak tertutup logo besar */
}
.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    width: 100%; 
    align-items: center; 
}

.title-main { 
    font-family: 'Playfair Display', serif; 
    font-size: 3.2rem; 
    line-height: 1.1; 
    margin: 20px 0; 
    text-transform: uppercase; 
}
.desc-main { 
    font-size: 1rem; 
    line-height: 1.8; 
    opacity: 0.8; 
    margin-bottom: 35px; 
    max-width: 500px; 
}
.btn-explore { 
    background: transparent; 
    border: 1px solid #fff; 
    color: #fff; 
    padding: 12px 40px; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: 0.3s; 
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- SLIDER & NAV --- */
.slider-relative-wrapper { position: relative; width: 100%; display: flex; align-items: center; }
.dual-slider { width: 100%; overflow: hidden; }
.slider-track { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    scrollbar-width: none; 
    scroll-behavior: smooth; 
    padding: 20px 0; 
}
.slider-track::-webkit-scrollbar { display: none; }

.card-product { 
    min-width: calc(50% - 10px); 
    max-width: calc(50% - 10px); 
    cursor: pointer; 
}
.card-frame { 
    height: 500px; 
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    border: 2px solid rgba(255,255,255,0.3); 
    transition: 0.4s; 
}
.card-frame:hover { border-color: var(--uchi-pink); transform: translateY(-5px); }
.card-frame img { width: 100%; height: 100%; object-fit: cover; }
.card-info { 
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8));
    text-align: center;
}
.card-info h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }

.nav-arrow-float {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--uchi-pink); color: #000; width: 45px; height: 45px;
    border-radius: 50%; border: none; cursor: pointer; z-index: 100;
    font-size: 1.2rem; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.nav-arrow-float.left { left: -15px; }
.nav-arrow-float.right { right: -15px; }

/* --- COPYRIGHT --- */
.footer-copyright-main { 
    position: fixed; bottom: 20px; left: 0; width: 100%; 
    text-align: center; z-index: 10; pointer-events: none;
}
.footer-copyright-main p { color: #fff; opacity: 0.5; font-size: 0.7rem; letter-spacing: 3px; }

/* --- POPUP --- */
.popup-overlay { 
    position: fixed; inset: 0; 
    background: rgba(0,0,0,0.92); 
    display: none; z-index: 99999; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
    backdrop-filter: blur(10px); 
}
.popup-overlay.active { display: flex; }
.popup-container { 
    background: #fff; width: 100%; max-width: 900px; 
    border-radius: 30px; overflow: hidden; position: relative; 
}
.popup-flex { display: flex; min-height: 520px; }
.popup-img-wrap { flex: 1.1; background: #fdfdfd; padding: 35px; display: flex; align-items: center; justify-content: center; }
.img-inner-canvas { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.12); border: 1px solid #eee; }
.img-inner-canvas img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popup-text-wrap { flex: 1; padding: 50px 40px; display: flex; align-items: center; justify-content: center; text-align: center; color: #333; }
#popup-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 5px; color: #111; }
.pink-line-center { width: 60px; height: 3px; background: var(--uchi-pink); margin: 20px auto; }
#popup-desc { font-size: 1rem; line-height: 1.7; color: #666; margin-bottom: 40px; }
.btn-wa { display: inline-block; background: #25D366; color: #fff; text-decoration: none; padding: 18px 40px; border-radius: 50px; font-weight: 600; width: 100%; max-width: 280px; margin: 0 auto; transition: 0.3s; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37,211,102,0.3); }
.close-popup { position: absolute; top: 20px; right: 25px; font-size: 35px; cursor: pointer; color: #bbb; z-index: 10; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .main-header { padding: 10px 0; display: flex; justify-content: center; }
    .glass-organic-shape { 
        padding: 10px 25px; 
        border-radius: 0 0 25px 25px; 
    }
    .logo-branded { height: 60px; }
    
    .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero-uchi { padding-top: 140px; align-items: flex-start; }
    .title-main { font-size: 1.8rem; }
    .desc-main { margin: 0 auto 25px; font-size: 0.9rem; }
    
    .card-product { min-width: 75%; max-width: 75%; }
    .card-frame { height: 380px; }
    
    .popup-flex { flex-direction: column; height: auto; max-height: 90vh; overflow-y: auto; }
}

/* INTRO (Tetap Dijaga) */
#intro-layer { position: fixed; inset: 0; background: #F08080; z-index: 100000; display: flex; justify-content: center; align-items: center; }
.logo-intro-anim { width: 120px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* WA Float */
.wa-float-link { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; z-index: 99999; }