/* style.css */
:root {
    --primary-color: #198754;
    --secondary-color: #146c43;
    --light-green: #d1e7dd;
    --dark-green: #0a3622;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
}

/* Client Logos */
.client-logo {
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-bottom: 3px solid var(--primary-color);
}

.product-card:hover .card-img-container img {
    transform: scale(1.08);
}



.product-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Product Card Body */
.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
    margin-bottom: 1rem;
}

.specs-summary {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.product-card .btn-outline-success {
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-card .btn-outline-success:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(2px);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    background-color: white !important;
}

/* Mobile navbar collapse background */
.navbar-collapse {
    background-color: white;
}

/* Mobile specific navbar styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white !important;
        padding: 1rem;
        border-top: 1px solid #dee2e6;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        background-color: white !important;
    }
    
    .navbar-nav .nav-link {
        color: #333 !important;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #f0f0f0;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa !important;
        color: var(--primary-color) !important;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    /* Fix the button in mobile menu */
    .navbar-nav .btn-success {
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: white !important;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .btn-success:hover {
        background-color: var(--secondary-color) !important;
        border-color: var(--secondary-color) !important;
        color: white !important;
    }
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .client-logo {
        margin-bottom: 15px;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .card-img-container {
        height: 180px;
    }
    
    .product-category-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Product Detail Page */
.product-detail-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.specs-list li:last-child {
    border-bottom: none;
}

.season-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Admin Panel */
.sidebar {
    min-height: calc(100vh - 56px);
    background: #2c3e50;
}

.sidebar .nav-link {
    color: #ddd;
    padding: 12px 20px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-left-color: var(--primary-color);
}