/**
 * WebRádio Classe A - Main Stylesheet
 * Using brand colors: Gold (#d4af37), Red (#b22222), Black (#111111)
 */

:root {
    --gold: #d4af37;
    --red: #b22222;
    --black: #111111;
    --white: #ffffff;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f2d35b 50%, #d4af37 100%);
    --red-gradient: linear-gradient(135deg, #b22222 0%, #e63946 50%, #b22222 100%);
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    background-color: #000;
    overflow-x: hidden;
    padding-top: 100px; /* Aumentado para acomodar a logo maior */
}

/* Post Cards */
.post-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.post-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 20px;
}

.post-card-category {
    display: inline-block;
    background: var(--red-gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.post-card-title {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--white);
}

.post-card-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.post-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-card-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.post-card-link:hover {
    color: var(--white);
}

/* Camera Cards */
.cameras-section {
    background-color: #000;
    padding: 80px 0;
}

.camera-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.camera-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.camera-card.offline {
    border-color: rgba(212, 175, 55, 0.5);
    opacity: 0.8;
}

.camera-card.offline:hover {
    opacity: 1;
}

.camera-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.camera-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.camera-card:hover .camera-card-image img {
    transform: scale(1.05);
}

.camera-card.offline .camera-card-image img {
    filter: grayscale(100%) brightness(0.5);
}

.camera-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.camera-status-badge.online {
    background-color: var(--red);
    color: var(--white);
    animation: pulse 2s infinite;
}

.camera-status-badge.offline {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.camera-card-content {
    padding: 20px;
}

.camera-card-title {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.camera-card-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.camera-card-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-red {
    background: var(--red-gradient);
    color: var(--white);
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.4);
    color: var(--white);
}

/* Promotion Cards */
.promotions-section {
    background-color: #000;
    padding: 80px 0;
}

.promotion-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.promotion-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.promotion-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promotion-card:hover .promotion-card-image img {
    transform: scale(1.05);
}

.promotion-end-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--red);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.promotion-card-content {
    padding: 20px;
}

.promotion-card-title {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.promotion-card-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-red {
    color: var(--red);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.text-gold {
    color: var(--gold);
}


.bg-gold {
    background-color: var(--gold);
}

.bg-red {
    background-color: var(--red);
}

.bg-black-custom {
    background-color: var(--black);
}

.gold-gradient {
    background: var(--gold-gradient);
}

.red-gradient {
    background: var(--red-gradient);
}

/* Header & Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--gold);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    max-height: 80px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    color: var(--white) !important;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.btn-listen {
    background: var(--gold-gradient);
    color: var(--black);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-listen:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--black);
}

.btn-red {
    background: var(--red-gradient);
    color: var(--white);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
    transition: all 0.3s ease;
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.5);
    color: var(--white);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    color: var(--white);
    border-bottom: 4px solid var(--gold);
    overflow: hidden;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: flex-start;
    padding-top: 150px; /* Add padding at the top */
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-mic {
    position: relative;
    z-index: 1;
}

.hero-mic img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Live Indicator */
.live-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--red);
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s ease-in-out infinite;
}

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

/* Stats Section */
.stats-section {
    background-color: #0a0a0a;
    padding: 60px 0;
    border-bottom: 1px solid var(--gold);
}

.stat-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.stat-card h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.stat-card p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 0;
    font-weight: 600;
}

/* Player Section */
.player-section {
    background-color: #000;
    padding: 60px 0;
    position: relative;
}

.player-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/soundwaves.png');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.player-card {
    background-color: rgba(20, 20, 20, 0.9);
    border: 2px solid var(--gold);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.player-header {
    background: var(--gold-gradient);
    padding: 20px;
    color: var(--black);
    text-align: center;
}

.player-header h3 {
    margin-bottom: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.player-body {
    padding: 30px;
    color: var(--white);
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.volume-control {
    width: 100%;
    margin-top: 20px;
}

.volume-control input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
}

/* Programs Section */
.programs-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    position: relative;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 20px;
    text-align: center;
    color: var(--gold);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--red);
}

.program-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.program-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-card-content {
    padding: 20px;
}

.program-card-title {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.program-card-host {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.program-card-time {
    background-color: var(--red);
    color: var(--white);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Events Section */
.events-section {
    background-color: #000;
    padding: 80px 0;
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png');
    background-size: 200px;
    opacity: 0.05;
    pointer-events: none;
}

.event-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.event-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--red-gradient);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.event-card-content {
    padding: 20px;
}

.event-card-title {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.event-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: var(--white);
    padding: 80px 0 0;
    border-top: 4px solid var(--gold);
}

.footer h4 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--red);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a:before {
    content: '\25B6';
    font-size: 0.7rem;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
}

.footer-links ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

.copyright {
    background-color: #000;
    padding: 20px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--gold);
    text-decoration: none;
}

/* Error Page */
.error-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(212, 175, 55, 0.5);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.error-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .player-card {
        margin-bottom: 30px;
    }
}
