
/* --- 1. IMPORT STYLES TRANG CHỦ --- */
@import url('trangchu.css');

/* --- 2. MAIN CONTAINER --- */
.about-main-content {
    padding-top: 150px; 
    min-height: 100vh;
    background: #000;
}

/* --- 3. SECTION 1 --- */
.about-section-1 {
    background-image: url('../images/25.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 0;
    margin: 0;
    gap: 30px;
}

.about-element-26 {
    width: 70%; 
    max-width: 900px;
    margin: 0 auto;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.5));
    z-index: 2;
}
.about-element-26 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; 
}

/* 4. KHỐI NÚT BẤM */
.about-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 3;
    padding: 0 20px;
}

.about-btn {
    display: block;
    flex: 1;
    max-width: 350px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}
.about-btn img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.about-btn:hover {
    transform: translateY(-5px);
}

/* --- 5. CÁC SECTION ẢNH FULL WIDTH (29.png & 30.png) --- */
.full-width-image-section {
    padding: 0 !important;
    margin: 0 !important;
    background: none;
    line-height: 0;
}

.full-width-image-section .container-fluid {
    padding: 0;
    margin: 0;
}

.full-width-image-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-section-1 + .about-section-2,
.about-section-2 + .about-section-3 {
    margin-top: 0 !important;
}

/* --- 6. POPUP POPUP --- */
.about-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; 
    padding: 40px 20px;
}

.about-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.about-popup-box {
    position: relative;
    background: #000;
    border: 2px solid var(--menu-border-color, #DAA520); 
    border-radius: 10px;
    width: 100%;
    max-width: 750px;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: translateY(-50px) scale(0.9);
    transition: transform 0.4s ease;
}

.about-popup-overlay.active .about-popup-box {
    transform: translateY(0) scale(1);
}

.about-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #e74c3c;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-popup-close:hover {
    background-color: #c0392b;
    transform: rotate(90deg) scale(1.1);
}

.about-popup-close .close-icon {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    display: block;
    font-family: Arial, sans-serif;
    margin-top: -2px;
}

.about-popup-body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.about-popup-body img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 80vh;
}

/* ========================================================= */
/* --- 7. FOOTER STYLES (CỐ ĐỊNH HOÀN TOÀN 3 CỘT) --- */
/* ========================================================= */

