/*
Theme Name: GomemSEO 2026
Author: Gomem Patikraja Team
Description: Ultra-light, AEO optimized theme.
Version: 1.1 (Footer Fix)
*/

/* 1. RESET & VARIABLES */
:root {
    --primary: #00897B; /* Teal Medis */
    --secondary: #F06292; /* Pink Lembut */
    --dark: #263238;
    --light: #ECEFF1;
    --white: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --container: 900px; /* Diperlebar sedikit agar footer lega */
    --spacing: 1.5rem;
}

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

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    font-size: 18px;
    margin: 0;
}

/* 2. TYPOGRAPHY (HIERARCHY) */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--dark);
}
h1 { font-size: 2.2rem; color: var(--primary); }
h2 { font-size: 1.8rem; border-bottom: 2px solid var(--light); padding-bottom: 0.5rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1.2rem; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { text-decoration: underline; }

/* 3. LAYOUT UTILITIES */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* 4. HEADER */
header.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-title { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
nav ul { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }
nav a { font-weight: 500; font-size: 1rem; color: var(--dark); }

/* 5. HERO SECTION */
.hero {
    background: linear-gradient(135deg, #E0F2F1 0%, #FCE4EC 100%);
    padding: 4rem 0;
    text-align: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero-sub { font-size: 1.2rem; color: #546E7A; max-width: 600px; margin: 0 auto 2rem; }

/* 6. CONTENT COMPONENTS (AEO Friendly) */
.answer-box {
    background: #E8F5E9;
    border-left: 6px solid var(--primary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}
.quick-info-list p { margin-bottom: 1rem; border-bottom: 1px dashed #ccc; padding-bottom: 0.5rem; }
.quick-info-list p:last-child { border: none; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.card {
    background: var(--white);
    border: 1px solid var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* 7. FAQ STYLES */
details {
    background: #fff;
    border: 1px solid var(--light);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}
summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { 
    content: "+"; 
    position: absolute; right: 0; top: 0;
    font-weight: bold; color: var(--primary); font-size: 1.2rem; 
}
details[open] summary::after { content: "-"; }
details div { margin-top: 1rem; color: #555; }

/* 8. FOOTER STYLES (FIX) */
footer#footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 6rem 0; /* Padding bawah lebih besar agar tidak tertutup tombol WA */
    margin-top: 5rem;
}

/* Grid Layout untuk Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolom Seimbang */
    gap: 4rem;
    align-items: start;
}

.footer-col h3 {
    color: var(--secondary); /* Warna Pink agar kontras di background gelap */
    border-bottom: 1px solid #546E7A;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col address, 
.footer-col ul, 
.footer-col p {
    color: #CFD8DC;
    font-size: 0.95rem;
}

/* 9. STICKY WHATSAPP BUTTON */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s;
}
.sticky-cta:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); text-decoration: none; }
.sticky-cta svg { width: 20px; height: 20px; fill: currentColor; }

/* 10. UTILITIES & BUTTONS */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    text-align: center;
}
.btn-primary:hover { background: #00695C; text-decoration: none; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #ddd; }
th { background-color: var(--primary); color: white; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 1rem; text-align: center; }
    nav ul { gap: 1rem; font-size: 0.9rem; }
    
    .hero { padding: 3rem 1rem; }
    h1 { font-size: 1.8rem; }
    
    /* Footer Stack ke bawah di HP */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Sticky Button di tengah bawah */
    .sticky-cta { 
        bottom: 15px; 
        right: 5%; 
        left: 5%; 
        justify-content: center; 
        width: 90%; 
    }
}