@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Poppins:wght@300;500&display=swap');

:root {
  --color-fondo: #0d0d0d;
  --color-texto: #f0f0f0;
  --color-dorado: #bfa76f;
  --color-gris: #222;
  --fuente-titulo: 'Playfair Display', serif;
  --fuente-texto: 'Poppins', sans-serif;
}

body {
  margin: 0;
  background-color: var(--color-fondo);
  color: var(--color-texto);
  font-family: var(--fuente-texto);
  line-height: 1.6;
}

header.premium-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--color-gris);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-family: var(--fuente-titulo);
  color: var(--color-dorado);
  font-size: 1.8rem;
}

nav a {
  color: var(--color-texto);
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--color-dorado);
}

.hero {
  background: url('img/1.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  max-width: 700px;
  color: var(--color-texto);
  z-index: 1;
}

.hero h2 {
  font-family: var(--fuente-titulo);
  font-size: 2.8rem;
  color: var(--color-dorado);
}

.btn-gold {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: var(--color-dorado);
  color: #000;
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-gold:hover {
  background-color: #d4c08a;
}

section {
  padding: 5rem 5%;
  text-align: center;
}

.about {
  background-color: #111;
}

.contact-form form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
}

.contact-form input, 
.contact-form textarea {
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: var(--color-texto);
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 2rem;
  color: #777;
  font-size: 0.9rem;
}
.galeria-body {
  background-color: #000;
  color: #fff;
}

.galeria {
  text-align: center;
  padding: 5rem 5%;
}

.galeria h2 {
  font-family: var(--fuente-titulo);
  color: var(--color-dorado);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.carrusel-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.carrusel {
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.carrusel-inner {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carrusel-slide {
  min-width: 100%;
  height: 60vh; /* Altura del carrusel */
  background-color: #000; /* Relleno negro */
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mantiene proporción y rellena con negro */
  background-color: #000;
  border-radius: 10px;
}

/* Botones */
.btn-carrusel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 215, 0, 0.3);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  transition: 0.3s;
  backdrop-filter: blur(3px);
}

.btn-carrusel:hover {
  background: rgba(255, 215, 0, 0.6);
}

.btn-carrusel.prev {
  left: 10px;
}

.btn-carrusel.next {
  right: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
  .carrusel-slide {
    height: 45vh;
  }
}
/* === SECCIÓN "A QUÉ NOS DEDICAMOS" === */
.dedicamos {
  background-color: #0d0d0d;
  color: var(--color-texto);
  padding: 5rem 10%;
  text-align: left;
  line-height: 1.8;
}

.dedicamos h2 {
  font-family: var(--fuente-titulo);
  color: var(--color-dorado);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.dedicamos p {
  margin-bottom: 1.2rem;
}

.dedicamos-lista {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.dedicamos-lista li {
  margin-bottom: 1.5rem;
  background-color: #111;
  padding: 1.2rem;
  border-left: 3px solid var(--color-dorado);
  border-radius: 4px;
}

/* === SECCIÓN "POR QUÉ ELEGIRNOS" === */
.elegirnos {
  background-color: #111;
  padding: 5rem 10%;
  text-align: center;
}

.elegirnos h2 {
  font-family: var(--fuente-titulo);
  color: var(--color-dorado);
  margin-bottom: 3rem;
  font-size: 2rem;
}

.elegirnos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.elegir-item {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elegir-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(191, 167, 111, 0.2);
}

.elegir-item h3 {
  color: var(--color-dorado);
  margin-bottom: 1rem;
  font-family: var(--fuente-titulo);
}
/* === SECCIÓN DE CONTACTO (CÓDIGO MEJORADO) === */

.contact-form {
  background-color: var(--color-fondo); /* Asegura el fondo correcto */
  text-align: center;
}

/* Título para la sección del formulario */
.contact-form h2 {
  font-family: var(--fuente-titulo);
  color: var(--color-dorado);
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Contenedor del formulario para centrarlo */
.contact-form form {
  max-width: 600px;
  margin: 0 auto;     /* Centra el formulario en la sección */
  text-align: left;  /* Alinea el texto de las etiquetas a la izquierda */
}

/* Estilo para cada grupo de campo (div.field) */
.field {
  margin-bottom: 1.5rem; /* Más espacio entre campos */
}

/* Estilo para las etiquetas (label) */
.field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-texto);
  font-weight: 300;
  font-size: 1rem;
}

/* Estilo unificado para inputs de texto y el textarea */
.field input,
.field textarea {
  width: 100%;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: var(--color-texto);
  padding: 0.8rem 1rem;
  border-radius: 4px;
  font-family: var(--fuente-texto); /* Usa la fuente del cuerpo */
  font-size: 1rem;
  box-sizing: border-box; /* Impide que el padding afecte al ancho total */
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Efecto visual al hacer clic en un campo */
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-dorado);
  box-shadow: 0 0 10px rgba(191, 167, 111, 0.2);
}

/* Estilo específico para el campo de la propuesta */
.field textarea {
    resize: vertical; /* Permite al usuario ajustar la altura */
    min-height: 150px; /* Una altura inicial más cómoda */
}

/* Botón de envío con el estilo dorado del resto de la web */
input[type="submit"] {
  width: 100%;
  background-color: var(--color-dorado);
  color: #000;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--fuente-titulo); /* Fuente de título para más impacto */
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #d4c08a; /* Mismo efecto hover que .btn-gold */
}