.main-footer {
    background-color: #030014;
    color: #fff;
    padding: 60px 20px;
    border-top: 2px solid var(--menu-border-color, #DAA520);
    margin: 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: var(--font-family-custom, sans-serif);
    font-size: 20px;
    color: #32CD32;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: left;
}

.footer-heading.small {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Cột Trái Thông tin */
.footer-info-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    width: 100%;
}

.icon-wrapper {
    width: 35px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
    padding-top: 2px;
}

.footer-icon.large-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.text-content {
    flex: 1;
    text-align: left;
}

.text-content p {
    margin: 0 0 4px 0;
    line-height: 1.5;
    color: #fff;
    font-size: 14px;
}

.text-content p strong {
    color: #fff;
    font-weight: bold;
}

/* Cột Giữa Logo */
.footer-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.footer-logo-img {
    max-height: 120px;
    width: auto;
}

/* Cột Phải Social */
.footer-social {
    align-items: flex-end;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.social-icon-img.large-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icons a:hover .social-icon-img {
    transform: translateY(-3px);
}

.social-text {
    font-family: var(--font-family-custom, sans-serif);
    font-size: 16px;
    color: #32CD32;
    margin-bottom: 15px;
    text-align: right;
    width: 100%;
}

.cta-button-footer {
    display: block;
    max-width: 220px;
    transition: transform 0.3s ease;
}

.cta-button-footer:hover {
    transform: scale(1.05);
}

.cta-button-footer img {
    width: 100%;
    height: auto;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .about-main-content { padding-top: 120px; }
    .about-section-1 { min-height: auto; padding: 30px 0; gap: 20px; }
    .about-element-26 { width: 85%; }
    .about-buttons-container { gap: 15px; flex-direction: row; }
    
    /* Footer Mobile */
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-column {
        width: 100%;
        align-items: center;
    }

    .footer-heading { text-align: center; }
    
    .footer-info-group {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-text {
        text-align: center;
    }
}

/* --- Đảm bảo tất cả các section ảnh tràn viền liền mạch nhau --- */
.full-width-image-section {
    padding: 0 !important;
    margin: 0 !important;
    background: none;
    line-height: 0;
}

.full-width-image-section + .full-width-image-section,
.about-section-1 + .full-width-image-section {
    margin-top: 0 !important;
}

/* --- SECTION 5: NỀN 35.png & BỐ CỤC 2 CỘT --- */
.about-section-5 {
    background-image: url('../images/35.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px; /* Padding trên dưới để khung không bị chật */
    margin: 0;
    width: 100%;
}

/* Khung chứa 2 cột */
.section-35-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Căn giữa chiều dọc giữa 2 cột */
    gap: 40px; /* Khoảng cách giữa Cột 1 và Cột 2 */
}

/* Cột 1 (Bên trái - 3 hàng) */
.col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Khoảng cách giữa 3 ảnh 36, 34, 33 */
}

/* Cột 2 (Bên phải - 1 ảnh 32) */
.col-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style chung cho ảnh trong grid */
.grid-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hiệu ứng di chuột nhẹ cho sinh động (Tuỳ chọn) */
.grid-img:hover {
    transform: scale(1.02);
}

/* --- RESPONSIVE CHO MOBILE --- */
@media (max-width: 768px) {
    .about-section-5 {
        padding: 40px 15px;
    }
    
    .section-35-container {
        flex-direction: column; /* Chuyển thành cột dọc trên màn hình nhỏ */
        gap: 30px;
    }
    
    .col-left {
        gap: 15px; /* Giảm gap giữa các ảnh trên mobile */
    }
}

/* --- SECTION 5: NỀN 35.png & BỐ CỤC 2 CỘT --- */
.about-section-5 {
    background-image: url('../images/35.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    margin: 0;
    width: 100%;
}

.section-35-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Kiểu dáng cho ảnh có thể click mở popup (34.png và 33.png) */
.clickable-img-link {
    display: block;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clickable-img-link:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* --- RESPONSIVE MOBILE: GIỮ NGUYÊN LAYOUT NẰM NGANG NHƯ LAPTOP --- */
@media (max-width: 768px) {
    .about-section-5 {
        padding: 30px 10px;
    }
    
    /* Vẫn giữ flex-direction: row để 2 cột nằm ngang */
    .section-35-container {
        flex-direction: row; 
        gap: 12px;
    }
    
    .col-left {
        gap: 10px; /* Thu nhỏ gap giữa các ảnh trên mobile */
    }
}
/* --- SECTION NỀN 39.png & 4 ẢNH DÀN NGANG --- */
.about-section-seasons {
    background-image: url('../images/39.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    width: 100%;
}

.seasons-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row; /* Dàn hàng ngang */
    justify-content: center;
    align-items: center; /* Căn giữa theo chiều dọc */
    gap: 20px;
    width: 100%;
}

.season-item {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.season-item:hover {
    transform: translateY(-5px) scale(1.03);
    filter: brightness(1.1);
}

.season-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* THIẾT LẬP KÍCH THƯỚC GIẢM DẦN TỪ TRÁI SANG PHẢI */
.season-41 { width: 32%; } /* To nhất */
.season-40 { width: 26%; } /* Nhỏ vừa */
.season-42 { width: 22%; } /* Nhỏ hơn nữa */
.season-43 { width: 17%; } /* Nhỏ nhất */

/* RESPONSIVE MOBILE: GIỮ NGUYÊN HÀNG NGANG */
@media (max-width: 768px) {
    .about-section-seasons {
        padding: 30px 10px;
    }
    .seasons-container {
        flex-direction: row; /* Giữ nguyên hàng ngang trên mobile */
        gap: 8px; /* Thu nhỏ khoảng cách giữa 4 ảnh */
    }
}
/* --- SECTION 3: ĐẶT NỀN 30.png VÀ ĐẶT NÚT btn.png ĐÈ LÊN --- */
.about-section-3 {
    /* Đặt ảnh 30.png làm hình nền */
    background-image: url('../images/30.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    width: 100%;
    min-height: 450px; /* Chiều cao tối thiểu để hiển thị đẹp nền 30.png */
    
    /* Padding-top 50px theo đúng yêu cầu */
    padding-top: 50px; 
    padding-bottom: 50px;
    margin: 0 !important;
    
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Để nút nằm ở đoạn phía trên của nền 30.png */
}

.section-3-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-31-link {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-31-link:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-31-img {
    max-width: 320px; /* Kích thước nút btn.png vừa vặn trên nền */
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.5)); /* Bóng đổ nhẹ giúp nút nổi trên nền 30.png */
}

/* RESPONSIVE MOBILE: GIỮ NGUYÊN LAYOUT NHƯ LAPTOP */
@media (max-width: 768px) {
    .about-section-3 {
        padding-top: 50px; /* Vẫn giữ padding top 50px chuẩn như lap */
        min-height: 250px; /* Thu nhỏ min-height theo tỷ lệ mobile */
    }
    
    .btn-31-img {
        max-width: 200px; /* Nút thu nhỏ lại trên điện thoại nhưng giữ nguyên bố cục */
    }
}

/* --- SECTION 3: ẢNH 30.png FULL SIZE & NÚT btn.png ĐÈ LÊN --- */
.about-section-3 {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0; /* Xóa khoảng trắng thừa chân ảnh */
}

/* Ảnh 30.png hiển thị tràn 100% chiều rộng, giữ nguyên tỉ lệ gốc không bao giờ bị shrink */
.section-3-bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Khối lớp phủ đè lên ảnh 30.png để chứa nút btn.png */
.section-3-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 50px; /* Giữ nguyên vị trí nút cách mép trên 50px */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Giữ nút ở phía trên */
    pointer-events: none; /* Tránh cản trở giao diện xung quanh */
}

/* Cho phép nút bấm nhận click */
.btn-31-link {
    pointer-events: auto;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-31-link:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-31-img {
    max-width: 700px; /* Kích thước nút bấm */
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.5));
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .section-3-overlay {
        padding-top: 30px; /* Thu nhỏ padding nhẹ trên mobile cho cân đối */
    }
    .btn-31-img {
        max-width: 200px; /* Nút thu nhỏ vừa vặn trên mobile */
    }
}