/* ============================================
   TEMA: CLÁSICO PREMIUM - MEJORADO
 ============================================ */

:root {
    --primary-color: #c41e3a;
    --secondary-color: #9f1830;
    --accent-color: #e8384e;
    --text-color: #ffffff;
    --light-bg: #f5f5f5;
    --border-color: #c41e3a;
    --dark-bg: #0d0d0d;
    --grad-dark: #1a1a1a;
}

/* COLORES ESPECÍFICOS DEL TEMA */
.tema-clasico-premium {
    --color-primario: #c41e3a;
    --color-secundario: #9f1830;
    --color-light: #e8384e;
}

/* HEADER TOP */
.header-top {
    background: linear-gradient(90deg, #1a1a1a 0%, #252525 100%);
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    color: #999;
    padding: 12px 40px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-item {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.header-top-item i {
    color: #c41e3a;
}

.header-top-item a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-top-item a:hover {
    color: #c41e3a;
}

.header-claim {
    color: #c41e3a;
    font-size: 13px;
    font-weight: 600;
}

/* HEADER PRINCIPAL - COLOR MÁS CLARO CON DEGRADADO SUAVE */
.header {
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #404040 100%);
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #c41e3a 0%, #9f1830 50%, #c41e3a 100%) 0 0 1 0;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: white;
    position: absolute;
    z-index: 1000;
    margin: 0;
    margin-top: 51px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.5), transparent);
}

.header.scrolled {
    background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 50%, #353535 100%);
    box-shadow: 0 12px 40px rgba(196, 30, 58, 0.35);
}

/* NAVBAR MEJORADA */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
    min-height: auto;
    width: 100%;
    flex-wrap: wrap;
}

/* LADO IZQUIERDO: LOGO + BOTÓN BUSCAR */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 1;
    flex-shrink: 0;
}

.logo-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-actions-left {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* CONTENEDOR CENTRAL: TÍTULO + MENÚ */
.navbar-center {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    width: auto;
    min-width: 300px;
}

/* LADO DERECHO: BOTÓN CONTACTAR + LOGO */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 3;
    flex-shrink: 0;
}

.nav-actions-right {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.logo-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-side-img {
    max-height: 100px;
    width: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 3px 12px rgba(196, 30, 58, 0.4));
}

.logo-side-img:hover {
    filter: drop-shadow(0 8px 20px rgba(196, 30, 58, 0.7));
    transform: scale(1.05);
}

/* TÍTULO DE LA WEB */
.site-title {
    text-align: center;
    margin: 0;
    padding: 8px 0;
}

.site-title h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0;
    text-shadow: 0 4px 12px rgba(196, 30, 58, 0.4), 0 0 25px rgba(196, 30, 58, 0.2);
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e8384e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    width: 100%;
    text-align: center;
}

.nav-menu ul {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* LOGO TEXT - OCULTO */
.logo-text {
    display: none;
}

.logo:hover .logo-text {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.6));
}

/* NAVIGATION LINKS - MEJORADOS */
.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-block;
    border-bottom: 3px solid transparent;
    position: relative;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to bottom, rgba(196, 30, 58, 0), rgba(196, 30, 58, 0));
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a 0%, #e8384e 100%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.15) 0%, rgba(196, 30, 58, 0.05) 100%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link.active {
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.25);
}

