ul {
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
a{
    text-decoration: none;
    color: #222;
}

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

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0 0 10px 0;

}

.nav-links li a {
    color: black;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color 0.3s, background 0.3s;
}

.nav-links li a:hover {
    color: rgb(37 99 235);
    background: rgb(243 244 246);
}

main {
    padding: 80px 20px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}


.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}


.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}


.product-card:hover {
    transform: translateY(-5px);
}



.product-image {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}


.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #e60000; 
    margin-top: 5px;
}

.product-detail {
    text-align: center;
    padding: 20px;
}

.product-image {
    width: 300px;
    border-radius: 10px;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: red;
}

.buy-now {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff4500;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.buy-now:hover {
    background-color: #d13600;
}



.about-container {
    display: flex;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Khung chứa thông tin cá nhân */
.about-card {
    padding: 20px;
}

/* Ảnh đại diện */
.profile-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2563eb;
    margin-bottom: 15px;
}

/* Tên và lớp */
.about-card h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 16px;
    color: #666;
}


.footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #fff;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 10px;
    border-top: 1px solid #444;
    padding-top: 10px;
}


@media screen and (max-width: 768px) {

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: none;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        margin-right: 50px;
    }

    .nav-links {
        list-style: none;
        display: flex;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .nav-links li a {
        color: black;
        font-weight: bold;
        padding: 8px 12px;
        border-radius: 5px;
        transition: color 0.3s, background 0.3s;
    }

    .nav-links li a:hover {
        color: rgb(37 99 235);
        background: rgb(243 244 246);
    }


    .menu-toggle {
        display: block;

    }


    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        width: 200px;
        padding: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px;
        text-align: center;
    }


    main {
        padding: 100px 10px 20px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}