:root {
    --primary-blue: #dbeafe;
    --pig-blood: #63082e;
    --dark-blue: #1e40af;
    --light-gray: #f8fafc;
    --light-orange: #fff7f0;
}

/* ส่วนหัวข้อหลัก */
.hero-section {
    /* padding: 60px 0 0 0; */
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    width: 100%;
    height: calc(100vh - 188.8px);
    margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
    .hero-section {
        height: calc(100vh - 100px);
    }
}

.hero-bg {
    filter: blur(3.5px) brightness(0.9);
    /* filter: blur(2px);
    opacity: 0.7; */
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    filter: blur(0px) brightness(1);
    /* position: relative; */
    z-index: 2;

    /* max-width: 1200px; */
    width: 100vw;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0%;
}

.logo-container {
    /* margin-bottom: 30px; */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    /* filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); */
    transition: all 0.5s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 80%;
    margin: 0 auto 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.hero-btn {
    display: inline-block;
    background-color: #8a2e50;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    /* transition-delay: 0.4s; */
    position: relative;
    overflow: hidden;
}

.hero-btn:hover, .submit-btn:hover {
    background-color: var(--pig-blood);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.remove-filter{
    filter: blur(0px) brightness(1);
    object-fit: contain;
    background-color: black;
}

.hero-detail-container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-detail-container > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background-color: black;
}

.carousel-control-next, .carousel-control-prev, .carousel-indicators {
    z-index: 1000;
}

 /* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
}

.hero-btn, .submit-btn {
    position: relative;
    overflow: hidden;
}



