/* ==========================================
   GOOGLE FONT
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#FAF6F0; /* Latar belakang krem muda */
    color:#333; /* Warna teks utama */
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

/* ==========================================
   HEADER
========================================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 8%;
    background:rgba(250,246,240,.92); /* Latar belakang header transparan */
    backdrop-filter:blur(10px); /* Efek blur di belakang header */
    z-index:999;
    transition:.4s;
}

.logo h2{
    font-size:34px;
    color:#8B6B4A; /* Warna cokelat tua untuk logo */
    font-family:'Cormorant Garamond',serif;
}

nav ul{
    display:flex;
    gap:35px;
}

nav ul li a{
    color:#555;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#B88D64; /* Warna cokelat muda saat di-hover */
}

/* ==========================================
   HERO
========================================== */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;
    padding:150px 8% 80px;
}

.hero-text{
    flex:1;
}

.hero-text span{
    letter-spacing:4px;
    color:#B88D64;
    font-size:14px;
}

.hero-text h1{
    font-size:95px;
    font-family:'Cormorant Garamond',serif;
    color:#2F241D; /* Warna cokelat kehitaman untuk judul */
    margin:20px 0;
    line-height:95px;
}

.hero-text h3{
    color:#8B6B4A;
    font-size:28px;
    font-weight:500;
}

.hero-text p{
    margin-top:25px;
    color:#666;
    line-height:32px;
    max-width:600px;
}

/* ==========================================
   BUTTON
========================================== */

.hero-button{
    margin-top:40px;
}

.btn{
    display:inline-block;
    padding:16px 38px;
    background:#B88D64; /* Warna tombol cokelat muda */
    color:white;
    border-radius:40px;
    transition:.3s;
}

.btn:hover{
    background:#9D7752; /* Warna tombol cokelat lebih tua saat di-hover */
    transform:translateY(-5px);
}

.btn2{
    display:inline-block;
    padding:16px 38px;
    border:2px solid #B88D64;
    color:#B88D64;
    border-radius:40px;
    margin-left:15px;
    transition:.3s;
}

.btn2:hover{
    background:#B88D64;
    color:white;
}

/* ==========================================
   HERO IMAGE
========================================== */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:430px;
    height:560px;
    object-fit:cover;
    /* Efek lengkungan asimetris untuk gambar hero */
    border-radius:220px 220px 20px 20px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
    transition:.4s;
}

.hero-image img:hover{
    transform:scale(1.03);
}

/* ==========================================
   SECTION TITLE
========================================== */

.title{
    text-align:center;
    margin-bottom:70px;
}

.title span{
    color:#B88D64;
    letter-spacing:4px;
    font-size:14px;
}

.title h2{
    font-family:'Cormorant Garamond',serif;
    font-size:58px;
    color:#2F241D;
    margin-top:15px;
}

/* ==========================================
   ABOUT
========================================== */

.about{
    padding:120px 8%;
    background:#FFFDF9;
}

.about-container{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:70px;
    align-items:center;
}

.about-image{
    display:flex;
    justify-content:center;
}

