/* Reset dan Dasar - Gaya Neubrutalism */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace; /* Font brutalist klasik */
}

:root {
    /* Palet warna Neubrutalism */
    --primary: #000000;      /* Hitam pekat */
    --secondary: #ffffff;    /* Putih bersih */
    --accent: #ff0000;       /* Merah kontras (opsional) */
    --light-gray: #f0f0f0;
    --dark-gray: #333333;
}

body {
    background-color: var(--secondary);
    color: var(--primary);
    line-height: 1.5;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Judul Section - Brutal tapi Rapi */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* Header - Brutal & Fungsional */
header {
    background: var(--secondary);
    border-bottom: 4px solid var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section - Brutal Tapi Teratur */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--secondary);
    padding-top: 80px;
}

.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

/* Tombol Brutal - Kotak, Tebal, Tanpa Radius */
.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary);
    color: var(--secondary);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 4px solid var(--primary);
    font-size: 1rem;
    /* Tidak ada border-radius = brutal murni */
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 4px solid var(--primary);
}

.btn-novel {
    background: var(--secondary);
    color: var(--primary);
    border: 4px solid var(--primary);
}

/* Foto Profil - Kotak, Bukan Bulat */
.hero-image {
    flex: 1;
}

.profile-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border: 4px solid var(--primary);
    /* Tidak ada border-radius */
}

/* Tentang Saya */
#about {
    background: var(--light-gray);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h4 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 4px solid var(--primary);
}

/* Skill - Brutal Progress Bar */
#skills {
    background: var(--secondary);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.skills-container {
    max-width: 700px;
    margin: 0 auto;
}

.skill-item {
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--primary);
    color: var(--secondary);
    border: 3px solid var(--primary);
}

.skill-name {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-bar-container {
    width: 100%;
}

.skill-bar {
    height: 20px;
    background: var(--light-gray);
    border: 3px solid var(--primary);
    margin-bottom: 8px;
}

.skill-progress {
    height: 100%;
    background: var(--primary);
    width: 0;
    transition: width 1.5s ease-in-out;
}

.skill-percentage {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project - Kartu Brutal */
#projects {
    background: var(--light-gray);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--secondary);
    border: 4px solid var(--primary);
    padding: 25px;
}

.project-img {
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    background: var(--primary);
    color: var(--secondary);
    padding: 4px 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border: 2px solid var(--primary);
}

/* Pengalaman - Timeline Brutal */
#experience {
    background: var(--secondary);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 0 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 25px;
    background: var(--light-gray);
    border: 4px solid var(--primary);
    margin-bottom: 30px;
}

.timeline-content h3 {
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content .date {
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    top: 30px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

/* Kontak */
#contact {
    background: var(--light-gray);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary);
    font-size: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 3px solid var(--primary);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    background: var(--secondary);
    color: var(--primary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Media Sosial */
#social {
    background: var(--primary);
    color: var(--secondary);
    text-align: center;
    padding: 60px 0;
}

.social-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--secondary);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--secondary);
    text-align: center;
    padding: 25px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animasi Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 5px;
    }
    
    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .profile-img,
    .about-image img {
        width: 280px;
        height: 280px;
    }
}