/*
Theme Name: Caribe Visión TV
Theme URI: https://Visioncariberd.com
Author: Tu Nombre
Description: Tema personalizado para Caribe Visión TV con Bootstrap 5.
Version: 1.0
Text Domain: caribevision
*/

:root {
    --primary-blue: #003366;
    --secondary-blue: #0066cc;
    --accent-gold: #ffcc00;
    --dark-bg: #0a0e27;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: #fff;
}

/* Header Styles */
.top-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 15px 0;
    border-bottom: 3px solid var(--accent-gold);
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.logo-tv {
    background: #dc3545;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
}

.navbar-custom {
    background: rgba(10, 14, 39, 0.95);
    padding: 10px 0;
}

.navbar-custom .nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.navbar-custom .nav-link:hover { color: var(--accent-gold) !important; }

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover { color: var(--accent-gold); }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a3a6c 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230066cc" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-gold);
    padding-left: 20px;
}

.section-subtitle {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* News Cards */
.news-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,102,204,0.3);
}

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

.news-card .card-body { padding: 20px; }

.news-card .category-badge {
    background: var(--secondary-blue);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.news-card .card-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.news-card .card-title a {
    color: #fff;
    text-decoration: none;
}

.news-card .card-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.news-card .meta-info {
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-top: 15px;
}

/* TV Player Section */
.tv-player-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a3a6c 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.player-container {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 3px solid var(--secondary-blue);
}

.live-badge {
    background: #dc3545;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Category Sections */
.category-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--secondary-blue);
}

.category-icon {
    width: 60px; height: 60px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

.category-title { font-size: 2rem; font-weight: 700; margin: 0; }

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-bg) 100%);
    padding: 60px 0 30px;
    border-top: 3px solid var(--accent-gold);
}

.footer-logo { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.footer-about { color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-title { font-weight: 700; margin-bottom: 20px; color: var(--accent-gold); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-gold); }
.footer-social { margin-top: 20px; }
.footer-social a {
    display: inline-block; width: 40px; height: 40px;
    background: var(--secondary-blue); border-radius: 50%;
    text-align: center; line-height: 40px; color: #fff;
    margin-right: 10px; transition: all 0.3s;
}
.footer-social a:hover { background: var(--accent-gold); transform: translateY(-3px); }
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px; padding-top: 20px;
    text-align: center; color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .logo-text { font-size: 1.5rem; }
    .navbar-custom .nav-link { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}


/* =========================================
   Estilos para la Paginación de WordPress
   ========================================= */
.pagination-wrapper {
    margin-top: 60px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0;
}

.page-numbers {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.page-numbers:hover {
    background: var(--secondary-blue);
    color: #fff;
    border-color: var(--secondary-blue);
}

.page-numbers.current {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.page-numbers.prev, 
.page-numbers.next {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.page-numbers.prev:hover, 
.page-numbers.next:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}