/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Player Fixo */
.fixed-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.player-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.album-art {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.song-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.song-info p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1e3c72;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 100px;
}

.player-info {
    text-align: right;
    font-size: 0.8rem;
}

.listeners {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Seções Principais */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2d3748;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.program-card {
    border-left: 4px solid #667eea;
}

.program-card h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.program-card .time {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.program-card .dj {
    color: #718096;
    font-size: 0.9rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    margin-bottom: 80px; /* Espaço para o player fixo */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* Responsividade */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .player-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    
    .now-playing {
        justify-content: center;
    }
    
    .player-info {
        text-align: center;
    }
}

/* Animações para a grade de programação */
.schedule-day-content {
    animation: fadeIn 0.3s ease-in-out;
}

.schedule-day-content.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-day-btn {
    transition: all 0.2s ease-in-out;
}

.schedule-day-btn:hover {
    transform: translateY(-1px);
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .schedule-day-btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Header responsivo */
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Player responsivo */
    .player-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    
    .now-playing {
        justify-content: center;
    }
    
    .player-info {
        text-align: center;
    }
    
    /* Container principal */
    .container {
        padding: 0 1rem;
    }
    
    /* Carrossel responsivo */
    .carousel-container {
        margin: 0 0.5rem;
    }
    
    /* Grid de notícias */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Sidebar */
    .sidebar {
        order: 2;
        margin-top: 2rem;
    }
    
    .main-content {
        order: 1;
    }
}

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    .header {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav ul {
        font-size: 0.9rem;
    }
    
    /* Player ainda mais compacto */
    .fixed-player {
        padding: 0.5rem;
    }
    
    .album-art {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .song-info h4 {
        font-size: 0.8rem;
    }
    
    .song-info p {
        font-size: 0.7rem;
    }
    
    /* Botões menores */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Espaçamento reduzido */
    .container {
        padding: 0 0.5rem;
    }
}

/* Utilitários */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.btn-secondary:hover {
    background: #cbd5e0;
}