﻿body {
}
/* Custom color for active pagination */
.page-item.active .page-link {
    background-color: #5a8f7b;
    border-color: #5a8f7b;
}

.page-link {
    color: #5a8f7b;
}

/* Hero Carousel Styles */
.hero-banner {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.carousel-item {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/hero-banner.jpg') center/cover;
    min-height: 400px;
}

    .carousel-item .hero-content {
        padding: 4rem 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
        width: 100vw; /* Full width of the viewport */
    }

/* Enhanced Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.8;
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Ensure carousel items have proper transition */
.carousel-item {
    transition: transform .6s ease-in-out;
}

/* Ensure indicators are visible */
.carousel-indicators {
    z-index: 15;
}

    .carousel-indicators [data-bs-target] {
        background-color: #fff;
        opacity: .5;
    }

    .carousel-indicators .active {
        opacity: 1;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 0 5px;
    }

/* Enhanced Search Bar Styles */
.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 5px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .search-bar input {
        border: none;
        background: none;
        padding: 10px 20px;
        flex: 1;
        outline: none;
        font-size: 1rem;
    }

    .search-bar button {
        background: #5a8f7b;
        border: none;
        padding: 10px 25px;
        border-radius: 25px;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .search-bar button:hover {
            background: #4a7a68;
        }

/* Hero Carousel Styles */
.hero-banner {
    position: relative;
    overflow: hidden;
    height: 250px;
    width: 100vw; /* Full width of the viewport */
}

.carousel-item {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-banner.jpg') center/cover;
    min-height: 400px;
    width: 100vw; /* Ensure the carousel item spans the full width */
    background-size: cover; /* Ensure the background image covers the full area */
}

    .carousel-item .hero-content {
        padding: 4rem 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
        width: 100vw; /* Full width of the viewport */
    }

/* Additional Styling for Carousel Controls and Indicators */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.8;
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Ensure carousel items have proper transition */
.carousel-item {
    transition: transform .6s ease-in-out;
}

/* Ensure indicators are visible */
.carousel-indicators {
    z-index: 15;
}

    .carousel-indicators [data-bs-target] {
        background-color: #fff;
        opacity: .5;
    }

    .carousel-indicators .active {
        opacity: 1;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 0 5px;
    }