/* Buy Coffee Page Specific Styles */

.page-header {
    background: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?q=80&w=1961&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-position: center;
    background-size: cover;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    color: white;
    
}

.page-title {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin: 0;
}

.coffee-products {
    padding: 60px 20px;
    color: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2.8rem;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 40px;
    font-family: "Cherry Bomb One", system-ui;
}

.filter-section {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    margin: 0 10px 10px 0;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: sans-serif;
    font-weight: bold;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--main-color);
    color: rgb(38, 12, 12);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: rgba(0,0,0,0.4);
    border: 2px solid var(--main-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    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);
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 15px;
    font-family: "Cherry Bomb One", system-ui;
}

.product-description {
    font-family: sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.product-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.roast-type,
.origin {
    background: rgba(255, 255, 0, 0.2);
    color: var(--main-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: sans-serif;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.4rem;
    color: var(--main-color);
    font-weight: bold;
    font-family: "Cherry Bomb One", system-ui;
}

.add-to-cart {
    background: var(--main-color);
    color: rgb(38, 12, 12);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: sans-serif;
}

.add-to-cart:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 0, 0.3);
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    color: white;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .page-header {
        height: 50vh;
        margin-top: 90px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .coffee-products {
        padding: 40px 15px;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.4rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
