/* Ordered & improved CSS with descriptive English class names */

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* ---------------- HEADER ---------------- */

.top-promo-bar {
  background-color: #222222;
  color: white;
  padding: 8px 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-promo-bar p {
  margin-right: 50px;
}

.header-bar {
  background-color: #f0a83e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-icon {
  width: 17px;
  height: 17px;
}

.header-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand {
  font-size: 22px;
  color: black;
  font-weight: 500;
}

.main-menu ul,
.language-switcher ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-menu a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.main-menu a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../img/pawprint1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
  vertical-align: middle;
}

.main-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

.language-switcher ul li {
  cursor: pointer;
  font-weight: bold;
}

/* ---------------- HERO ---------------- */

.hero-section {
  position: relative;
}

.hero-section img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  padding: 35px 45px;
  border-radius: 12px;
  text-align: center;
}

.hero-title {
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: 36px;
  color: #3c2313;
}

.hero-content p {
  font-size: 18px;
  color: #3c2313;
  margin-bottom: 18px;
}

.hero-btn {
  background-color: #f0a83e;
  padding: 12px 30px;
  border-radius: 8px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
}

.hero-btn:hover {
  background-color: #d8921f;
  cursor: pointer;
}

/* ---------------- FEATURED PRODUCTS ---------------- */

.featured-section {
  text-align: center;
  margin-top: 60px;
}

.featured-section img {
  width: 65px;
  margin: 0 auto 10px auto;
}

.featured-section h2 {
  font-size: 40px;
  color: #3c2313;
  margin-bottom: 15px;
}

.filters ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 10px;
}

.filters a {
  text-decoration: none;
  color: #666;
  font-size: 18px;
}

.filters a:hover {
  color: #f0a83e;
  text-decoration: underline;
}

.products-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px auto;
}

.product-card {
  width: 300px;
  background: #faf9f6;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  transition: border 0.2s ease;
}

.product-card:hover {
  border: 2px solid #f0a83e;
}

.product-card img {
  width: 100%;
  margin-bottom: 20px;
}

/* ---------------- CONTACT FORM ---------------- */

.contact-section {
  text-align: center;
  margin-top: 80px;
}

.contact-section h2 {
  font-size: 32px;
  color: #3c2313;
  margin-bottom: 30px;
  font-weight: bold;
}

.contact-section form {
  width: 450px;
  margin: 0 auto;
}

.contact-section input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  background-color: #3c2313;
  color: white;
  border: none;
  border-radius: 20px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

/* Buttons */
.btn-reset {
  background-color: #8a8787;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 20px;
  font-size: 16px;
}

.btn-submit {
  background-color: #f0a83e;
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 20px;
  font-size: 16px;
}

/* ---------------- SUBSCRIPTION ---------------- */

.subscription-section {
  background-color: #f0a83e;
  padding: 25px 0;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.content-wrapper {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.subscribe-box input {
  padding: 12px 20px;
  border: none;
  border-radius: 20px;
  width: 300px;
  background-color: white;
  font-size: 14px;
  color: #3c2313;
}

.subscribe-box input::placeholder {
  color: #a0a0a0;
}

.btn-suscribir {
  background-color: #3c2313;
  color: white;
  padding: 12px 22px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.btn-suscribir:hover {
  background-color: #2a180d;
  cursor: pointer;
}

.subscribe-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ------------------ HAMBURGER BUTTON ------------------ */

.hamburger-btn {
  width: 35px;
  height: 28px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: white;
}

/* ---------------- FOOTER ---------------- */

footer {
  background-color: #3c2313;
  color: white;
  padding: 40px 20px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 26px;
  font-weight: bold;
  color: white;
}

.copyright {
  background-color: #222;
  padding: 10px;
  margin-top: 30px;
  text-align: center;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 480px) {
  .top-promo-bar {
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
    text-align: center;
  }

  .header-bar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  .hero-section {
    position: relative;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    width: 90%;
    border-radius: 12px;
    padding: 0;
    text-align: center;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 12px;
    background: none;
  }

  .hero-section img {
    height: 300px;
    object-fit: cover;
  }

  .hero-title h1 {
    background: white;
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-btn {
    font-size: 16px;
    padding: 10px 25px;
  }

  .featured-section h2 {
    font-size: 28px;
  }

  .filters ul {
    flex-direction: column;
    gap: 10px;
  }

  .products-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }

  .contact-section form {
    width: 90%;
  }

  .subscription-section {
    padding: 20px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .subscribe-box {
    flex-direction: column;
    width: 100%;
  }

  .subscribe-box input {
    width: 100%;
  }

  footer .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-info {
    width: 100%;
    align-items: center;
  }

  .info-item {
    justify-content: center;
  }

  footer .footer-logo {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  footer .footer-logo img {
    margin: 0 5px;
  }

  .hamburger-btn {
    display: flex;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 115px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.55);
  }

  .main-menu ul {
    flex-direction: column;
    gap: 25px;
  }

  .main-menu.activo {
    display: block;
  }
}
