
/* File: css/homestyle.css */

/* Efek scroll halus */
html {
    scroll-behavior: smooth; 
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* BACKGROUND HALAMAN */
    /* Karena file ini ada di dalam folder 'css', kita panggil gambarnya langsung */
    background: url('bg2.jpg'); 
    background-position: center top;
    background-size: cover; 
    padding-top: 80px; /* Ruang untuk header fixed */
}

/* --- HERO SECTION (Bagian Atas) --- */
.hero-section {
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

    /* BACKGROUND HERO */
    /* Overlay gelap + Gambar bg.jpg */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('bg.jpg');
    background-size: cover;
    background-position: center;
    
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* TOMBOL AKSI */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #07afb1;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 175, 177, 0.4);
}

.cta-button:hover {
    background-color: #058e90;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(7, 175, 177, 0.6);
}

/* --- ABOUT SECTION (Bagian Bawah) --- */
.about-section {
    /* Background gambar teknologi dari Unsplash */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/1600x900/?code,laptop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efek Parallax Keren */
    
    padding: 80px 20px;
    text-align: center;
    scroll-margin-top: 80px; /* Jarak agar judul tidak tertutup header */
    flex: 1; 
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 2.5em;
    margin-bottom: 30px;
    border-bottom: 3px solid #07afb1;
    display: inline-block;
    padding-bottom: 10px;
}

.about-section p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #f0f0f0; /* Putih agak abu agar tidak sakit mata */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

/* ANIMASI FADE IN */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}