/* ========================================================================== */
/* 1. RESET & GLOBAL STYLES */
/* ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFF0EB; /* Warna background peach muda */
    color: #333;
}

/* ========================================================================== */
/* 2. NAVBAR (FIXED & SCROLL) */
/* ========================================================================== */
/* Navbar Default (Laptop) */
nav.navbar-fixed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

/* Navbar Default Biasa (Backup) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

.img-logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #F85F14;
}

/* --- STATE SAAT DI-SCROLL --- */
nav.navbar-fixed.scrolled {
    background-color: rgba(0, 0, 0, 0.85); /* Hitam Transparan */
    padding: 10px 80px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

nav.navbar-fixed.scrolled .logo { color: #fff; }
nav.navbar-fixed.scrolled .nav-links a { color: #ddd; }
nav.navbar-fixed.scrolled .nav-links a:hover { color: #F85F14; }
nav.navbar-fixed.scrolled .menu-toggle span { background-color: white; }

.btn-active {
    background-color: #F85F14;
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

/* --- HAMBURGER MENU (Hidden di Desktop) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    z-index: 999;
}

.menu-toggle input {
    position: absolute;
    width: 40px; height: 40px; left: -5px; top: -10px;
    opacity: 0; cursor: pointer; z-index: 2;
}

.menu-toggle span {
    display: block; width: 28px; height: 3px;
    background-color: #333; border-radius: 3px; transition: all 0.3s;
}

.menu-toggle input:checked ~ span:nth-child(2) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle input:checked ~ span:nth-child(3) { opacity: 0; }
.menu-toggle input:checked ~ span:nth-child(4) { transform: rotate(-45deg) translate(5px, -6px); }


/* ========================================================================== */
/* 3. HERO SECTION (BACKGROUND IMAGE) */
/* ========================================================================== */
.hero-bg {
    background-image: url('../assets/img/fotbar_tamankampus.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out;
}

.hero-content {
    text-align: center; max-width: 700px; padding: 20px; color: white;
    transform: translateY(20px); transition: transform 0.5s ease;
}

/* Hover Effect Trigger */
.hero-bg:hover .hero-overlay { opacity: 1; }
.hero-bg:hover .hero-content { transform: translateY(0); }

.hero-content h1 {
    font-family: 'Merriweather', serif; font-size: 3.5rem;
    line-height: 1.2; margin-bottom: 20px; color: #ffffff;
}

.hero-content p {
    font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; color: #f0f0f0;
}

.cta-group {
    display: flex; justify-content: center; gap: 20px; margin-bottom: 20px;
}

.btn-primary {
    background-color: #F85F14; color: white; padding: 15px 30px;
    text-decoration: none; font-weight: 600; border-radius: 5px;
    display: inline-block; box-shadow: 0 4px 10px rgba(248, 95, 20, 0.3);
}

.btn-secondary {
    background-color: white; color: #F85F14; padding: 15px 30px;
    text-decoration: none; font-weight: 600; border-radius: 5px; display: inline-block;
}

.small-link {
    color: #ddd; text-decoration: none; font-size: 0.9rem;
    display: block; margin-top: 10px;
}
.small-link:hover { text-decoration: underline; color: #fff; }


/* ========================================================================== */
/* 4. SECTION STYLES (PROKER, ABOUT, PROFILE, TEAM, ACTIVITY) */
/* ========================================================================== */

/* --- PROKER --- */
.proker { background-color: #ffffff; padding: 100px 80px; display: flex; justify-content: center; }
.proker-container { display: flex; align-items: center; gap: 80px; max-width: 1200px; width: 100%; }
.proker-text { flex: 1; }
.proker-image { flex: 1; display: flex; justify-content: flex-end; }
.proker-text h2 { font-family: 'Merriweather', serif; font-size: 3.5rem; color: #1A1A2E; margin-bottom: 25px; }
.proker-text .subtitle { font-size: 1.1rem; color: #6699CC; font-weight: 500; margin-bottom: 30px; }
.desc-group { margin-bottom: 40px; }
.desc-group h4 { font-size: 1.1rem; color: #333; margin-bottom: 10px; }
.desc-group p { font-size: 1rem; color: #666; line-height: 1.6; max-width: 90%; }
.proker-image img { width: 100%; max-width: 500px; height: auto; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* --- ABOUT --- */
.about { background-color: #ffffff; padding: 100px 80px; display: flex; justify-content: center; }
.about-container { display: flex; align-items: center; gap: 80px; max-width: 1200px; width: 100%; }
.about-image { flex: 1; }
.about-image img { width: 90%; border-radius: 20px; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.about-text { flex: 1; }
.about-text h2 { font-family: 'Merriweather', serif; font-size: 3.5rem; color: #1A1A2E; margin-bottom: 25px; }
.about-desc { font-size: 1rem; color: #666; line-height: 1.6; margin-bottom: 30px; }
.about-points { margin-bottom: 40px; }
.point-item { margin-bottom: 20px; }
.point-item h4 { font-size: 1.1rem; color: #444; font-weight: 600; margin-bottom: 5px; }
.point-item p { font-size: 0.95rem; color: #777; line-height: 1.5; }

/* --- BUTTON PILL --- */
.btn-pill {
    background-color: #F85F14; color: white; padding: 15px 35px;
    border-radius: 50px; text-decoration: none; font-weight: 600;
    display: inline-block; transition: 0.3s; box-shadow: 0 4px 15px rgba(248, 95, 20, 0.3);
}
.btn-pill:hover { background-color: #d64d0d; transform: translateY(-2px); }

/* --- PROFILE --- */
.profile { background-color: #ffffff; padding: 80px 80px; text-align: center; }
.section-header { max-width: 700px; margin: 0 auto 60px auto; }
.section-header h2 { font-family: 'Merriweather', serif; font-size: 3rem; color: #1A1A2E; margin-bottom: 20px; }
.section-header p { color: #666; line-height: 1.6; }
.profile-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.profile-card {
    background-color: white; border: 1px solid #e0e0e0; padding: 30px;
    width: 300px; text-align: center; transition: 0.3s; border-radius: 8px;
}
.profile-card:hover { border-color: #F85F14; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.profile-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid #FFF0EB; }
.card-content h3 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: #333; margin-bottom: 5px; }
.card-content .major { color: #F85F14; font-weight: 600; font-size: 0.9rem; margin-bottom: 15px; }
.card-content .origin { color: #888; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; gap: 5px; }
.profile-footer { margin-top: 20px; }
.link-arrow { color: #F85F14; text-decoration: none; font-weight: 600; font-size: 1rem; transition: 0.3s; }
.link-arrow:hover { text-decoration: underline; color: #d64d0d; }

/* --- TEAM --- */
.team { background-color: #FAFAFA; padding: 80px 80px; text-align: center; }
.team-container { max-width: 1200px; margin: 0 auto; }
.team-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.team-card {
    background-color: white; border: 1px solid #e0e0e0; border-radius: 10px;
    padding: 30px; width: 320px; text-align: left; transition: 0.3s; position: relative; overflow: hidden;
}
.team-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: #F85F14; }
.team-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 2px solid #F85F14; }
.team-content h3 { font-family: 'Merriweather', serif; font-size: 1.3rem; color: #1A1A2E; margin-bottom: 5px; }
.team-content .role { color: #F85F14; font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.social-links { display: flex; gap: 15px; align-items: center; border-top: 1px solid #eee; padding-top: 15px; }
.social-links a { text-decoration: none; color: #888; font-size: 1.5rem; transition: 0.3s; display: flex; align-items: center; }
.social-links a:hover { color: #F85F14; transform: scale(1.1); }
.team-footer { margin-top: 30px; }

/* --- ACTIVITY --- */
.activity { background-color: #ffffff; padding: 100px 80px; overflow: hidden; }
.activity-container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; gap: 50px; }
.activity-text { flex: 1; max-width: 500px; }
.activity-text h2 { font-family: 'Merriweather', serif; font-size: 3.5rem; color: #1A1A2E; line-height: 1.2; margin-bottom: 20px; }
.activity-text .desc { color: #666; line-height: 1.6; margin-bottom: 40px; }
.platform-list { display: flex; flex-direction: column; gap: 25px; margin-bottom: 40px; }
.platform-item { display: flex; align-items: center; gap: 20px; }
.icon-box { width: 50px; height: 50px; background-color: #FFF0EB; color: #F85F14; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border-radius: 12px; }
.platform-info h4 { font-size: 1.1rem; color: #333; font-weight: 600; margin-bottom: 2px; }
.platform-info p { font-size: 0.9rem; color: #888; }
.activity-image-wrapper { flex: 1; display: flex; justify-content: center; position: relative; }
.activity-image-wrapper img { width: 100%; max-width: 550px; border-radius: 40px; transform: rotate(8deg); box-shadow: 20px 20px 60px rgba(0,0,0,0.1); transition: 0.5s; border: 5px solid white; }
.activity-image-wrapper img:hover { transform: rotate(0deg) scale(1.02); }

/* --- FOOTER --- */
footer { background-color: #FFF0EB; padding: 80px 80px 40px 80px; color: #333; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; gap: 40px; }
.footer-brand { flex: 1.5; min-width: 250px; }
.footer-logo-icon { width: 40px; height: 40px; background-color: #000; border-radius: 6px; position: relative; margin-bottom: 20px; }
.footer-logo-icon::after { content: ''; position: absolute; top: 8px; left: 8px; width: 15px; height: 15px; border: 3px solid white; }
.footer-logo .img-logo { height: 80px; margin-bottom: 15px; }
.copyright { font-size: 0.9rem; color: #666; line-height: 1.6; }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 25px; color: #1A1A2E; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { text-decoration: none; color: #666; font-size: 0.95rem; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: #F85F14; transform: translateX(5px); }


/* ========================================================================== */
/* 5. RESPONSIVE MOBILE (SINGLE MEDIA QUERY) */
/* ========================================================================== */
@media (max-width: 900px) {
    
    /* --- 1. NAVBAR FIXED & HAMBURGER --- */
    nav.navbar-fixed {
        padding: 15px 20px;
        justify-content: space-between; 
        background-color: white; 
    }
    nav.navbar-fixed.scrolled { padding: 15px 20px; }
    
    .logo { font-size: 1rem; }
    .menu-toggle { display: flex; }
    nav.navbar-fixed .menu-toggle span { background-color: #333; }
    nav.navbar-fixed.scrolled .menu-toggle span { background-color: white; }

    /* MENU DROPDOWN */
    .nav-links {
        position: absolute; top: 100%; right: 0; width: 100%;
        background-color: white; flex-direction: column; align-items: center;
        gap: 0; padding: 0; border-top: 1px solid #eee;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: none; opacity: 0; transform: translateY(-20px);
        transition: all 0.3s ease; z-index: 99;
    }
    .nav-links.slide { display: flex; opacity: 1; transform: translateY(0); }
    .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0; }
    .nav-links li a { display: block; padding: 15px; width: 100%; color: #333 !important; }
    .btn-active { border-radius: 0; background-color: #FFF0EB; color: #F85F14 !important; }

    /* --- 2. HERO SECTION (HP: TEXT ALWAYS ON) --- */
    .hero-bg {
        height: 65vh; 
        min-height: 500px;
        background-position: center; 
    }
    .hero-content h1 { font-size: 2rem; }
    .hero-overlay {
        opacity: 1; background-color: rgba(0,0,0,0.6); transition: none;
        padding-top: 100px; padding-left: 20px; padding-right: 20px;
        box-sizing: border-box; display: flex; flex-direction: column; justify-content: center;
    }
    .hero-content { transform: translateY(0); }

    /* --- 3. GLOBAL SECTION LAYOUT (1 KOLOM) --- */
    .proker-container, .about-container, .activity-container, .footer-container {
        flex-direction: column; gap: 40px; text-align: center;
    }
    
    .proker, .about, .profile, .team, .activity, footer { padding: 50px 20px; }
    
    .proker-container { flex-direction: column-reverse; }
    .proker-text h2, .about-text h2, .activity-text h2, .section-header h2 { font-size: 2.2rem; }
    .proker-text .subtitle, .desc-group p { max-width: 100%; }
    .proker-image { justify-content: center; }
    .about-desc, .point-item p { text-align: center; }
    
    /* CARDS */
    .profile-card, .team-card { width: 100%; max-width: 100%; }
    .team-card { text-align: center; }
    .social-links { justify-content: center; }

    /* ACTIVITY */
    .activity-text { max-width: 100%; }
    .platform-list { align-items: center; text-align: left; }
    
    /* Gambar Activity: Miring dulu, disentuh baru lurus */
    .activity-image-wrapper img { 
        transform: rotate(8deg); /* Posisi awal miring */
        max-width: 85%; /* Dikecilkan sedikit agar sudutnya tidak terpotong layar */
        transition: 0.5s; /* Animasi halus */
    }

    /* Efek saat disentuh (Tap) atau ditekan */
    .activity-image-wrapper img:active,
    .activity-image-wrapper img:hover {
        transform: rotate(0deg) scale(1.02); /* Jadi lurus saat disentuh */
    }

    /* --- 4. FOOTER (RATA TENGAH) --- */
    .footer-col { text-align: center; width: 100%; margin-bottom: 20px; }
    .footer-logo { display: flex; justify-content: center; }
    .footer-col ul { padding: 0; display: flex; flex-direction: column; align-items: center; }
    .footer-col ul li a { justify-content: center; width: 100%; text-align: center; }
    .social-list { justify-content: center; }

    /* ========================= */
    /* PERBAIKAN KHUSUS ACTIVITY */
    /* ========================= */

    .platform-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;   /* BIAR FULL RAPI */
        gap: 18px;
        text-align: left;
    }

    .platform-item {
        width: 100%;
        display: flex;
        align-items: center;    /* ICON & TEKS SEJAJAR */
        gap: 14px;
        padding: 12px 14px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    }

    .platform-info h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .platform-info p {
        font-size: 0.9rem;
        line-height: 1.4;
    }



}