/* CSS Reset Sederhana */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Palet Warna Light Mode dengan Aksen Warm Tosca --- */
:root {
    --color-bg-light: #F5F5F5; 
    --color-bg-medium: #FFFFFF; 
    --color-text-main: #333333; 
    --color-text-secondary: #555555; 
    --color-accent: #00ADB5; 
    --color-accent-soft: #75E6DA; 
    --color-shadow-light: rgba(0, 0, 0, 0.15); 
    --color-wa-green: #25D366; 
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--color-bg-light); 
    color: var(--color-text-main); 
    padding-top: 85px; 
    transition: background-color 0.5s;
}

html { scroll-behavior: smooth; }

/* --- Navigasi (Terang) --- */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg-medium); 
    box-shadow: 0 2px 10px var(--color-shadow-light);
    padding: 0; 
}

.nav-content-container {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; /* Disesuaikan untuk desktop */
    height: 85px; 
}

nav .logo {
    height: 100%; 
    display: flex;
    align-items: center; 
}

/* Menyesuaikan tinggi gambar logo di dalam nav (LEBIH RAPI DI DESKTOP) */
nav .logo img {
    height: 55px; 
    width: auto; 
    display: block; 
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex; 
    gap: 15px; 
    padding: 0;
    height: 100%; 
}

nav ul li {
    padding: 0; 
    height: 100%; 
    display: flex; 
    align-items: center; 
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.95em; 
    transition: color 0.3s, border-bottom 0.3s;
    padding: 0 10px; 
    display: flex;
    align-items: center;
    height: 100%; 
    border-bottom: 3px solid transparent; 
}

nav ul li a:hover {
    color: var(--color-accent); 
    /* EFEK GARIS BAWAH PROFESIONAL UNTUK DESKTOP */
    border-bottom: 3px solid var(--color-accent); 
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; 
    margin-left: 20px; 
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--color-text-main); 
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* --- Efek Slide-In (Scroll Reveal) --- */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay untuk animasi berurutan pada kartu */
.reveal.active:nth-child(1) { transition-delay: 0s; }
.reveal.active:nth-child(2) { transition-delay: 0.2s; }
.reveal.active:nth-child(3) { transition-delay: 0.4s; }
.reveal.active:nth-child(4) { transition-delay: 0.6s; }
.reveal.active:nth-child(5) { transition-delay: 0.8s; }


/* --- Header (Hero Section) --- */
header {
    position: relative;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
        url('image/hero.webp'); 
    background-size: cover;
    background-position: center;
    color: white; 
    text-align: center;
    padding: 180px 20px 100px 20px; 
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1, header h2 { 
    color: white; 
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8); 
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-text-main); 
    text-shadow: none; 
}

header h2 {
    font-family: 'Montserrat', sans-serif;
}

/* Gaya Tombol WhatsApp di Hero Section */
.hero-whatsapp-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background-color: var(--color-accent); 
    color: var(--color-bg-medium); 
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 6px 15px rgba(0, 173, 181, 0.5);
}
.hero-whatsapp-btn:hover {
    background-color: #008891; 
    transform: translateY(-3px);
}

/* --- Section Styling (Kontras) --- */
section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section dengan latar belakang utama (Light) */
#about, #pricing, #contact, #service-area {
    background-color: var(--color-bg-light); 
}

/* Section dengan latar belakang kontras (Putih/Medium) */
#why-us, #gallery, #services, #testimonials {
    background-color: var(--color-bg-medium);
}

/* GAYA CARD DAN LAYOUT UMUM */
.why-us-container, .pricing, .service-city-list, .gallery-grid, .testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    margin-top: 30px;
}

.reason-card, .price, .testimonial-card {
    background: var(--color-bg-light); 
    border-radius: 12px;
    padding: 30px;
    flex-basis: 30%;
    min-width: 280px;
    max-width: 350px; 
    box-shadow: 0 5px 15px var(--color-shadow-light);
    text-align: center;
    color: var(--color-text-secondary);
}

/* GAYA BARU UNTUK GAMBAR IKON */
.reason-card .icon-img {
    width: 60px; 
    height: 60px; 
    object-fit: contain; 
    display: block;
    margin: 0 auto 15px auto; 
}
/* ----------------------------------- */


.reason-card h3 {
    color: var(--color-text-main);
}

