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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f9; /* Latar belakang agak abu-abu */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* TOMBOL CTA (Call to Action) */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
}

.cta-button.primary {
    background-color: #ffc107; /* Aksen Kuning/Oranye */
    color: #0d47a1; /* Biru Tua */
}

.cta-button.primary:hover {
    background-color: #ff9800;
}

.cta-button.secondary {
    background-color: #0d47a1; /* Biru Tua */
    color: #ffffff;
    border: 2px solid #0d47a1;
}

.cta-button.secondary:hover {
    background-color: #0a3a83;
}

.cta-button.large {
    padding: 15px 30px;
    font-size: 1.1em;
}


/* HEADER & NAVIGASI */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #0d47a1; /* Biru Tua */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffc107; /* Aksen Kuning/Oranye */
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://photos.app.goo.gl/7NYsi5rAEGCWQv9g7') no-repeat center center/cover; /* Ganti 'placeholder-cctv.jpg' dengan gambar Anda */
    color: #ffffff;
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* SECTION UMUM */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 2em;
    margin-bottom: 50px;
    color: #0d47a1;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ffc107;
    margin: 10px auto 0;
}


/* FITUR UTAMA */
.features {
    background-color: #ffffff;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.feature-item {
    flex: 1;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: #ffffff;
    transition: transform 0.3s;
}

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

.feature-item i {
    font-size: 3em;
    color: #ffc107;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #0d47a1;
    margin-bottom: 10px;
}


/* LAYANAN / SOLUSI */
.services {
    background-color: #f4f7f9;
}

.service-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.service-card {
    flex: 1;
    padding: 40px 20px;
    border-radius: 8px;
    background-color: #0d47a1; /* Biru Tua */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.service-card:hover {
    background-color: #1a56c0;
}

.service-card i {
    font-size: 2.5em;
    color: #ffc107;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* FOOTER */
footer {
    background-color: #1c2331; /* Biru sangat gelap / hampir hitam */
    color: #c7c7c7;
    padding-top: 50px;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding-bottom: 30px;
    border-bottom: 1px solid #3e4555;
}

.footer-info, .footer-contact {
    width: 30%;
}

.footer-info h3, .footer-contact h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-info p, .footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    color: #ffc107;
    margin-right: 10px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.2em;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffc107;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #151a24;
}

/* MEDIA QUERIES (Untuk Tampilan Responsif) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav {
        margin: 15px 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2em;
    }

    .feature-grid, .service-grid {
        flex-direction: column;
        gap: 20px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info, .footer-contact {
        width: 100%;
        margin-bottom: 30px;
    }
}
/* Penambahan CSS untuk Link di Footer */
.footer-link {
    color: #fff; /* Warna putih */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ffc107; /* Aksen Kuning/Oranye saat hover */
    text-decoration: underline;
}

.footer-contact p {
    /* Membuat jarak baris lebih besar untuk alamat yang panjang */
    line-height: 1.8; 
}
/* ==================================== */
/* TOMBOL WHATSAPP MENGAMBANG (FLOATING)*/
/* ==================================== */

.floating-whatsapp {
    /* Posisi mengambang */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* Pastikan selalu di atas elemen lain */
    
    /* Tampilan tombol */
    display: flex;
    align-items: center;
    background-color: #25D366; /* Warna khas WhatsApp */
    color: white;
    padding: 10px 15px;
    border-radius: 50px; /* Bentuk lonjong */
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128C7E; /* Warna sedikit lebih gelap saat hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    font-size: 1.8em;
    margin-right: 10px;
    /* Efek animasi ikon */
    animation: bounce 2s infinite;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 1em;
}

/* Animasi untuk ikon WhatsApp */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* Penyesuaian Responsif untuk perangkat kecil */
@media (max-width: 600px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        padding: 8px; /* Padding lebih kecil */
        /* Hanya menampilkan ikon di HP untuk menghemat ruang */
        width: 50px; 
        height: 50px;
        justify-content: center;
    }

    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        margin-right: 0;
        font-size: 1.5em;
    }
}