* {
    box-sizing: border-box;
}

/* BACKGROUND */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f2027;
    background-image:
        linear-gradient(135deg, rgba(33,150,243,0.15), rgba(0,0,0,0.4)),
        radial-gradient(circle at top left, #1e88e5, transparent 40%),
        radial-gradient(circle at bottom right, #42a5f5, transparent 40%);
    background-attachment: fixed;
}

/* CONTAINER */
.container {
    max-width: 900px;
    background-color: #ffffff;
    margin: 50px auto;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

nav a {
    text-decoration: none;
    color: #1565c0;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #e3f2fd;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #1565c0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* JUDUL */
h1 {
    text-align: center;
    color: #0d47a1;
}

h2 {
    color: #1565c0;
    border-left: 6px solid #1565c0;
    padding-left: 12px;
    margin-top: 35px;
}

/* FOTO PROFIL */
.profil {
    display: block;
    margin: 30px auto;
    width: 180px;
    border-radius: 50%;
    border: 6px solid #1565c0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* TEKS */
p {
    line-height: 1.9;
    color: #333;
    text-align: justify;
}

/* LIST */
ul {
    margin-left: 25px;
}

li {
    margin-bottom: 8px;
}

/* GALERI */
.galeri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.galeri img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.galeri img:hover {
    transform: scale(1.05);
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 45px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}

/* RESPONSIVE HP */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 22px;
    }

    nav {
        flex-direction: column;
        gap: 12px;
    }

    .profil {
        width: 140px;
    }
}

/* TOMBOL WHATSAPP */
.wa-button {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 25px;
    background-color: #25D366;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.wa-button:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

/* LIGHTBOX FOTO (TANPA JS) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox:target {
    display: flex;
}

.lightbox .close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
