/* RESET y variables */
:root{
  --bg:#0b0b0b;
  --card:#131313;
  --muted:#bdb6ad;
  --accent: #c99a3b;
  --glass: rgba(255,255,255,0.03);
  --container: 1100px;
  --radius: 10px;
}
/* Fuentes locales */
@font-face {
  font-family: 'Skyrim';
  src: url('assets/fonts/Skyrim.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BaronNeue';
  src: url('assets/fonts/BaronNeue.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


*{box-sizing:border-box}
html{
  scroll-behavior: smooth; /* transición suave al hacer click en links */
}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg) 0%, #090909 100%);
  color: #eee;
  line-height:1.5;
  padding-top: 70px; /* espacio para header fijo */
}

/* HEADER / NAV */
.site-header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(11,11,11,0.9);
  border-bottom:1px solid rgba(255,255,255,0.03);
  transition: background 0.3s;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:12px 20px;
}

.brand h1{
  margin:0;
  font-family: "BaronNeue", serif;
  letter-spacing:1px;
  color:var(--accent);
  font-size:1.6rem;
}
.brand .tag{
  margin:0;
  font-size:0.8rem;
  color:var(--muted);
}

/* NAV */
.main-nav ul{
  display:flex;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
  font-family: "BaronNeue", serif;
}
.main-nav a{
  color:#eee;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
}
.nav-toggle{display:none; background:none; border:0; color:#fff; font-size:1.5rem}

/* HERO ANIMADO INTERACTIVO */
.hero{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:80vh; /* ajustable */
  overflow:hidden;
  padding:80px 20px;

/* Efecto latido */
animation: heroPulse 6s ease-in-out infinite;
}


/* Overlay sutil */
.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55));
  z-index:1;
}

/* Hero content siempre encima */
.hero-content{
  position: relative;
  z-index:2;
  animation: fadeZoom 1.2s ease-out forwards;
  opacity:0;
  transform: scale(0.95);
}

/* Fade + zoom */
@keyframes fadeZoom{
  0% { opacity:0; transform: scale(0.95);}
  100% { opacity:1; transform: scale(1);}
}

/* Latido hero */
@keyframes heroPulse{
  0%, 100% { transform: scale(1); }
  100% { transform: scale(0.1); } /* ligeramente más grande */
}

/* Hero responsive tipografía */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.8rem !important; /* aumenta tamaño en móvil */
  }

  .hero-content p {
    font-size: 1rem !important; /* reduce tamaño en móvil */
  }
}
.hero{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:80vh; /* ajustable */
  overflow:hidden;
  padding:20px 20px;


  /* Fondo de partículas de fuego */
  background-image: url('assets/img/fire_particles_vertical.jpg'); /* tu imagen vertical */
  background-size: cover; /* mantiene 100% sin deformarse */
  background-position: center center;
  background-repeat: no-repeat;

  /* Efecto latido */
  animation: heroPulse 6s ease-in-out infinite;
}
.hero-content h2 {
  font-family: 'Skyrim', serif;
  font-size: 100px;
  color: #c99a3b;
}
.hero-content p {
  font-family: 'BaronNeue', serif;
  font-size: 25px;
  color: #ffffff;
}

/* Hero content siempre encima */
.hero-content{
  position: relative;
  z-index:2;
  animation: fadeZoom 1.2s ease-out forwards;
  opacity:0;
  transform: scale(0.95);
}

/* Fade + zoom */
@keyframes fadeZoom{
  0% { opacity:0; transform: scale(0.95);}
  100% { opacity:1; transform: scale(1);}
}

/* Latido hero */
@keyframes heroPulse{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); } /* ligeramente más grande */
}

/* Responsivo */
@media (max-width:768px){
  .hero{
    min-height:60vh;
    background-position: top center;
  }
  .hero-content h2{font-size:1.8rem;}
  .hero-content p{font-size:1rem;}
}


/* Runas flotantes */
.rune {
  position:absolute;
  font-family: "Libre Baskerville", serif;
  color: var(--accent);
  opacity:0.6;
  animation: floatRune linear infinite;
  pointer-events:none;
}

