/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
}

/* Header & Navbar */
header {
    background-color: #ffffff;
    padding: 1rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: #333;
}

.logo h1 span {
    color: #007bff; /* Warna aksen biru */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Sembunyikan toggle menu di desktop */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10% 0 10%;
    background: linear-gradient(135deg, #f4f7f6 60%, #e9ecef 100%);
}

.hero-content {
    max-width: 600px;
}

.hero-content h4 {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-content h3 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.hero-content h3 span {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.hero-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Buttons */
.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.btn:hover {
    background-color: #0056b3;
    color: white;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
}

/* Hero Image */
.hero-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Bentuk unik (blob) */
    background-color: #007bff;
    box-shadow: 20px 20px 60px #d1d9e6, -20px -20px 60px #ffffff;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
        height: auto;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }
}
/* About Section */
.about {
    padding: 100px 10%;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
}

.underline {
    width: 70px;
    height: 4px;
    background-color: #007bff;
    margin: 10px auto;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.personal-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

.info-item i {
    color: #007bff;
}

/* Skills Bar */
.about-skills h3 {
    margin-bottom: 20px;
    color: #333;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #007bff;
    border-radius: 5px;
}
/* Projects Section */
.projects {
    padding: 100px 10%;
    background-color: #f8f9fa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 25px;
}

.project-info {
    padding: 20px;
}

.category {
    font-size: 0.8rem;
    color: #007bff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.project-info h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: #333;
}

.project-info p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}
/* Contact Section */
.contact {
    padding: 100px 10%;
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    color: #777;
    margin-bottom: 30px;
}

.info-details {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-details i {
    font-size: 1.2rem;
    color: #fff;
    background-color: #007bff;
    padding: 12px;
    border-radius: 10px;
}

.info-details h4 {
    color: #333;
    margin-bottom: 3px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    font-size: 1.2rem;
    color: #007bff;
    background: #f0f7ff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-media a:hover {
    background: #007bff;
    color: #fff;
}

/* Form Styling */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0,123,255,0.1);
}

/* Footer */
footer {
    padding: 30px;
    text-align: center;
    background-color: #333;
    color: #fff;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Responsive About */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }
}
