/*
Theme Name: FrikiStore
Description: Tema personalizado para tienda de juguetes y figuras coleccionables del mundo friki (manga, videojuegos, trading cards, cine, comics)
Version: 1.0
Author: Tu Nombre
Text Domain: frikistore
Tags: woocommerce, ecommerce, geek, manga, gaming, collectibles
*/

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-title:hover {
    color: #ffd700;
    transition: color 0.3s ease;
}

/* Navegación */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Contenido principal */
.site-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Productos WooCommerce */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1rem;
    color: #333;
    min-height: 2.5rem;
}

.woocommerce ul.products li.product .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e74c3c;
    margin: 0 1rem 1rem;
}

.woocommerce ul.products li.product .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Categorías destacadas */
.featured-categories {
    margin: 3rem 0;
}

.featured-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.manga { color: #ff6b6b; }
.gaming { color: #4ecdc4; }
.comics { color: #45b7d1; }
.movies { color: #f9ca24; }
.cards { color: #6c5ce7; }

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

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

/* ==========================================================================
   Hero Carousel Styles
   ========================================================================== */

.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-slide {
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1 !important;
}

.carousel-controls {
    z-index: 10;
}

.carousel-dot {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.carousel-dot:hover {
    transform: scale(1.2);
    background: #ffd700 !important;
}

.carousel-dot.active {
    transform: scale(1.3);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.carousel-prev,
.carousel-next {
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0,0,0,0.7) !important;
    transform: translateY(-50%) scale(1.1);
}

.slide-content {
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.slide-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slide-button:hover {
    background: #ffed4e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 1rem !important;
    }
    
    .hero-carousel {
        height: 250px !important;
        margin-bottom: 1rem !important;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h2 {
        font-size: 1.8rem !important;
    }
    
    .slide-content p {
        font-size: 0.9rem !important;
    }
    
    .carousel-prev,
    .carousel-next {
        padding: 8px 12px !important;
        font-size: 1rem !important;
    }
    
    .carousel-controls {
        bottom: 10px !important;
    }
    
    .carousel-dot {
        width: 10px !important;
        height: 10px !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 200px !important;
    }
    
    .slide-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .slide-content p {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .slide-button {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .carousel-prev,
    .carousel-next {
        display: none;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}