/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background-color: #4f1917;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  height: 4rem;
  width: auto;
}

.navigation {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 400;
  transition: opacity 0.3s ease;
  gap: 0.5rem;
}

.nav-item:hover {
  opacity: 0.8;
}

.nav-icon {
  width: 3.625rem;
  height: 3.125rem;
  object-fit: contain;
}

/* Main Content */
.main-content {
  background-color: #f5deb3;
  min-height: 100vh;
  padding-top: 6rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 2rem;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 3.125rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1374 / 773;
  object-fit: cover;
  display: block;
}

.hero-title {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Description Section */
.description-section {
  padding: 2rem;
}

.description-container {
  max-width: 1400px;
  margin: 0 auto;
  background-color: rgba(99, 87, 63, 0.5);
  padding: 3rem;
  border-radius: 1rem;
}

.description-text {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  color: #000;
  line-height: 1.5;
}

/* Products Section */
.products-section {
  padding: 4rem 2rem;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.electric-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  background-color: #ac9873;
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.product-name {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  padding: 1rem 0.5rem;
}

/* Footer */
.footer {
  background-color: #000;
  padding: 3rem 2rem;
  color: white;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo-image {
  height: 6rem;
  width: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info,
.address-info {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.copyright {
  font-size: 1.5rem;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
    right: 3%;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .nav-item {
    font-size: 1.25rem;
  }

  .nav-icon {
    width: 3rem;
    height: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .logo-image {
    height: 3rem;
  }

  .navigation {
    gap: 1rem;
  }

  .nav-item {
    font-size: 1rem;
  }

  .nav-icon {
    width: 2.5rem;
    height: 2rem;
  }

  .main-content {
    padding-top: 8rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
    right: 5%;
    top: 40%;
  }

  .description-container {
    padding: 2rem;
  }

  .description-text {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .products-section {
    padding: 3rem 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .electric-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: 100%;
  }

  .product-name {
    font-size: 1.25rem;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-title {
    font-size: 1.875rem;
  }

  .contact-info,
  .address-info {
    font-size: 1.25rem;
  }

  .copyright {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
  }

  .hero-section {
    padding: 1.5rem 0.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
    top: 35%;
  }

  .description-container {
    padding: 1.5rem;
  }

  .description-text {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .products-section {
    padding: 2rem 0.5rem;
  }

  .footer-logo-image {
    height: 4rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Accessibility */
.nav-item:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.product-card:focus {
  outline: 2px solid #4f1917;
  outline-offset: 2px;
}