.about-image img{
    width:380px;
    height:500px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.about-content h3{
    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    color:#2F241D;
    margin-bottom:20px;
}

.about-content p{
    color:#666;
    line-height:30px;
    margin-bottom:18px;
}

.about-info{
    margin-top:35px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.about-info div{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.about-info strong{
    display:block;
    color:#B88D64;
    margin-bottom:8px;
}

.about-info span{
    color:#444;
}

/* ==========================================
   EDUCATION
========================================== */

.education{
    padding:120px 8%;
}

.education-container{
    display:flex;
    justify-content:center;
}

.edu-card{
    max-width:700px;
    text-align:center;
    background:#fff;
    padding:50px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.edu-card:hover{
    transform:translateY(-10px);
}

.edu-card i{
    font-size:60px;
    color:#B88D64;
    margin-bottom:20px;
}

.edu-card h3{
    font-size:34px;
    font-family:'Cormorant Garamond',serif;
    margin-bottom:10px;
}

.edu-card h4{
    color:#B88D64;
    margin-bottom:20px;
}

.edu-card p{
    color:#666;
    line-height:30px;
}

/* ==========================================
   SKILLS
========================================== */

.skills{
    padding:120px 8%;
    background:#FFFDF9;
}

.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.skill-card{
    background:#fff;
    padding:35px;
    border-radius:22px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.skill-card:hover{
    transform:translateY(-10px);
}

.skill-card i{
    font-size:55px;
    color:#B88D64;
    margin-bottom:20px;
}

.skill-card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    margin-bottom:15px;
}

.skill-card p{
    color:#666;
    line-height:28px;
}

/* ==========================================
   PROJECTS
========================================== */

.projects{
    padding:120px 8%;
}

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card .number{
    width:70px;
    height:70px;
    background:#EFE1D2;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    color:#B88D64;
    font-weight:bold;
    margin-bottom:25px;
}

.project-card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    margin-bottom:15px;
}

.project-card p{
    color:#666;
    line-height:30px;
}

.project-card span{
    display:inline-block;
    margin-top:20px;
    color:#B88D64;
    font-weight:600;
}

/* ==========================================
   EXPERIENCE
========================================== */

.experience{
    padding:120px 8%;
    background:#FAF6F0;
}

.experience-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.experience-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.experience-card:hover{
    transform:translateY(-10px);
}

.experience-card i{
    font-size:55px;
    color:#B88D64;
    margin-bottom:20px;
}

.experience-card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    margin-bottom:15px;
}

.experience-card p{
    color:#666;
    line-height:28px;
}

/* ==========================================
   SERVICES
========================================== */

.services{
    padding:120px 8%;
    background:#FFFDF9;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.service-card:hover{
    transform:translateY(-10px);
    background:#F7EFE7;
}

.service-card i{
    font-size:55px;
    color:#B88D64;
    margin-bottom:20px;
}

.service-card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    margin-bottom:15px;
}

.service-card p{
    color:#666;
    line-height:28px;
}

/* ==========================================
   ACHIEVEMENT
========================================== */

.achievement{
    padding:100px 8%;
    background:#EFE1D2;
}

.achievement-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.achievement-box{
    text-align:center;
}

.achievement-box h2{
    font-size:60px;
    color:#8B6B4A;
    font-family:'Cormorant Garamond',serif;
    margin-bottom:10px;
}

.achievement-box p{
    color:#555;
    font-size:17px;
}

/* ==========================================
   CONTACT
========================================== */

.contact{
    padding:120px 8%;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-box{
    display:flex;
    align-items:center;
    gap:20px;
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-box i{
    width:60px;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#EFE1D2;
    color:#B88D64;
    font-size:22px;
}

.contact-box h3{
    margin-bottom:5px;
    color:#2F241D;
}

.contact-box p{
    color:#666;
}

/* ==========================================
   CONTACT FORM
========================================== */

.contact-form{
    background:#fff;
    padding:35px;
    border-radius:25px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-family:Poppins,sans-serif;
    outline:none;
}

.contact-form textarea{
    resize:none;
}

.contact-form button{
    padding:16px;
    border:none;
    border-radius:40px;
    background:#B88D64;
    color:#fff;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.contact-form button:hover{
    background:#9D7752;
}

/* ==========================================
   FOOTER
========================================== */

footer{
    background:#2F241D;
    color:#fff;
    padding:70px 8%;
}

.footer-container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
}

.footer-about h2{
    font-size:40px;
    font-family:'Cormorant Garamond',serif;
    margin-bottom:20px;
}

.footer-about p{
    color:#ddd;
    line-height:30px;
}

.footer-links ul{
    margin-top:20px;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#ddd;
    transition:.3s;
}

.footer-links a:hover{
    color:#D8B892;
}

.footer-social .social{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.footer-social a{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#B88D64;
    color:white;
    border-radius:50%;
    transition:.3s;
}

.footer-social a:hover{
    transform:translateY(-5px);
    background:#D8B892;
}

/* ==========================================
   COPYRIGHT
========================================== */

.copyright{
    background:#241B15;
    color:#ddd;
    text-align:center;
    padding:20px;
}

/* ==========================================
   BACK TO TOP
========================================== */

.scroll-top{
    position:fixed;
    right:30px;
    bottom:30px;
    width:50px;
    height:50px;
    background:#B88D64;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    transition:.3s;
}

.scroll-top:hover{
    background:#9D7752;
    transform:translateY(-5px);
}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#F8F4EE;
}

::-webkit-scrollbar-thumb{
    background:#B88D64;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#9D7752;
}

/* ==========================================
   HOVER EFFECT
========================================== */

.skill-card,
.project-card,
.service-card,
.edu-card,
.contact-box{
    transition:all .35s ease;
}

.skill-card:hover,
.project-card:hover,
.service-card:hover,
.edu-card:hover,
.contact-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* ==========================================
   IMAGE EFFECT
========================================== */

.about-image img,
.hero-image img{
    transition:.5s;
}

.about-image img:hover,
.hero-image img:hover{
    transform:scale(1.03);
}

/* ==========================================
   FADE ANIMATION
========================================== */

.fade{
    opacity:0;
    transform:translateY(60px);
    transition:1s;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}

/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width:991px){
    header{
        padding:20px 6%;
    }

    nav ul{
        gap:20px;
    }

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        gap:60px;
    }

    .hero h1{
        font-size:70px;
        line-height:75px;
    }

    .hero-image img{
        width:350px;
        height:450px;
    }

    .about-container{
        grid-template-columns:1fr;
    }

    .contact-container{
        grid-template-columns:1fr;
    }

    .footer-container{
        grid-template-columns:1fr 1fr;
    }

    .achievement-container{
        grid-template-columns:1fr;
    }
}

/* ==========================================
   RESPONSIVE MOBILE
========================================== */

@media (max-width:768px){
    header{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        padding:150px 8% 80px;
    }

    .hero-text h1{
        font-size:55px;
        line-height:60px;
    }

    .hero-text h3{
        font-size:22px;
    }

    .hero-image img{
        width:280px;
        height:360px;
    }

    .title h2{
        font-size:42px;
    }

    .about-info{
        grid-template-columns:1fr;
    }

    .skills-container,
    .project-container,
    .service-container,
    .experience-container{
        grid-template-columns:1fr;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-social .social{
        justify-content:center;
    }

    .btn,
    .btn2{
        display:block;
        margin:10px auto;
        width:220px;
    }
}

/* ==========================================
   LARGE SCREEN
========================================== */

@media (min-width:1400px){
    .hero,
    .about,
    .education,
    .skills,
    .projects,
    .experience,
    .services,
    .achievement,
    .contact{
        max-width:1400px;
        margin:auto;
    }
}

/* ==========================================
   SMOOTH TRANSITION
========================================== */

section{
    transition:.5s;
}