@charset "UTF-8";

@font-face {
  font-family: 'RoseSpring';
  src: url('fonts/RoseSpring.ttf') format('truetype');
}

@font-face {
  font-family: 'SpringTime';
  src: url('fonts/SpringTime.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333;
    max-width: 80em;
    margin-left: 20%;
    margin-right: 20%;
    min-height: 100vh; 
    overflow-y: scroll;
}

#pageBody {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.countdown, header, nav {
      position: relative;
      z-index: 2;
  }

#pageBody::before {
    content: "";
    position: fixed;
    top: 20rem;
    left: 20%;                 /* respeta tu margen del body */
    width: 60%;
    height: 100vh;
    opacity: 0.5;

    background-image: url("imgs/BackgroundNew.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;

    z-index: -1;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /*background-image: url("imgs/header3.png");
    background-color: rgba(255,255,255,0.6);*/
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

header h1 {
    /* font-family: 'Playfair Display', serif; */
    font-family: 'SpringTime';
    font-size: 4em;
    word-spacing: 0.3em;
    color: rgb(61, 61, 61);
}

        
nav {
    display: flex;
    justify-content: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


#queHacer::before{
    content: "Ya que estás en Córdoba..."
}

section {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
}

h2 {
    font-family: 'SpringTime';
    font-size: 2em;
    margin-top: 0px;
    margin-bottom: 1rem;
    color: rgb(61, 61, 61);
}
        
nav button {
    background: none;
    border: none;
    padding: 1em 0em;
    color: black;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    border-bottom: 2px solid #00000000
}

nav button:hover{
    border-bottom: 2px solid gray;
}
nav button.active {
    border-bottom: 2px solid black;
}

.countdown {
    text-align: center;
    font-size: 1.2em;
    margin: 1rem 0;
}

.counter {
    color: #898236;
    background-color: #3d3d3d;
    border-radius: 0.2em;
    padding: 0.2em 0.5em;
    font-weight: bold;
}

.dateContent {
    display: flex;
    text-align: center;
}

.date {
    flex-direction: column;
    display: flex;
    margin: 0em 2em;
}

.counterBig {
    font-size: 5em;
}

.dateName {
    font-size: 2em;
}

.menu {
    width: 100%;
    height: 200px;
    border: none;
}

.card {
    background-color: #ffffffbf;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.timeline {
  width: 100%;
  max-width: 800px;
  padding-top: 50px;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 74px;
  bottom: 0px;
  width: 4px;
  background: #3d4551;
}
.timeline:after {
  content: "";
  display: table;
  clear: both;
}

.entry {
  clear: both;
  text-align: left;
  position: relative;
}
.entry .title {
  margin-bottom: 0.5em;
  float: left;
  width: 55px;
  position: relative;
}

.timelineIcon {
    position: absolute;
    left: 59px;
    padding: 4px;
    background-color: #898236;
    border-radius: 100%;
    color: white;
    margin-top: -4px;
}
.reverse {
    transform: scaleX(-1);
}

/*.entry .title:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 4px solid #e5bab4;
  background-color: #fff;
  border-radius: 100%;
  top: 15%;
  right: -8px;
  z-index: 99;
}*/
h3 {
  text-align: center;
}
.entry .title h3 {
  margin: 0;
  font-size: 120%;
}
.entry .title p {
  margin: 0;
  font-size: 100%;
}
.entry .body {
  margin: 0 0 3em;
  float: right;
  width: calc(100% - 100px);
}
.entry .body p {
  line-height: 1.4em;
}
.entry .body p:first-child {
  margin-top: 0;
  font-weight: 400;
}
.entry .body ul {
  color: #aaa;
  padding-left: 0;
  list-style-type: none;
}
.entry .body ul li:before {
  content: "–";
  margin-right: 0.5em;
}

.location, .phone, .link {
  display: flex;
  margin-top: 0.5em;
  color:#aaa;
  align-items: center;
  font-style: italic;
  text-decoration: none;
}

.location::before, .phone::before, .link::before {
  font-family: "material icons";
  font-style: normal;
  font-size: 1.5em;
}

.location::before {
  content: "location_pin";
}

.phone::before {
  content: 'phone';
}

.link::before {
  content: 'link';
}

/*Slideshow*/

        
.mySlides {
  margin-top: 20px;
  display: none;
}

.mySlides.active {
  display: block !important;
}
/* Slideshow container */

.slideshowContainer {
  max-width: 1000px;
  position: relative;
  margin: auto;
}
/* Dots */
.dot{
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  color: #000000;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  font-size: 2em;
}
.dot.active {
  color: #898236;
}

.dot::before {
  content: "\2022";
}
.dotArrow {
  cursor: pointer;
  font-size: 1.5em;
  font-family: 'Material Icons';
}

/* Next & previous buttons */

.prev,
.next {
  cursor: pointer;
  position: absolute;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
  background-color: rgba(204, 203, 203, 0.8);
}


.accordion {
  background-color: rgba(204, 203, 203, 0.8);
  color: #333;
  cursor: pointer;
  padding: 1em;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.accordion::before {
  font-family: "material icons";
  content: "arrow_drop_down";
}

.accordion.active::before {
  font-family: "material icons";
  content: "arrow_right";
}

.accordion.active, .accordion:hover {
  background-color: #89823647; 
}

.hotelName {
  padding: 0em 1em;
  font-weight: bold;
}

.star {
  font-family: "material icons";
  color: #898236;
  margin-right: 0.2em;
}

.panel {
  padding: 0.5em 1em;
  display: none;
  background-color: white;
  overflow: hidden;
}


#rsvpForm {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* separación entre filas */
  max-width: 700px; /* ancho máximo opcional */
  width: 100%;
}

#rsvpForm label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

/* inputs y selects: ocupan todo el espacio sobrante */
#rsvpForm input,
#rsvpForm select {
  flex: 1;
  padding: 0.4rem;
  font-size: 1rem;
  box-sizing: border-box;
  border: 1px solid #3d455138;
}

/* Caso especial: label que contiene un textarea -> columna */
#rsvpForm label:has(textarea) {
  flex-direction: column;
  align-items: stretch;
}

#rsvpForm textarea {
  width: 100%;
  padding: 0.4rem;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical; /* sólo redimensionar en vertical */
  min-height: 4rem;
  border: 1px solid #3d455138;
  font-family: Arial;
}

/* botón */
#rsvpForm button {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start; /* cámbialo a "stretch" si quieres ancho completo */
}

  /* --- Vista móvil --- */
  @media (max-width: 500px) {
  }


@media (max-width: 900px) {
    
    header h1 {
        font-size: 2em;
        padding: 0.5rem 1rem;
    }
    body{
        margin-left: 0px;
        margin-right: 0px;
    }

    #pageBody::before {
        left: 0;
        width: 100%;
        top: 15rem;
    }
}

@media (max-width: 600px) {
    section {
        padding:1rem;
    }
    #rsvpForm label {
      flex-direction: column;
      align-items: stretch;
    }

    #rsvpForm input,
    #rsvpForm select,
    #rsvpForm textarea {
      width: 100%;
    }

    #rsvpForm button {
      align-self: stretch;
    }

    #queHacer::before{
      content: "Ya que..."
    }
}

@media (max-height: 500px) {
    #pageBody::before {
        top: 0rem;
    }
}