/* Variable Warna */
:root {
    --primary: #0f172a; /* Dark Blue */
    --secondary: #1e293b; /* Lighter Dark Blue */
    --accent: #f59e0b; /* Gold/Amber */
    --text: #e2e8f0;
    --bg: #020617;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Music Control Floating */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.pulse-btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
    transition: transform 0.2s;
}

.pulse-btn:hover {
    transform: scale(1.1);
}

/* Hero Section dengan Background Image Gradient */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, var(--primary), #000);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.highlight {
    color: #ef4444; /* Red for emergency */
    font-weight: bold;
}

.cta-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Navbar */
nav {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent);
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Layout Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Form Card Style */
.card {
    background: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #334155;
}

.card-header {
    background: var(--primary);
    padding: 20px;
    border-bottom: 1px solid #334155;
}

.card-header h2 {
    color: white;
}

.card-body {
    padding: 30px;
}

.row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 300px;
}

.col h3 {
    margin-bottom: 20px;
    color: var(--accent);
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    border-radius: 5px;
    outline: none;
}

.input-group input:focus {
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #d97706;
}

/* Footer */
footer {
    background: var(--primary);
    text-align: center;
    padding: 40px 20px 10px;
    margin-top: 50px;
    border-top: 3px solid var(--accent);
}

.footer-content h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

.footer-content a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Class Animasi Awal (CSS) */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Class untuk Scroll Reveal Javascript */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { flex-direction: column; text-align: center; }
    .nav-links li { margin: 10px 0; }
}
