
/* Base Styles */
:root {
  
  
  --beige: #DCDBD6;
  --beige-70: rgba(220, 219, 214, 0.9);
  --black: #4D4C2D;
  --black-70: #4d4c2dca;
  --white: #fff;
  --transition: all 0.3s ease;


}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.goudy-bookletter-1911-regular {
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-style: normal;
}

.responsive-svg{
  max-width: 988px;
  width: 100%;
  height: auto;

}

.work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-brown);
  background-color: var(--black);
  overflow-x: hidden;
  letter-spacing: -.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  
  margin: 20px 0;
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 200px;
  line-height: 208px;
  letter-spacing: -12px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  

}

h2 {
  
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  font-family: "Goudy Bookletter 1911", serif;
    font-weight: 100;
    font-size: 96px;
    line-height: 125px;
    color: var(--black);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.quote {
  font-size: 2rem;
  color: var(--black);
  letter-spacing: normal;
  max-width: 900px;
  display: inline-block;
  margin-top: 3rem;
}

.historia-container h3{
  font-size: 2rem; 
  color: var(--black);
  letter-spacing: normal;
}

p {
  font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--black);
    opacity: 70%;
    letter-spacing: -.5px;
    text-align: left;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  background-color: transparent;
  color: var(--beige);
  border: 1px solid var(--beige);
  padding: 10px 25px;
  font-family: "Goudy Bookletter 1911", serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;

  /* botton */

/* Auto layout */
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 20px 26px;
gap: 10px;

width: auto;
height: 60px;

background: transparent;
border-radius: 1000px;

/* Inside auto layout */
flex: none;
order: 2;
flex-grow: 0;

}

button:hover, .btn:hover {
  background: rgba(220, 219, 213, 0.1);
  transform:translateY(2px)
}

section {
  padding: 240px 10%;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  color: #F9EBDD;
}

header.scrolled {
  background: rgba(77, 76, 40, 0.7);
  padding: 0px 10%;
  backdrop-filter: blur(10px); /* Blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.logo {
  
  text-decoration: none;
  transition: var(--transition);
  /* S&D */
font-family: 'Instrument Serif', serif;
font-style: italic;
font-weight: 900;
font-size: 57.0074px;
line-height: 74px;
text-align: center;
color: #F9EBDD;
}
.scrolled .logo {font-size: 32px;}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 100%;
  list-style: none;
  column-gap: 24px;
}

.nav-links a {
  color: #F9EBDD;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--gold);
  transition: var(--transition);
}

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

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  margin: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 10%;
  background-image: url(src/assets/intro.jpg);
  background-position: center;
  background-size:cover;
  background-repeat: no-repeat;
  padding: 150px 10%;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 90%;
  color: #F9EBDD;
}

.hero-content h3 {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 300;
  font-family: "Goudy Bookletter 1911", serif;
  color:#DCDBD6;
}



.hero-content p {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* Nuestra Historia Section */
.historia {
  background-color: var(--beige);
  text-align: center;
}

.historia-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  gap: 8px;
  width: fit-content; 
 
}

.historia-circles{width: 285px;}

.historia-ovalo{
  width: 445px;
  max-width: inherit;
}

.circulos{
  width: 100%;
  display: grid;
  align-content: space-around;
}

.fotos{
  display: flex;
  flex-direction: row;
  width: 770px;
}

.picnic{width: 100%;}

.nuestra-historia-group{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}

.historia-item {
  flex: 1;
  min-width: 250px;
  max-width: 80%;
  padding: 0px;
  transition: var(--transition);
  text-align: left;
}

.historia-item h3{
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  color: var(--black);
 }

.historia-item p{
  font-family: 'Work Sans', sans-serif;
font-weight: 400;
font-size: 16px;
color: var(--black);
opacity: 70%;
letter-spacing: -.5px;

}

.historia-img {
  width: 100%;
    height: auto;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    max-width: 500px;
}

.historia-img.circle {
  border-radius: 50%;
}

.historia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.historia-item:hover .historia-img img {
  transform: scale(1.1);
}

/* Lugar y Código de Vestimenta */
.lugar-codigo {
  display: flex;
  align-items: center;
  background-color: var(--black);
  color: var(--white);
  padding: 0;
}

.lugar-info {
 
  padding: 80px 5% 80px 10%;
  padding: 140px;
  background-image: url(src/assets/lugar.jpg);
  width: 50%;
  background-size: cover;
  height: 960px;
  background-position: center;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  justify-content: space-around;
}

