* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0B0B0B;
  color: white;
  padding-top: 80px;
}

h1 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 3.5rem;
  }
}

.container {
  max-width: 1200px;
}

/* colores */
.gold {
  color: #C9A24A;
}

.btn-gold {
  background-color: #C9A24A;
  color: black;
  border: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: #b8933f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* HERO con imagen */
.hero {
  min-height: 100vh;
  height: auto;
  padding: 100px 20px;
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../img/hero.png') center/cover no-repeat;
}

/* .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
} */

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-in-out;
}

/* contenedor blanco */
.logo-banner {
  width: 100%;
  background-color: white !important; /* 🔥 fuerza blanco real */
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border-top: 3px solid #C9A24A;
  border-bottom: 3px solid #C9A24A;

  position: relative;   /* 🔥 clave */
  isolation: isolate;   /* 🔥 MUY clave */
}

/* logo */
.logo-img {
  width: 320px;
  max-width: 90%;
}

@media (min-width: 768px) {
  .logo-img {
    width: 420px;
  }
}

@media (min-width: 1200px) {
  .logo-img {
    width: 520px;
  }
}

.gallery img {
  transition: all 0.4s ease;
  border-radius: 8px;
}

.gallery img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* secciones */
.section {
  padding: 60px 20px;
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 40px;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: 100px 0;
  }
}

.card-dark {
  background-color: #1a1a1a;
  color: white;
  border: none;
  transition: transform 0.3s ease;
}

.card-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.card-white {
    background-color: #d1cccc;
    color: black;
}

/* animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.map-container iframe {
  height: 300px;
}

@media (min-width: 768px) {
  .map-container iframe {
    height: 400px;
  }
}

@media (min-width: 1200px) {
  .map-container iframe {
    height: 500px;
  }
}

.section:last-of-type {
  background: linear-gradient(180deg, #0B0B0B, #111);
}

.footer {
  padding: 60px 0;
  background-color: #000;
}

.footer-title {
  font-weight: 600;
}

.footer-line {
  width: 60px;
  margin: 10px auto 20px;
  border-top: 2px solid #C9A24A;
}

.footer-link {
  color: #aaa;
  text-decoration: none;
}

.footer-link:hover {
  color: #C9A24A;
}

.btn-outline-light {
  border-radius: 30px;
}

.custom-navbar {
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 15px 0;
}

/* cuando haces scroll */
.custom-navbar.scrolled {
  background-color: #000;
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* links */
.nav-link {
  color: #fff !important;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

/* efecto dorado */
.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #C9A24A;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link {
  opacity: 0.7;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active-lang {
  color: #C9A24A !important;
  opacity: 1;
}