/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #667eea;
    border-bottom: 3px solid #667eea;
    padding-bottom: 5px;
}

/* Section Umum */
.section {
    max-width: 1200px;
    margin: 100px auto 80px;
    padding: 0 2rem;
    display: none;
}

/* Home / Hero */
#home {
    display: block;
    text-align: center;
    color: white;
    padding: 120px 20px 100px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: #ffd700;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.section-title {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 25px 20px 20px;
    transform: translateY(40%);
    transition: all 0.4s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

/* Tugas Section */
.tugas-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tugas-item {
    padding: 22px;
    margin-bottom: 20px;
    border-left: 6px solid #667eea;
    background: #f8f9ff;
    border-radius: 10px;
    transition: all 0.3s;
}

.tugas-item:hover {
    transform: translateX(10px);
}

.tugas-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.status.done { background: #d4edda; color: #155724; }
.status.progress { background: #fff3cd; color: #856404; }
.status.pending { background: #f8d7da; color: #721c24; }

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.2rem;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .section {
        padding: 0 1rem;
    }
}