/*
Theme Name: Pasang CCTV Web ID
Author: AntiGravity
Version: 1.0
Description: National CCTV SEO Engine Theme (2026+)
*/

:root {
    --primary: #E60000;
    --primary-dark: #cc0000;
    --secondary: #111111;
    --secondary-light: #222222;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #EEEEEE;
    --text-body: #444444;
    --text-heading: #111111;
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); margin-bottom: 0.5em; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.btn-wa {
    background: var(--whatsapp);
    color: var(--white);
}
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); }
.text-center { text-align: center; }
.section-padding { padding: 60px 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: static; /* tidak sticky */
    z-index: auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.logo span { color: var(--secondary); }
.hero {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    padding: 80px 20px;
    color: #fff;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtext {
    font-size: 18px;
    color: #999;
    margin-bottom: 25px;
}

.rating-badge {
    display: inline-block;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 30px;
}

.hero-buttons .btn-wa {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.hero-buttons .btn-wa:hover {
    background: #1ebc5a;
}

/* Image */
.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}


/* Pricing Tables */
.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    background: var(--white);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.price-tag {
    font-size: 28px;
    color: var(--primary);
    font-weight: 800;
    margin: 10px 0;
}
.package-list { margin: 20px 0; }
.package-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}
.package-list li::before {
    content: "✓";
    color: var(--whatsapp);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer & Fixed Layouts */
footer {
    background: var(--secondary);
    color: #999;
    padding: 40px 0;
    font-size: 14px;
}
footer h4 { color: var(--white); margin-bottom: 20px; }
footer a:hover { color: var(--primary); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }

/* Sticky Mobile */
.sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px;
}
@media (max-width: 600px) {
    .sticky-mobile { display: flex; gap: 10px; }
    .sticky-mobile .btn { flex: 1; padding: 10px; font-size: 14px; }
}
