/* ================================================
   RESPONSIVE 2025 - MOBILE FIRST APPROACH
   Site TeleEventos - Optimizado para Producción
   ================================================ */

/* ================================================
   RESET Y BASE STYLES (MOBILE FIRST)
   ================================================ */

/* Estilos base para mobile (< 375px) */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    /* Base para rem */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background-color: #000000;
}

body {
    overflow-x: hidden;
    /* Prevenir scroll horizontal */
    width: 100%;
    max-width: 100vw;
    background-color: #000000 !important;
    color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================================
   SOLUCIÓN: DOBLE LOGO (CRÍTICO)
   ================================================ */

/* Mobile: Solo mostrar logo mobile */
.logo_tele {
    display: none !important;
}

.logo_tele_mobile {
    display: block !important;
    max-width: 160px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Desktop: Solo mostrar logo desktop */
@media (min-width: 992px) {
    .logo_tele {
        display: block !important;
        max-width: 250px;
        width: 100%;
        height: auto;
    }

    .logo_tele_mobile {
        display: none !important;
    }
}

/* ================================================
   NAVEGACIÓN MOBILE-FIRST - MEJORADA VISUALMENTE
   ================================================ */

/* Header Mobile: Fondo y estructura */
#header {
    background: #000000 !important;
    box-shadow: none !important;
    position: relative;
    z-index: 999;
}

/* Top Bar Mobile - Mejorado */
#top-bar-mobile {
    background: #000000 !important;
    padding: 10px 0;
    color: #ffffff;
    border-bottom: 1px solid #ac145a;
}

#top-bar-mobile .info-box-title {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
}

#top-bar-mobile .info-box-subtitle,
#top-bar-mobile .info-box-subtitle a {
    color: #ac145a !important;
    font-size: 0.8rem;
}

#top-bar-mobile .social-icon {
    color: #ffffff;
    background: #ac145a;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#top-bar-mobile .social-icon:hover {
    background: #ffffff;
    color: #ac145a;
    transform: scale(1.1);
}

/* Navegación Mobile: Contenedor */
.site-navigation {
    background: #000000 !important;
    border-bottom: 2px solid #ac145a !important;
}

/* Hamburger Menu - Estilizado y Visible */
.navbar-toggle {
    min-width: 50px !important;
    min-height: 50px !important;
    padding: 12px !important;
    border: 2px solid #ac145a !important;
    background: #000000 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: block !important;
    position: relative;
    transition: all 0.3s ease;
    margin: 10px 15px;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background: #ac145a !important;
    border-color: #ac145a !important;
}

.navbar-toggle:hover .icon-bar,
.navbar-toggle:focus .icon-bar {
    background-color: #ffffff !important;
}

/* Barras del Hamburger - Visibles */
.navbar-toggle .icon-bar {
    display: block !important;
    width: 26px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background-color: #ac145a !important;
    margin: 5px auto !important;
    transition: all 0.3s ease;
}

/* Animación del Hamburger cuando está abierto */
.navbar-toggle[aria-expanded="true"] {
    background: #ac145a !important;
    border-color: #ac145a !important;
}

.navbar-toggle[aria-expanded="true"] .icon-bar {
    background-color: #ffffff !important;
}

/* Menu Desplegable Mobile - Mejorado */
.navbar-collapse {
    background: #000000 !important;
    border-top: 2px solid #ac145a !important;
    box-shadow: none !important;
    margin-top: 0;
    border-radius: 0;
    overflow: hidden;
}

/* Links del Menu Mobile - Visibles y Atractivos */
ul.navbar-nav li a {
    min-width: 100% !important;
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
    color: #ffffff !important;
    background: #000000 !important;
    border-bottom: 1px solid #1a1a1a !important;
    border-top: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    font-weight: 500;
}

ul.navbar-nav li a:hover,
ul.navbar-nav li a:focus,
ul.navbar-nav li a:active {
    background: #ac145a !important;
    color: #ffffff !important;
    padding-left: 30px !important;
}

/* Dropdown Menu Mobile */
ul.navbar-nav .dropdown-menu {
    background: #0d0d0d !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.navbar-nav .dropdown-menu li a {
    color: #ffffff !important;
    background: #0d0d0d !important;
    padding-left: 40px !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid #1a1a1a !important;
}

ul.navbar-nav .dropdown-menu li a:hover {
    background: #ac145a !important;
    color: #ffffff !important;
    padding-left: 50px !important;
}

/* Ícono de dropdown */
ul.navbar-nav li.dropdown>a .fa-angle-down {
    color: #ac145a !important;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Botón "Área do Cliente" en Mobile */
ul.navbar-nav li.header-get-a-quote {
    display: block !important;
    padding: 15px 20px;
}

ul.navbar-nav li.header-get-a-quote .btn {
    width: 100% !important;
    background: #ac145a !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    text-align: center !important;
    display: block !important;
}

/* ================================================
   BREAKPOINTS MODERNOS 2025
   ================================================ */

/* ------------------------------------------------
   SMARTPHONES PEQUEÑOS (iPhone SE, Galaxy S8)
   375px - 413px
   ------------------------------------------------ */
@media (min-width: 375px) {
    .logo_tele_mobile {
        max-width: 180px;
    }
}

/* ------------------------------------------------
   SMARTPHONES GRANDES (iPhone 12/13/14, Pixel)
   414px - 767px
   ------------------------------------------------ */
@media (min-width: 414px) {
    .logo_tele_mobile {
        max-width: 200px;
    }
}

/* ------------------------------------------------
   TABLETS PEQUEÑAS (iPad Mini, Surface)
   768px - 1023px
   ------------------------------------------------ */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        margin: 0 auto;
    }
}

/* ------------------------------------------------
   TABLETS GRANDES (iPad Pro)
   1024px - 1279px
   ------------------------------------------------ */
@media (min-width: 1024px) {
    .navbar-toggle {
        display: none !important;
    }

    .navbar-collapse {
        display: block !important;
    }

    ul.navbar-nav {
        display: flex !important;
        flex-direction: row;
    }

    ul.navbar-nav li a {
        padding: 10px 15px;
        width: auto;
        min-width: auto !important;
    }

    .container {
        max-width: 960px;
    }
}

/* ------------------------------------------------
   LAPTOPS Y DESKTOPS
   1280px - 1919px
   ------------------------------------------------ */
@media (min-width: 1280px) {
    .container {
        max-width: 1140px;
    }

    section {
        padding: 80px 0;
    }
}

/* ------------------------------------------------
   DESKTOPS GRANDES (Full HD y superiores)
   1920px+
   ------------------------------------------------ */
@media (min-width: 1920px) {
    .container {
        max-width: 1320px;
    }

    section {
        padding: 100px 0;
    }
}

/* ================================================
   UTILIDADES RESPONSIVAS
   ================================================ */

/* Focus visible para teclado */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #ac145a;
    outline-offset: 2px;
}

/* Skip to main content */
.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    background: #ac145a;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
}

/* ================================================
   FIN RESPONSIVE 2025
   ================================================ */