/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

html
/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
}
html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Đẩy footer xuống */
}

/* Header */
header {
    background-color: #8ec63f;
    padding: 15px 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
/* Ensure the menu is displayed horizontally */
.header-menu {
    list-style: none;
    display: flex;
    gap: 20px; /* Adjust spacing between items */
    padding: 0;
    margin: 0;
}

/* Style individual menu items */
.header-menu li {
    display: inline-block;
}

/* Style the menu links */
.main-menu { }
.header-menu li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px; /* Adjust padding as needed */
    transition: color 0.3s ease;
    background: #fdb813;
    border-radius: 10px;
}

/* Hover effect */
.header-menu li a:hover {
    color: #f0f0f0; /* Slightly lighter white on hover */
}

/* Hero Section */
.hero-banner {
    text-align: center;
    padding: 80px 20px;
    background-color: #ffffff;
    color: #333;
}

.hero-banner h1 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.hero-banner p {
    font-size: 18px;
    max-width: 600px;
    margin: auto;
}

.page-content { margin: 30px 0px;}
/* Featured Products */
.featured-products {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.product-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #8ec63f;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-menu-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-menu-list a:hover {
    color: #ffffff;
}

.language-switcher {
    list-style: none;
    display: flex;;
}

.language-switcher a {
    display: inline-block;
    margin: 0 5px;
}

.language-switcher img {
    width: 24px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.language-switcher img:hover {
    transform: scale(1.1);
}
.homepage {}
.homepage h1 { font-size: 32px; text-align: center;}
.homepage-products { display: flex; flex-wrap: wrap; justify-content: space-between; }
.homepage-products .product { width: 50%; margin-bottom: 20px; padding: 20px;}
.homepage-products .product .thumb img { height: 200px; width: auto;}
.homepage-products .product h3 { }
.homepage-products .product label { display: block; font-weight: bold; margin-top: 20px;}
.homepage-products .product .origin {}
.homepage-products .product .specification {}
.homepage-products .product .packing {}
.category-headline { border-bottom: solid 1px #ccc; margin: 20px 0px; padding-bottom: 10px; font-weight: bold;}
.customer-list { margin: 50px 0px; clear: bottom;}
.customer-list h2 { clear: bottom; margin: 20px 0px;}
.customer-imgs { display: flex; flex-wrap: wrap; gap: 20px;}
.btn-mobile-menu { display: none;}
@media screen and (max-width: 768px) {
    .homepage-products .product { width: 100%;}
    .header-content { position: relative;}
    nav.main-menu { display: block; cursor: pointer; }
    .btn-mobile-menu { display: block; background: url("assets/images/navbar.svg"); width: 30px; height: 30px; position: absolute; top: 20px; right: 20px; cursor: pointer; }
    .language-switcher { position: absolute; right: 60px; top: 20px;}
    ul.header-menu { flex-direction: column; position: absolute; top: 88px; right: 0px; width: 100%; background: #fff; z-index: 9999; gap: 0; display: none; }
    ul.header-menu li { display: block; border-bottom: solid 1px #ccc;}
    ul.header-menu li a { background: none; color: #000; display: block;}
}