/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    background-color: #fdfaf5;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

:root {
    --gold: #c5a059;
    --dark: #1a1a1a;
    --champagne: #f1d592;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1519340333755-5672c7ec9aa2?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.sub-title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--champagne);
    font-weight: 700;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    font-weight: 300;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--gold);
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: white;
}

/* --- SECTION COLLECTIONS --- */
.best-seller {
    padding: 80px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1rem;
    color: #555;
    padding: 0 30px;
}

/* --- SWIPER SLIDER --- */
.swiper {
    width: 100%;
    padding: 40px 0;
}

.swiper-slide {
    width: 280px;
}

.cake-frame {
    border: 10px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
    padding-bottom: 15px;
}

.cake-frame img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--dark);
    color: white;
    padding: 80px 20px;
}

.testimonial-grid {
    display: flex;
    flex-direction: column; /* Mobile first */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.testi-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-left: 3px solid var(--gold);
    width: 100%;
    max-width: 400px;
}

/* --- CTA & WA --- */
.cta-box {
    background: white;
    padding: 50px 20px;
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}


.btn-wa {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
}

.floating-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    top: 20px;       /* Jarak dari atas layar */
    right: 20px;     /* Jarak dari kanan layar */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
}

footer {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff; /* Atau samakan dengan var(--cream) */
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content p {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.credits {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.75rem !important;
}

/* Menghilangkan link biru dan garis bawah */
footer a {
    color: var(--gold); /* Menggunakan warna emas branding kamu */
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
}

/* Efek garis bawah halus saat di-hover saja */
footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold);
    transition: 0.3s;
}

footer a:hover {
    color: #d4af37; /* Emas sedikit lebih terang saat disentuh */
}

footer a:hover::after {
    width: 100%;
}

/* --- DESKTOP ADAPTATION --- */
@media (min-width: 768px) {
    .testimonial-grid {
        flex-direction: row; /* Berjejer ke samping di PC */
    }
    .hero h1 {
        font-size: 4.5rem;
    }
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}
