@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root {
  --primary-color: #03045e;
  --color: #4581cf;
  --black: #666;
  --white: #fff;
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
}

* {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5rem;
}

section {
  padding: 2rem 7%;
}

.heading {
  text-align: center;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 3rem;
  padding: 1.2rem 0;
  font-size: 4rem;
}

.heading span {
  color: var(--color);
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  border-radius: 5rem;
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--box-shadow);
  padding: .9rem 3rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
  font-size: 1.7rem;
  margin-top: 1rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 0%;
  background: #5858b3;
  z-index: -1;
  left: 0;
  transition: .3s linear;
}

.btn:hover::before {
  width: 100%;
}

/* header */

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 7%;
}

.header .logo {
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--black);
}

.header .logo i {
  color: var(--primary-color);
}

.header .logo i:hover {
  transform: scale(-1) rotate(180deg);
}

.header .navbar a {
  font-size: 1.7rem;
  color: var(--black);
  margin: 0 1rem;
}

.header .navbar a.active,
.header .navbar a:hover {
  color: var(--primary-color);
}

.header .icons div {
  font-size: 2.5rem;
  margin-left: 1.7rem;
  cursor: pointer;
  color: var(--black);
}

.header .icons div:hover {
  color: var(--primary-color);

}

/* login */

.header .login-form {
  position: absolute;
  top: 115%;
  right: -105%;
  background: var(--white);
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  width: 35rem;
  padding: 2rem;
}

.header .login-form.active {
  right: 2rem;
  transition: .4s linear;
}

.header .login-form h3 {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: .7rem;
}

.header .login-form .box {
  border: .1rem solid rgba(0, 0, 0, 0.1);
  margin: .7rem 0;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-transform: none;
  width: 100%;
}

.header .login-form .remember {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .7rem 0;
}

.header .login-form .remember label {
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
}

.header .login-form .btn {
  width: 100%;
  text-align: center;
  margin: 1rem 0;
}

#menu-btn {
  display: none;
}

/* end */

/* home */

.home {
  min-height: 95vh;
  background: url(img/home.jpg) no-repeat;
  background-position: center !important;
  background-size: cover !important;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.home .content {
  text-align: center;
  max-width: 60rem;
}

.home .content h3 {
  font-size: 6rem;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 1.5rem;
}

.home .content h3 span {
  text-transform: uppercase;
  color: var(--primary-color);
}

/* end */

/* banner */

.banner .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  padding-top: 5rem;
}

.banner .box-container .box {
  text-align: center;
  padding: 4rem;
  background: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: 1rem;
}

.banner .box-container .box img {
  margin: 1rem 0;
  height: 5rem;
  transition: 500ms ease;
}

.banner .box-container .box:hover img {
  transform: scale(-1) rotate(180deg);
}

.banner .box-container .box h3 {
  font-size: 2rem;
  padding: 1rem 0;
  color: var(--color);
}

.banner .box-container .box p {
  font-size: 1.5rem;
  color: var(--black);
  line-height: 2;
}

/* end */

/* about us */

.about .row {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  align-items: center;
}

.about .row .image {
  flex: 1 1 30rem;
}

.about .row .image img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 50rem;
}

.about .row .content h3 {
  font-size: 3.5rem;
  color: var(--color);
  padding: 2rem 0;
}

.about .row .content p {
  font-size: 1.6rem;
  color: var(--black);
  padding: 1rem 0;
  line-height: 1.8;
}

/* end */

/* package */

.package .box-container .box {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
}

.package .box-container .box .image {
  flex: 1 1 30rem;
  height: 30rem;
}

.package .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem 0 0 1rem;
}

.package .box-container .box .content {
  padding: 3rem 2rem;
}

.package .box-container .box .content,
.package .box-container .box .price {
  flex: 1 1 calc(30% - 3rem);
}

.package .box-container .box .content h3 {
  font-size: 2.2rem;
  color: var(--color);
}

.package .box-container .box .content p {
  font-size: 1.6rem;
  color: var(--black);
  padding-top: 1.5rem;
  line-height: 1.8;
}

.package .box-container .box .price {
  padding: 6.9rem 2rem;
  text-align: center;
  color: #fff;
  background: #4581cf;
  border-radius: 0 1rem 1rem 0;
}

.package .box-container .box .price h4 {
  font-size: 2.9rem;
  margin-bottom: 1rem;
}

.package .box-container .box .price h5 {
  margin-bottom: 2rem;
  font-size: 1.7rem;
}

