/* 
* La Tienda de Don Goyo - Catalog Styles
* Refined styles for the catalog pages
*/

/* Page Banner */
.page-banner {
    height: 40vh;
    min-height: 300px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 85px;
    position: relative;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.banner-content h1 {
    color: white;
    font-size: 4.2rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 300;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Catalog Sections */
.catalog-section {
    padding: var(--spacing-xl) 0;
}

.catalog-section.bg-light {
    background-color: var(--section-bg);
}

/* Product Categories */
.product-categories {
    margin-top: var(--spacing-lg);
}

.product-categories h3 {
    font-size: 2.8rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-xs);
}

.product-categories h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

/* Product Card */
.product-card {
    background-color: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: var(--hover-transform);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-color);
}

.product-info h4 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
    color: var(--dark-color);
}

.product-info p {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
}

.product-price {
    margin-bottom: var(--spacing-md);
    font-family: var(--serif-font);
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Combo Cards */
.combo-card {
    grid-column: span 2;
}

.combo-card .product-image {
    height: 280px;
}

/* View More Button */
.view-more {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: white;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .combo-card {
        grid-column: span 1;
    }
    
    .combo-card .product-image {
        height: 220px;
    }
}

@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-banner {
        height: 30vh;
    }
}

@media screen and (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
