:root {
    --primary: #00A651;
    --secondary: #4CC9F0;
    --accent: #FF6B6B;
    --bg-light: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat Alternates', sans-serif;
}

.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.navbar-brand h1 {
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin: 0;
    font-family: 'Montserrat Alternates', sans-serif;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: darken(var(--primary), 10%);
    border-color: darken(var(--primary), 10%);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

.content-wrapper {
    min-height: calc(100vh - 80px);
}
/* Footer Styles */
.footer-section {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-heading {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-info-section .card {
    transition: transform 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

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

.contact-form-section .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-section .form-control {
    border-radius: 20px;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-form-section .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0,166,81,0.15);
}

.contact-form-section .form-select {
    border-radius: 20px;
    padding: 0.75rem 1.25rem;
    background-position: right 1.25rem center;
}

.contact-form-section textarea.form-control {
    min-height: 120px;
}

.faq-section .accordion-button {
    padding: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-section .accordion-body {
    padding: 1.25rem;
    color: var(--text-secondary);
}

/* Search Form Styles */
.form-control {
    border-radius: 20px 0 0 20px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.15);
}

.btn-outline-primary {
    border-radius: 0 20px 20px 0;
    border: 1px solid rgba(0,0,0,0.1);
    border-left: none;
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Modern Carousel Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
}

.carousel-inner {
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
    height: 70vh;
    min-height: 500px;
}

/* Fade transition for carousel */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.active img {
    transform: scale(1.05);
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Modern Carousel Caption */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: none;
    letter-spacing: -0.5px;
}

.carousel-caption .lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.carousel-caption .btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
}

/* Modern Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
    z-index: 3;
}

.carousel-indicators [type="button"] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-indicators [type="button"]:hover {
    opacity: 1;
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators [type="button"].active {
    background-color: var(--primary);
    border-color: var(--primary);
    width: 30px;
    border-radius: 6px;
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 166, 81, 0.5);
}

/* Modern Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(1352%) hue-rotate(120deg) brightness(95%) contrast(101%);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300A651'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300A651'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.75rem;
    }
    
    .carousel-caption .lead {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .carousel-caption .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 45vh;
        min-height: 350px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
}

/* Adaptive Images - Same Size */
.card-img-top,
.product-card img,
.product-card .card-img-top,
.category-card img,
.category-card .img-fluid {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.card-img-top:hover,
.product-card img:hover,
.category-card img:hover {
    transform: scale(1.05);
}

/* Category Images */
.category-card img,
.category-card .img-fluid {
    height: 250px;
}

/* Product Card Images */
.product-card .card-img-top,
.product-card img {
    height: 300px;
}

/* Product Detail Images */
.product-image-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Responsive Image Sizes */
@media (max-width: 992px) {
    .card-img-top,
    .product-card img,
    .product-card .card-img-top {
        height: 250px;
    }
    
    .category-card img,
    .category-card .img-fluid {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .card-img-top,
    .product-card img,
    .product-card .card-img-top {
        height: 220px;
    }
    
    .category-card img,
    .category-card .img-fluid {
        height: 180px;
    }
    
    .product-image-container img {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .card-img-top,
    .product-card img,
    .product-card .card-img-top {
        height: 200px;
    }
    
    .category-card img,
    .category-card .img-fluid {
        height: 160px;
    }
}
