/* Custom CSS for Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0;
    display: block;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    border-radius: 8px;
    min-height: 300px;
}

.sidebar h4 {
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.social-links a {
    text-decoration: none;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a:hover {
    transform: translateX(5px);
}

/* Product Detail Page */
.product-detail {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-detail img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-detail h2 {
    color: #333;
    margin-bottom: 15px;
}

.product-detail .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin: 20px 0;
}

.product-detail .description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 30px;
    }
}


/* Contact Section */
.contact-section {
    background: #f8f9fa;
}

.contact-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.contact-card h5 {
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-icon i {
    transition: transform 0.3s;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1200&h=500&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-section .btn-warning {
    background: #ffc107;
    border: none;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s;
}

.hero-section .btn-warning:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}


/* About Section */
.about-section {
    background: #ffffff;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.about-section img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-section .fa-check-circle {
    color: #ffc107;
}

.about-section .d-flex {
    transition: transform 0.3s;
}

.about-section .d-flex:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .about-section .col-md-6:first-child {
        margin-bottom: 30px;
    }
}


/* Filter Section */
.filter-section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-section .btn-group {
    display: flex;
    gap: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.filter-btn {
    background: white;
    border: 2px solid #ffc107;
    color: #333;
    padding: 12px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
    border-right: none;
}

.filter-btn:last-child {
    border-right: 2px solid #ffc107;
}

.filter-btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.filter-btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.filter-btn:hover {
    background: #fff8e1;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #ffc107;
    color: white;
    border-color: #ffc107;
}

.filter-btn i {
    margin-right: 5px;
}

/* Responsive Filter */
@media (max-width: 768px) {
    .filter-section .btn-group {
        flex-wrap: wrap;
        width: 100%;
    }
    
    .filter-btn {
        flex: 1 1 45%;
        border-right: 2px solid #ffc107;
        border-bottom: none;
    }
    
    .filter-btn:nth-child(2) {
        border-top-right-radius: 8px;
    }
    
    .filter-btn:nth-child(3) {
        border-bottom-left-radius: 8px;
        border-top: none;
        border-top-left-radius: 0;
    }
    
    .filter-btn:last-child {
        border-bottom-right-radius: 8px;
        border-top-right-radius: 0;
    }
}


/* Price and Order Row */
.price-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.btn-order {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
}

.btn-order:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.5);
}

.btn-order:active {
    transform: translateY(0);
}
