:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 0;
    margin: 0;
}

/* Header Styles */
header {
    border-bottom: 1px solid #eee;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-contact {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .navbar-contact {
        font-size: 0.9rem;
    }
}

/* Sticky navbar spacing */
.sticky-top {
    top: 0;
    z-index: 1020;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    margin-bottom: 2rem;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-img {
    height: 200px;
    object-fit: cover;
}

/* Category Section */
.category-header {
    margin-bottom: 3rem;
}

.category-header img {
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

footer h5 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
}

/* Utility Classes */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Slider Styles */
.slider-section {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.slider-section .carousel-item {
    height: 500px;
}

.slider-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services-section .card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.services-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Clients Slider */
.clients-section {
    background-color: #f9f9f9;
}

.client-logo {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 10px;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.1) !important;
    color: #333 !important;
    border: none !important;
    font-size: 1.5rem !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
    background: rgba(0,0,0,0.2) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -20px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -20px;
}

/* Responsive Services & Products Grid */
@media (max-width: 768px) {
    .services-section .col-lg-3,
    .products-section .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .services-section .col-lg-3,
    .products-section .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Category Header Container */
.category-header-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

/* Category Header Image */
.category-header-image {
    width: 100%;
    margin: 0;
    padding: 0;
}

.category-header-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Updated Product Card Enhancements */
.product-image-container {
    height: 200px;
    background: #f8f9fa;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-header {
    padding: 10px 20px;
}

.product-name {
    font-size: 1.2rem;
}

.product-price {
    font-size: 1.5rem;
}

.product-points {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.point-item {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.point-item::before {
    content: "✔";
    color: var(--primary-color);
    font-weight: bold;
}

.point-item:hover {
    background-color: #fff !important;
    color: inherit !important;
    transform: none !important;
}

.buy-now-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto 20px auto;
    transition: background 0.3s ease;
}

.buy-now-btn:hover {
    opacity: 0.9;
}
