body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #333;
}

/* ===== HEADER ===== */
header {
    background-color: #CA3840;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* ===== BANNER ===== */
.banner {
    text-align: center;
      background-color: #33CCFF;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.banner h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.banner p {
    font-size: 18px;
}

/* ===== GIỚI THIỆU ===== */
.intro {
    padding: 50px 80px;
    text-align: center;
    background-color: #fff;
}

.intro h2 {
    color: #003366;
}

/* ===== SẢN PHẨM ===== */
.products {
    padding: 50px 30px;
    text-align: center;
    background-color: #f2f2f2;
}

.products h2 {
    color: #003366;
    margin-bottom: 30px;
}

.product-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.product {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    width: 250px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.product h3 {
    color: #003366;
    font-size: 18px;
    margin: 10px 0 5px;
}

.product p {
    font-weight: bold;
    color: #d12b2b;
}

.product a {
    text-decoration: none;  
    color: inherit;        
    display: block;
}


/* ===== LIÊN HỆ ===== */
.contact {
    padding: 40px;
    text-align: center;
    background-color: #fff;
}

.contact h2 {
    color: #003366;
}


/* ===== FOOTER ===== */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .intro, .products, .contact {
        padding: 30px 20px;
    }

    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
        max-width: 300px;
    }

    .banner h2 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }
}
