/*
|================================================================================
| FILE: style.css - FINAL VERSION (Responsive Sidebar & Card Fix)
| DESKRIPSI: CSS lengkap dengan implementasi Sidebar Menu untuk mobile, 
|            penyesuaian Card (Value & Service) yang lebih manis, dan fixing warna tombol WA.
| PALET: Rich Charcoal (#1A1A1D), Electric Blue (#00A8E8), WA Green (#25D366)
|================================================================================
*/

/* --- 1. Global Reset & Utilities --- */
:root {
    /* Palet Profesional & Modern */
    --primary-color: #00A8E8;   /* Electric/Tech Blue */
    --secondary-color: #1A1A1D; /* Rich Charcoal */
    --wa-color: #25D366;        /* Standard WhatsApp Green */
    --wa-text-color: #ffffff;   /* FIX: Warna Teks untuk Button WA */
    --bg-light: #F0F4F8;        /* Cool Light Gray */
    --white: #ffffff;
    /* Shadows - Lebih Halus & Jauh (Elevasi) */
    --shadow-soft: 0 6px 15px rgba(0, 0, 0, 0.08);
    --shadow-deep: 0 15px 35px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', 'Arial', sans-serif; 
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--secondary-color);
    overflow-x: hidden; /* Penting untuk Sidebar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

strong {
    font-weight: 700;
    color: var(--primary-color); 
}

section {
    padding: 100px 0; 
    text-align: center;
}

h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

/* Efek Garis Bawah Modern */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


/* --- 2. Button Styling (FIXED WA Text Color) --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 35px; 
    margin: 25px 10px 0;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: var(--shadow-soft);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--wa-color); 
    color: var(--white);
    border: none;
    font-size: 1.1em;
}

.btn-primary strong {
    color: var(--wa-text-color); /* FIX: Teks Strong di WA Button Putih */
}

.btn-primary:hover {
    background-color: #1ed157; 
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); 
    transform: translateY(-5px) scale(1.02);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-deep);
    transform: translateY(-3px);
}


/* --- 3. Header & Navigasi (Desktop/Magic) --- */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
}

.header-transparent {
    background: transparent;
    box-shadow: none;
    padding: 30px 0;
}

.header-transparent .nav-menu a {
    color: var(--white); 
}

.header-sticky {
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 15px 0;
}

.header-sticky .nav-menu a {
    color: var(--secondary-color); 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em;
    font-weight: 900;
    color: var(--primary-color);
}

.nav-menu a {
    margin-left: 30px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
}

.nav-menu a:not(.cta-wa-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

.nav-menu a:not(.cta-wa-nav):hover::after {
    width: 100%;
}

.cta-wa-nav {
    color: var(--white) !important;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    margin-left: 40px !important;
}

.cta-wa-nav:hover {
    background-color: var(--secondary-color);
}

/* Sembunyikan Hamburger di Desktop */
.menu-toggle, .close-menu {
    display: none;
}
/* Sembunyikan Mobile Menu di Desktop */
.mobile-menu, .menu-overlay {
    display: none;
}


/* --- 4. Hero Section (Banner Pertama) --- */
.hero-section {
    background: 
        linear-gradient(rgba(26, 26, 29, 0.9), rgba(0, 168, 232, 0.5)), 
        url('https://picsum.photos/1600/900?random=1&blur=3') no-repeat center center/cover;
    color: var(--white);
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-content {
    z-index: 10;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5em; 
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.hero-content h1 strong {
    color: var(--wa-color); 
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.5); 
}

.hero-content h2 {
    font-size: 2.2em;
    margin-top: 0;
    color: var(--white);
    border: none;
    padding-bottom: 0;
    margin-bottom: 40px;
    text-transform: none;
    letter-spacing: normal;
}

.hero-content p {
    font-size: 1.2em;
    margin: 20px 0 50px;
    font-weight: 300;
}

.address-tag {
    font-size: 1em;
    margin-top: 40px;
    font-style: normal;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* --- 5. About Section (Value Card Manis) --- */
.about-section {
    background: var(--white);
    position: relative;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    margin-top: -100px; 
    padding-top: 150px;
    padding-bottom: 150px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
}

.value-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.value-item {
    background: var(--white); 
    padding: 40px 30px;
    border-radius: 15px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); 
    position: relative;
    overflow: hidden;
}

.value-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); 
}

