:root {
    --c1: #2D3436; /* Hitam arang yang lebih lembut untuk teks */
    --c2: #8E3545; /* Pink tua ciri khas Lucky Star */
    --c3: #636E72; /* Abu-abu untuk teks pendukung */
    --c4: #F9F0F1; /* Background pink sangat muda */
    --c0: #FFFFFF;
    --f1: 'Poppins', system-ui, sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.05); /* Shadow halus khas web modern */
}

/* Base style tetap, tapi transisinya kita haluskan */
*{
    margin:0; padding:0;
    box-sizing: border-box;
    font-family: var(--f1);
    outline: none; border: none;
    text-decoration: none;
    transition: all .3s cubic-bezier(.25,.8,.25,1);
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

section {
    padding: 5rem 9%; /* Tambah padding atas-bawah agar lebih lega */
}

.heading {
    text-align: center;
    font-size: 4rem;
    color: var(--c1);
    margin-bottom: 5rem;
    font-weight: 700;
    position: relative;
    background: none; /* Hapus background pink solid */
}

.heading span {
    color: var(--c2); /* Kata kedua jadi pink tua */
}

/* Garis bawah tipis sebagai pemanis */
.heading::after {
    content: '';
    position: absolute;
    bottom: -1rem; left: 50%;
    transform: translateX(-50%);
    height: .3rem; width: 5rem;
    background: var(--c2);
    border-radius: 5rem;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.3rem;
    background: #F9F0F1;
    color: var(--c1);
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;}

.btn:hover{
    color: var(--c0);
    background: #913C4E;}

.logo img {
    height: 5rem; 
    vertical-align: middle;
}

header {
    position: fixed;
    top:0; left:0; right:0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Efek kaca transparan */
    padding: 1.5rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .navbar a {
    font-size: 1.7rem;
    margin-left: 2rem;
    color: var(--c1);
    font-weight: 500;
}

header .navbar a:hover {
    color: var(--c2);
}

/* Icon WhatsApp atau sosial media */
header .icons a {
    font-size: 2.2rem;
    color: var(--c1);
    margin-left: 2rem;
}

header .icons a:hover {
    color: var(--c2);
    transform: translateY(-3px);
}

header #toggler{
    display: none;}

header .fa-bars{
    font-size: 3rem;
    color: var(--c1);
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    cursor: pointer;
    border: 1rem solid rgba(0,0,0,.3);
    display: none;}


.home {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../pic/Baby1.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efek parallax saat di-scroll */
}

.home .content {
    max-width: 60rem;
}

.home .content h3 {
    font-size: 6.5rem;
    color: var(--c0); /* Ubah ke putih agar kontras dengan foto */
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.home .content span {
    display: block;
    font-size: 3rem;
    color: var(--c4);
    margin-top: 1rem;
    font-weight: 300;
}

.home .content p {
    font-size: 1.6rem;
    color: #f1f1f1;
    padding: 2rem 0;
    line-height: 1.8;
}

/* Tombol khusus di section Home */
.home .btn {
    background: var(--c2);
    color: var(--c0);
    border-radius: 5rem; /* Full rounded agar lebih modern */
    padding: 1.2rem 4rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(142, 53, 69, 0.3);
}

.home .btn:hover {
    transform: scale(1.05);
    background: #752b39;
}


/* --- Section About (Elegant & Clean) --- */

.about .row {
    display: flex;
    align-items: center;
    gap: 5rem; /* Jarak antar elemen dibuat lebih lebar agar lega */
    flex-wrap: wrap;
    padding: 4rem 0;
}

/* Container Video */
.about .row .video-container {
    flex: 1 1 45rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.about .row .video-container video {
    width: 100%; /* Buat penuh di containernya */
    border-radius: 2rem; /* Sudut lebih lembut/rounded */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Shadow lembut khas web modern */
    object-fit: cover;
    /* Menghapus border tebal untuk look yang lebih seamless */
    border: none; 
}

/* Menambahkan aksen dekoratif di belakang video (Opsional tapi mewah) */
.about .row .video-container::before {
    content: '';
    position: absolute;
    top: -2rem; left: -2rem;
    height: 10rem; width: 10rem;
    border-top: .5rem solid var(--c2);
    border-left: .5rem solid var(--c2);
    z-index: -1;
    border-radius: 1rem 0 0 0;
}

/* Konten Teks About */
.about .row .content {
    flex: 1 1 45rem;
}

.about .row .content h3 {
    font-size: 3.5rem;
    color: var(--c1);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about .row .content p {
    font-size: 1.6rem;
    color: var(--c3); /* Gunakan warna abu-abu gelap agar tidak terlalu kontras/tajam */
    text-align: left; /* Rata kiri biasanya terlihat lebih clean di web modern dibanding justify */
    line-height: 1.8; /* Menambah jarak antar baris teks agar enak dibaca */
    margin-bottom: 2.5rem;
}

/* Jika ada tombol di dalam About */
.about .row .content .btn {
    padding: 1.2rem 3.5rem;
    border-radius: 5rem;
    background: var(--c2);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(142, 53, 69, 0.2);
}

.about .row .content .btn:hover {
    background: var(--c1);
    transform: translateY(-3px);
}


/* ============================================================
   SECTION PRODUCTS - FULL SHADOW RECTANGLE
   ============================================================ */

/* 1. Container Utama */
.products-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* Mengubah padding top dari 3rem menjadi 0 agar lebih rapat ke atas */
    padding: 0rem 5rem 3rem 5rem !important;
}

.mySwiper {
    width: 100%;
    padding: 0 6rem 4rem 6rem !important;
    overflow: hidden !important;
}

/* 2. KARTU PRODUK UTAMA */
.products .swiper-slide.box {
    background: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    /* PENTING: Jangan gunakan overflow:hidden di sini karena akan memotong shadow */
    transition: all .3s ease;
    
    /* SHADOW PINK IDENTIK MOM'S REVIEW */
    box-shadow: 0 .5rem 1.5rem #EBCCD2 !important;
    
    /* Jarak antar kotak diperlebar sedikit agar shadow antar slide tidak tabrakan */
    margin: 1rem; 
}

/* 3. Bagian Gambar */
.products .image-wrapper {
    width: 100%;
    position: relative;
}

.products .image {
    width: 100%;
    height: 28rem;
    /* Overflow hidden dipindah ke sini agar sudut gambar tetap melengkung */
    overflow: hidden; 
    border-radius: 1rem 1rem 0 0;
}

.products .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.products .image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Kondisi Awal: Vignette tipis 0.25 */
    background: radial-gradient(circle, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
    pointer-events: none; 
    z-index: 2;

    /* 💡 PINDAHKAN KE SINI: Agar perubahan radial-gradient saat hover maupun selesai hover berjalan mulus */
    transition: background 0.3s ease; 
}

/* 4. KONTEN TEKS (Rata Kiri + Icon Pojok) */
.products .content {
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    background: #fff;
    border-radius: 0 0 1rem 1rem;
}

.products .content h3 {
    font-size: 2.2rem;
    color: var(--c1);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

/* Link Detail */
.products .content .cart-btn {
    font-size: 1.4rem;
    color: #8E3545;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ICON CANTIK POJOK KANAN (Gaya Review) */
.products .content::after {
    content: '\f10e'; /* Icon Quote */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 2rem; 
    right: 2rem;
    font-size: 4rem;
    /* Warna pink transparan agar tidak menutupi teks */
    color: rgba(235, 204, 210, 0.4); 
    pointer-events: none;
}

/* 5. NAVIGASI PANAH (Samping Gambar) */
.products .swiper-button-next,
.products .swiper-button-prev {
    color: #8E3545 !important;
    background: #fff !important;
    width: 5rem !important;
    height: 5rem !important;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    top: 40% !important;

    /* TAMBAHKAN BARIS INI: Memperkecil ukuran icon panah bawaan swiper */
    --swiper-navigation-size: 2rem !important; 
}

.products .swiper-button-prev { left: 0 !important; }
.products .swiper-button-next { right: 0 !important; }


.review .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;}

.review .box-container .box{
    flex: 1 1 30rem;
    box-shadow: 0 .5rem 1.5rem #EBCCD2;
    border-radius: .5rem;
    padding: 3rem 2rem;
    position: relative;}

.review .box-container .box .fa-quote-right{
    position: absolute;
    bottom: 3rem; right: 3rem;
    font-size: 6rem;
    color: var(--c4);}

.review .box-container .box .stars i{
    color: var(--c1);
    font-size: 2rem;}

.review .box-container .box p{
    color: var(--c1);
    font-size: 1.5rem;
    line-height: 1.5;
    padding-top: 2rem;}

.review .box-container .box .user{
   display: flex;
   align-items: center;
   padding-top: 2rem;}

.review .box-container .box .user img{
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;}

 .review .box-container .box .user h3{
    font-size: 2rem;
    color: var(--c1);}

 .review .box-container .box .user span{
    font-size: 1.5rem;
    color: var(--c0);}


/* --- GALLERY SECTION --- */

/* --- Section Gallery (Elegant & Modern Look) --- */

.gallery .gallery-container {
    display: grid;
    /* Menggunakan gap yang sedikit lebih lebar agar lebih lega */
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); 
    gap: 2.5rem;
    padding-top: 2rem;
}

/* Bingkai (Frame) - Lebih Clean tanpa border tebal */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 28rem; /* Tinggi sedikit ditambah agar lebih megah */
    width: 100%;
    border-radius: 0.8rem; /* Sudut lebih melengkung modern */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Shadow halus */
    background: #f1f1f1;
    /* Menghapus border tebal pink agar gambar lebih menonjol */
    border: none; 
}

/* Fotonya - Transisi lebih smooth */
.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Animasi zoom lebih cinematic */
}

.gallery-item:hover img {
    transform: scale(1.15); /* Zoom sedikit lebih dalam */
}

/* Overlay Teks (Elegant Gradient) */
.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%;
    height: 100%;
    /* Menggunakan gradasi alih-alih warna solid agar terlihat lebih dalam */
    background: linear-gradient(to top, rgba(14, 15, 20, 0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Teks di bawah agar tidak menutupi tengah foto */
    padding: 3rem;
    text-align: center;
    opacity: 0; /* Sembunyi total sebelum hover */
    transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1; /* Muncul perlahan (fade-in) */
}

.gallery-item .overlay h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.1rem;
    transform: translateY(2rem);
    transition: transform 0.5s ease;
}

/* Jika ada sub-teks/deskripsi di bawah judul (opsional) */
.gallery-item .overlay span {
    color: var(--c4);
    font-size: 1.4rem;
    margin-top: 0.5rem;
    transform: translateY(2rem);
    transition: transform 0.5s ease 0.1s; /* Delay sedikit setelah h3 */
}

.gallery-item:hover .overlay h3,
.gallery-item:hover .overlay span {
    transform: translateY(0); /* Teks naik perlahan saat hover */
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;}

.footer .box-container .box{
    flex: 1 1 25rem;}

.footer .box-container .box h3{
    color: #913C4E;
    font-size: 3rem;
    padding: 2rem 0;}

.footer .box-container .box a{
    display: block;
    color: var(--c2);
    font-size: 1.8rem;
    padding: 1rem 0;}

.footer .box-container .box a:hover{
    color: var(--c1);
    text-decoration: underline;}

.footer .credit{
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 1.8rem;
    color: var(--c1);
    border-top: .1rem solid var(--c1);}

.footer .credit span{
    color: var(--c3);}

.footer .map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem; 
    border: 2px solid var(--c0);
}

.footer .map-container iframe {
    width: 100%;    
    height: 15rem;    
    border: 0;
    display: block;   
}

.footer .box-container {
    justify-content: space-between; 
}


/*media queries*/
@media (max-width:991px){
    html{font-size: 55%;}
    header{padding: 2rem;}
    section{padding: 2rem;}
    .home{background-position: left;}
}

@media (max-width:768px){
    header .fa-bars{display: block;}
    header .navbar{
        position: absolute;
        top:100%; left:0; right:0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);}
    header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);}
    header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: #fff;
        border: .1rem solid rgba(0,0,0,.1);
        display: block;}
    .home .content h3{font-size: 3rem;}
    .home .content span{font-size: 2.5rem;}
    .home {
    /* Panggil gambar khusus HP */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../pic/FotoHP.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
    
    .icons-container .icons h3{font-size: 2rem;}
    .icons-container .icons span{font-size: 1.7rem;}

    .products .swiper-button-next,
    .products .swiper-button-prev {
        display: none !important;
    }

    .products-slider-container {
        padding: 0 1.5rem 3rem 1.5rem !important;
    }
    .mySwiper {
        padding: 0 0 4rem 0 !important;
    }
}

@media (max-width:450px){
    html{font-size: 50%;}
    .heading{font-size: 3rem;}
}