/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Encabezado principal */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Contenedor principal de productos */
.products-container {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

/* Tarjeta de producto */
.product-card {
    display: flex;
    background: white;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Alternar disposición para productos pares */
.product-card.reverse {
    flex-direction: row-reverse;
}

/* Imagen del producto */
.product-image {
    flex: 1;
    min-width: 400px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Información del producto */
.product-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.product-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.product-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.product-price {
    font-size: 2.5rem;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Botón de compra */
.buy-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    align-self: flex-start;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.buy-button:active {
    transform: translateY(0);
}

/* Pie de página */
.main-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .social-info {
    margin-bottom: 1rem;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.whatsapp-icon, .tiktok-icon {
    width: 1.5em; /* Relativo al tamaño de fuente del contenedor */
    height: 1.5em;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Efecto especial para WhatsApp */
.whatsapp-icon {
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-icon:hover {
    transform: scale(1.2);
}

.tiktok-icon:hover {
    transform: scale(1.2);
}

/* Animación para WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info, .social-info {
        font-size: 1rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .whatsapp-icon, .tiktok-icon {
        width: 24px;
        height: 24px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .product-card,
    .product-card.reverse {
        flex-direction: column;
        min-height: auto;
    }
    
    .product-image {
        min-width: 100%;
        height: 300px;
    }
    
    .product-info {
        padding: 2rem;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .products-container {
        padding: 0 1rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    .buy-button {
        padding: 12px 30px;
        font-size: 1rem;
        align-self: stretch;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .main-header {
        padding: 2rem 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-price {
        font-size: 1.8rem;
    }
}