/* ---------------------------------------
   Everkindphoto - style.css
   Author: Creador páginas web MultiRubro
---------------------------------------- */

/* ======= Reset y fuentes ======= */
body {
  font-family: 'Inter', sans-serif;
  background-color: #606750;
  color: #f5f5f5;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e2b64b;
}

/* ======= Navbar ======= */
.navbar {
  background-color: #606750 !important;
  transition: background-color 0.3s ease;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: #e2b64b !important;
}

/* ======= Hero Section ======= */
#hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

#hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ======= Botones ======= */
.btn {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn:hover {
  filter: brightness(1.1);
}

/* ======= Cards ======= */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ======= Secciones ======= */
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

section h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

section p.lead {
  font-size: 1.1rem;
  color: #dddddd;
}

/* ======= Galería ======= */
#gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ======= Formularios ======= */
form label {
  font-weight: 500;
}

form .form-control,
form .form-select,
textarea {
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #1f1f1f;
}

form .form-control:focus,
form .form-select:focus,
textarea:focus {
  border-color: #e2b64b;
  box-shadow: 0 0 0 0.2rem rgba(226, 182, 75, 0.25);
}

form .btn {
  background-color: #e2b64b;
  color: #1f1f1f;
  font-weight: 600;
}

form .btn:hover {
  background-color: #d7af4f;
}

/* ======= Footer ======= */
footer {
  font-size: 0.95rem;
  background-color: #1f1f1f;
}

footer a {
  color: #e2b64b;
}

footer a:hover {
  color: #cfaa52;
}

/* ======= Responsive ======= */
@media (max-width: 767px) {
  #hero h1 {
    font-size: 2.2rem;
  }
  #hero p {
    font-size: 1rem;
  }
  .nav-link {
    margin-left: 0.5rem;
  }
}
/* Sobre Nosotros */
#about {
  background-color: #4d412c;
  color: #4b4848;
}

#about h2 {
  color: #2e2b2b;
  font-weight: 700;
}
/* ======= Divisor decorativo ======= */
.section-divider {
  width: 100px;
  height: 3px;
  background-color: #e2b64b;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Animación al aparecer en viewport */
.section-divider.visible {
  opacity: 1;
  transform: translateY(0);
}
#gallery .lead {
  color: #2e2b2b;
}
/* ======= Modal de Reserva ======= */
#bookingModal .modal-header,
#bookingModal .modal-body,
#bookingModal .modal-footer {
  background-color: #606750;
  color: #f5f5f5;
}

#bookingModal label {
  color: #f5f5f5;
  font-weight: 500;
}

#bookingModal .form-control,
#bookingModal .form-select {
  background-color: #f5f5f5;
  color: #1f1f1f;
}

#bookingModal .form-control:focus,
#bookingModal .form-select:focus {
  border-color: #e2b64b;
  box-shadow: 0 0 0 0.2rem rgba(226, 182, 75, 0.25);
}
/* Idioma navbar */
.language-switcher .btn {
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.language-switcher .btn.active {
  background-color: #e2b64b;
  color: #1f1f1f;
  border-color: transparent;
}

.language-switcher .btn:hover {
  filter: brightness(1.1);
}
/* 🔹 Efecto hover en íconos sociales */
footer .fab {
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .fab:hover {
  transform: translateY(-3px);
  color: #d7af4f; /* tono dorado suave */
}
/* 🔹 Ajuste de posición del contenido del Hero */
.hero-shift {
  transform: translateY(100px); /* baja todo el texto y el botón */
}

@media (max-width: 768px) {
  .hero-shift {
    transform: translateY(40px); /* menos desplazamiento en móviles */
  }
}
/* 🔹 Ajuste de posición del contenido del Hero */
.hero-shift {
  transform: translateY(80px);
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
}

@media (max-width: 768px) {
  .hero-shift {
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
  }
}

/* 🔹 Animación suave al cargar el Hero */
@keyframes fadeInUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(80px);
    opacity: 1;
  }
}
.hero-shift h1 {
  animation-delay: 0.2s;
}
.hero-shift p {
  animation-delay: 0.4s;
}
.hero-shift button {
  animation-delay: 0.6s;
}
/* 🔹 Control del tamaño de la imagen en "About" */
#about img {
  width: 100%;
  max-width: 480px; /* limita el ancho máximo */
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto; /* centra la imagen */
}

/* 🔹 En pantallas grandes, equilibra con el texto */
@media (min-width: 992px) {
  #about img {
    max-width: 420px;
  }
}

/* 🔹 En pantallas pequeñas, ajusta la altura */
@media (max-width: 768px) {
  #about img {
    max-width: 80%;
    margin-bottom: 20px;
  }
}
/* 🔹 Imagen "Sobre Nosotros" (ajustada y con borde dorado suave) */
#about img {
  width: 100%;
  max-width: 360px; /* mantiene el tamaño más pequeño */
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 3px solid #e5dcc3; /* 🔸 dorado suave tipo champagne */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* sombra más sutil */
}

/* 🔹 Ajuste visual en pantallas grandes */
@media (min-width: 992px) {
  #about img {
    max-width: 320px;
  }
}

/* 🔹 Ajuste en móviles */
@media (max-width: 768px) {
  #about img {
    max-width: 75%;
    margin-bottom: 20px;
  }
}
