/* --- HERO SECTION --- */
.hero-section {
    padding: 20px;
    min-height: 70vh; /* Giữ chiều cao lớn */
    
    /* Flexbox để căn giữa nội dung tuyệt đối */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Căn giữa nội dung theo chiều dọc */
    align-items: center;     /* Căn giữa chiều ngang */
    
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'Overlock', cursive;
    margin: 2em 0;
    
    /* --- XỬ LÝ ẢNH NỀN --- */
    background-image: url('/images/home/Buynow.jpg');
    background-repeat: no-repeat;

    /* Cover  ảnh luôn tràn đầy khung */
    background-size: cover; 
    background-position: center;
    
    /* Màu chữ và bóng */
    color: #ffffff;
    text-shadow: 
        1px 1px 0 #000, 
        -1px -1px 0 #000, 
        1px -1px 0 #000, 
        -1px 1px 0 #000,
        0 4px 10px rgba(0,0,0,0.5); /* Thêm bóng mờ nhẹ để chữ nổi bật hơn trên nền ảnh */
}

.hero-section h2 {
    font-size: 8rem;
    font-weight: 500;
    margin: 10px 0;
    font-family: 'Pacifico', cursive;
    line-height: 1.2;
}

.hero-section p {
    font-size: 4em;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;
}

/* NÚT BẤM (CTA) */
.cta-button {
    text-decoration: none;
    text-shadow: none;
    background-color: rgba(255, 255, 255, 0.1); /* Nền trắng mờ nhẹ */
    color: #ffffff;
    border: 3px solid #ffffff; 
    padding: 15px 60px;
    border-radius: 50px; 
    display: inline-block;
    
    font-size: 2.5em; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-top: 30px;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background-color: #ffffff;
    color: #4a3e36;
    transform: translateY(-5px); /* Bay lên nhẹ khi hover */
}


/* =========================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================= */

/* Tablet & Laptop nhỏ (Dưới 992px) */
@media (max-width: 992px) {
    .hero-section { min-height: 60vh; }
    .hero-section h2 { font-size: 6rem; }
    .hero-section p { font-size: 3em; }
    .cta-button { font-size: 2em; padding: 12px 50px; }
}


@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh; /* Chiều cao vừa vặn cho mobile */
        padding: 40px 15px; 
    }

    .hero-section h2 {
        /* Dùng clamp() giúp chữ co giãn mượt mà */
        font-size: clamp(2.5rem, 12vw, 4rem); 
        margin-bottom: 5px;
    }

    .hero-section p {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 20px;
        padding: 0;
    }

    .cta-button {
        font-size: 1.2rem; /* Nút nhỏ gọn lại */
        padding: 12px 35px;
        border-width: 2px;
        margin-top: 10px;
    }
}