* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: Arial, sans-serif;
  height: 100%;
}

header {
  position: relative;
  height: 700px;
  background: url("../resources/La_barrica.jpg") no-repeat center center/cover;
}

nav {
  position: absolute;
  top: 25px;
  right: 100px;
  width: 100%;
  padding: 1rem 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: orange;
  font-weight: bold;
  font-size: 20px;
  transition: opacity 0.3s;
}

nav ul li a:hover {
  opacity: 0.7;
}

.overlay {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.text-container p {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: orange;
}

.text-container h1 {
  font-size: 4.5rem;
}

main {
  padding: 3rem 5%;
  background-color: #f8f8f8;
}

.contact-info {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  margin-top: 2.5rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: orange;
  margin-bottom: 2rem;
}

.info-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.info-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-item h3 {
  font-size: 1.3rem;
  color: orange;
  margin-bottom: 0.5rem;
}

.info-item p {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 4rem;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  font-size: 2.5rem;
  color: orange;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  resize: none;
}

.btn-submit {
  display: block;
  background-color: orange;
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 1.5rem auto 0;
}

.btn-submit:hover {
  background-color: #e69500;
}

footer {
  background: linear-gradient(to top, #000000, #1a1a1a);
  color: #ddd;
  font-family: Arial, sans-serif;
  margin-top: 3rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 5%;
  border-bottom: 1px solid #333;
}

.footer-bottom {
  text-align: center;
  color: orange;
  padding: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  color: orange;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}

.footer-nav a:hover {
  color: #ffb366;
  border-bottom: 2px solid orange;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.footer-social a img {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  background-color: orange;
  transform: scale(1.1);
}

footer a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer-nav {
    justify-content: center;
  }
}
