/* Custom styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-right: 0.5rem;
}

.card {
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

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

footer {
    margin-top: auto;
}

/* Project pages styling */
.project-card {
    margin-bottom: 2rem;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Gallery styling */
.gallery-item {
    margin-bottom: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

/* Contact page styling */
.contact-card {
    height: 100%;
    transition: transform 0.2s;
}

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

/* History page styling */
.history-section {
    margin-bottom: 3rem;
}

.history-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Security Image Slider Styles */
.carousel-item {
    height: 500px;
    background-color: #000;
}

.carousel-item img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.carousel-indicators {
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Gallery Page Styles */
.category-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1.1rem;
    z-index: 1;
}

#galleryImageSlider .carousel-indicators {
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}

#galleryImageSlider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

#galleryImageSlider .carousel-item {
    position: relative;
}

#galleryImageSlider .carousel-control-prev,
#galleryImageSlider .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.5);
}

#galleryImageSlider .carousel-control-prev:hover,
#galleryImageSlider .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
} 