/* BOTONES */
.btn-primary {
    background: linear-gradient(135deg, #c41e3a 0%, #9f1830 100%);
    border: 2px solid #c41e3a;
    color: white;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9f1830 0%, #c41e3a 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
    left: 0;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid #c41e3a;
    color: #c41e3a;
    background: transparent;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #c41e3a;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

.btn-outline:hover::before {
    left: 0;
}

.btn-action {
    background: linear-gradient(135deg, #c41e3a 0%, #9f1830 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-action:hover {
    background: linear-gradient(135deg, #9f1830 0%, #c41e3a 100%);
    box-shadow: 0 10px 35px rgba(196, 30, 58, 0.5);
    transform: translateY(-2px);
}

/* SLIDER PREMIUM MEJORADO */
.hero-slider-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    width: 100%;
}

.slider-container-premium {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(26, 26, 26, 0.98) 0%,
        rgba(45, 45, 45, 0.85) 50%,
        rgba(45, 45, 45, 0.5) 100%);
}

.slider-wrapper-premium {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-premium {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide-premium.active {
    opacity: 1;
    z-index: 10;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(26, 26, 26, 0.4) 30%,
        rgba(26, 26, 26, 0.15) 70%,
        rgba(196, 30, 58, 0.1) 100%);
    z-index: 2;
}

.slide-content-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
    margin-top: 120px;
}

.slide-content-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 650px;
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-premium.active .slide-content-inner {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-subtitle {
    color: #ffffff !important;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-title {
    color: white;
    font-weight: 900;
    font-size: 72px;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7),
                 0 0 30px rgba(196, 30, 58, 0.2);
    letter-spacing: -1px;
}

.slide-buttons {
    display: flex;
    gap: 18px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-action {
    background: linear-gradient(135deg, #c41e3a 0%, #9f1830 100%);
    color: white;
    padding: 16px 36px;
    border: 2px solid #c41e3a;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

.btn-action:hover {
    background: linear-gradient(135deg, #9f1830 0%, #c41e3a 100%);
    box-shadow: 0 10px 35px rgba(196, 30, 58, 0.5);
    transform: translateY(-3px);
}

/* Slider Controls */
.slider-controls-premium {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.slider-btn-premium {
    width: 55px;
    height: 55px;
    border: 2px solid #c41e3a;
    background: rgba(196, 30, 58, 0.08);
    color: #c41e3a;
    border-radius: 6px;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-btn-premium:hover {
    background: #c41e3a;
    color: white;
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(196, 30, 58, 0.6);
}

/* Dots/Indicators */
.slider-dots-premium {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.dot-premium {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(5px);
}

.dot-premium:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.dot-premium.active {
    background: #c41e3a;
    border-color: #c41e3a;
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.8);
    transform: scale(1.3);
}

/* Ventajas Section */
.slider-ventajas-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(45, 45, 45, 0.95) 100%);
    padding: 50px 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
    border: none !important;
    box-shadow: inset 0 2px 10px rgba(196, 30, 58, 0.1);
    border-top: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 0 0 233px 233px;
}

.slider-ventajas-section .container {
    max-width: 100%;
    padding: 0 40px;
    margin: 0;
}

/* FOOTER - CLÁSICO PREMIUM MEJORADO */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #c41e3a 0%, #9f1830 50%, #c41e3a 100%) 1 0 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-section h4 {
    color: #c41e3a;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(196, 30, 58, 0.2);
}

.footer-section ul li a {
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #c41e3a;
    transform: translateX(4px);
}

.social-links a {
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border: 1px solid rgba(196, 30, 58, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #9f1830 100%);
    border-color: #c41e3a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .navbar {
        padding: 8px 15px;
        gap: 8px;
    }

    .navbar-left,
    .navbar-right {
        gap: 10px;
    }

    .logo-side-img {
        max-height: 80px;
    }

    .site-title h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .nav-link {
        padding: 9px 14px;
        font-size: 13px;
    }

    .header-top {
        padding: 10px 15px;
    }

    .slider-container-premium {
        height: 500px;
    }

    .slide-content-inner {
        max-width: 500px;
        padding-left: 50px;
        gap: 20px;
    }

    .slide-title {
        font-size: 54px;
    }

    .slide-subtitle {
        font-size: 15px;
    }

    .slider-controls-premium {
        right: 20px;
        gap: 12px;
    }

    .slider-btn-premium {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
        min-height: auto;
    }

    .navbar-left,
    .navbar-right {
        width: 100%;
        justify-content: center;
    }

    .navbar-left {
        order: 1;
    }

    .navbar-center {
        order: 2;
        width: 100%;
    }

    .navbar-right {
        order: 3;
    }

    .logo-side-img {
        max-height: 70px;
    }

    .site-title h1 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .nav-menu {
        position: static;
        width: 100%;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .header-top {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
        text-align: center;
    }

    .btn-primary {
        padding: 10px 18px;
        font-size: 12px;
    }

    .slider-container-premium {
        height: 420px;
    }

    .slide-content-premium {
        padding-left: 30px;
    }

    .slide-content-inner {
        max-width: 100%;
        padding-left: 0;
        padding-right: 70px;
        gap: 16px;
    }

    .slide-subtitle {
        font-size: 13px;
    }

    .slide-title {
        font-size: 42px;
    }

    .btn-action {
        padding: 13px 26px;
        font-size: 13px;
    }

    .slider-controls-premium {
        right: 15px;
        gap: 10px;
    }

    .slider-btn-premium {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .slider-dots-premium {
        bottom: 30px;
        gap: 12px;
    }

    .dot-premium {
        width: 12px;
        height: 12px;
    }
    .hero-slider-premium {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        position: relative;
        width: 100%;
        margin-top: 120px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 10px;
        gap: 8px;
    }

    .navbar-left,
    .navbar-right {
        width: 100%;
        justify-content: center;
    }

    .logo-side-img {
        max-height: 60px;
    }

    .site-title h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .nav-actions-left,
    .nav-actions-right {
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 11px;
    }

    .header-top {
        flex-direction: column;
        padding: 8px 10px;
    }

    .slider-container-premium {
        height: 340px;
    }

    .slide-content-premium {
        padding-left: 20px;
    }

    .slide-content-inner {
        padding-left: 0;
        padding-right: 60px;
        gap: 12px;
    }

    .slide-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .slide-title {
        font-size: 32px;
        font-weight: 800;
    }

    .btn-action {
        padding: 11px 20px;
        font-size: 11px;
        gap: 6px;
    }

    .slider-controls-premium {
        right: 10px;
        gap: 8px;
    }

    .slider-btn-premium {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .slider-dots-premium {
        bottom: 20px;
        gap: 10px;
    }

    .dot-premium {
        width: 10px;
        height: 10px;
    }

    .slide-buttons {
        gap: 10px;
    }
}
