/* =====================================
   1. PENGATURAN DASAR
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: Arial, sans-serif;
    background: #F7F0E7;
    color: #49372D;
    line-height: 1.7;
}

/* =====================================
   2. NAVIGASI
===================================== */
.menu {
    width: 100%;
    background: #FFF9F1;
    padding: 18px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #E7D3BC;
    box-shadow: 0 4px 15px rgba(74, 56, 48, 0.08);
}

.menu ul {
    list-style: none;
}

.menu li {
    display: inline-block;
    margin: 0 18px;
}

.menu a {
    display: inline-block;
    position: relative;
    color: #4A3830;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: #B8794B;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #B8794B;
}

.menu a:hover::after {
    width: 100%;
}

/* =====================================
   3. HOME / HEADER
===================================== */
.header {
    width: 100%;
    min-height: 420px;
    background-image:
        linear-gradient(
            rgba(45, 30, 22, 0.40),
            rgba(45, 30, 22, 0.58)
        ),
        url("../images/awal.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFF7ED;
    padding: 50px 20px;
}

.header-text {
    max-width: 850px;
}

.header-text p {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: bold;
}

.header-text h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 5vw, 55px);
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.header-text span {
    font-size: 16px;
    line-height: 1.8;
}

/* =====================================
   4. SIDEBAR
===================================== */
.sidebar {
    width: 100%;
    background: #EBD8C1;
    padding: 30px 8%;
    border-bottom: 1px solid #DEC5A8;
}

.sidebar h2 {
    font-family: Georgia, serif;
    font-size: 26px;
    margin-bottom: 8px;
}

.sidebar p {
    font-size: 15px;
    margin-bottom: 8px;
}

.sidebar span {
    font-size: 14px;
}

/* =====================================
   5. KONTEN UTAMA
===================================== */
.konten {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #F7F0E7;
    padding: 65px 8%;
}

/* =====================================
   6. ABOUT ME
===================================== */
.about {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #F8DDBB,
        #E8B98B
    );
    border: 1px solid #E7C49E;
    border-radius: 26px;
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    box-shadow: 0 12px 30px rgba(100, 65, 40, 0.10);
}

.about::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.20);
    top: -80px;
    left: -60px;
    pointer-events: none;
}

.about-text {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.about-text p:first-child {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 12px;
}

.about-text h1,
.hobbies h1,
.projects h1,
.goals h1 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-description {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 12px;
    color: #594438;
}

.about-image {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    background: #FFF7ED;
    border: 6px solid rgba(255, 250, 240, 0.85);
    box-shadow: 0 10px 25px rgba(74, 56, 48, 0.18);
    position: relative;
    z-index: 1;
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================
   7. HOBBIES
===================================== */
.hobbies {
    margin-bottom: 80px;
}

.hobbies > p,
.projects > p,
.goals > p,
.contact > p:first-child {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 12px;
}

.cards {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.card {
    flex: 1;
    min-width: 0;
    background: #FFF9F1;
    border-radius: 22px;
    overflow: hidden;
    padding-bottom: 25px;
    border: 1px solid #E8D5BF;
    box-shadow: 0 8px 20px rgba(74, 56, 48, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(74, 56, 48, 0.13);
}

.card-image {
    width: 100%;
    height: 230px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #E9D4BB;
}

.music {
    background-image: url("../images/musik.JPG");
}

.singing {
    background-image: url("../images/nyanyi.JPG");
}

.card h3,
.card span {
    display: block;
    margin-left: 22px;
    margin-right: 22px;
}

.card h3 {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.4;
    color: #49372D;
}

.card span {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #766055;
}

/* =====================================
   8. PROJECTS
===================================== */
.projects {
    margin-bottom: 80px;
}

.project-box {
    position: relative;
    background: linear-gradient(
        135deg,
        #FFF9F1,
        #F3E2CF
    );
    border: 1px solid #E8D2B8;
    border-radius: 22px;
    padding: 30px;
    margin-bottom: 22px;
    box-shadow: 0 7px 20px rgba(74, 56, 48, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(74, 56, 48, 0.12);
}

.project-number {
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: 2px;
    color: #A36C45;
    margin-bottom: 8px;
}

.project-box h2 {
    color: #49372D;
    margin-bottom: 10px;
    font-family: Georgia, serif;
    font-size: 23px;
}

.project-box > span {
    display: block;
    color: #5D493D;
    font-size: 15px;
    line-height: 1.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.project-tags span {
    display: inline-block;
    background: #EBD3B7;
    color: #79553D;
    border: 1px solid #DFC09D;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    line-height: 1.5;
}

/* =====================================
   9. MY FUTURE DREAM
   BAGIAN UTAMA, BUKAN KHUSUS MEDIA
===================================== */
.goals {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #E8BD91,
        #C99468
    );
    color: #4A3025;
    border: 1px solid #D8AB80;
    border-radius: 26px;
    padding: 50px 35px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 12px 30px rgba(100, 65, 40, 0.14);
}

.goals::before,
.goals::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 249, 241, 0.16);
    pointer-events: none;
}

.goals::before {
    width: 180px;
    height: 180px;
    top: -90px;
    left: -45px;
}

.goals::after {
    width: 140px;
    height: 140px;
    bottom: -75px;
    right: -25px;
}

.goals > p,
.goals h1,
.goals > span {
    position: relative;
    z-index: 1;
}

.goals > p {
    color: #704B34;
}

.goals h1 {
    color: #49372D;
    margin: 12px 0 20px;
}

.goals > span {
    display: block;
    color: #49372D;
    font-size: 15px;
    line-height: 1.9;
    max-width: 750px;
    margin: 0 auto 12px;
}

/* =====================================
   10. CONTACT INSTAGRAM
   BAGIAN UTAMA, BUKAN KHUSUS MEDIA
===================================== */
.contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #FFF9F1,
        #F0DDC8
    );
    color: #4A3830;
    border: 1px solid #E4CBB0;
    border-radius: 26px;
    padding: 45px 30px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 10px 28px rgba(74, 56, 48, 0.09);
}

.contact::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(201, 148, 104, 0.12);
    top: -75px;
    right: -35px;
    pointer-events: none;
}

