/* Reset Basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(15, 23, 42, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: #38bdf8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

.btn-nav {
    background-color: #38bdf8;
    color: #0f172a !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: #0284c7;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 8% 80px;
    gap: 50px;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background-color: #1e293b;
    color: #38bdf8;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 15px 0 10px;
    color: #ffffff;
}

.subtitle {
    font-size: 1.3rem;
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 15px;
}

.desc {
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn {
    background-color: #38bdf8;
    color: #0f172a;
}

.primary-btn:hover {
    background-color: #0284c7;
}

.secondary-btn {
    border: 1px solid #334155;
    color: #f8fafc;
}

.secondary-btn:hover {
    background-color: #1e293b;
}

.hero-image img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #38bdf8;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

/* Sections General */
section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.section-title span {
    color: #38bdf8;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.skill-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 2.5rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.skill-card h3 {
    margin-bottom: 10px;
}

.skill-card p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background-color: #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Experience / Timeline */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    border-left: 2px solid #38bdf8;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: #38bdf8;
    border-radius: 50%;
    position: absolute;
    left: -27px;
    top: 5px;
}

.date {
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
}

.timeline-content h3 {
    margin: 5px 0 2px;
}

.timeline-content h4 {
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #020617;
    text-align: center;
    padding: 60px 8% 30px;
    border-top: 1px solid #1e293b;
}

.footer-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-content p {
    color: #94a3b8;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.socials a {
    color: #f8fafc;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: #38bdf8;
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive UI */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    nav ul {
        display: none; /* Sederhana untuk tampilan mobile */
    }
}