/* --- TỔNG QUAN (RESET & VARIABLES) --- */
:root {
    --primary-color: #d89f3c;
    --text-color: #333333;
    --bg-dark: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: var(--text-color);
    font-family: "Google Sans Flex", sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

/* --- LOGIC RESPONSIVE (CÁCH 2) --- */
/* Mặc định hiển thị PC, ẩn Mobile */
.show-pc {
    display: block;
}

.show-mobile {
    display: none;
}

/* Khi màn hình nhỏ hơn hoặc bằng 768px (Mobile & Tablet dọc) */
@media (max-width: 768px) {
    .show-pc {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

/* --- STYLE CHO NÚT BẤM DÙNG CHUNG --- */
.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #b8862d;
    transform: scale(1.05);
}

/* --- STYLE SECTION 1 --- */
.relative-container {
    position: relative;
}

/* Định vị nút bấm cho bản PC (Điều chỉnh bottom và right cho khớp với ảnh thật của bạn) */
.absolute-btn-pc {
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 20px;
}

/* Định vị nút bấm cho bản Mobile (Có thể cần tinh chỉnh lại tỉ lệ % cho khớp) */
.absolute-btn-mobile {
    position: absolute;
    bottom: 8%;
    right: 5%;
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 15px;
}

/* --- PHẦN SLOGAN SECTION 1 --- */
.hero-slogan-wrap {
    /* Thay nền gradient bằng hình ảnh background-slogam.jpg */
    background-image: url('../images/background-slogam.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 20px;
    text-align: center;
    position: relative;
}

.container-slogan {
    max-width: 900px;
    margin: 0 auto;
}

.slogan-title {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    /* Màu vàng đồng đặc trưng */
    letter-spacing: 2px;
}

.slogan-desc {
    color: white;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.9;
    font-style: italic;
}

/* --- TỐI ƯU SECTION 3 --- */
.section-3-quality {
    position: relative;
    background-color: white;
}

/* Container để làm mốc định vị */
.relative-container {
    position: relative;
    width: 100%;
}

/* Căn giữa tuyệt đối nút bấm */
.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Dịch chuyển ngược lại 50% kích thước chính nó để vào giữa tâm */
    z-index: 10;
    width: 100%;
    text-align: center;
}

/* Style cho nút bấm More About */
.btn-cta-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    /* Hiệu ứng kính mờ cho hiện đại */
}

.btn-cta-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-3-quality {
    background-color: white;
}

.quality-action-wrap {
    background-image: url('../images/background-slogam.jpg');
    /* Tái sử dụng nền Section 1 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    /* Thêm dòng này để căn giữa */
}

/* Lớp phủ đen mờ để làm nổi bật nút bấm */
.quality-action-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.container-action {
    position: relative;
    z-index: 2;
}

/* Style cho nút bấm theo đúng yêu cầu */
.btn-more-about {
    display: inline-block;
    background-color: var(--primary-color);
    /* Nền vàng đồng */
    color: rgb(0, 0, 0);
    /* Chữ màu đen giống ảnh thiết kế */
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
    padding: 15px 45px;
    border-radius: 12px;
    /* Bo góc 12px theo yêu cầu */
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    /* Thêm bóng đổ cho nút nổi bật */
}

.btn-more-about:hover {
    background-color: #f0b545;
    /* Sáng lên một chút khi di chuột vào */
    transform: translateY(-3px);
}

/* --- SECTION 5 PRODUCTS (FULL WIDTH) --- */
.section-5-products {
    background-color: white;
    padding: 10px 0;
    /* Chỉ giữ khoảng cách trên/dưới, bỏ trái/phải */
    overflow: hidden;
    /* Tránh xuất hiện thanh cuộn ngang của trình duyệt */
}

.container-slider {
    width: 100%;
    max-width: 1300px;
    /* Thu nhỏ lại 1300px */
    margin: 0 auto;
    /* Căn giữa màn hình */
    padding: 0;
}

.product-item {
    display: block;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Đảm bảo ảnh luôn tràn đầy khung slide */
}

/* Ẩn bớt border nếu bạn muốn các ảnh nối liền nhau sát nách */
.product-item {
    border: none;
}

/* --- SECTION 6 PROMO --- */
.section-6-promo {
    background-color: white;
    width: 100%;
    overflow: hidden;
}

.section-6-promo img {
    width: 100%;
    height: auto;
}

/* --- SECTION 7 FOOTER --- */
.site-footer {
    background-color: #3b3b3b;
    /* Màu nền xám đậm giống hình */
    color: #ffffff;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: space-between;
}

/* Chia mỗi cột chiếm một phần đều nhau */
.footer-col {
    flex: 1;
    min-width: 280px;
    /* Đảm bảo không bị bóp quá nhỏ trên Tablet */
    margin-bottom: 30px;
    padding-right: 40px;
}

.footer-col:last-child {
    padding-right: 0;
}

/* Tiêu đề cột và vạch kẻ trắng bên dưới */
.footer-heading {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #aaaaaa;
    /* Vạch kẻ mỏng */
    letter-spacing: 0.5px;
}

/* Nội dung chữ */
.footer-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: #eeeeee;
}

/* Danh sách link (General Policy) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #eeeeee;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    /* Hover đổi sang màu vàng Kuchen */
}

/* Các icon mạng xã hội */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: translateY(-5px);
    /* Hiệu ứng nảy lên nhẹ khi di chuột */
}

/* Dòng Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #bbbbbb;
}

/* --- THU NHỎ NỘI DUNG TỪ SECTION 2 ĐẾN 6 VỀ 1300PX --- */
.section-2-perks .show-pc,
.section-2-perks .show-mobile,
.section-3-quality .show-pc,
.section-3-quality .show-mobile,
.section-4-offers .show-pc,
.section-4-offers .show-mobile,
.section-6-promo .show-pc,
.section-6-promo .show-mobile {
    max-width: 1300px;
    margin: 10px auto;

}

/* Đảm bảo khung ngoài của các section luôn có nền đen full viền */
.section-2-perks,
.section-3-quality,
.section-4-offers,
.section-5-products,
.section-6-promo {
    background-color: white;
    width: 100%;
}

.section-3-quality .show-pc,
.section-3-quality .show-mobile {
    margin-bottom: 0 !important;
}

/* Responsive cho Mobile: Chuyển 3 cột thành 1 cột dọc */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-col {
        padding-right: 0;
    }
}

/* --- RESPONSIVE CHO ĐIỆN THOẠI --- */
@media (max-width: 768px) {

    .slogan-title {
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .slogan-desc {
        font-size: 13px;
        line-height: 1.5;
        color: white;
    }

    .hero-slogan-wrap {
        padding: 10px;
    }

    .quality-action-wrap {
        padding: 35px 15px;
    }

    .btn-more-about {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .btn-cta-outline {
        padding: 10px 20px;
        font-size: 0.8rem;
        border-width: 1px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-col {
        padding-right: 0;
    }

    .btn-more-about {
        padding: 8px;
        font-size: 12px;
        border-radius: 8px;
    }
}