
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 40px;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s;
}

.profile-img:hover img {
    transform: scale(1.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.title {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Konten utama */
.content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
}

/* Sidebar */
.sidebar {
    background-color: #34495e;
    color: white;
    padding: 30px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.sidebar .contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.sidebar .contact-info a:hover {
    color: #3498db;
    text-decoration: underline;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.skills-list {
    list-style-type: none;
}

.skills-list li {
    margin-bottom: 10px;
}

.skills-list li:hover .skill-level {
    background-color: #1abc9c;
    transition: background-color 0.3s;
}

.skill-bar {
    background-color: rgba(255, 255, 255, 0.2);
    height: 6px;
    border-radius: 3px;
    margin-top: 5px;
}

.skill-level {
    height: 100%;
    border-radius: 3px;
    background-color: #3498db;
}

.language-list li {
    margin-bottom: 10px;
}

/* Main content */
.main-content {
    padding: 30px;
}

.main-section {
    margin-bottom: 30px;
}

.main-section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-item,
.education-item {
    margin-bottom: 20px;
}

.item-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
}

.item-subtitle {
    color: #3498db;
    margin: 5px 0;
}

.item-date {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 8px;
    display: inline-block;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
}

.project-list {
    list-style-type: none;
    padding-left: 20px;
}

.project-list li {
    margin-bottom: 10px;
    position: relative;
}

.project-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* Responsif */
@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    header {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Highlight untuk backend skills */
.backend-skill {
    color: #3498db;
    font-weight: bold;
}
