:root {
    --primary-color: #88C250;
    --secondary-color: #126B3E;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    margin: 0;
    overflow-x: hidden;
}

/* Header & Navigation */
.top-bar {
    background: var(--secondary-color);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar a {
    color: #ddd;
    text-decoration: none;
    margin-right: 15px;
}

.main-header {
    padding: 20px 0;
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 60px;
    max-width: 250px;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 10px !important;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.search-box {
    position: relative;
    max-width: 300px;
    width: 100%;
    margin-left: 20px;
}

.search-box input {
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    width: 100%;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
}

/* Hero Slider */
.hero-section {
    position: relative;
    height: 600px;
    background: url('https://images.unsplash.com/photo-1512418490979-92798ccc7af2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 41, 95, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: #e05e18;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 104, 27, 0.4);
}

/* Categories */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 800;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-10px);
    background: var(--secondary-color);
}

.category-card:hover h4 {
    color: white;
}

.category-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Products */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.product-card:hover {
    transform: scale(1.02);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 20px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-links h4 {
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

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