/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    display: grid;
    grid-template-columns: 70% 30%;
    max-width: 1200px;
    margin: 0 auto;
}



/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #c7cc19, #afb42b);
    color: #fff;
    padding: 25px;
    text-align: center;
    grid-column: 1 / span 2;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
}

/* ===== NAV ===== */
nav {
    background: linear-gradient(90deg, #ff7043, #ffa486);
    text-align: center;
    padding: 12px;
    grid-column: 1 / span 2;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav ul li a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #263238;
    text-decoration: underline;
}

/* ===== PRODUCT LIST ===== */
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 25px;
    grid-column: 1;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ff6f00;
    margin: 8px 0;
}

.product-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 10px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: linear-gradient(180deg, #2196f3, #0d47a1);
    color: #fff;
    padding: 20px;
    grid-column: 2;
}

.sidebar h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #e3f2fd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.social-icons a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(90deg, #263238, #000);
    color: #fff;
    text-align: center;
    padding: 25px;
    grid-column: 1 / span 2;
    display: grid;
}

.footer-item {
    padding: 10px;
}

.footer h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.footer p {
    color: #ccc;
}

/* ===== BUTTON ===== */
.button {
    background: linear-gradient(135deg, #00c853, #2e7d32);
    border: none;
    color: white;
    padding: 12px 22px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 25px;
    font-weight: 700;
    transition: 0.3s;
}

.button:hover {
    background: linear-gradient(135deg, #2e7d32, #00c853);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    body {
        grid-template-columns: 1fr;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-column: 1;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .footer {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ===== FIX NỀN TRẮNG + LÀM LAYOUT NỔI ===== */

.product-list {
    background: linear-gradient(135deg, #e0e7ff, #f8fafc);
    padding: 40px;
    border-radius: 30px;
}

.product-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 20px;
    padding: 20px;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.2),
        inset 0 0 0 1px rgba(255,255,255,0.4);

    border: 1px solid rgba(255,255,255,0.3);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
/* ===== HEADER – TRANG WEB BÁN HÀNG ===== */
header {
    background: linear-gradient(135deg, #1f2933, #111827);
    padding: 40px 20px;
    text-align: center;
    grid-column: 1 / span 2;

    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

header h1 {
    color: #ffffff;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 
        0 4px 10px rgba(0,0,0,0.6),
        0 0 20px rgba(99,102,241,0.6);
}
/* ===== MENU – TRANG CHỦ / SẢN PHẨM / LIÊN HỆ ===== */
nav {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    padding: 16px 0;
    text-align: center;
    grid-column: 1 / span 2;

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

nav ul li a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
    color: #facc15;
    box-shadow: 0 0 15px rgba(250,204,21,0.7);
}
.contact {
    padding: 20px;
    color: white;
}

.contact h3 {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
}

.contact-item i {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
