:root {
  --color-bg: #fff;
  --color-bg-secondary: #f6f7f9;
  --color-principal: #00001f;
  --color-accent: #5ac1ff80;
  --font-main: "Saira Semi Condensed", sans-serif;
  --font-title: "Bai Jamjuree", sans-serif;
  --btn-radius: 100rem;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-principal);
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 1rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
  z-index: 999;
}

.navbar * {
  z-index: 999;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-left a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.brand {
  font-weight: 600;
}

.menu-mobile {
  display: none;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--color-bg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu-mobile ul {
  flex-direction: column;
  gap: 1.5rem !important;
}

.menu ul,
.menu-mobile ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a,
.menu-mobile a {
  text-decoration: none;
  color: inherit;
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
  -webkit-border-radius: var(--btn-radius);
  -moz-border-radius: var(--btn-radius);
  -ms-border-radius: var(--btn-radius);
  -o-border-radius: var(--btn-radius);
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
}

.menu a:hover,
.menu-mobile a:hover {
  background-color: rgba(90, 193, 255, 0.2);;
}

/* Botón reservar */
.navbar-right .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0.25rem 1rem;
}

.btn {
  border: 0.15em solid #00001f;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  color: #00001f;
  grid-column-gap: 0.5em;
  grid-row-gap: 0.5em;
  border-radius: var(--btn-radius);
  -webkit-border-radius: var(--btn-radius);
  -moz-border-radius: var(--btn-radius);
  -ms-border-radius: var(--btn-radius);
  -o-border-radius: var(--btn-radius);
}

.btn:hover {
  background-color: rgba(90, 193, 255, 0.2);
}

.btn-focus {
  box-shadow: 4px 4px 0 var(--color-accent);
  transition: border-color 0.2s, color 0.2s, background-color 2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .2s;
  -webkit-transition: border-color 0.2s, color 0.2s, background-color 2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .2s;
  -moz-transition: border-color 0.2s, color 0.2s, background-color 2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .2s;
  -ms-transition: border-color 0.2s, color 0.2s, background-color 2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .2s;
  -o-transition: border-color 0.2s, color 0.2s, background-color 2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .2s;
}

.btn-focus:hover {
  box-shadow: 7px 7px 0 var(--color-accent);
}

/* Ocultar el botón en escritorio */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-principal);
}

/* Responsive */
@media (max-width: 840px) {
  .navbar {
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--color-bg);
    flex-wrap: wrap;
    padding: 1rem 2rem;
    transition: box-shadow 0.3s ease;
  }

  .navbar.shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);

  }

  .navbar-left {
    order: 1;
  }

  .menu-toggle {
    display: block; /* Visible en móvil */
    order: 3;
  }

  .menu-mobile {
    position: fixed;
    top: 60px;
    left: -15px;
    width: 100%;
    order: 4;
  }

  .hero {
    margin-top: 60px;
  }

  .navbar-right {
    display: none;
  }

  .menu ul {
    display: none; /* Oculto */
  }

  .menu-mobile.show {
    display: flex; /* Mostrar cuando se activa */
  }
}

/* HERO */
.hero {
  overflow: clip;
  text-align: center;
  padding: 8rem 8rem;
}

.hero h1 {
  margin-top: 20px;
  margin-bottom: 0.3em;
  font-family: var(--font-title);
  font-size: 5.65rem;
  line-height: 1.1;
  font-weight: 600;
  overflow-wrap: break-word;
}

