﻿/* Banner */
/* Ảnh banner */


.home-container {
    min-height: 600px !important;
}


.banner-container {
    position: relative !important;
}

.home-search-overlay {
    position: absolute;
    top: 45%;
    left: 20%;
    z-index: 10;
    width: 35%; /* có thể điều chỉnh */
}
/* Overlay nội dung */
.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    padding: 2rem;
}


.home-input, .home-btn {
    border-radius: 8px;
}


.home-search-box {
    background-color: rgba(0, 0, 0, 0.3); /* Nền trong suốt */
}



/* Text */
.home-banner-right h2 {
    font-size: 2rem;
    font-weight: bold;
}

.home-banner-right p {
    font-size: 1.1rem;
}


/* Tin tức */
.home-news-card {
    transition: transform .2s;
}

    .home-news-card:hover {
        transform: translateY(-5px);
    }

.home-news-link {
    text-decoration: none;
    color: #0d6efd;
    font-weight: 600;
}

.home-news-detail {
    color: #198754;
    font-weight: 500;
    text-decoration: none;
}

/* About */
.home-about-card img {
    border-radius: 12px;
}

.home-about-card h5 {
    font-weight: 600;
    margin-bottom: .5rem;
}

/* Contact */
.home-contact{
    width: 100%;
    background: #fff;
    padding-bottom: 20px;
}
.home-contact-form .form-control {
    border-radius: 8px;
}

.cke-image > p > img {
    border-radius: 100px !important;
}


@media (max-width: 992px) {
    .home-banner-img {
        height: 400px;
    }
    .carousel-caption {
        font-size: 14px;
        padding: 0 10px;
    }

    .home-search-overlay {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 15px;
    }

    .home-search-box {
        padding: 1rem;
    }

        .home-search-box h4 {
            font-size: 1rem;
        }

        .home-search-box label,
        .home-search-box input,
        .home-search-box button {
            font-size: 14px;
        }
}

@media (max-width: 768px) {
    .home-banner-img {
        height: 300px; 
    }

    .carousel-caption {
        font-size: 14px;
        padding: 0 10px;
    }

    .home-search-overlay {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 15px;
    }

    .home-search-box {
        padding: 1rem;
    }

        .home-search-box h4 {
            font-size: 1rem;
        }

        .home-search-box label,
        .home-search-box input,
        .home-search-box button {
            font-size: 14px;
        }
}
.home-banner-img {
    width: 100%;
    height: auto;
    max-height: 600px !important
    object-fit: cover;
}

@media (max-width: 1200px) {
    .home-banner-img {
        max-height: 500px; 
    }
}

