﻿
.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-image {
    width: 33.33%; /* Each image takes up a third of the screen */
    transition: all 0.5s ease;
    object-fit: cover; /* Ensure image covers the area */
}

    .carousel-image.center {
        opacity: 1;
        transform: scale(1.1);
        filter: brightness(1);
    }

    .carousel-image.left,
    .carousel-image.right {
        opacity: 0.5;
        transform: scale(0.9);
        filter: brightness(0.7);
    }

    /* Optional: If you want to make the center image larger */
    .carousel-image.center {
        transform: scale(1.1);
    }

/* Ensure no extra space between images */
.carousel-image-wrapper img {
    margin: 0;
}

/* Optional: Ensure carousel doesn't overlap the images */
.carousel-inner {
    position: relative;
}

/* Content Wrapper Styles */
.content-wrapper {
    margin: 0px auto;
    text-align: center;
    padding: 20px;
    /*background: linear-gradient(145deg, #f7f7f7, #ffffff);*/
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    max-width: 800px;
    transition: all 0.3s ease;
}

.content-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    font-family: "Poppins", sans-serif;
}

/* Single Fullscreen Image Carousel */
.carousel-full-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.card-title {
    font-weight: bold;
    font-size: 1.3rem;
}

.display-4 {
    font-weight: 600;
}

#welcome-section {
    background-color: #f8f9fa;
    padding: 3rem 1rem;
    border-radius: 12px;
}

.icon-img {
    width: 24px;
    height: 24px;
}

.container.shadow {
    background-color: #fff;
}

img#image-style {
    width: 10%;
    height: 30px;
}

.gallery-thumb {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

    .gallery-thumb:hover {
        transform: scale(1.05);
    }

.list-icon {
    display: inline-block;
    border-radius: 50%;
}

.border-radius-round {
    border-radius: 50% !important;
}

.red-bg {
    background-color: #dc3545;
}

.green-bg {
    background-color: #28a745;
}

.orange-bg {
    background-color: #fd7e14;
}

.icon-identy::before,
.icon-environment::before,
.icon-doc::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
}

/* Optional custom background icons inside spans */
.icon-identy::before {
    background-image: url('/images/icons/id-card.svg');
}

.icon-environment::before {
    background-image: url('/images/icons/env.svg');
}

.icon-doc::before {
    background-image: url('/images/icons/doc.svg');
}

/* Left column: Photo Gallery */
#left-column {
    background-color: #f8f9fa; /* light gray background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    height: 100%;
}

/* Right column: Information & Quick Links */
#right-column {
    background-color: #ffffff; /* white background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    height: 100%;
}

/* Optional: Make sure columns stretch full height */
.row > div[class*="col-"] {
    display: flex;
    flex-direction: column;
}

.section-bg {
    background-color: #f5f7fa; /* soft background */
}

.card-style {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #dee2e6;
}

/* Icon style */
.list-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: white;
}

/* Background colors */
.green-bg {
    background-color: #28a745;
}

.orange-bg {
    background-color: #fd7e14;
}

.blue-bg {
    background-color: #007bff;
}

.gray-bg {
    background-color: #6c757d;
}

.red-bg {
    background-color: #dc3545;
}

/* Optional icons - just visual representation using emojis or unicode (adjust as needed) */
.icon-map-area::before {
    content: "🗺️";
}

.icon-infrastructure::before {
    content: "🏢";
}

.icon-village::before {
    content: "🏘️";
}

.icon-home::before {
    content: "🏠";
}

.icon-group-fill::before {
    content: "👥";
}
/* Additional icon colors */
.pink-bg {
    background-color: #e83e8c;
}

.teal-bg {
    background-color: #20c997;
}

.black-bg {
    background-color: #343a40;
}

.purple-bg {
    background-color: #6f42c1;
}

.yellow-bg {
    background-color: #ffc107;
}

/* Emoji-style content icons */
.icon-senior::before {
    content: "👴";
}

.icon-women::before {
    content: "👩";
}

.icon-gas::before {
    content: "🔥";
}

.icon-child::before {
    content: "🧒";
}

.icon-gescom::before {
    content: "💡";
}

.icon-police::before {
    content: "🚓";
}

.icon-ambulance::before {
    content: "🚑";
}

.icon-fire::before {
    content: "🚒";
}

/* Responsive Design for Mobile Screens (Max Width: 768px) */
@media (max-width: 768px) {
    .carousel-item {
        display: flex;
        justify-content: center;
    }

    .carousel-image-wrapper {
        justify-content: center; /* Center the single image */
    }

    .carousel-image {
        width: 100%; /* Image takes full width */
        transform: scale(1); /* Reset scale */
    }

        .carousel-image.left,
        .carousel-image.right {
            display: none; /* Hide the non-center images */
        }

    .content-text {
        font-size: 1.2rem;
    }

    .content-wrapper {
        padding: 15px;
        margin: 20px 10px;
    }

    

    /* Adjust carousel for smaller devices */
    @media (max-width: 768px) {
        .carousel-full-image {
            height: 60vh;
        }
    }
}
