* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  /* max-width: 1400px; */
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
  background: #fff;
  background: linear-gradient(135deg, #c4c7c7 0%, #e8ebee 100%);
  padding: 0.8rem 5%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(231, 33, 43);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 18px;
}

.nav-links a:hover {
  color: rgb(231, 33, 43);
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 1.1rem;
}

.nav-icons i {
  cursor: pointer;
  transition: color 0.3s;
}

.nav-icons i:hover {
  color: rgb(231, 33, 43);
}

/* Hero Section */
.hero {
  background: /*linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), */ url(/images/hero/02.jpg)
    center/contain no-repeat;
  padding: 10rem 5%;
  text-align: center;
  position: relative;
  height: 500px;
  max-height: 500px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: rgb(231, 33, 43);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: rgb(231, 33, 43);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Categories */
.categories {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 2rem;
  color: #fff;
}

.category-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

/* Products */
.products {
  padding: 4rem 5%;
  background: #faf9f9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
 
  background: #fff;
  border-radius: 10px;
  border: 2px solid #dbd3d3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgb(231, 33, 43);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 1rem;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
  display: -webkit-box;
           -webkit-line-clamp: 2;
           -webkit-box-orient: vertical;
          overflow: hidden;
}

.product-price {
  font-size: 1.2rem;
  color: rgb(231, 33, 43);
  font-weight: 700;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  margin-left: 0.5rem;
  font-size: 1rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.icon-btn {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #f5f5f8;
  background: rgb(182, 181, 181);
  color: #fffefe;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.5rem;
}

.icon-btn:hover {
  background: rgb(231, 33, 43);
  color: #fff;
}

/* Newsletter */
.newsletter {
  padding: 4rem 5%;
  background: #333;
  color: #fff;
  text-align: center;
}

.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  padding: 3rem 5%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: rgb(231, 33, 43);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: rgb(231, 33, 43);
}

.social-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.social-icons a {
  color: #fff;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: rgb(231, 33, 43);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #999;
}
/* Top Bar */
.top-bar {
  background: #2a2a2b;
  padding: 0.6rem 5%;
  font-size: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  gap: 2rem;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #eeebeb;
}

.contact-info i {
  color: rgb(231, 33, 43);
}

.top-bar-right {
  color: #f5f4f4;
  font-weight: 500;
}

@media (max-width: 1400px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }
}
