/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-color: #4A2F18; /* Cokelat Gelap (Kopi) */
    --accent-color: #C69C6D; /* Cokelat Muda (Krim) */
    --background-color: #FDF5E6; /* Cream Putih (Latar) */
    --dark-text: #333333;
    --light-text: #ffffff;
    --wa-green: #25D366;
    --poppins-font: 'Poppins', sans-serif;
    --playfair-font: 'Playfair Display', serif;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--poppins-font); background-color: var(--background-color); color: var(--dark-text); line-height: 1.8; overflow-x: hidden; }

/* Utilities */
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }
.section-title { font-family: var(--playfair-font); font-size: 2.5rem; text-align: center; color: var(--primary-color); margin-bottom: 40px; }

/* --- HEADER & HERO --- */
header { background-color: var(--primary-color); color: var(--light-text); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 999; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--playfair-font); font-size: 1.5rem; }

.hero { height: 85vh; padding-top: 80px; /* Offset fixed header */ display: flex; align-items: center; text-align: center; background: linear-gradient(rgba(74, 47, 24, 0.7), rgba(74, 47, 24, 0.7)), url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=1600&q=80') center/cover; color: var(--light-text); }
.hero h2 { font-family: var(--playfair-font); font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; max-width: 700px; margin-inline: auto; opacity: 0.9; }

/* Buttons */
.btn, .btn-hero { display: inline-block; padding: 10px 20px; border-radius: 5px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.btn { background-color: var(--accent-color); color: var(--primary-color); font-size: 0.9rem; }
.btn:hover { background-color: #b58b5e; }
.btn-hero { background-color: var(--light-text); color: var(--primary-color); font-size: 1rem; }
.btn-hero:hover { background-color: rgba(255,255,255,0.8); }

/* --- TENTANG (Cooler Upgrade) --- */
.tentang { padding: 80px 0; }
.grid-tentang { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.tentang-img img { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.tentang-text h2 { font-family: var(--playfair-font); font-size: 2.2rem; color: var(--primary-color); margin-bottom: 20px; }

/* --- LAYANAN --- */
.layanan { padding: 80px 0; background-color: var(--light-text); }
.grid-layanan { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card { background: var(--light-text); padding: 30px; border-radius: 8px; text-align: center; border: 1px solid #eee; transition: var(--transition); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card .icon { font-size: 2.5rem; margin-bottom: 15px; color: var(--accent-color); font-weight: bold; }
.card h3 { color: var(--primary-color); margin-bottom: 10px; }
.card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--accent-color); }

/* --- LOKASI --- */
.lokasi { padding: 80px 0; text-align: center; }
.alamat { margin-bottom: 30px; font-size: 1.1rem; color: var(--primary-color); }
.alamat-fiksi { color: red; }
.map-container { max-width: 900px; margin: 0 auto; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
iframe { width: 100%; height: 350px; border: none; display: block; }

/* --- FOOTER --- */
footer { background-color: var(--primary-color); color: rgba(255,255,255,0.7); text-align: center; padding: 30px 0; font-size: 0.9rem; }
.footer-content { display: flex; flex-direction: column; gap: 5px; }
.credits { font-size: 0.8rem; opacity: 0.6; margin-top: 10px; }

/* --- FLOATING WA BUTTON (Modern Style) --- */
.wa-float { position: fixed; bottom: 25px; right: 25px; background-color: var(--wa-green); color: var(--light-text); padding: 12px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition); z-index: 100; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.wa-icon { font-size: 1.1rem; }
.wa-float:hover { transform: scale(1.05); background-color: #1ebe57; }

/* --- SCROLL ANIMATIONS (Fade-In) --- */
.fade-in-section { opacity: 0; transform: translateY(30px); visibility: hidden; transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, transform; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }

/* --- RESPONSIVENESS (Media Queries) --- */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero { height: 75vh; }
    .hero h2 { font-size: 2.2rem; }
    .tentang-text h2 { font-size: 1.8rem; text-align: center; }
    iframe { height: 280px; }
    .logo { font-size: 1.3rem; }
    .btn { padding: 8px 15px; font-size: 0.8rem; }
}