.value-item:hover::after {
    width: 100%;
    opacity: 0; 
}

.value-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.4s;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.summary-text {
    max-width: 800px;
    margin: 60px auto 0;
    font-size: 1.2em;
    font-style: italic;
    color: var(--secondary-color);
}


/* --- 6. Services Section (Service Cards Manis) --- */
.services-section {
    background-color: var(--bg-light);
    padding-top: 50px;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    width: 280px;
    height: 250px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    border-bottom: 4px solid var(--primary-color); 
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--secondary-color); 
}

.service-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-content h3 {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}


/* --- 7. Location Section & Footer --- */
.location-section {
    background-color: var(--secondary-color); 
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.location-section h2 {
    color: var(--primary-color);
}

.location-section h2::after {
    background-color: var(--white);
}

.description-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.location-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.contact-info {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.contact-info p {
    margin: 15px 0;
    font-size: 1.1em;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2em;
}

.contact-link {
    color: var(--white);
    text-decoration: underline;
}

.map-placeholder {
    flex: 1.5;
    height: 380px;
    background-color: #3f4a9c;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-style: italic;
}


/* --- 8. Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: var(--bg-light);
    padding: 30px 0;
    border-top: 3px solid var(--primary-color);
}

.footer-address {
    font-size: 0.9em;
    opacity: 0.7;
    margin-top: 10px;
}

/* --- 9. Floating WhatsApp Icon --- */
.floating-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px; 
    background-color: var(--wa-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 2000; 
    /* Animasi pulse tetap sama */
}

.floating-wa:hover {
    background-color: #1ed157;
    transform: scale(1.1); 
    /* animation: none; */
}


/* --- 10. MOBILE SIDEBAR (Off-Canvas) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Sembunyikan di luar layar */
    width: 300px;
    height: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-deep);
    z-index: 3000;
    transition: right 0.4s ease-in-out;
    padding: 20px;
    display: flex; /* Ganti display dari none di media query */
    flex-direction: column;
    text-align: left;
}

.mobile-menu.open {
    right: 0; /* Tampilkan di layar */
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2900;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mobile-menu a {
    font-size: 1.2em;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    color: var(--secondary-color);
}

.mobile-logo {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--secondary-color);
    cursor: pointer;
}

.mobile-cta-wrapper {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
}

.mobile-cta-wrapper .btn-primary {
    display: block;
    width: 100%;
}


/* --- 11. Media Queries (Responsif) --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5em; }
    .hero-content h2 { font-size: 1.8em; }
    
    /* Sembunyikan navigasi desktop */
    .nav-menu { display: none; }
    
    /* Tampilkan Hamburger */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.8em;
        cursor: pointer;
        color: var(--white); /* Warna putih di header transparent */
    }
    
    .header-sticky .menu-toggle {
        color: var(--secondary-color); /* Warna gelap di header sticky */
    }
}

@media (max-width: 800px) {
    /* FIX HERO: Agar tidak tenggelam di mobile, kurangi tinggi */
    .hero-section {
        height: 80vh; 
        padding-top: 80px; /* Tambahkan padding agar konten tidak terpotong header fixed/sticky */
    }
    .hero-content h1 { font-size: 2.5em; }
    .hero-content h2 { font-size: 1.3em; }
    
    .header { 
        position: fixed; /* Header tetap fixed di mobile */
        /* Pastikan background solid di mobile, lepas dari logic transparent */
        background-color: var(--white);
        box-shadow: var(--shadow-soft);
        padding: 15px 0;
    }
    
    /* Paksa logo dan tombol hamburger berwarna gelap agar terbaca di background putih */
    .header .logo { color: var(--secondary-color); }
    .menu-toggle { color: var(--secondary-color) !important; }
    
    .about-section { clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); padding-top: 100px; padding-bottom: 100px; margin-top: -30px; }
    .value-container, .service-container { flex-direction: column; align-items: center; }
    .value-item, .service-card { width: 100%; max-width: 350px; height: auto; }
    
    .location-content { flex-direction: column; gap: 30px; }
    .map-placeholder { height: 250px; }
    
    .btn-primary { width: 90%; }
}