﻿/* ========================================= */
/* 1. GLOBAL & RESET                        */
/* ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* Font chữ hiện đại, sang trọng */
    background-color: #fff;
    /* Padding khớp với chiều cao mới của Navbar (64px + shadow) */
    padding-top: 70px;
}

.body-content {
    width: 100%;
    overflow-x: hidden;
}

.hero-banner {
    margin-top: 0 !important;
    width: 100%;
    display: block;
}

/* ========================================= */
/* 2. NAVBAR (MENU) - SANG TRỌNG             */
/* ========================================= */
.navbar {
    /* Màu đỏ đô đậm chất Á Đông */
    background: #990000;
    height: 70px;
    padding: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 2px solid #B22222;
}

/* LOGO STYLE */
.brand-icon {
    width: 40px;
    height: 40px;
    background: #FFD700;
    color: #990000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-right: 10px;
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* MENU LINKS */
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 0 12px !important;
    height: 70px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

    .navbar-nav .nav-link:hover {
        color: #FFD700 !important;
        background-color: rgba(0,0,0,0.1);
        border-bottom-color: #FFD700;
    }

/* ========================================= */
/* 3. BUTTONS (NÚT BẤM) - TINH TẾ            */
/* ========================================= */
.btn-custom {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
    min-width: 110px;
    text-align: center;
}

.btn-white {
    background: #fff;
    color: #990000;
    border: 2px solid #fff;
}

    .btn-white:hover {
        background: transparent;
        color: #fff;
        transform: translateY(-2px);
    }

.btn-gold {
    background: #FFD700;
    color: #990000;
    border: 2px solid #FFD700;
}

    .btn-gold:hover {
        background: #ffe44d;
        border-color: #ffe44d;
        transform: translateY(-2px);
    }

/* User Avatar (Khi đã đăng nhập) */
.user-avatar {
    width: 32px;
    height: 32px;
    background: #FFD700;
    color: #990000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* ========================================= */
/* 4. MOBILE RESPONSIVE                      */
/* ========================================= */
@media (max-width: 1400px) {
    /* Thu nhỏ font menu trên màn hình laptop */
    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 0 8px !important;
    }

    .brand-text {
        font-size: 18px;
    }

    .btn-custom {
        padding: 6px 15px;
        min-width: auto;
    }
}

@media (max-width: 1200px) {
    .navbar {
        height: auto !important;
        padding: 10px 0 !important;
    }

    .navbar-brand {
        margin-bottom: 5px;
    }

    .navbar-collapse {
        background: #800000;
        margin-top: 10px;
        padding: 15px;
        border-radius: 8px;
    }

    .navbar-nav .nav-link {
        height: 45px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-top: none;
        justify-content: flex-start;
    }

    .auth-buttons {
        margin-top: 15px;
        margin-left: 0 !important;
        flex-direction: column;
        width: 100%;
    }

    .btn-custom {
        width: 100%;
    }
}
/* --- CSS KHUYẾN MÃI --- */
.promo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

    .promo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
}

.promo-date {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}