/* HEADER */
.site-header {
  height: 120px;
  background: var(--the-beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px;
}

.header__logo svg {
  width: 160px;
  height: 80px;
}

.header__nav {
  display: flex;
  gap: 50px;
}

.header__nav a {
  text-decoration: none;
  color: #1e1e1e;
  font-size: 16px;
  font-family: "Cardo", serif;
}

.header__nav a:hover {
  color: #ffffff;
}

.header__icons {
  display: flex;
  gap: 30px;
}

.icon svg {
  width: 40px;
  height: 40px;
}

.site-footer {
  background: var(--the-beige);
  color: var(--the-black);
  font-family: "Cardo", serif;
  margin-top: 60px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding: 70px 90px 90px;
}

.footer__brand {
  min-width: 260px;
}

.footer__logo svg {
  width: 160px;
  height: 80px;
  margin-bottom: 28px;
}

.footer__socials {
  display: flex;
  gap: 22px;
}

.footer__social svg {
  width: 40px;
  height: 40px;
}

.footer__social svg:hover {
  opacity: 0.8;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  justify-content: space-between;
  gap: 60px;
}

.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column h3 {
  margin: 0 0 34px;
  font-size: 20px;
  font-weight: 600;
}

.footer__column a {
  text-decoration: none;
  color: var(--the-black);
  font-size: 14px;
  line-height: 1.8;
  width: fit-content;
}

.footer__column a:hover {
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: 38px;
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  background: #f4f4f4;
  outline: none;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.newsletter-form button {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #d9b780;
  color: #fff8ed;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.newsletter-form button:hover {
  opacity: 0.92;
}

/* MAIN */
main {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 700px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-left: 70px;
  padding-right: 70px;
}

.hero__title {
  margin: 0;
  color: var(--the-white);
  line-height: 1.1;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
}

.hero__title span {
  display: block;
}

.hero__title span:last-child {
  color: var(--the-brown);
}

.hero__arrow {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--the-white);
  font-size: 54px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero__arrow:hover {
  transform: translateX(-50%) translateY(4px);
}

/* CATEGORIES */
.categories {
  background: var(--the-background);
  padding: 38px 36px 36px;
}

.categories__title {
  margin: 0 0 28px;
  color: var(--the-brown);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 400;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: #ddd;
  min-height: 420px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.category-card h3 {
  position: absolute;
  left: 16px;
  bottom: 12px;
  margin: 0;
  color: var(--the-black);
  font-size: 2rem;
  font-weight: 500;
  background: rgba(244, 239, 232, 0.15);
}

.category-card:hover img {
  transform: scale(1.04);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero {
    min-height: 620px;
  }

  .hero__overlay {
    padding-left: 40px;
    padding-right: 40px;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    min-height: 360px;
  }
}

@media (max-width: 800px) {
  .hero {
    height: 75vh;
    min-height: 500px;
  }

  .hero__overlay {
    align-items: flex-end;
    padding: 0 24px 70px;
  }

  .hero__title {
    font-size: clamp(2.7rem, 10vw, 4.2rem);
    margin-bottom: 100px;
  }

  .categories {
    padding: 28px 24px 24px;
  }

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

  .category-card {
    min-height: 320px;
  }

  .category-card h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 1100px) {
  .footer__content {
    flex-direction: column;
    gap: 12px;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-top: 40px;
  }
}

@media (max-width: 800px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    height: auto;
    padding: 24px;
  }

  .header__nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer__content {
    padding: 50px 24px 60px;
    align-items: center;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
    text-align: center;
  }

  .footer__column {
    align-items: center;
  }

  .footer__column h3 {
    margin-bottom: 14px;
  }
}