.hero h2 {
  margin-top: 20px;
  margin-bottom: 0.35em;
  font-family: var(--font-title);
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header {
  max-width: 1000px;
  padding-inline: 0.5rem;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-align: center;
  align-items: center;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  line-height: 1.6rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10em auto auto auto;
  width: 90%;
  height: 600px;
}

.hero-images img {
  position: absolute;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  max-width: 1000px;
}

.hero-image-1 {
  z-index: 1;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.hero-image-2 {
  left: 20%;
  bottom: -30%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  width: 30%;
}

.hero-image-3 {
  right: -10%;
  top: 10%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 3;
  width: 30%;
}

@media (max-width: 1400px) {
  .hero-image-2,
  .hero-image-3 {
    width: 30%;
  }

  .hero-image-2 {
    left: 15%;
    bottom: -15%;
  }

  .hero-image-3 {
    right: -20%;
    top: 10%;
  }
}

@media (max-width: 1100px) {
  .hero-images {
    margin: 5em auto auto auto;
  }

  .hero-image-2,
  .hero-image-3 {
    width: 40%;
  }

  .hero-image-2 {
    left: 10%;
    bottom: -10%;
  }

  .hero-image-3 {
    right: -30%;
    top: 15%;
  }
}

@media (max-width: 950px) {
  .hero {
    padding: 2rem 2rem;
  }

  .hero-image-2,
  .hero-image-3 {
    width: 35%;
  }

  .hero-image-2 {
    left: 20%;
    bottom: -10%;
  }

  .hero-image-3 {
    right: -20%;
    top: 15%;
  }
}

@media (max-width: 840px) {
  .hero-images {
    margin: 2em auto auto auto;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-image-2 {
    left: 15%;
    bottom: 0%;
  }

  .hero-image-3 {
    right: -25%;
    top: 20%;
  }
}

@media (max-width: 650px) {
  .hero-images {
    margin: -1em auto auto auto;
    height: 500px;
  }

  .hero-image-2 {
    left: 12%;
    bottom: 2%;
  }

  .hero-image-3 {
    right: -22%;
    top: 23%;
  }
}

@media (max-width: 530px) {
  .hero {
    padding: 1rem 1rem;
  }

  .hero-image-2 {
    left: 12%;
    bottom: 12%;
  }

  .hero-image-3 {
    right: -22%;
    top: 24%;
  }
}

@media (max-width: 400px) {
  .hero-image-2 {
    left: 12%;
    bottom: 19%;
  }

  .hero-image-3 {
    right: -22%;
    top: 30%;
  }
}

/*WORKS*/
.works {
  width: 100%;
  padding: 4rem 4rem 4rem 4rem;
  background-color: var(--color-bg-secondary);
  box-sizing: border-box;
}

.grid-container {
  display: grid;
  gap: 1rem;
  align-items: start;
  align-items: stretch;
}

.works .grid-container {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.works .text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  margin-right: 4rem;
}

.works .text-block {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.works .text-block * {
  margin: 0.35rem;
}

.works .text-block h2 {
  font-size: 2.83rem;
  font-weight: 600;
}

.works .text-block p {
  line-height: 1.6em;
  font-size: 1.13rem;
}

.video-block {
  position: relative;
  width: 80%;
  max-width: 550px;
  aspect-ratio: 16 / 9;
  margin: auto auto;
}

.video-block:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.video-block:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.video-block iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 840px) {
  .works {
    padding: 2rem;
  }

  .works .text-block {
    margin-right: 0;
  }

  .works .text-block h2 {
    font-size: 1.75rem;
  }

  .works .text-block p {
    line-height: 1.6em;
    font-size: 1rem;
  }

  .video-block {
    margin: auto auto auto auto;
  }
}

@media (max-width: 650px) {
  .works .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
  }

  .video-block:nth-child(2),
  .video-block:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .works .text-block h2 {
    text-align: center;
  }
}

/*ABOUT ME*/
.about-me {
  width: 100%;
  padding: 6rem 4rem 6rem 4rem;
  box-sizing: border-box;
}

.about-me .grid-container {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-block img {
  width: 100%;
  max-width: 350px;
  border: 0.15rem solid white;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
}

.about-me .text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  max-width: 650px;
}

.about-me .text-block h2 {
  font-size: 2.83rem;
  font-weight: 600;
}

.about-me .text-block {
  margin: 0.35rem;
}

.button-group {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.button-group * {
  color: black;
}

.button-group i {
  color: var(--color-accent);
}

.info-item a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1100px) {
  .button-group {
    flex-direction: column;
  }
}

@media (max-width: 840px) {
  .about-me {
    padding: 4rem 2rem 4rem 2rem;
  }

  .about-me .text-block {
    margin-right: 0;
  }

  .about-me .text-block h2 {
    font-size: 1.75rem;
  }

  .about-me .text-block p {
    line-height: 1.6em;
    font-size: 1rem;
  }
}

@media (max-width: 650px) {
  .button-group {
    flex-direction: row;
  }

  .about-me .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }

  .about-me .text-block {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .about-me .text-block h2 {
    font-size: 2.83rem;
    margin: 0;
  }

  .about-me .text-block p {
    line-height: 1.6em;
    font-size: 1rem;
  }
}

@media (max-width: 580px) {
  .button-group {
    flex-direction: column;
  }
}

/*TESTIMONIALS*/

.testimonials {
  height: 90vh;
  padding: 4rem 4rem 4rem 4rem;
  background-color: var(--color-bg-secondary);
  box-sizing: border-box;
}

/*CONTACT*/
.contact {
  height: 90vh;
  padding: 6rem 4rem 6rem 4rem;
  box-sizing: border-box;
}


/*FOOTER*/
.footer {
  color: white;
  background-color: var(--color-principal);
  height: 40vh;
  padding: 4rem 0rem 4rem 0rem;
}

.container {
  max-width: 1280px;
  padding: 0 0.5rem 0 0.5rem;
  margin: 0 auto 0 auto;
}

.footer-bottom {
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.copyright {
  color: #9999a5;
}

.js-only {
  display: none;
}