/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BASE */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f2f2f2;
  color: #1a1a1a;
  line-height: 1.5;
}

main {
  flex: 1;
}

/* HERO */
.hero {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 2rem;
}

.hero img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
}

/* NAV */
.landing-nav {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.landing-nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.landing-nav a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Línea debajo */
.landing-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #8a6a4a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.landing-nav a:hover::after {
  transform: scaleX(1);
}

.landing-nav a:hover {
  color: #1a1a1a;
}

/* LINKS (about / contact) */
.landing-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  gap: 0.5rem;
}

.landing-links a {
  text-decoration: none;
  color: #666;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.landing-links a:hover {
  color: #1a1a1a;
}

/* FOOTER */
footer {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem 1rem;
  font-size: 0.8rem;
  color: #666;
}

/* MOBILE */
@media (max-width: 768px) {

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero img {
    max-width: 100%;
    height: auto;
  }

  .landing-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .landing-nav a {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  footer {
    margin-top: 2rem;
    font-size: 0.7rem;
    padding: 1.5rem 1rem;
    text-align: center;
  }

}