.faqs-image {
  align-items: flex-start;
  padding: 100px 100px;
  background-image: url(src/assets/faqs.jpg);
  width: 50%;
  background-size: cover;
  height: 960px;
  background-position: center;
  display: flex;
  
  text-transform: uppercase;
}

.faqs-image h2{
  color: var(--beige);
  text-transform: none;
  text-align: center;
  width: 100%;
  display: inline-block;
  line-height: 100%;
}

.lugar-info h2{
font-family: "Goudy Bookletter 1911", serif;
font-weight: 400;
font-size: 96px;
line-height: 100%;
text-align: center;
color: var(--beige);
margin-bottom: 0px;
text-transform: none;
}

.lugar-img {
  flex: 1;
  height: 100%;
}

.lugar-horarios{    
  padding: 80px 5% 80px 10%;
  padding: 140px;
  background-image: url(src/assets/horarios.jpg);
  width: 50%;
  background-size: cover;
  height: 960px;
  background-position: center;
  display: flex;
  align-items: center;
  display: flex;
      align-items: center;
      flex-direction: column;
}


.lugar-horarios h2{ 
  font-family: "Goudy Bookletter 1911", serif;
    font-weight: 400;
    font-size: 96px;
    line-height: 100%;
    text-align: center;
    color: var(--beige);
    margin-bottom: 0px;
    text-transform: none;
}

.lugar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lugar-details, .codigo-details {
  margin-bottom: 40px;
}

.lugar-detalle{
  padding: 80px;
  padding-bottom: 20px;
  padding-top: 20px;
  max-width: 810px;
}

.lugar-detalle h3 {
font-family: "Goudy Bookletter 1911", serif;
font-weight: 400;
font-size: 32px;
line-height: 42px;
letter-spacing: 0.02em;
color: var(--beige);
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}

.lugar-detalle p{
font-family: 'Work Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 20px;
letter-spacing: 0.01em;
color: var(--beige);
opacity: 0.7;
/* Inside auto layout */
flex: none;
order: 1;
align-self: stretch;
flex-grow: 0;
margin-bottom: 1rem;
}

.lugar-details h3, .codigo-details h3 {
  color: var(--gold);
}

/* Horarios Section */
.horarios {
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--black);
  color: var(--beige);
  width: 100%;
  justify-content: space-between;
}

.horarios-img {
  flex: 1;
  height: 100%;
}

.horarios-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horarios-info {
  flex: 1;
  padding: 80px 10% 80px 5%;
}

