﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}


/* ----- Carousel Image ----- */
.carousel-img {
    height: 450px; /* giảm chiều cao desktop */
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
    filter: brightness(90%) contrast(105%);
    border-radius: 8px;
}

.carousel-img:hover {
    transform: scale(1.02);
    filter: brightness(100%) contrast(110%);
}

.carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    background: rgba(0, 0, 0, 0.6); /* nền mờ vừa phải */
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(4px); /* hiệu ứng mờ phía sau */
    box-shadow: 0 0 10px rgba(0,0,0,0.6); /* viền đổ bóng xung quanh caption */
}

.carousel-caption h5,
.carousel-caption p {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9), -1px -1px 2px rgba(255,255,255,0.4); /* đổ bóng sáng tối nổi bật */
    margin: 0;
 }

.carousel-img {
    height: 750px;
    object-fit: cover;
}

.gridview-pager {
    text-align: center;
    margin-top: 15px;
}

.gridview-pager td {
        padding: 6px 10px;
}
