/* Products Page Specific Styles */

/* Products Hero */
.products-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(184, 134, 11, 0.7) 0%,
        rgba(26, 26, 26, 0.8) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.page-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
}

.page-subtitle {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Product Categories */
.product-categories {
    padding: 80px 0;
    background: var(--cream);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-gold);
    font-family: var(--font-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 30px;
}

.filter-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gold);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.product-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-item.hidden {
    display: none;
}

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

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-item:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    background: var(--primary-gold);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.product-details {
    padding: 35px;
}

.product-details h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-origin {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--primary-gold);
    font-style: italic;
    margin-bottom: 20px;
}

.product-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.spec {
    padding: 6px 15px;
    background: var(--cream);
    color: var(--text-dark);
    font-size: 13px;
    border-radius: 15px;
    font-family: var(--font-secondary);
}

.product-sizes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-family: var(--font-secondary);
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.size-option:hover {
    background: var(--primary-gold);
    color: var(--white);
}

/* CTA Section */
.products-cta {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        var(--primary-gold) 0%,
        var(--deep-gold) 100%
    );
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content p {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .product-image-wrapper {
        height: 300px;
    }
    
    .product-details {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .category-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-details h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-details {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 200px;
    }
}