:root {
    --primary: #c70000;       /* Merah utama */
    --primary-dark: #a00000;  /* Merah gelap untuk hover */
    --secondary: #ffffff;     /* Putih background */
    --text-dark: #1a1a1a;
    --text-light: #666;
    --card-bg: rgba(255, 255, 255, 0.9);
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    background: var(--secondary);
    color: var(--text-dark);
    line-height: 1.6;
}

/* HEADER */
header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
nav .logo img {
    height: 36px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}
nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
nav a:hover::after,
nav a.active::after {
    width: 100%;
}
nav a.active {
    color: var(--primary);
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 90px 20px 60px;
    animation: fadeIn 1s ease forwards;
}
.hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 12px;
    font-weight: 600;
}
.hero p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 640px;
    margin: auto;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 60px 0;
}
.card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-top: 4px solid var(--primary);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.card h3 {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-dark);
}
.card p {
    color: var(--text-light);
    font-size: 15px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #fff;
    background: var(--primary);
    margin-top: 40px;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
    nav ul {
        gap: 16px;
    }
    .hero {
        padding: 60px 20px 40px;
    }
}
