
/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0 1.5rem;
}

#mobile-menu.open {
    max-height: 500px;
    padding: 1.5rem;
}

/* Desktop Menu styles */
@media (min-width: 768px) {
    #mobile-menu {
        max-height: none;
        overflow: visible;
        position: static;
        box-shadow: none;
        padding: 0;
        display: flex !important;
        flex-direction: row;
        width: auto;
        background-color: transparent;
    }
}

/* Navigation Link Styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

@media (min-width: 768px) {
    .nav-link {
        padding: 0;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f97316;
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: #f97316;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Section Title Styles */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f97316;
    border-radius: 2px;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hero Section Gradient */
.hero-gradient {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(5, 150, 105, 0.6) 100%);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .section-title::after {
        width: 100px;
        height: 5px;
    }
}

/* Consistent product images */
.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-image:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .product-image {
        height: 240px;
    }
}

/* Carousel Specific Styles */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1; /* Ensure slides stack properly */
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Image at bottom */
}

.carousel-slide .bg-gradient-to-r {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Overlay above image */
    pointer-events: none; /* Let clicks pass through to buttons */
}

.carousel-slide .relative.z-10 {
    position: relative;
    z-index: 2; /* Text above overlay */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.dot {
    background-color: #9ca3af;
}

.dot.active {
    background-color: #ffffff;
}
