@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #000000;
}

body, input, textarea {
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  background: linear-gradient(
      rgba(239, 236, 236, 0.2), 
      rgba(154, 153, 153, 0.2)),
      url(images/t3.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 55vh; /* Cambiado de 70vh a 90vh para hacerlo más alto */
  display: flex;
  align-items: center;
  position: relative; /* Añadido para mejor estructura */
}

.menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.logo {
  margin-right: 20px;
  margin-top: 20px;
}

.logo-img {
  max-width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1); 
}

.menu .navbar ul li {
  position: relative;
  float: left;
}

.menu .navbar ul li a {
  font-size: 18px;
  padding: 20px;
  color: #000000;
  display: block;
}

.menu .navbar ul li a:hover {
  color: #D4AF37;
}

#menu {
  display: none;
}

.menu-icono {
  width: 25px;
}

.menu label {
  cursor: pointer;
  display: none;
}

.header h1 {
  font-size: 80px;
  line-height: 100px;
  color: #000000;
  font-family: "Bebas Neue", sans-serif;
  /* Elige una de estas opciones: */
  margin-top: 20px;       /* ↓ Baja el título desde arriba */
  padding-top: 20px;      /* ↓ Alternativa con padding */
  transform: translateY(20px); /* ↓ Ajuste fino sin afectar layout */
}

/* Contenedor de contenido */
.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

:root {
    --primary: #D4AF37; /* Oro */
    --primary-light: #F5F5F5; /* Gris neutro */
    --secondary: #8B4513; /* Marrón */
    --dark: #0E0E0E; /* Gris oscuro */
    --light: #FFFFFF; /* Blanco */
    --gray: #9A9999; /* Gris medio */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.main-container {
    display: flex;
    max-width: 1000px;
    width: 95%; /* Deja un pequeño margen en móviles */
    margin: 20px auto; /* 20px de espacio arriba/abajo, auto en los lados */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fadeIn 0.8s ease-out;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-section {
    flex: 1;
    background: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.contact-section {
    flex: 1;
    background: linear-gradient(135deg, #D4AF37 0%, #8B4513 100%);
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}
.form-section p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #000000;
  position: relative;
  display: inline-block;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -30px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

h2 {
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.form-section h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.contact-section h2 {
    color: white;
}

.contact-section h2::after {
    background: rgba(255, 255, 255, 0.5);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E1E0; /* Gris claro */
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #F8F8F8; /* Gris muy claro */
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.contact-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}
.info-content a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.info-content a:hover {
    color: #EFECEC; /* Gris claro adicional */
    transform: translateX(5px);
}

.info-content p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.9;
}

.info-content p.title {
    font-weight: 600;
    margin-bottom: 3px;
    opacity: 1;
}

.social-links {
    display: flex;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 15px;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Efecto de onda al enviar el formulario */
.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.active-wave {
    animation: wave 1s ease-out;
}

/* Responsive Design */
@media (max-width: 991px) {
  .menu {
    padding: 10px 20px;
  }

  .menu label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
  }

  .menu label span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    z-index: 1000;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
  }

  .navbar ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .navbar ul li {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #F0F0F0; /* Gris suave */
  }

  .navbar ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-size: 16px;
  }

  .navbar ul li a:hover {
    background-color: #F5F5F5; /* Gris neutro */
  }

  #menu:checked ~ .navbar {
    left: 0;
  }

  #menu:checked ~ label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #menu:checked ~ label span:nth-child(2) {
    opacity: 0;
  }
  #menu:checked ~ label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .logo-img {
    max-width: 80px;
  }
  .header{
    min-height: 0vh;
}

.header-content {
    flex-direction: column;
    padding: 100px 30px 30px 30px;
    margin-top: 20px;
}

.header-txt h1 {
  font-size: 50px;
  line-height: 90px;
  margin-bottom: 15px;
}

.main-container {
  flex-direction: column;
}
    
.form-section, .contact-section {
  padding: 30px;
}
/*
    
.contact-section {
  order: -1;
}*/
}