/* Header Styles */
.header {
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  z-index: 1000;
  box-shadow: 1px 0px 20px 2px #00000040;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  position: relative;
  z-index: 10;
}

.header__logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  text-decoration: none;
}

.header__logo-image {
  width: 120px;
  margin-right: 0.5rem;
}

.header__logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 5px;
}

.header__nav {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 8;
  background-color: var(--background-color);
}

.header__nav--open {
  display: flex;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 10px;
}

.header__nav-item {
  margin: 0.5rem 0 0;
}

.header__nav-link {
  padding: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.header__nav-item:last-child .header__nav-link {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  color: var(--background-color);
}

.header__nav-item:last-child .header__nav-link:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--hover-text-color);
  font-weight: 700;
}

.header__menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  gap: 5px;
  height: 25px;
  width: 25px;
  position: relative;
  z-index: 10;
}

.header__menu-icon {
  background-color: var(--primary-color);
  height: 3px;
  width: 25px;
  border-radius: 3px;
  transition: all 0.3s;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon:nth-child(2) {
  background-color: transparent;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Desktop Styles */
@media (min-width: 769px) {
  .header__menu-toggle {
    display: none;
  }

  .header__logo-image {
    width: 150px;
  }

  .header__nav {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: initial;
    right: 5%;
    background-color: transparent;
    flex-direction: row;
    height: auto;
    justify-content: flex-end;
    z-index: 10;
    width: 80%;
  }

  .header__nav-list {
    flex-direction: row;
  }

  .header__nav-item {
    margin: 0;
  }

  .header__nav-link {
    font-size: 1rem;
    color: var(--primary-color);
  }

  .header__nav-item:last-child .header__nav-link {
    background-color: var(--complementary-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: var(--background-color);
  }

  .header__nav-item:last-child .header__nav-link:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
  }
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--background-color);
  z-index: 2;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero__description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  color: var(--background-color);
}

.button--reserve {
  background-color: var(--primary-color);
}

.button--reserve:hover {
  background-color: var(--secondary-color);
}

.button--cancel {
  background-color: var(--accent-color);
}

.button--cancel:hover {
  background-color: #c82333;
}

.button--convenios {
  background-color: var(--success-color);
}

.button--convenios:hover {
  background-color: #218838;
}
