﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* ===== BANNER TOP ===== */
.top-banner {
    position: relative;
    width: 100%;
    height: 30vh; /* chỉnh chiều cao banner */
    overflow: hidden;
}

    .top-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@keyframes zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

/* chữ trên banner */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif; /* font xịn */
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    white-space: nowrap;
    text-shadow: 0 8px 30px rgba(0,0,0,0.7);
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.banner-text {
    background: rgba(0,0,0,0.4);
    padding: 15px 30px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
}



/* ===== HEADER ===== */
/* ===== HEADER ===== */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 40px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    gap: 25px; /* tạo khoảng cách giữa các phần */
}

/* LOGO */
.logo-box {
    display: flex;
    align-items: center;
    min-width: 100px;
}

    .logo-box img {
        height: 75px;
        margin-right: 5px;
        animation: floatLogo 3s ease-in-out infinite;
    }

@keyframes floatLogo {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.logo-box span {
    font-size: 26px;
    font-weight: 1000;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg,#d4af37,#ffd700,#fff2a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
@keyframes glow {
    from {
        text-shadow: 0 0 5px #0a3cff;
    }

    to {
        text-shadow: 0 0 20px #00c6ff, 0 0 40px #00c6ff;
    }
}

/* SEARCH */
/* SEARCH BOX */
.search-box {
    display: flex;
    align-items: center;
    width: 320px; /* nhỏ gọn lại */
    background: white;
    border-radius: 40px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    /* khi click vào */
    .search-box:focus-within {
        box-shadow: 0 0 0 2px rgba(10,60,255,0.2), 0 0 15px rgba(10,60,255,0.35);
        transform: scale(1.03);
    }

    /* input */
    .search-box input {
        flex: 1;
        border: none;
        outline: none;
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 40px;
        background: transparent;
        caret-color: black;
    }
        .search-box input::placeholder {
            color: #777;
        }

    /* nút tìm */
    .search-box button {
        border: none;
        background: transparent;
        padding: 8px 12px;
        cursor: pointer;
        font-size: 16px;
        color: #555;
        transition: 0.3s;
    }

        /* hover icon */
        .search-box button:hover {
            color: #0a3cff;
            transform: scale(1.2);
        }
/* CART */
.cart-box {
    min-width: 120px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

    .cart-box:hover {
        color: red;
        transform: scale(1.1);
    }
/* ===== MENU ===== */
/* ===== MENU BAR ĐẸP ===== */

.menu-bar {
    background: linear-gradient(90deg,#1a9bd7,#0a3cff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 60px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* DANH MỤC */

.category {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

    .category:hover {
        transform: scale(1.08);
        color: #ffd700;
    }

/* MENU GIỮA */

.menu {
    display: flex;
    gap: 40px;
}

    .menu a {
        text-decoration: none;
        color: white;
        font-size: 16px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 20px;
        transition: 0.3s;
        position: relative;
    }

        /* hover menu */

        .menu a:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }

        /* gạch chạy */

        .menu a::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            background: #ffd700;
            transition: 0.3s;
        }

        .menu a:hover::after {
            width: 100%;
        }

/* HOTLINE */

.hotline {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== CONTENT ===== */
.content {
    padding: 25px 50px;
    background: white;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin: 25px;
    border-radius: 15px;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 18px;
    font-size: 14px;
}



/* SECTION NỀN HÌNH */
.hero-feature {
    width: 100%;
    height: 420px;
    background: url('/Content/images/thuonghieu.png') center/cover no-repeat;
    position: relative;
}

/* LỚP MỜ */
.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
}

/* BOX ICON */
.hero-feature-box {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #0a7a3c;
    transition: 0.4s;
}

/* ICON TRÒN */
.hero-icon {
    width: 90px;
    height: 90px;
    border: 3px solid #0a7a3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: auto;
    background: white;
    transition: 0.4s;
}

/* HOVER */
.hero-feature-box:hover .hero-icon {
    background: #0a7a3c;
    color: white;
    transform: scale(1.1);
}

/* CHỮ */
.hero-feature-box h3 {
    margin-top: 12px;
    font-size: 20px;
}

/* USER BOX */



/* nút đăng ký đăng nhập */











/* Nút đăng ký đăng nhập */
/* USER LOGIN */

/* USER BUTTON */

/* USER BUTTON */

/* ===== USER BUTTON ===== */

.user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .user-box a {
        text-decoration: none;
    }

.btn-user {
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(135deg,#28ae7b,rgb(57, 25, 216, 0,44));
    color: sienna;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

    /* hover nổi */
    .btn-user:hover {
        transform: translateY(-3px) scale(1.05);
        background: linear-gradient(135deg,#ff7b00,#ff3c00);
    }

/* tên user */
.user-name {
    font-weight: 600;
    color: #333;
}

/* logout */
.logout-btn {
    color: red;
    font-size: 18px;
}

