/* Makhado FM Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
    /* Colors - Brand Aligned */
    --primary: #4a69bd; /* Logo Blue */
    --primary-light: #6a89cc;
    --primary-dark: #1e3799;
    --secondary: #f7941d; /* Logo Orange Accent */
    --secondary-light: #ffb142;
    --secondary-dark: #e67e22;
    --accent: #8cc63f; /* Logo Green Accent */
    --text-main: #1a1a1a;
    --text-muted: #636e72;
    --text-light: #ffffff;
    --bg-main: #ffffff;
    --bg-card: #f9f9f9;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
    --bg-main: #121212;
    --bg-card: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #b0b0b0;
    --glass: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-lg) 0;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-slow);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-slow);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

header:not(.scrolled) .nav-links a,
header:not(.scrolled) .theme-toggle,
header:not(.scrolled) .mobile-menu-btn {
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a:hover {
    color: var(--primary);
}

.theme-toggle, .mobile-menu-btn {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.mobile-menu-btn {
    display: none;
}

.theme-toggle:hover, .mobile-menu-btn:hover {
    color: var(--primary);
}

body.dark-mode header.scrolled {
    background: rgba(18, 18, 18, 0.9);
}

body.dark-mode .schedule-card, 
body.dark-mode .news-card, 
body.dark-mode .dj-card {
    background: var(--bg-card);
    border-color: var(--primary);
}
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

/* Player */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.now-playing .live-indicator {
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

/* Schedule Section */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.schedule-card {
    background: white;
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border-left: 5px solid var(--primary);
}

.schedule-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.schedule-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.schedule-card .time {
    font-weight: 600;
    color: var(--secondary);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
}

.contact-info h2 {
    margin-bottom: var(--space-sm);
}

form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

input, textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--space-lg) 0;
    margin-bottom: 80px; /* Space for sticky player */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* DJ / Presenters Section */
.dj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.dj-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    text-align: center;
}

.dj-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.dj-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.dj-info {
    padding: var(--space-sm);
}

.dj-info h3 {
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.dj-info p {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.news-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.news-content {
    padding: var(--space-sm);
}

.news-content .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-content h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}
