html {
    scroll-behavior: smooth;
}

#bagian-profile {
    scroll-margin-top: 85px; /* Sesuai dengan tinggi header oranye kamu (85px) */

}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Georgia, serif;
    background:#166f69;
    overflow-x:hidden;
}

/* HEADER */

header{
    width:100%;
    height:85px;
    background:#d85724;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 5%;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:60px;
}

.logo h2{
    font-family : TT-Ramillas-Trl-Variable-Roman;
    color:white;
    font-size:27px;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    color:white;
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#ffe08a;
}

/* BANNER */

.profile-banner{
    position:relative;
    width:100%;
}

.profile-banner img{
    width:100%;
    display:block;
}

.profile-banner h1{
    position:absolute;
    bottom:30px;
    left:50px;

    color:white;
    font-size:48px;
    text-shadow:2px 2px 6px rgba(0,0,0,.5);
}

/* CONTENT */

.profile-content{
    background:#166f69;

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:60px;

    padding:50px 100px;
}

.profile-content h2{
    color:white;
    font-size:55px;
    margin-bottom:12px;
    margin-top:10px;
}

.profile-content p{
    font-family :Book-Antiqua;
    color:white;
    font-size:15px;
    line-height:25px;
    text-align:justify;
}
.quote{
    display:block;
    color:#f05a28;
    font-size:47px;
    font-weight:bold;
    font-style:italic;
    line-height:1.2;
    text-shadow:2px 2px 0 #fff;
    margin-top: 18px;
}
/* FOOTER */

footer{

    color:white;
    text-align:center;
    padding:15px;
}

.footer-pattern{
    width:100%;
    display:block;
}



/* ==========================================
   ANIMASI FADE IN DARI BAWAH (HEADER DIAM)
   ========================================== */

/* 1. Definisikan gerakan dari bawah ke atas + fade in */
@keyframes fadeUpProfile {
    from {
        opacity: 0;
        transform: translateY(40px); /* Mulai dari 40px di bawah */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* Kembali ke posisi normal */
    }
}

/* 2. Pasang animasi ke semua elemen di bawah header */

.profile-content, 
footer, 
.footer-pattern {
    animation: fadeUpProfile 1s ease-out forwards;
}

