/* Reset y Base */
:root {
    --primary-blue: #0d6efd;
    --electric-blue: #0066ff;
    --dark-blue: #001a33;
    --darker-blue: #000d1a;
    --gradient-blue: linear-gradient(135deg, var(--electric-blue) 0%, var(--dark-blue) 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #081426;
    background-image: url(../images/movies.png);
    background-size: cover;
    background-attachment: fixed;
    color: #f8f9fa;
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--gradient-blue);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /*box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);*/
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" opacity="0.1"><path d="M0,0 L200,0 L200,200 Z" fill="white"/></svg>');
    background-size: 200px;
    opacity: 0.1;
    pointer-events: none;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.cinebox-logo img {
    filter: none !important;
}

.partnership-divider {
    color: white;
    margin: 0 15px;
    opacity: 0.7;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white !important;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.footer {
    background: var(--gradient-blue);
    padding: 60px 0 20px;
    position: relative;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" opacity="0.05"><circle cx="150" cy="150" r="100" fill="white"/></svg>');
    background-size: 300px;
    opacity: 0.05;
    pointer-events: none;
}

.partnership-showcase {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.partner-logo img {
    transition: transform 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

.partnership-icon {
    color: rgba(255,255,255,0.8);
}

.footer-heading {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(255,255,255,0.5);
}

.footer-contacts {
    list-style: none;
    padding: 0;
}

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

.contact-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-link:hover {
    color: white;
    text-decoration: none;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.footer-info {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Loader */
.loader_bg {
    position: fixed;
    z-index: 999999;
    background: #0a0a0a;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    text-align: center;
}

/* Cards */
.bg-blue-gradient {
    background: var(--gradient-blue);
}

.bg-purple-gradient {
    background: var(--gradient-purple);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
}

/* Buttons */
.btn-primary {
    background: var(--electric-blue);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--dark-blue);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .partnership-divider {
        display: none;
    }
}

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}
/* Theme Oscuro Mejorado */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --bg-card-light: #2a2a2a;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --text-white: #ffffff;
    --border-color: #333333;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.bg-dark {
    background-color: var(--bg-darker) !important;
}

.bg-light {
    background-color: var(--bg-card) !important;
    color: var(--text-light) !important;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.card .text-light {
    color: var(--text-muted) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-white) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.border-top {
    border-top-color: var(--border-color) !important;
}

/* Loader */
.loader_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    text-align: center;
}

/* WhatsApp Fix */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Partnership Badge */
.partnership-badge {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

/* Hero Video */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(10,10,10,0.9) 0%, 
        rgba(10,10,10,0.7) 50%,
        rgba(10,10,10,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-video {
        min-height: 600px;
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   LOADER MEJORADO - Se oculta automáticamente
   ============================================ */
.loader_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader_bg.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

/* ============================================
   QUITAR SUBRAYADOS NO DESEADOS
   ============================================ */
.no-underline {
    text-decoration: none !important;
}

.mleft-12{margin-left: 12px;}
.mgeral-4{margin: 4px;}

/* Enlaces específicos sin subrayado */
.whatsapp-btn,
.social-link,
.contact-link,
.nav-link,
.navbar-brand,
.footer-links a,
.partner-logo {
    text-decoration: none !important;
}

/* Hover states para enlaces sin subrayado */
.no-underline:hover,
.whatsapp-btn:hover,
.social-link:hover,
.contact-link:hover,
.nav-link:hover,
.navbar-brand:hover,
.footer-links a:hover {
    text-decoration: none !important;
}

/* ============================================
   MEJORAS DE RENDIMIENTO
   ============================================ */
/* Prevenir FOUC (Flash Of Unstyled Content) */
html {
    visibility: visible;
    opacity: 1;
}

/* Optimización de transiciones */
* {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ============================================
   WHATSAPP BUTTON - MEJORADO
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: fadeIn 1s ease;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: 3px solid white;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

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

/* ============================================
   SOCIAL LINKS - MEJORADOS
   ============================================ */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

/* ============================================
   CONTACT LINKS - MEJORADOS
   ============================================ */
.contact-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.contact-link:hover {
    color: white;
    padding-left: 5px;
}

/* ============================================
   NAV LINKS - MEJORADOS
   ============================================ */
.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}