@keyframes floatRune {
  0% { transform: translateY(0) rotate(0deg); opacity:0.3; }
  50% { transform: translateY(-60px) rotate(180deg); opacity:0.7; }
  100% { transform: translateY(-120px) rotate(360deg); opacity:0; }
}

/* Fade + zoom texto */
.hero-content {
  animation: fadeZoom 1.2s ease-out forwards;
  opacity:0;
  transform: scale(0.95);
}
@keyframes fadeZoom {
  0% { opacity:0; transform: scale(0.95);}
  100% { opacity:1; transform: scale(1);}
}


/* Botones */
.btn-primary{
  display:inline-block;
  padding:12px 20px;
  background: linear-gradient(90deg,var(--accent), #e0b85b);
  color:#111;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-family: 'BaronNeue', serif;
}
.btn-ghost{
  display:inline-block;
  padding:10px 14px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.08);
  color:var(--muted);
  text-decoration:none;
}


/* Secciones */
.section{padding:56px 0}
.alt-bg{background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);}
.cards-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; margin-top:20px}
.card{
  background:var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  border:1px solid rgba(255,255,255,0.02);
}

/* Contenedor de la sección historia */
.historia .container {
  max-width: 1200px;  /* ancho máximo centrado */
  margin: 0 auto;      /* centra horizontalmente */
  padding: 0 40px;     /* margen lateral */
  position: relative;
  z-index: 1;
}

.historia{
  position: relative;
  background: #0b0b0b;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}


/* Título */
.historia h2{
  font-family: 'BaronNeue', serif;
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #c99a3b;
  position: relative;
  z-index:1;
}

.story-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
  position: relative;
  z-index: 1;

  /* Opcional: margen interno adicional */
  padding-left: 20px;
  padding-right: 20px;
}


.story-block img{
  width: 120px;
  height: auto;
}

.story-block p{
  font-family: 'BaronNeue', sans-serif;
  font-size: 1.1rem;
  text-align: left;
}

/* Móviles */
@media (max-width:768px){
  .story-block{
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .story-block img{
    width: 80px;
  }
  .historia h2{
    font-size: 2.2rem;
  }
  .story-block p{
    font-size: 0.95rem;
  }
}
.texto_arriba h1{
  text-align: center;
  font-size: 50px;
  font-family:  'BaronNeue', sans-serif;
  color: #c99a3b;
}
.texto_arriba p{
  text-align: center;
  font-family: 'BaronNeue', sans-serif;
  color: #eee;
  font-size: 30px;
  margin-bottom: 30px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* espacio entre tarjetas */
}

.card {
  background: rgb(0, 0, 0), 163, 163;
  border: 2px solid #000000;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.card {
  width: 450px; /* ajusta tamaño de imagen */
  height: auto;
  margin-bottom: 15px;
}

/* Destacadas / especiales */
.card.special {
  font-family: 'BaronNeue', sans-serif;
  background-color: #000000;
  box-shadow: 0 0 5px #ffffff;
  transform: scale(1);
  transition: all 0.4s ease;
}
.card.special h2 {
  font-family: 'BaronNeue', sans-serif;
  color: #c99a3b;
}
.card.special p {
  font-family: 'BaronNeue', sans-serif;
  color: #ffffff;
  font-size: 15px;
}
.card.special:hover {
  transform: scale(1.07);
  box-shadow: 0 0 20px #6d5000;
}

/* Responsive para móviles */
@media(max-width:768px){
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%; /* ancho completo con margen lateral */
  }
  .card img {
    width: 100px; /* imagen más pequeña en móvil */
  }
}

.eventos-section {
  padding: 80px 20px;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9));
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-card {
  max-width: 600px;
  text-align: center;
  background: rgba(20, 20, 20, 0.9);
  padding: 40px 30px;
  border-radius: 15px;
  border: 2px solid #cfa15a;
  box-shadow: 0 0 20px rgba(207,161,90,0.6);
}

