/* Reset & Gaya Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fcfbf9;
    color: #2c2a29;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografi */
h1, h2, h3 {
    font-weight: 400;
    letter-spacing: 1px;
    color: #1a1918;
}

a {
    color: #8c7853;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a1918;
}

/* Navigasi / Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 10%;
    background-color: rgba(252, 251, 249, 0.95);
    border-bottom: 1px solid #e8e5e0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    background: linear-gradient(to bottom, #fcfbf9, #f5f2eb);
    border-bottom: 1px solid #e8e5e0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    font-style: italic;
    color: #6e6a64;
    max-width: 600px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 30px;
    border: 1px solid #8c7853;
    background: transparent;
    color: #8c7853;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #8c7853;
    color: #fcfbf9;
}

/* Pengaturan Konten Umum */
section {
    padding: 120px 10%;
    border-bottom: 1px solid #e8e5e0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: #8c7853;
    margin: 20px auto 0;
}

/* About Section & Foto (DIPERBARUI) */
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.about-image img {
    width: 250px;
    height: 250px;
    object-fit: cover; /* Agar foto tidak gepeng */
    border-radius: 50%; /* Membuat foto jadi bulat */
    border: 8px solid #ffffff; /* Bingkai putih tebal */
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Efek bayangan elegan */
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05); /* Sedikit membesar saat disorot mouse */
}

.about-content {
    flex: 1;
    text-align: justify;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 25px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background: #ffffff;
    border: 1px solid #e8e5e0;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.portfolio-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.portfolio-item p {
    font-size: 0.95rem;
    color: #6e6a64;
    margin-bottom: 25px;
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1a1918;
    color: #a6a095;
    text-align: center;
    padding: 40px 10%;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Responsif (Mobile Friendly) */
@media (max-width: 768px) {
    header {
        padding: 20px 5%;
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
    }
    nav ul li {
        margin: 0 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 80px 5%;
    }
    
    /* Perubahan untuk Foto di HP */
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .about-content {
        text-align: center; /* Teks jadi rata tengah di layar kecil */
    }
}