.package .box-container .box .price .stars i {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

/* end */

/* menu */

.menu .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.order-message {
  /* display: none;*/
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(53, 2, 63, 0.8);
  color: white;
  padding: 10px 10px;
  border-radius: 15px;
  z-index: 999;
}

.menu .box-container .box {
  height: 30rem;
  flex: 1 1 30rem;
  border: .5rem solid var(--white);
  box-shadow: var(--box-shadow);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.menu .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.menu .box-container .box .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  padding-top: 8rem;
  text-align: center;
}

.menu .box-container .box .content h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.menu .box-container .box .content p {
  font-size: 1.5rem;
  padding: 1rem 0;
  color: var(--black);
}

.menu .box-container .box:hover .content {
  transform: translate(-50%, -50%) scale(1);
}


/* end */

/* gallery */

.gallery .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gallery .box-container .box {
  height: 25rem;
  flex: 1 1 30rem;
  box-shadow: var(--box-shadow);
  border-radius: 1rem;
  overflow: hidden;
}

.gallery .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery .box-container .box:hover img {
  transform: scale(1.1);
}

/* end */

/* review */

.review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.review .content {
  flex: 1 1 42rem;
}

.review .content span {
  font-size: 4rem;
  color: var(--color);
}

.review .content h3 {
  font-size: 3rem;
  padding-top: .5rem;
  color: var(--color);
}

.review .content p {
  font-size: 1.4rem;
  color: var(--black);
  padding: 1rem 0;
  line-height: 2;
}

.review .box-container {
  flex: 1 1 42rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.review .box-container .box {
  flex: 1 1 20rem;
  box-shadow: var(--box-shadow);
  border-radius: 1rem;
  padding: 2rem;
}

.review .box-container .box p {
  font-size: 1.4rem;
  padding-bottom: 1rem;
  line-height: 2;
  color: var(--black);
}

.review .box-container .box .user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review .box-container .box .user img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
}

.review .box-container .box .user h3 {
  font-size: 1.7rem;
  color: var(--primary-color);
  padding-bottom: .5rem;
}

.review .box-container .box .user span {
  font-size: 1.5rem;
  color: var(--black);
}

.review .section-heading h2 {
  color: var(--color);
}

.review .section-heading p {
  font-size: 1.8rem;
  color: var(--primary-color);
  padding: 0;
  line-height: 2;
}

/* end */

/* footer */

.footer {
  background: #efffff;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.footer .box-container .box {
  padding: 1rem 0;
}

.footer .box-container .box h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  padding: 1rem 0;
}

.footer .box-container .box h3 i {
  padding-right: .5rem;
}

.footer .box-container .box p {
  font-size: 1.4rem;
  color: var(--black);
  padding: 1rem 0;
  line-height: 2;
}

.footer .box-container .box p i {
  padding-right: .5rem;
  color: var(--primary-color);
}

.footer .box-container .box .share {
  padding-top: 1rem;
}

.footer .box-container .box .share a {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 2rem;
  border-radius: 50%;
  font-size: 1.7rem;
  border: .2rem solid var(--primary-color);
  color: var(--primary-color);
  margin-right: .5rem;
  text-align: center;
}

.footer .box-container .box .share a:hover {
  color: var(--white);
  background: var(--primary-color);
}

.footer .box-container .box form .email {
  width: 100%;
  border-radius: 5rem;
  border: .2rem solid var(--primary-color);
  background: none;
  font-size: 1.5rem;
  text-transform: none;
  color: var(--black);
  margin-bottom: 1rem;
  padding: 1.2rem 1.4rem;
}

.footer .box-container .box form .btn {
  cursor: pointer;
}

.footer .credit {
  font-size: 1.5rem;
  text-align: center;
  border-top: .1rem solid var(--black);
  padding: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  color: var(--black);
}

.footer .credit span {
  color: var(--primary-color);
}

/* end */


/* media query */

@media(max-width:991px) {

  html {
    font-size: 55%;
  }

  section {
    padding: 2rem;
  }

}

@media(max-width:768px) {

  #menu-btn {
    display: inline-block;
  }

  .header .navbar {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: .1rem solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .navbar a {
    display: block;
    margin: 2rem;
    font-size: 2rem;
    width: 100%;
  }


  .package .box-container .box {
    flex-direction: column;
  }

  .package .box-container .box .image,
  .package .box-container .box .content,
  .package .box-container .box .price {
    width: 100%;
  }

  .package .box-container .box .image img {
    border-radius: 1rem 1rem 0 0;
  }

  .package .box-container .box .price {
    border-radius: 0 0 1rem 1rem;
  }

}


@media(max-width:450px) {
  html {
    font-size: 50%;
  }
}

/* booking form */

.book {
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url("img/banner-img.jpg") center/cover no-repeat;
  color: #fff;
  padding: 40px 60px;
}

.book-form {
  display: grid;
}

.form-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-form input[type="submit"] {
  margin: 18px 0 0 0;
  background: var(--dark);
  color: #fff;
  border: 1px solid #fff;
}

.book-form label,
.book-form input {
  width: 100%;
}

.book-form label {
  font-weight: 600;
  word-spacing: 5px;
  padding-bottom: 8px;
}

