@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap");

:root {
  --transition: all 0.7s ease;
  --yellow: #f9d342;
  --dark: #292826;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Playfair Display", serif;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
}
.btn {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  padding: 10px;
  width: 140px;
  display: block;
  margin: 15px auto;
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover {
  opacity: 0.85;
}
.flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 8px 0;
}
img {
  width: 100%;
  display: block;
}
@media (max-width: 500px) {
  body {
    font-size: 14px;
  }
}

/* header */
.header {
  background: url(./images/banneradmB.webp);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-content: stretch;
}
.header2 {
  background: linear-gradient(#16548c, #4b749f);
  min-height: 100vh;
  color: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-content: stretch;
}

.header3 {
  background: linear-gradient(#4b749f, #16548c);
  min-height: 100vh;
  color: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-content: stretch;
}

.subTitle h5{
  text-align: right;
  justify-content: center;
}
.potrero{
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: rgb(255, 255, 255);
  text-shadow: 0px 0px 6px rgb(0, 0, 0);
  margin-top: 0;
  padding-top: 0;
}

nav h1 {
  font-family: "Dancing Script", cursive;
  font-size: 5rem;
  color: rgb(156, 54, 54);
  text-shadow: 2px 2px 6px white;
}



.site-name img {
  width: 200px;
}
.head-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.head-top span {
  font-size: 20px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: var(--transition);
  text-shadow: 2px 2px 5px white;
  margin-right: 10px;
  margin-bottom: 10px;
}
.head-top span:hover {
  color: var(--yellow);
}
.head-bottom {
  flex: 1;
  text-align: center;
  width: 80vw;
  margin: 0 auto;
}
.head-bottom h2 {
  padding: 22px 0;
  font-size: 45px;
  border-bottom: 1px solid #fff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.582);
}
.head-bottom p {
  opacity: 1;
  font-size: 30px;
  margin: 45px auto;
  padding: 5px;
  width: 60vw;
  background-color: #252525f5;
  border-radius: 10px;
  color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.head-btn {
  margin: 20px 0;
  font-size: 20px;
  font-weight: bold;
  border: 3px solid #fff;
  background: transparent;
  padding: 13px 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.head-btn:hover {
  background: transparent;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 3rem;
  }
  .header{
    background: url(./images/banneradmD.webp);
  }
  .potrero{
    font-size: 1.5rem;
  }
  .site-name img {
    width: 150px;
  }
  /* .fixBack{
    background-image: url("./images/banneradm2.webp");
  } */
}

@media (max-width: 500px) {
  .header h1 {
    font-size: 2.4rem;
  }
  .header{
    background: url(./images/banneradmD.webp);
  }
  .potrero{
    font-size: 1rem;
  }
  .head-top {
    flex-direction: column;
  }

  .site-name img {
    width: 100px;
  }

  .head-btn {
    font-size: 17px;
  }
  .head-bottom h2 {
    font-size: 20px;
  }
  .head-bottom p {
    font-size: 17px;
    margin: 20px auto;
  }
}

/* side nav */
.sidenav {
  background: var(--dark);
  color: rgb(156, 54, 54);
  position: fixed;
  top: 0;
  bottom: 0;
  right: -100%;
  width: 300px;
  padding: 20px;
  transition: var(--transition);
  z-index: 10;
}

/********/
.sidenav.show {
  right: 0;
}
/*************/
.cancel-btn {
  position: absolute;
  right: 25px;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition);
}
.cancel-btn:hover {
  opacity: 0.7;
}
.navbar {
  margin-top: 50px;
  list-style: none;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.navbar li a {
  color: rgb(184, 64, 64);
  font-size: 1.2rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  text-transform: capitalize;
  text-decoration: none;
  padding: 15px 0;
  display: block;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
  opacity: 0.9;
  letter-spacing: 1.5px;
  transition: var(--transition);
  text-shadow: 1px 1px 1px rgb(138, 138, 138);
}
.navbar li a:hover {
  padding-left: 12px;
}

@media (max-width: 400px) {
  .sidenav {
    width: 100vw;
  }
}

/** title */
.title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 30px;
  color: var(--yellow);
  border-bottom: 5px solid var(--dark);
  width: 235px;
  margin: 15px 0;
}

.sec-width {
  width: 85vw;
  margin: 0 auto !important;
}

/* Carrousel */
#imageCarousel {
  max-width: 100vh;
  margin: auto;
  margin-top: 20px;
  box-shadow: 4px 4px 6px rgb(0, 0, 0);
  border: 4px solid rgb(255, 255, 255);
  border-radius: 15px;
}
#imageCarousel img {
  border-radius: 10px;
}
.carousel-inner .carousel-item {
  transition: opacity 0.4s ease-in-out;
  opacity: 0.3;
}

