/* === GLOBAL === */
body {
    font-family: 'Poppins', sans-serif;
    background: #f9fafb;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* === PARALLAX HEADER === */
.parallax-header {
    position: relative;
    height: 200px;
    background: url('src/header-bg.jpg') center/cover fixed; /* Ganti dengan gambar background */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
}

.parallax-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16,185,129,0.8), rgba(59,130,246,0.8));
    z-index: 1;
}

.parallax-header h2,
.parallax-header p,
.parallax-header img {
    z-index: 2;
    position: relative;
}
/* === PARALLAX SECTION MAIN === */
.parallax-section {
    position: relative;
    background: url('src/bg1.jpg') center/cover fixed; /* Ganti dengan gambar cyber grid */
    z-index: 1;
    padding: 40px 20px;
}
.parallax-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 250, 251, 0.9); /* Light overlay */
    z-index: -1;
}

.dark-mode .parallax-section .section-overlay {
    background: rgba(15, 23, 42, 0.9); /* Dark overlay */
}


/* === NAVBAR === */
#myNav {
    background: #1f2937;
    font-size: 1.1rem;
}
#myNav a.nav-link {
    color: #f9fafb;
    transition: color 0.3s ease;
}
#myNav a.nav-link:hover {
    color: #10b981;
}

/* === MAIN CONTENT === */
#main p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* === FLAG INPUT CARD === */
.mySignInBox {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* === BUTTON WITH GRADIENT === */
.btn-mybutton {
    background: linear-gradient(90deg, #10b981, #059669);
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.btn-mybutton:hover {
    background: linear-gradient(90deg, #059669, #10b981);
    transform: scale(1.05);
}

/* === DARK MODE === */
.dark-mode {
    background: #0f172a;
    color: #e5e7eb;
}
.dark-mode .parallax-header .overlay {
    background: linear-gradient(135deg, rgba(59,130,246,0.9), rgba(16,185,129,0.9));
}
.dark-mode .mySignInBox {
    background: #1e293b;
    color: #e5e7eb;
}
.dark-mode .btn-mybutton {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}
.dark-mode a {
    color: #38bdf8;
}
.dark-mode a:hover {
    color: #0ea5e9;
}

/* === ANIMASI FADE-IN === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === FOOTER === */
.footer-copyright {
    background: #1f2937;
    color: #9ca3af;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    padding: 15px;
    border-top: 3px solid #10b981;
}

/* === Screenshot Styling === */
.screenshot img {
    display: block;
    margin: 15px auto;
    max-width: 70%;  /* gambar lebih kecil (medium) */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.screenshot img:hover {
    transform: scale(1.05); /* sedikit zoom saat hover */
}