.timeline {
  padding: 80px 170px;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 25px;
  width: 1px;
  height: calc(100% + 15px);
  background-color: var(--gold);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item h3 {
  color: var(--beige);
  margin-bottom: 5px;
  font-family: "Goudy Bookletter 1911", serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0.02em;
    color: var(--beige);
}

.timeline-item p{
  font-family: 'Work Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.01em;
  color: var(--beige);
  opacity: 0.7;
}

a .btn{text-decoration: none;}
a {text-decoration: none;}

/* Regalos Section */
.regalos {
  background-color: var(--beige);
  text-align: center;
}

.regalos p {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 40px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .01rem;
  color: var(--black);
  opacity: 70%;
}

.regalos-options {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.regalo-item {
  flex: 1;
  min-width: 250px;
  max-width: 450px;
  padding: 20px;
  transition: var(--transition);
}

.regalo-item a{text-decoration: none;}

.regalo-item .btn{
  margin: auto;
  background-color: var(--black);
  color: var(--beige);
}

.regalo-item .btn:hover{
background-color: var(--black-70);
}

.regalo-item h3{
 font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  color: var(--black);
  letter-spacing: 1px;
}

/* FAQs Section */
.faqs {
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--black);
  color: var(--white);
}

.faqs-content {
  flex: 1;
  padding: 80px 5% 80px 10%;
}

.faqs-img {
  flex: 1;
  height: 100%;
}

.faqs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accordion {
  margin-bottom: 30px;
}

.accordion-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover h3 {
  color: var(--gold);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 15px;
}

/* Confirmar Asistencia Section */
.confirmar {

  text-align: center;
  position: relative;
  background-image: url('src/assets/asistencia.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--beige);
  color: var(--beige);
  height: 1200px;
}

/* .confirmar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
} */

.confirmar h2, .confirmar p, .confirmar button {
  position: relative;
  z-index: 1;
  color: var(--beige);
  margin: auto;
}



.confirmar p {
  max-width: 744px;
  margin: 0 auto 30px;
  color: var(--beige);
  font-family: 'Work Sans', sans-serif;
  opacity: 100;
  font-size: 20px;
  text-align: center;
}

/* Footer */
footer {padding: 20px;}

footer p{
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 16px 0 40px 0px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  color: var(--beige);
  text-align: center;
}

.footer-logo {
  margin-top: 40px;
}

footer a{
  color:beige;
  opacity: 1;
  
}

footer p a:hover{
  color:beige;
  opacity: .8;
  transition: all .3s ease-in-out;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
  section {padding: 120px 10%;}
  .info-horarios{width: 400px;}

  h2 {font-size: 50px;}

  h1 {
    font-size: 3.5rem;
  }
  
  .nav-links {
    width: 80%;
  }
  
  .lugar-codigo, .horarios, .faqs {
    flex-direction: column;
  }
  
  .lugar-info, .horarios-info, .faqs-content {
    padding: 60px 10%;
    order: 0;
    width: 100%;
    height: 500px;
  }
  
  .lugar-img, .horarios-img, .faqs-img {
    width: 100%;
    height: 400px;
    order: 0;
  }

  .nuestra-historia-group {
    display: flex;
    gap: 32px;
    flex-direction: column;
}

.historia-ovalo {
  width: 90%;
  max-width: inherit;
}

.picnic {
  width: 160%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 10px;
  max-width: 100%;
  color: var(--beige);
}

.nav-links {
  position: absolute;
  right: 0;
  top: 80px;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--black-70);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  clip-path: circle(0px at 90% -10%);
  -webkit-clip-path: circle(0px at 90% -10%);
  transition: all 0.5s ease-out;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-links.active {
  clip-path: circle(1500px at 90% -10%);
  -webkit-clip-path: circle(1500px at 90% -10%);
  pointer-events: all;
}

.nav-links li {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.nav-links a {
  font-size: 32px;
}

.burger {
  display: block;
}

.historia-item {
  max-width: 100%;
}

h1 {
  font-size: 4rem;
  letter-spacing: -.3rem;
  line-height: normal;
}

.historia-circles {
  width: 180px;
}

.lugar-detalles{
  padding: 20px;
}

.lugar-detalle {
  padding: 0px;
  padding-bottom: 20px;
  padding-top: 20px;
  max-width: 810px;
}

.lugar-info h2 {
  font-size: 50px;
}
.timeline {
  order: 2;
  padding: 60px 0px;
  width: 100%;
}
.lugar-horarios{
  width: 100%;
  height: 500px;
  padding: 80px;
}

.lugar-horarios h2{
  font-size: 50px;
}

.faqs-image {
  align-items: flex-start;
  padding: 80px 100px;
  background-image: url(src/assets/faqs.jpg);
  width: 50%;
  background-size: cover;
  height: 960px;
  background-position: center;
  display: flex;
  text-transform: uppercase;
  width: 100%;
  height: 500px;
}
.confirmar{
  height: 700px;
  height: auto;
  background-attachment: scroll;
}

footer .logo {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 40px;
}

footer p{
  line-height: 100%;
}

footer p a{
  color:beige;
}

footer p a:hover{
  color:beige;
  opacity: .8;
  transition: all .3s ease-in-out;
}
.fotos {
  width: 100%;
}

}

@media screen and (max-width: 768px) {
  
  
  h2 {
    font-size: 3rem;
    line-height: normal;
  }
  
  section {
    padding: 60px 5%;
  }
  
  .confirmar{ height: 800px;}
  .badge {
    transform: translate(53%, 90%);
    width: auto;
}
.lugar-detalles{
  width: 100%;
}
.info-horarios{
  width: 100%;
}
 
}

@media screen and (max-width: 480px) {
  /* h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  header {
    padding: 15px 5%;
  }
  
  .lugar-img, .horarios-img, .faqs-img {
    height: 300px;
  }
  
  .timeline-item {
    padding-left: 20px;
  }
} 
  .confirmar{ height: 700px;}*/

  .info-horarios{
    width: 100%;
  }
  .hero-content h3 {font-size: 20px; }
  .confirmar p {font-size: 16px;}
}

/* Animations */
@keyframes slideInFromBottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.spin {
 transform-origin: 50% 50%;
    animation: spin 6s linear infinite;
    /* mejora la interpolación en algunos navegadores */
    will-change: transform;
}

.spin:hover{
   animation-play-state: paused;
}

 @keyframes spin {
    from { transform: rotate(360deg); }
    to   { transform: rotate(0deg); }
  }

.badge {
    transform: translate(53%, 90%);
    width: auto;
}