/* contacto.css - Estilos específicos para página de Contacto */

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #561d25;
  background-color: #d4e79e;
}

/* CABECERA */
header {
  background-color: #264653;
  width: 100%;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-title a {
  color: #d4e79e;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* MENÚ */
.nav-container {
  width: 100%;
  margin-top: 1rem;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #d4e79e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: #561d25;
}

/* CONTENIDO PRINCIPAL */
main {
  padding-top: 80px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-section {
  padding: 2rem 0;
}

.section-title-large {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #561d25;
  text-align: center;
}

.intro-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  text-align: center;
}

/* COLUMNAS DE CONTACTO */
.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* FORMULARIO */
.contact-form-column {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 8px;
}

.contact-form-column h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #561d25;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #264653;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background-color: #264653;
  color: #d4e79e;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #561d25;
}

.form-note {
  font-size: 0.8rem;
  margin-top: 1rem;
  color: #561d25;
  opacity: 0.8;
}

/* REDES SOCIALES */
.social-column {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 8px;
}

.social-column h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #561d25;
}

.social-column p {
  margin-bottom: 1.5rem;
}

.social-links {
  list-style: none;
}

.social-links li {
  margin-bottom: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  color: #561d25;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
  padding: 0.5rem;
  border-radius: 4px;
}

.social-links a:hover {
  color: #264653;
  background-color: rgba(255, 255, 255, 0.3);
}

.social-links i {
  font-size: 1.2rem;
  width: 30px;
  margin-right: 0.8rem;
}

/* FOOTER */
footer {
  background-color: #264653;
  color: #d4e79e;
  padding: 1.5rem 0;
  text-align: center;
}

/* RESPONSIVE */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #d4e79e;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: -3.5rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #264653;
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .main-nav ul.active {
    display: flex;
  }
  
  .contact-columns {
    grid-template-columns: 1fr;
  }
  
  main {
    padding-top: 70px;
  }
}