/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
    line-height: 1.6;
}

/* Warna sesuai spesifikasi */
:root {
    --primary: #1E3A5F;
    --secondary: #3B82F6;
    --accent: #10B981;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --white: #ffffff;
    --gray: #64748B;
    --danger: #EF4444;
    --warning: #F59E0B;
}

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

/* ========== NAVBAR ========== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

/* Menu Desktop */
.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero .tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.features li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features i {
    color: var(--accent);
}

/* ========== BUTTONS ========== */
.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

/* ========== SECTION UMUM ========== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
}

/* ========== CARDS ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

/* ========== SERVICE CHIPS (TOGGLE BUTTON MODERN) ========== */
.services-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f3f4;
    border: 2px solid #e0e0e0;
    border-radius: 48px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.service-chip:hover {
    background: #e8f0fe;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.service-chip.active {
    background: linear-gradient(135deg, #10B981, #059669);
    border-color: #10B981;
    color: white;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.service-chip.active .chip-price {
    color: #e0f7f5;
}

.service-chip .chip-icon {
    font-size: 1.1rem;
}

.service-chip .chip-text {
    font-weight: 600;
}

.service-chip .chip-price {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(0,0,0,0.08);
    border-radius: 20px;
    font-weight: 500;
}

.service-chip.active .chip-price {
    background: rgba(255,255,255,0.2);
}

/* ========== PORTFOLIO GRID ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* ========== MODAL LIGHTBOX ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    cursor: pointer;
}

.modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* ========== FAQ ACCORDION ========== */
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== TESTIMONI ========== */
.testimoni-card {
    text-align: center;
}

.testimoni-stars {
    color: #FBBF24;
    margin-bottom: 15px;
}

.testimoni-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimoni-name {
    font-weight: 600;
    color: var(--primary);
}

/* ========== KALKULATOR ========== */
.kalkulator {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    border-radius: 24px;
    margin-top: 30px;
}

.kalkulator select,
.kalkulator .result {
    background: white;
    color: var(--text-dark);
    border-radius: 12px;
}

.kalkulator .result {
    padding: 15px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 15px;
}

/* ========== AREA LIST ========== */
.area-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.area-item {
    background: #e2e8f0;
    padding: 8px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer a {
    color: white;
    margin: 0 8px;
    font-size: 1.2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .service-chip {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .service-chip .chip-icon {
        font-size: 1rem;
    }
    
    .service-chip .chip-price {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-white { background: var(--white); }
.rounded-xl { border-radius: 16px; }

html {
    scroll-behavior: smooth;
}