.book-form input:not(.btn) {
  margin: 4px 0 16px 0;
  padding: 12px 15px;
  border-radius: 5px;
  font-size: 17px;
  border: none;
}

.book-form .btn {
  width: 100%;
  text-align: center;
  margin: 1rem 0;
}

.book-form input:focus {
  outline: 0;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
}

@media(min-width: 768px) {
  .book-form {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 24px;
  }
}

@media(min-width: 1170px) {
  .book-form {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 1370px) {
  .book-form {
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 2fr;
  }

  .book {
    height: 40vh;
    display: grid;
  }
}

@media(max-width: 500px) {
  .book {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* end */


/* Area Contacto */

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 5.5rem;
}

.container .contact {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 42rem;
  width: 50%;

}

.container .contact-content {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 42rem;
  width: 50%;
}

.container .contact-content .map-area {
  width: 100%;
  height: 400;
  object-fit: cover;
}

.section-heading {
  font-size: 2rem;
  padding-top: .5rem;
  color: var(--primary-color);
}

.contact-form-area .form-control {
  position: relative;
  z-index: 2;
  height: 45px;
  width: 100%;
  background-color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
  /*border: 1px solid #e1e1e1;*/
  border: .2rem solid var(--primary-color);
  border-radius: 2px;
  padding: 15px 20px;
  font-weight: 400;
  color: #b7b7b7;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.contact-form-area .form-control:focus {
  box-shadow: none;
  border-color: #70c745;
}

.contact-form-area textarea.form-control {
  height: 80px;
}

.contact-information p {
  line-height: 1.3;
  color: #707070;
  margin-bottom: 13px;
}

.contact-information p span {
  color: #303030;
}

.contact-information p:last-child {
  margin-bottom: 0;
}

.contact--thumbnail {
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.15);
}

.validacion {
  font-size: 1.5rem;
  margin: 0.2rem;
}

.validacionError {
  color: #FC0505;

}

.validacionCorrecta {
  color: #70c745;

}

.redes {
  color: #70c745;
  font-size: 1.5rem;
  margin: 0.2rem;
}

.checkbox {
  font-size: 1.5rem;
  margin: 0.2rem;
}

.radio {
  font-size: 1.5rem;
  margin: 0.2rem;
}

.radio label {
  display: inline-block;
  margin-right: 20px;
}

/* Foto familia */

.contact .container {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 42rem;
  justify-content: space-around;
  padding: 30px;
  border-radius: 10px;
  margin: 0px auto;
}

.contact-img {
  width: 50%;
}

.contact-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

@media (max-width: 425px) {
  .contact-img img {
    max-width: 420px;
    overflow-x: hidden;
    width: max-content;
    height: 400px;
    margin-left: -150px;

  }
}

@media (max-width: 320px) {
  .contact-img img {
    max-width: 315px;
    overflow-x: hidden;
    width: max-content;
    height: 400px;
    margin-left: -150px;
  }
}


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

.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 42rem;
  width: 50%;
  margin-left: 0px;
}

/* estilos del CRUD reservas */
.contenedor-centrado {
  display: flex;
  width: 100%;
  justify-content: center;
}

.table-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-size: 18px;
}

.flex-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.flex-table tr {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.flex-table td {
  flex: 1;
}

.flex-table a {

  color: #fff;

}

#alta-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
}

.alta-estilo {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.alta-estilo label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.alta-estilo input[type="number"],
.alta-estilo input[type="date"],
.alta-estilo input[type="file"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

.alta-estilo button {
  padding: 10px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 18px;
}

.form-link:hover {
  color: var(--black);
}


.listar-section {
  width: 90%;
  max-width: 1200px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

 }

.listar-section table {
  width: 100%;
  border-collapse: collapse;
}

.listar-section thead {
  background-color: var(--primary-color);
  color: #fff;
}

.listar-section thead th {
  padding: 15px;
  text-align: left;
  font-size: 16px;
}

.listar-section tbody tr {
  border-bottom: 1px solid #dddddd;
}

.listar-section tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.listar-section tbody tr:last-of-type {
  border-bottom: 2px solid var(--primary-color);
}

.listar-section tbody td {
  padding: 15px;
  text-align: left;
  font-size: 18px;
}

.a-table a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 18px;
}

.a-table a:hover {
  color: var(--black);

}

.app {
  width: 90%;
  max-width: 800px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.app form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app label {
  font-size: 16px;
  margin-bottom: 5px;
}

.app input[type="number"],
.app input[type="date"],
.app input[type="file"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}



.app a {
  font-size: 16px;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 10px;
  font-size: 18px;
}

.app a:hover {
  color: var(--black);
}

.datos-reserva {
  margin-top: 20px;
}

.datos-reserva h2 {
  margin-bottom: 20px;
}

.datos-reseva img {
  margin-top: 10px;
}