.event-card h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: 'BaronNeue', serif;
  color: #cfa15a;
}

.event-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'baron neue', serif;
  color: #ffffff;
}

.event-card p {
  font-size: 1rem;
  margin: 10px 0;
  font-family: 'Baron Neue', sans-serif;
  color: #f2f2f2;
}

.event-card .fecha {
  display: block;
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #cfa15a;
}
.galeria-section {
  padding: 80px 20px;
  background: #111;
  text-align: center;
}

.galeria-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #cfa15a;
  font-family: 'BaronNeue', serif;
}
.galeria-section p {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ffffff;
  font-family: 'BaronNeue', serif;
}


.galeria-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.galeria-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  max-width: 320px;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.galeria-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.galeria-card h3 {
  margin: 15px 0 10px;
  font-size: 1.6rem;
  color: #cfa15a;
  font-family: 'Baron Neue', sans-serif;
}

.galeria-card p {
  padding: 0 15px 20px;
  font-size: 0.95rem;
  color: #ccc;
}
.reservas-section {
  padding: 80px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.reservas-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #cfa15a;
  font-family: 'BaronNeue', serif;
}
.reservas-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ffffff;
  font-family: 'BaronNeue', serif;
}

.reservas-container {
  display: flex;
  justify-content: center;
}

.btn-whatsapp {
  display: inline-block;
  background: linear-gradient(90deg,var(--accent), #e0b85b);
  color: #fff;
  padding: 18px 30px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-family: 'Baron Neue', sans-serif;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

.contacto-section {
  padding: 80px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.contacto-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #cfa15a;
  font-family: 'BaronNeue', serif;
}

.contacto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.contacto-info {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  max-width: 400px;
  flex: 1;
  text-align: left;
  font-family: 'Baron Neue', sans-serif;
}

.contacto-info h3 {
  margin-bottom: 20px;
  color: #cfa15a;
}

.contacto-info a {
  color: #cfa15a;
  text-decoration: none;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.contacto-mapa {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
}



/* Timeline */
.timeline{display:flex; gap:16px; margin-top:18px}
.timeline-item{background:var(--glass); padding:10px 14px; border-radius:8px; border:1px solid rgba(255,255,255,0.02)}


/* Modal img */
.img-modal{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,0.85); z-index:100;
}
.img-modal img{max-width:90%; max-height:80%; border-radius:8px}
.modal-close{position:absolute; right:20px; top:20px; background:none; border:0; color:#fff; font-size:1.8rem}

/* Form */
.form-card{max-width:620px; display:grid; gap:12px; margin-top:14px; background:var(--card); padding:18px; border-radius:12px}
.form-card label{display:flex; flex-direction:column; font-size:0.9rem; color:var(--muted)}
.form-card input, .form-card select{padding:10px; margin-top:6px; border-radius:8px; border:1px solid rgba(255,255,255,0.04); background:transparent; color:#fff}
.form-actions{display:flex; gap:12px; align-items:center;}
.form-msg{color:var(--accent); margin-top:8px}

/* Contact grid */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.contact-grid iframe{width:100%; height:220px; border:0; border-radius:8px}

/* Footer */
.site-footer{padding:18px 0; text-align:center; color:var(--muted); border-top:1px solid rgba(255,255,255,0.02)}

/* Responsive */
@media (max-width:900px){
  .main-nav{position:fixed; inset:68px 0 0 0; background:linear-gradient(180deg,#070707, rgba(0,0,0,0.95)); transform:translateY(-120%); transition:transform .28s ease; padding-top:20px}
  .main-nav.open{transform:translateY(0)}
  .main-nav ul{flex-direction:column; gap:14px; padding:18px}
  .nav-toggle{display:block}
  .timeline{flex-direction:column}
  .contact-grid{grid-template-columns:1fr}
  .hero{padding:30px 0}
}

/* Ajuste runas para móviles */
@media (max-width: 768px){
  .rune {
    font-size: calc(var(--rune-size, 16px) * 0.6) !important;
  }
}

