/* ===================================
   TAZDUCA - Estilos Principales
   Versión: 2.0 - IDENTIDAD ROJA DEFINITIVA
   Colores Corporativos ACTUALIZADOS:
   - Rojo Principal: #FF0000
   - Rosa Intenso: #FF1493  
   - Rosa Suave: #FFB6C1
   - Rojo Oscuro: #DC143C
   - Coral: #FA8072
   =================================== */

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimizaciones de rendimiento */
html {
    /* Mejora el renderizado de fuentes */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Previene ajustes de texto en iOS */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #37474F;
    background-color: #f5f5f5;
    /* Transición suave desde el splash */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Estados de carga del body */
body.loading {
    overflow: hidden;
    opacity: 0.8;
}

body.loaded {
    animation: fadeInBody 0.5s ease forwards;
}

@keyframes fadeInBody {
    from {
        opacity: 0.8;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }
a {
    color: #FF9800;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F57C00;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilidades */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #FF9800;
    color: #fff;
}

.btn-primary:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}
.btn-secondary {
    background-color: #4CAF50;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #FF9800;
    border: 2px solid #FF9800;
}

.btn-outline:hover {
    background-color: #FF9800;
    color: #fff;
}

/* Header */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

/* Navegación */
.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: #37474F;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: #FF9800;
}

.has-dropdown {
    position: relative;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 8px 20px;
}

.dropdown a {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slider {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* Sección de Servicios */
.quick-services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    color: #FF9800;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4CAF50, #03A9F4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
}

.service-card h3 {
    color: #37474F;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Mini-Super Section */
.minisuper-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: #fff;
}

.minisuper-section .section-title {
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    font-size: 1.3rem;
}

.minisuper-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.feature {
    text-align: center;
    padding: 20px;
}

.feature i {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
}

.minisuper-cta {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonios */
.testimonials-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.author strong {
    display: block;
    color: #37474F;
    margin-bottom: 5px;
}

.author span {
    color: #666;
    font-size: 0.9rem;
}
/* Por qué elegirnos */
.why-us-section {
    padding: 80px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit {
    text-align: center;
}

.benefit i {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.benefit h3 {
    color: #37474F;
    margin-bottom: 15px;
}

/* Contacto */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF9800;
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.2);
}
.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    color: #FF9800;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: #4CAF50;
    margin-right: 20px;
    width: 30px;
}

.info-item strong {
    display: block;
    color: #37474F;
    margin-bottom: 5px;
}

/* Footer */
.main-footer {
    background-color: #37474F;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #FF9800;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
}

.footer-column a:hover {
    color: #FF9800;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FF9800;
    transform: scale(1.1);
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.app-button img {
    height: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe57;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .minisuper-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}/* Estilos adicionales para notificaciones y animaciones */

/* Notificaciones */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: #4CAF50;
}

.notification-error {
    background: #f44336;
}

.notification-info {
    background: #03A9F4;
}

/* Animaciones de entrada */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 500px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-left: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .has-dropdown.active .dropdown {
        max-height: 200px;
    }
}

/* Loader para futuras implementaciones */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF9800;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header cuando hace scroll */
.header-fixed.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-fixed.scrolled .header-content {
    padding: 10px 0;
}

.header-fixed.scrolled .logo img {
    height: 40px;
    transition: height 0.3s ease;
}