/* css/style.css */

/* Pengaturan Dasar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #3f1440; /* Latar belakang gelap */
    color: #f0f0f0; /* Warna teks terang */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

a {
    color: #bf00d4; /* Warna link default */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: #e42695; /* Warna tombol */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #fc6afc;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.8); /* Agak transparan */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px; /* Sesuaikan tinggi logo */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #e42695;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Tinggi penuh viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden; /* Penting untuk video/gambar latar belakang */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-bg video,
.hero-bg img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Penting agar video/gambar menutupi seluruh area */
}

.hero-content {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay gelap agar teks terbaca */
    padding: 30px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
}

/* Bagian Umum */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-child(odd) {
    background-color: #0d0c0c;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #e42695;
}

/* Layanan */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: #121212;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h3 {
    color: #bf00d4;
    margin-bottom: 15px;
}

/* Portofolio */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Tinggi seragam untuk gambar portofolio */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Testimonial */
.testimonials-section {
    background-color: #3f1440;
    padding: 60px 0;
}

.testimonial-item {
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.1em;
}

.testimonial-item span {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #bf00d4;
}

/* Kontak */
.contact-section form {
    max-width: 600px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-section form input,
.contact-section form textarea {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #121212;
    color: #f0f0f0;
    font-size: 1em;
}

.contact-section form input::placeholder,
.contact-section form textarea::placeholder {
    color: #aaa;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #e42695;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: #888;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

/* Media Queries untuk Responsif (Contoh Sederhana) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }

    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 5px 10px;
    }

    .service-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
}