.carousel-inner .carousel-item.active {
  opacity: 1;
}

/* HOME */

.home {
  height: 100vh;
}

/* servicios */

.services {
  margin: 40px 0;
}

.service {
  display: flex;
  margin: 30px 0;
}
.service-icon {
  align-self: flex-start;
  font-size: 48px;
  color: #252525;
}
.service-content {
  padding-left: 20px;
}
.service-content h2 {
  opacity: 0.7;
}
.service-content button {
  margin-left: 0;
  margin-right: 0;
  background: var(--yellow);
  color: #fff;
}
@media (min-width: 992px) {
  .services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
  }
  .title h2 {
    font-size: 20px !important;
  }
}
@media (max-width: 500px) {
  .title h2 {
    font-size: 24px;
  }
}

/* sectores */

.rooms {
  margin: 40px 0;
}
.room {
  margin: 45px 0;
  padding-bottom: 25px;
  background: var(--dark);
  color: #fff;
}
.room-text {
  padding: 5px 20px;
}
.room-text h3 {
  font-size: 24px;
}
.room-text ul {
  list-style-type: none;
  margin: 15px 0;
}
.room-text ul li {
  padding: 7px 0;
}
.room-text ul li i {
  color: var(--yellow);
  margin-right: 10px;
}

.about h3 {
  color: #f9d342;
}

.rate {
  opacity: 0.8;
}
.rate span {
  font-size: 40px;
  font-weight: 900;
  color: var(--yellow);
}
.room-image {
  overflow: hidden;
}
.room-image img {
  transition: var(--transition);
}
.room-image:hover img {
  transform: scale(1.1);
}

.nosotros {
  border-radius: 30px;
}
@media (min-width: 900px) {
  .rooms-container {
    display: flex;
    flex-wrap: wrap;
  }

  .room {
    flex: 0 0 calc(50% - 20px);
    margin: 10px;
  }
}
@media (min-width: 1370px) {
  .rooms-container {
    flex-direction: column;
  }
  .room {
    display: flex;
    padding-bottom: 0;
    margin: 5px 0;
  }
  .room-image {
    flex: 1;
  }
  .room-image img {
    width: 100%;
  }
  .room-text {
    flex: 1;
  }
  .room:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/*Preguntas Frecuentes*/
.preguntasFrecuentes {
  color: #f9d342;
}
.preguntasFrecuentes p {
  color: white;
}
.contenedorPreguntas {
  background-color: #292826;
}
.contenedorPreguntas {
  margin-top: 40px;
  padding: 40px 0;
  border-radius: 15px;
}

/* ---- reseñas ----*/

.customers {
  margin-top: 40px;
  padding: 40px 0;
  background: white;
}
.customer {
  background: #fff;
  padding: 35px;
  text-align: center;
  margin: 24px 0;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.75);
  cursor: pointer;
  transition: var(--transition);
}
.rating {
  margin: 10px 0;
  color: var(--yellow);
}
.customer h3 {
  font-size: 25px;
}
.customer p {
  opacity: 0.7;
  line-height: 1.8;
  width: 60%;
  margin: 0 auto;
}
.customer img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  margin: 25px auto;
}
.customer span {
  font-weight: 700;
  opacity: 0.7;
}
.customer:hover {
  transform: translateY(-18px);
}
@media (min-width: 992px) {
  .customers-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
  }
}
@media (min-width: 1370px) {
  .customers-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .customer p {
    width: 100%;
  }
  .customer img {
    width: 100px;
    height: 100px;
  }
}

/* footer */

.footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.footer-container {
  width: 85vw;
  margin: 0 auto;
  padding: 30px 0;
}
.footer-container p,
.footer-container a,
.footer-container span {
  opacity: 0.8;
}
.footer a {
  display: block;
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
  text-shadow: 0px 0px 3px rgb(255, 39, 39);
}
.social-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 15px 0;
}
.social-icons li {
  margin: 0 10px;
  width: 50px;
  height: 50px;
  background: #2e2e2e;
  border-radius: 50%;
  transition: var(--transition);
  cursor: pointer;
}
.social-icons li:hover {
  background: #fff;
  color: #2e2e2e;
}
.contact-item span {
  display: block;
}
@media (min-width: 900px) {
  .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
}
@media (min-width: 1170px) {
  .footer {
    text-align: left;
  }
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-container div:nth-child(1) p {
    padding-right: 20px;
  }
  .contact-item {
    display: grid;
    grid-template-columns: 10% 90%;
    margin-bottom: 15px;
    align-items: center;
  }
}

.showModal {
  position: fixed;
  background: transparent;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
}

#whatsapp-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#whatsapp-logo img {
  width: 80px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 5px rgb(95, 255, 3));
}
@media (max-width: 500px) {
  #whatsapp-logo img {
    width: 50px;
    height: auto;
  }
}
