/* --- RESET & VARIABLE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --accent-color: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    /* Ganti 'nama-foto-kamu.jpg' dengan nama dan ekstensi file fotomu */
    background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('https://the.splg.site/images/2026/05/20/bg-2.png');
    
    /* Membikin foto otomatis pas dengan ukuran layar laptop & HP */
    background-size: 100% 100%;
    
    /* Membikin posisi foto selalu di tengah-tengah */
    background-position: center;
    
    /* Mencegah foto terulang-ulang (ter-kloning) jika halamannya panjang */
    background-repeat: no-repeat;
    
    /* Membikin foto tetap diam di tempat saat halaman di-scroll (efek keren) */
    background-attachment: fixed;
    
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

nav a {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 35px;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    background-image: linear-gradient(to right, #38bdf8, #820198);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero h1 span {
    background: linear-gradient(to right, #f1d4f5, #be09e7);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    transition: 0.3s transform, 0.3s box-shadow;
    animation: kedapKedip 1s infinite ease-in-out;
    
}
@keyframes kedapKedip {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 8px 25px rgba(56, 189, 248, 0.8), 0 0 15px rgba(56, 189, 248, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
    }
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

/* --- SERVICES SECTION --- */
.services {
    padding: 100px 8%;
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 50px;
}

.section-title span {
    color: #be09e7;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    .card {
    background: rgba(30, 41, 59, 0.4) !important; 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: 0.3s;
    cursor: pointer;
    text-align: left;
}
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 100px;
    margin-bottom: 15px;
    display: inline-block;
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    header { padding: 20px 5%; }
    header.scrolled { padding: 15px 5%; }
    nav { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
}
/* --- Pengaturan Ukuran Spanduk Banner PC --- */
.hero-banner {
    width: 100%;
    padding: 20px 0;          /* Jarak aman atas & bawah agar tidak menempel menu */
    display: flex;
    justify-content: center;  /* Memaksa area banner selalu center di tengah PC */
}

.hero-content {
    width: 100%;
    max-width: 1200px;        /* Batas lebar maksimal paling pas untuk layar monitor PC */
    padding: 0 15px;          /* Jarak aman kiri-kanan agar tidak mentok tepi layar */
}

.banner-image-box {
    width: 100%;
    border-radius: 10px;       /* Sudut melengkung halus yang modern */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* Efek bayangan gelap mewah di bawah banner */
}

/* Kunci utama agar gambar spanduk pas dan proporsional */
.main-banner-img {
    width: 100%;              /* Memaksa gambar melebar pas mengikuti batas 1200px */
    height: auto;             /* Tinggi otomatis menyesuaikan agar gambar tidak gepeng/ketarik */
    display: block;
    object-fit: cover;        /* Menjaga kualitas gambar tetap tajam dan bersih */
}

/* Kurangi space atas banner */
.hero-banner {
    padding: 0 !important;
    margin-top: 0 !important;
}

.hero-content {
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Sembunyikan teks selamat datang */
.hero-text {
    display: none !important;
}

