/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d4a762;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c29550;
    transform: translateY(-2px);
}



/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #f8f8f8;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 15px;
}

.contact-info i {
    margin-right: 5px;
    color: #d4a762;
}

.social-icons a {
    color: #555;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #d4a762;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
    margin: 0 10px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #d4a762;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons a {
    color: #333;
    margin-left: 15px;
    font-size: 18px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #d4a762;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: hwb(330 0% 92%);
    max-width: 500px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
}






/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #d4a762;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

.product-price {
    text-align: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #d4a762;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    padding: 0 15px 15px;
    gap: 10px;
}

.product-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart {
    background-color: #d4a762;
    color: white;
}

.add-to-cart:hover {
    background-color: #c29550;
}


.view-all {
    text-align: center;
    margin-top: 40px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #222;
    color: #ddd;
    padding: 60px 0 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #d4a762;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 150px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #d4a762;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #d4a762;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 0 15px;
    background-color: #d4a762;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #c29550;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods img {
    height: 30px;
}



@media (max-width: 768px) {
    /* Hiển thị hamburger menu */
    .hamburger {
      display: block;
    }
  
    /* Ẩn menu ban đầu */
    .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #fff;
      padding: 1rem;
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 999;
      border-radius: 0 0 8px 8px;
      box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    }
  
    /* Menu được bật */
    .nav-menu.active {
      display: flex;
    }
  
    .nav-menu li {
      width: 100%;
      text-align: left;
    }
  
    .nav-menu li a {
      display: block;
      width: 100%;
      padding: 10px 0;
    }
  
    /* Dropdown menu mobile */
    .dropdown-menu {
      position: relative;
      display: none;
      background-color: #f9f9f9;
      padding-left: 1rem;
      box-shadow: none;
      border-radius: 0;
    }
  
    .dropdown:hover .dropdown-menu {
      display: block;
    }
  
    /* Header container xuống cột */
    .navbar .container,
    .top-bar .container {
      flex-direction: column;
      align-items: flex-start;
    }
  
    /* Logo và icons canh trái */
    .logo,
    .nav-icons {
      margin-bottom: 1rem;
    }
  
    /* Footer layout dọc */
    .footer-columns {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    .newsletter-form {
      flex-direction: column;
    }
  
    .newsletter-form input,
    .newsletter-form button {
      width: 100%;
      border-radius: 4px;
      margin-bottom: 10px;
    }
  
    /* Products, offers, reviews, etc. full width */
    .products-grid {
      grid-template-columns: 1fr;
    }
  
    .product-card img {
      height: auto;
    }
  
    .about-section .container {
      flex-direction: column;
    }
  
    .about-image {
      order: -1;
      margin-bottom: 2rem;
    }
  }
  