/* Main Styles */
:root {
    --primary: #198076;
    --primary-dark: #1F7952;
    --secondary: #A1888D;
    --secondary-dark: #0D535C;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
}

.hero-section {
    background: linear-gradient(135deg, #198076 0%, #1F7952 100%);
}

.gradient-text {
    background: linear-gradient(45deg, #198076, #1F7952);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location-bar {
    font-size: 14px;
}

.search-section {
    position: sticky;
    top: 0;
    z-index: 100;
}

.carousel-item img {
    max-height: 400px;
    object-fit: cover;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .category-item {
        padding: 8px !important;
    }
    
    .category-item h6 {
        font-size: 10px;
    }
}

.store-item {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.store-item:hover {
    transform: translateX(5px);
}

.store-item:hover .store-icon {
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.product-card {
    transition: all 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-icon:hover {
    background: var(--primary);
    color: white !important;
    transform: scale(1.1);
}

.banner-img {
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.03);
}

.navbar-brand {
    font-weight: 700;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .carousel-item img {
        max-height: 200px;
    }
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.4s; }

/* Product Grid Responsive */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}