/* Dasar & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Navigasi */
header {
    background: #ffffff;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img { height: 45px; margin-right: 12px; }

.nav-menu { display: flex; list-style: none; }
.nav-menu li { margin-left: 25px; }
.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}
.nav-menu li a:hover { color: #007bff; }

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #333;
}

/* Hero Slider */
#home {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 { font-size: clamp(2rem, 8vw, 3.5rem); margin-bottom: 10px; }

/* Content Sections */
section:not(#home) { padding: 80px 20px; min-height: 80vh; text-align: center; }
#services { background: #f4f7f6; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    border-bottom: 5px solid #007bff;
}

.service-card i { font-size: 3rem; color: #007bff; margin-bottom: 20px; }

footer { background: #2c3e50; color: white; text-align: center; padding: 30px 0; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }
}