/* ================================================================
   OLGA'S KIDS WEAR - BRANDS PAGE ENHANCED
   Página de Marcas Mejorada y Persuasiva
   ================================================================ */

:root {
    --primary-color: #21d4d8;
    --secondary-color: #ae6cac;
    --accent-color: #add03e;
    --pink-color: #ed3588;
    --purple-color: #423687;
    --gold-color: #FFD700;
    --light-bg: #F8F9F9;
}

/* Hero Section para Brands */
.brands-hero {
    background: linear-gradient(135deg, rgba(33, 212, 216, 0.95), rgba(174, 108, 172, 0.95));
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.brands-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.brands-hero-content {
    position: relative;
    z-index: 1;
}

.brands-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.brands-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.brands-cta {
    background: white;
    color: var(--purple-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.brands-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    text-decoration: none;
    color: var(--purple-color);
}

/* Category Headers */
.category-header {
    position: relative;
    padding: 60px 0 30px;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.category-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Brand Cards Mejoradas */
.brand-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    margin-bottom: 30px;
    position: relative;
    height: 100%;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card-header {
    background: linear-gradient(135deg, var(--light-bg), white);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.brand-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-color);
    margin: 0;
    letter-spacing: 1px;
}

.brand-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-color), #FFA500);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.brand-image-container {
    position: relative;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: white;
    overflow: hidden;
}

.brand-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 212, 216, 0.05), rgba(174, 108, 172, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-card:hover .brand-image-container::after {
    opacity: 1;
}

.brand-image {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.brand-card:hover .brand-image {
    transform: scale(1.1);
}

.brand-card-footer {
    padding: 20px 25px;
    background: var(--light-bg);
    text-align: center;
}

.brand-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.brand-features li {
    color: #666;
    font-size: 0.9rem;
    margin: 8px 0;
    padding-left: 25px;
    position: relative;
}

.brand-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.view-catalog-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(33, 212, 216, 0.3);
}

.view-catalog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 212, 216, 0.5);
    color: white;
}

/* Trust Indicators */
.trust-section {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.trust-icon i {
    font-size: 30px;
    color: white;
}

.trust-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple-color);
    margin-bottom: 10px;
}

.trust-description {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, var(--purple-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
}

.testimonial-company {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(173, 208, 62, 0.1), rgba(33, 212, 216, 0.1));
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple-color);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(33, 212, 216, 0.3);
    border: none;
}

.btn-primary-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 212, 216, 0.5);
    color: white;
    text-decoration: none;
}

.btn-secondary-cta {
    background: white;
    color: var(--purple-color);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-color);
}

.btn-secondary-cta:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    text-decoration: none;
}

/* Benefits Grid */
.benefits-section {
    padding: 60px 0;
    background: white;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: var(--light-bg);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--purple-color);
    margin-bottom: 15px;
}

.benefit-description {
    color: #666;
    line-height: 1.6;
}

/* Animated Elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

/* Premium Badge Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.brand-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .brands-hero h1 {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .brand-card {
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
    }
}

/* Loading State */
.brand-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.brand-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hover Tooltip */
.brand-card-title[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-color);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 10px;
}

.brand-card:hover .brand-card-title[data-tooltip]::after {
    opacity: 1;
}
