﻿/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #dfe9f3, #ffffff);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER (GLASS PREMIUM) ===== */
header {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, #007ACC, #00c6ff);
    padding: 20px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

    header h1 {
        color: white;
        font-size: 28px;
        letter-spacing: 2px;
    }

/* ===== NAV ===== */
nav {
    margin-top: 10px;
}

    nav a {
        color: white;
        margin: 0 12px;
        text-decoration: none;
        font-weight: 600;
        padding: 6px 10px;
        border-radius: 10px;
        transition: 0.3s;
    }

        nav a:hover {
            background: rgba(255,255,255,0.2);
        }

/* ===== CONTAINER ===== */
.container {
    padding: 30px;
    flex: 1;
}

/* ===== TITLE ===== */
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 26px;
}

/* ===== TOP BAR ===== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* ===== SEARCH ===== */
.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 6px 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

    .search-box input {
        border: none;
        outline: none;
        padding: 8px;
        width: 220px;
    }

    .search-box button {
        background: linear-gradient(45deg, #007ACC, #00c6ff);
        border: none;
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        cursor: pointer;
    }

/* ===== BUTTON ===== */
.btn-glow {
    background: linear-gradient(45deg, #ff512f, #dd2476);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

    .btn-glow:hover {
        transform: scale(1.07);
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

/* ===== GRID ===== */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* ===== CARD ULTRA ===== */
.card {
    background: rgba(255,255,255,0.8);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: 0.4s;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
}

    /* hiệu ứng ánh sáng hover */
    .card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: rotate(25deg);
        opacity: 0;
        transition: 0.5s;
    }

    .card:hover::before {
        opacity: 1;
        animation: shine 1s;
    }

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }

    100% {
        transform: translateX(100%) rotate(25deg);
    }
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* IMAGE */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BODY */
.card-body {
    padding: 15px;
}

    .card-body h4 {
        font-size: 18px;
    }

/* PRICE */
.price {
    color: #e53935;
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0;
}

/* ===== ACTION ===== */
.action {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .action a {
        background: linear-gradient(45deg, #007ACC, #00c6ff);
        color: white;
        padding: 6px 10px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 13px;
    }

    .action button {
        background: linear-gradient(45deg, red, orange);
        color: white;
        border: none;
        padding: 6px 10px;
        border-radius: 8px;
    }

/* ===== FORM ===== */
form {
    background: rgba(255,255,255,0.9);
    padding: 25px;
    border-radius: 20px;
    width: 360px;
    margin: auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* ===== DETAIL ===== */
.product-detail {
    text-align: center;
}

    .product-detail img {
        width: 320px;
        border-radius: 20px;
        margin-bottom: 15px;
    }

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #000, #222);
    color: white;
    text-align: center;
    padding: 20px;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease;
}
/* ========================
   ABOUT PAGE (XỊN)
======================== */
.about-box {
    max-width: 800px;
    margin: auto;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    line-height: 1.7;
    animation: fadeIn 0.6s ease;
}

    .about-box h3 {
        margin-top: 20px;
        color: #007ACC;
    }

.feature-list {
    margin-top: 10px;
    padding-left: 20px;
}

    .feature-list li {
        margin: 8px 0;
        font-weight: 500;
    }

/* highlight chữ */
.highlight {
    color: #e91e63;
    font-weight: bold;
}
/* ========================
   HOME PAGE (XỊN)
======================== */

/* TITLE */
.home-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #007ACC, #00c6ff);
    -webkit-background-clip: text;
    color: transparent;
}

/* HERO */
.home-hero {
    text-align: center;
    max-width: 700px;
    margin: auto;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
}

.home-desc {
    font-size: 18px;
    margin-bottom: 10px;
}

.home-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .home-list li {
        margin: 8px 0;
        font-weight: 500;
    }

/* BUTTON BIG */
.big-btn {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
}

/* FEATURE GRID */
.home-feature {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature-card {
    width: 200px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

/* ========================
   CONTACT PAGE (XỊN)
======================== */
.contact-box {
    max-width: 600px;
    margin: auto;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
}

.contact-desc {
    margin-bottom: 15px;
    text-align: center;
}

.contact-info p {
    margin: 8px 0;
    font-size: 15px;
}

/* FORM */
.contact-form {
    margin-top: 15px;
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin: 8px 0;
        border-radius: 10px;
        border: 1px solid #ccc;
    }

    .contact-form button {
        width: 100%;
        background: linear-gradient(45deg, #007ACC, #00c6ff);
        color: white;
        padding: 10px;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        transition: 0.3s;
    }

        .contact-form button:hover {
            transform: scale(1.05);
        }
/* ========================
   FONT GLOBAL
======================== */
body {
    font-family: 'Poppins', sans-serif;
}

/* ========================
   HEADER XỊN
======================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #007ACC, #00c6ff);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.logo {
    font-size: 20px;
    font-weight: 600;
}

/* NAV */
.main-header nav a {
    margin-left: 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.3s;
}

    .main-header nav a:hover {
        background: rgba(255,255,255,0.2);
    }

/* ========================
   FOOTER XỊN
======================== */
.main-footer {
    background: linear-gradient(135deg, #111, #000);
    color: #ddd;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 14px;
}

    .main-footer p {
        margin: 5px 0;
    }