/* GAYA GALERI & LAYANAN */
.gallery-item {
    flex-basis: 30%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--color-shadow-light);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.services {
     display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.service {
    flex-basis: 30%;
    min-width: 280px;
}

/* HARGA */
.price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; 
}

.price img {
    width: calc(100% + 60px); 
    margin: -30px -30px 20px -30px;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
}

.price h3 {
    text-align: center;
}

.price p {
      color: var(--color-text-main);
    text-align: center; 
}

.price p:nth-child(2) {
      color: var(--color-accent) !important; 
}

.whatsapp-btn {
    display: block;
    text-align: center;
    padding: 10px 15px;
    background-color: var(--color-accent);
    color: var(--color-bg-medium); 
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto; 
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 173, 181, 0.4);
}

.whatsapp-btn:hover {
    background-color: #008891;
}

/* TESTIMONI */
.testimonial-card blockquote {
      color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-card p {
    color: var(--color-accent) !important; 
}

/* AREA LAYANAN */
.service-city {
    flex-basis: 18%; 
    min-width: 150px;
    text-align: left;
}

.service-city h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-accent); 
    margin-bottom: 10px;
}

.service-city ul {
    list-style: none;
    padding-left: 0;
}

.service-city ul li {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
}


/* KONTAK & FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}
.contact-form input, .contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    background: var(--color-bg-medium) !important;
    border: 1px solid #ccc !important;
    color: var(--color-text-main) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}
.contact-form button {
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: var(--color-accent); 
    color: var(--color-bg-medium); 
    border: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #E0E0E0; 
    color: var(--color-text-secondary);
}

/* --- GAYA WIDGET WHATSAPP --- */

.whatsapp-widget {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none; 
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-wa-green); 
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative; 
    animation: pulse 2s infinite; 
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-icon:hover {
      transform: scale(1.1);
      animation: none; 
}

.whatsapp-text {
    background-color: var(--color-bg-medium); 
    color: var(--color-text-main);
    padding: 10px 15px;
    border-radius: 8px;
    margin-right: 15px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
    font-size: 0.9em;
    box-shadow: 0 2px 8px var(--color-shadow-light);
}

.whatsapp-widget:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- MEDIA QUERY (RESPONSIVE) --- */
@media (max-width: 768px) {
    
    body { padding-top: 75px; }
    .nav-content-container { 
        padding: 0 20px; 
        height: 75px; 
    }
    
    nav .logo { height: 100%; } 
    nav .logo img { height: 55px; } /* Tinggi logo di mobile */

    /* Tampilkan Hamburger di mobile */
    .hamburger-menu { display: block; margin-left: 0; }
    
    /* Sembunyikan menu normal dan gunakan dropdown di mobile */
    nav ul {
        display: none; 
        position: absolute; 
        top: 75px; 
        left: 0;
        width: 100%;
        background-color: var(--color-bg-medium); 
        box-shadow: 0 10px 10px var(--color-shadow-light);
        flex-direction: column; 
        padding: 10px 0;
        gap: 0;
        height: auto; 
    }
    
    /* Tampilkan menu dropdown saat 'active' */
    nav ul.active { display: flex; }
    
    /* Penyesuaian padding di mobile */
    nav ul li {
        padding: 10px 0; 
        height: auto;
        justify-content: center;
    }
    
    nav ul li a {
        padding: 10px 20px; /* Tambah padding vertical di mobile */
        text-align: center;
        border-bottom: none; /* Hapus garis bawah di mobile */
        height: auto;
    }
    
    nav ul li a:hover {
        border-bottom: none; 
    }

    /* Layout Mobile untuk semua Card */
    .why-us-container, .services, .pricing, .testimonial-container, .gallery-grid {
        flex-direction: column;
        align-items: center;
    }
    .reason-card, .price, .service, .testimonial-card, .gallery-item {
        flex-basis: 90%;
        width: 100%;
        max-width: 400px;
    }
    
    /* Penyesuaian Area Layanan di Mobile */
    .service-city-list {
        gap: 20px;
    }
    .service-city {
        flex-basis: 45%; 
        text-align: center;
    }
    .service-city ul li {
          text-align: center;
    }
    
    /* Penyesuaian Widget WA di Mobile */
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 70px; 
        height: 70px;
        font-size: 2.3em;
    }

    .whatsapp-text {
          display: none; 
    }

}

