* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #020617;
    color: #e5e7eb;
    overflow-x: hidden;
}

/* HERO */
.hero {
    height: 100vh;
    background: radial-gradient(circle at top, #2563eb, #020617);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero h2 {
    margin-top: 10px;
    color: #93c5fd;
}

.btn {
    margin-top: 30px;
    padding: 14px 32px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

/* SECTION */
section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    color: #60a5fa;
    margin-bottom: 20px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: #0f172a;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37,99,235,0.4);
}

/* GALLERY (INI YANG DIPERBAIKI) */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.img {
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    background: #0f172a;
    transition: 0.4s;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.img:hover img {
    transform: scale(1.15);
}

.img:hover {
    box-shadow: 0 20px 40px rgba(37,99,235,0.4);
}

/* FOOTER */
footer {
    background: #020617;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #1e293b;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    animation: fade 1.5s forwards;
}

.fade-in.delay {
    animation-delay: 0.6s;
}

@keyframes fade {
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
