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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: #ffffff;
}

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

/* Header y Navegación */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%),
                url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?w=1600&q=80') center/cover no-repeat;
    /* Para usar tu propia imagen, reemplaza la URL de arriba con: url('images/hero-bg.jpg') */
    /* Si la imagen es clara y el texto no se lee, cambia rgba(0,0,0,0.3) por rgba(0,0,0,0.5) */
    color: var(--white);
    padding: 2.5rem 2rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero-logo {
    margin-bottom: 1rem;
    animation: bounce 2s ease infinite;
}

.hero-logo-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--white);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Brands Section */
.brands-section {
    background: #ffffff;
    padding: 2.5rem 0;
    border-bottom: 3px solid var(--light-bg);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brands-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.brands-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scroll horizontal en móvil */
@media (max-width: 768px) {
    .brands-section {
        padding: 1.5rem 0 !important;
        position: relative !important;
        top: auto !important;
        box-shadow: none !important;
    }
    
    .brands-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .brands-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 1.5rem !important;
        padding: 0.5rem 1rem !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Ocultar scrollbar pero mantener funcionalidad */
    .brands-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
        height: 0;
        width: 0;
    }
    
    .brand-item {
        flex-shrink: 0 !important;
        min-width: auto !important;
    }
    
    .brand-item img {
        max-width: 150px !important;
        max-height: 70px !important;
    }
    
    .brand-item-small img {
        max-width: 120px !important;
        max-height: 55px !important;
    }
}

.brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.8rem;
    transition: var(--transition);
    background: #ffffff;
    flex-shrink: 0;
    border: none;
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-item img {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 85px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
    background-color: #ffffff;
    opacity: 1;
    /* Intento de limpiar los cuadraditos con filtros */
    filter: brightness(1.1) contrast(1.1);
}

/* Tamaño más pequeño para Reebok, DC y Skechers */
.brand-item-small img {
    max-width: 140px;
    max-height: 65px;
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-link i {
    margin-right: 0.3rem;
}

.whatsapp-link:hover {
    color: #25d366;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem 0.1rem 1rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.map-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.map-link i {
    margin-right: 0.3rem;
}

/* Social Section */
.social-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.social-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: stretch;
    gap: 1.2rem;
    margin-top: 3rem;
    width: 100%;
}

.social-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex: 1 1 0 !important;
    min-width: 0;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.2) 100%);
    opacity: 0;
    transition: var(--transition);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.social-card.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.social-card.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #833ab4 50%, #fd1d1d 100%);
}

.social-card.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-card.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20b954 100%);
}

.social-card.email {
    background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
}

.social-card.tiktok {
    background: linear-gradient(135deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.social-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0 0.5rem;
}

/* Info Style Cards (white background like before) */
.social-card.info-style {
    background: var(--white) !important;
    color: var(--text-color) !important;
}

.social-card.info-style::before {
    display: none;
}

.social-card.info-style > i {
    display: none;
}

.social-card.info-style h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-card.info-style p {
    color: var(--text-color);
    opacity: 1;
    margin: 0.5rem 0;
    line-height: 1.8;
}

.social-card.info-style .info-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.social-card.info-style .info-icon i {
    font-size: 3rem;
    color: var(--secondary-color) !important;
}

.social-card.info-style .contact-link i,
.social-card.info-style .map-link i {
    color: inherit !important;
    font-size: 1rem !important;
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.service-item p {
    color: #666;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-logo-img {
        max-width: 260px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .brand-item {
        padding: 0.6rem 1rem;
        flex-shrink: 0;
    }

    .brand-item img {
        max-width: 140px;
        max-height: 65px;
    }
    
    .brand-item-small img {
        max-width: 120px;
        max-height: 55px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo i {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .footer-logo-img {
        height: 40px;
    }

    .social-link {
        font-size: 1.2rem;
    }

    .info-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1rem !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start !important;
    }
    
    .social-grid::-webkit-scrollbar {
        display: none;
    }
    
    .social-card {
        flex: 0 0 auto !important;
        min-width: 200px !important;
    }
    
    .info-section .container,
    .social-section .container,
    .services-section .container {
        padding: 0 1rem;
    }
}

/* Animación de scroll */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-left {
    animation: slideInFromLeft 0.8s ease;
}

.animate-right {
    animation: slideInFromRight 0.8s ease;
}
