/* Base styles */
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset và layout cơ bản */
body {
  margin: 0;
  padding-top: 56px;
  min-width: 320px;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Links */
a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

/* Hero section */
.hero-section {
  padding-top: 100px;
  padding-bottom: 70px;
  background-color: #f9f9f9;
}

.brand-info {
  padding: 30px 0;
}

.brand-info h1 {
  font-weight: 700;
  color: #2c3e50;
}

/* Social buttons */
.social-buttons .btn {
  padding: 10px 30px;
  font-size: 1.1rem;
}

.social-buttons img {
  width: 20px;
  height: 20px;
}

/* Slider */
#heroSlider {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-item {
  height: 500px;
}

.carousel-item img {
  border-radius: 15px;
  height: 100%;
  object-fit: cover;
}

/* Product cards */
.product-card {
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.5s;
  opacity: 0;
  margin-bottom: 20px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
  height: 200px;
  object-fit: cover;
}

/* Contact form */
.contact-section {
  padding: 70px 0;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Button styles */
button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .carousel-item {
    height: 300px;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 60px 0 40px;
  }
  
  .carousel-item {
    height: 280px;
  }
  
  .social-buttons .btn {
    padding: 8px 20px;
    font-size: 1rem;
  }
  
  .navbar .social-links {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding-top: 80px;
  }
  
  .brand-info {
    margin-bottom: 30px;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .product-card {
    margin-bottom: 20px;
  }
  
  .social-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .navbar .social-links {
    display: none;
  }
  
  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 50px;
  }
  
  .hero-section {
    padding: 30px 0 20px;
  }
  
  h1.display-4 {
    font-size: 2.5rem;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  .product-card img {
    height: 180px;
  }
  
  .contact-form {
    padding: 15px;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

/* Phần sản phẩm */
.products-section {
  padding: 60px 0;
}
