/* ===== GLOBAL RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;

    /* Moving Gradient Background */
    background: linear-gradient(270deg, #FFFBDE, #91C8E4, #749BC2, #4682A9);
    background-size: 800% 800%;
    animation: gradientMove 20s ease infinite;

    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #000000;
    line-height: 1.6;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: #000000;
}

a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    color: #1fab89;
}

section {
    padding: 60px 0;
}

/* ===== NAVBAR ===== */
.custom-navbar {
    background-color: #000000;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 15px;
}

/* ===== SHOW FARM SECTION ===== */
.bio_section {
    background: transparent;
}

.bio_describe h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000000;
}

.bio_describe p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #000000;
}

.bio_images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bio_images img {
    border-radius: 8px;
    object-fit: cover;
}

/* ===== ANIMATED IMAGES ===== */
.animated-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 300px; /* adjust ikut size */
    height: 200px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards;
}

.animated-img:nth-child(1) {
    animation-delay: 0.5s;
}

.animated-img:nth-child(2) {
    animation-delay: 1.2s;
}

.animated-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.animated-img:hover img {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Keyframes untuk fade-up */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
.footer-obf {
    background: linear-gradient(270deg, #FFFBDE, #91C8E4, #749BC2, #4682A9);
    background-size: 800% 800%;
    animation: gradientMove 20s ease infinite;

    color: #000000;
    padding: 40px 0;
    font-size: 15px;
}

.footer-obf a {
    color: #000000;
}

.footer-obf a:hover {
    color: #1fab89;
}

.footer-obf ul li i {
    color: #1fab89;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: flex-end;
}

.footer-logo {
    width: 100px;
    border-radius: 50%;
    background-color: #1b3b32;
    padding: 10px;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.float-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 999;
    transition: background 0.3s ease, transform 0.2s ease;
}

.float-whatsapp:hover {
    background: #1ebe5b;
    transform: scale(1.1);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #000000;
    color: #ffffff;
    font-size: 20px;
    padding: 12px 15px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    background-color: #1fab89;
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px) {
    .bio_row {
        flex-direction: column;
    }
    .bio_images img {
        max-width: 90%;
        margin-bottom: 10px;
    }
    .animated-img {
        width: 90%;
        height: auto;
    }
}
