/* 
   Rádio Beira Rio FM - Design System & Styles
   Author: Antigravity
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    /* Colors */
    --base-dark: #0c0c2b;
    --primary-green: #50ca19;
    --secondary-blue: #3336c0;
    --bg-light: #f7fce9;
    --text-light: #ffffff;
    --text-dark: #0c0c2b;
    --glass-bg: rgba(12, 12, 43, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(80, 202, 25, 0.4);
    
    /* Spacing */
    --section-padding: 100px 5%;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

h1, h2, h3, h4 {
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Sticky Player Header --- */
.main-player {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0c0c2b;
    border-bottom: 3px solid var(--primary-green);
    color: var(--text-light);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.player-info {
    display: flex;
    align-items: center;
    gap: 20px;
}



.live-indicator {
    background: linear-gradient(45deg, #ff3e3e, #ff0000);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.5);
}

.now-playing-info {
    flex: 1;
    margin-left: 40px;
}

.now-playing {
    font-size: 0.85rem;
    opacity: 0.9;
}

.now-playing span {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-green);
    margin-left: 5px;
    font-size: 1.05rem;
}

.now-playing small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 25px;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    color: var(--base-dark);
    font-size: 1.2rem;
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px var(--primary-green);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-slider {
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.volume-level {
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-green));
    border-radius: 10px;
}

/* --- Hero Slider --- */
.hero {
    height: 85vh;
    background: var(--base-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--base-dark) 30%, transparent 100%);
    z-index: 1;
}

.slide-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--text-light);
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s 0.2s;
}

.slide.active .slide-content h2 {
    transform: translateY(0);
    opacity: 1;
}

.program-time {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.btn-cta {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-green);
    color: var(--base-dark);
    font-weight: 700;
    border-radius: 5px;
    margin-top: 30px;
    transition: var(--transition-smooth);
}

.btn-cta:hover {
    background: var(--text-light);
    transform: translateY(-5px);
}

/* --- Interaction Section --- */
.interaction {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--base-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--secondary-blue);
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.message-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--base-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-blue);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background: var(--base-dark);
}

/* --- News Grid --- */
.news {
    padding: var(--section-padding);
}

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

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

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 700;
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Advertising --- */
.ad-section {
    padding: 40px 0;
    background: #f0f0f0;
}

.ad-banner {
    width: 100%;
    max-width: 970px;
    height: 150px;
    margin: 0 auto;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 700;
}

/* --- Socials --- */
.socials {
    padding: 60px 0;
    background: var(--base-dark);
    color: white;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--base-dark);
    transform: rotate(360deg);
}

/* --- Footer --- */
footer {
    background: #06061a;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--primary-green);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

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

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-aos].appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- News Detail View --- */
.news-detail-view {
    padding: 60px 0;
    background: #fff;
    min-height: 100vh;
}

.back-btn {
    padding: 10px 20px;
    background: var(--base-dark);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 30px;
    font-weight: 600;
}

.detail-hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.detail-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--base-dark);
}

.detail-meta {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}

.detail-text {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.8;
}

.sidebar-ad {
    width: 300px;
    height: 600px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}

/* Hide other sections when detail is active */
.viewing-detail .hero,
.viewing-detail .ad-section,
.viewing-detail .interaction,
.viewing-detail .news,
.viewing-detail .socials {
    display: none !important;
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-ad {
        width: 100%;
        height: 250px;
        position: static;
    }
}
@media (max-width: 768px) {
    .player-info {
        display: none;
    }
    
    .hero-slider .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
