/* ======================= GLOBAL STYLES & VARIABLES ======================= */
:root {
    --primary-color: #2c3e50; /* Biru Gelap */
    --secondary-color: #27ae60; /* Hijau */
    --background-color: #ffffff;
    --background-highlight: #f8f9fa; /* Abu-abu terang */
    --text-color: #34495e;
    --text-light: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
}

/* ======================= UTILITY & REUSABLE CLASSES ======================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.button-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section--highlight {
    background-color: var(--background-highlight);
}

.section__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section__content {
    max-width: 700px;
}

/* ======================= HEADER & NAVIGATION ======================= */
.header {
    background-color: var(--background-color);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav__link {
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

/* ======================= HERO SECTION ======================= */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero__container {
    text-align: center;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ======================= PRODUCT CARD ======================= */
.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 40px;
    margin-top: 2rem;
    max-width: 600px;
    text-align: center;
}

.product-card__icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
}

.product-card__description {
    margin: 1rem 0;
}

.product-card__features {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 1.5rem 0;
}

.product-card__features li {
    margin-bottom: 0.5rem;
}

.product-card__features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ======================= CONTACT SECTION ======================= */
.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.contact-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.contact-item i {
    font-size: 1.5rem;
}

/* ======================= FOOTER ======================= */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
}

/* ======================= RESPONSIVE - MEDIA QUERIES ======================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .contact-details {
        flex-direction: column;
        align-items: stretch;
    }
}