.contact > p,
.contact h2,
.contact a {
    position: relative;
    z-index: 1;
}

.contact > p:first-child {
    color: #9B7155;
}

.contact h2 {
    color: #4A3830;
    font-family: Georgia, serif;
    font-size: 32px;
    line-height: 1.3;
    margin: 10px 0 18px;
}

.contact .contact-description {
    color: #766055;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 auto 25px;
    max-width: 600px;
}

.contact a {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #966746,
        #70452F
    );
    color: #FFFAF3;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 6px 14px rgba(74, 48, 37, 0.18);
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact a:hover {
    background: #604331;
    transform: translateY(-3px);
    box-shadow: 0 9px 18px rgba(74, 48, 37, 0.22);
}

/* =====================================
   11. FOOTER
===================================== */
.footer {
    width: 100%;
    background: linear-gradient(
        135deg,
        #EBD4B8,
        #D9B28D
    );
    color: #49372D;
    text-align: center;
    padding: 45px 20px;
    border-top: 1px solid #D7B995;
}

.footer h2 {
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.footer p {
    font-size: 14px;
    margin-top: 8px;
}

/* =====================================
   12. TAMPILAN TABLET
===================================== */
@media (max-width: 900px) {
    .konten {
        padding: 45px 5%;
    }

    .about {
        padding: 35px;
        gap: 25px;
    }

    .about-image {
        width: 210px;
        height: 210px;
    }

    .menu li {
        margin: 0 12px;
    }
}

/* =====================================
   13. TAMPILAN HP
   HANYA PENYESUAIAN UKURAN
===================================== */
@media (max-width: 600px) {
    html {
        scroll-padding-top: 100px;
    }

    .menu {
        padding: 12px 5px;
    }

    .menu li {
        margin: 5px 6px;
    }

    .menu a {
        font-size: 12px;
    }

    .header {
        min-height: 320px;
        padding: 45px 20px;
    }

    .header-text p {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .header-text span {
        font-size: 14px;
    }

    .sidebar {
        padding: 25px 6%;
    }

    .konten {
        padding: 40px 6%;
    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 22px;
        gap: 24px;
        margin-bottom: 55px;
    }

    .about-image {
        width: 180px;
        height: 180px;
    }

    .about-text h1,
    .hobbies h1,
    .projects h1,
    .goals h1 {
        font-size: 30px;
    }

    .about-description,
    .project-box > span,
    .goals > span {
        font-size: 14px;
    }

    .hobbies,
    .projects {
        margin-bottom: 55px;
    }

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 100%;
    }

    .card-image {
        height: 210px;
    }

    .project-box {
        padding: 24px 20px;
    }

    .project-box h2 {
        font-size: 21px;
    }

    /* Goals tetap punya desain utama di luar media query */
    .goals {
        padding: 32px 22px;
    }

    .goals h1 {
        font-size: 28px;
    }

    /* Contact tetap punya desain utama di luar media query */
    .contact {
        padding: 32px 20px;
    }

    .contact h2 {
        font-size: 26px;
    }

    .footer {
        padding: 35px 15px;
    }

    .footer h2 {
        font-size: 24px;
    }
}