body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('../img/fondo.jfif');
}

header {
  background-color: transparent;
  background-size: 900px;
  border: 1px solid transparent;
  color: #cbac768f;
  padding: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.6);
}

.header-left {
  margin-right: auto;
  font-size: 60px;
  justify-content: left;
  display: flex;
  text-align: center;
  align-items: center;
}

.header-left-h1 {
  text-align: center;
  align-items: center;
}

.header-right {
  margin-left: auto;
  display: flex;
  justify-content: right;
  transition: transform 0.3s ease;

}

.header-right a {
  text-decoration: none;
}

.header-right h2:not(:last-child) {
  margin-right: 40px;
  margin-left: 20px;
  margin-bottom: 20px
}

/* Estilos del contenido */
section {
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #f7d18f9f;
  border-radius: 4px;
  text-align: center;
  justify-content: center;
}

@keyframes animacionTexto {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

#miTexto {
  animation: animacionTexto 2s infinite;
}

header h1:hover:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 8px rgba(186, 180, 104, 0.684);
}

h2 {
  color: #f7d08f;
}

header h2:hover {
  color: #ff9100;
  background-color: transparent;
  transition: box-shadow 0.3s ease;
  margin-bottom: 20px
}

header h2:hover:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 1px rgb(255, 255, 255);
}

header h2 {
  color: #ffffff86;
  margin: 1;
  cursor: pointer;
  border-radius: 4px;
}

h3 {
  color: #f7d08f;
}

.hero-image {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  padding: 130px 20px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.5);
  border: 3px solid #f7d08f;
  box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.5);
}


.hero-image p {
  font-size: 80px;
  margin-bottom: 40px;
  font-weight: bold;
}

.hero-image::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-image h2 {
  font-size: 46px;
  margin-bottom: 20px;
  color: #f7d08f;
}

.hero-image p {
  font-size: 18px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  background-color: #6f4a07;
  border: 2px solid #f7d08f;
  color: #000000;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 4px;
}

.btn:hover {
  background-color: #864e00;
}

.cabanas-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.cabana-card {
  background-color: transparent;
  border: 2px solid #f7d08f;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(185, 19, 19, 0.1);
  margin: 10px;
  padding: 20px;
  width: 300px;
  color: rgb(178, 178, 178);
  font-size: 16px;
  font-weight: bold;
}

.cabana-card img {
  max-width: 100%;
}

.cabana-details {
  margin-top: 10px;
}

#admin form {
  margin-top: 30px;
}

input[type="text"],
input[type="password"] {
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
}

button[type="submit"] {
  background-color: #050505;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
  width: 100%;
}

#reservaciones table {
  margin: 0 auto;
  width: 80%;
}

#reservaciones table th,
#reservaciones table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

#reservaciones table th {
  background-color: #f9f9f9;
}

footer {
  background-color: #1e1e1e34;
  color: #fff;
  padding: 1px;
  text-align: center;
  flex-shrink: 0;
}

/* Estilos personalizados para el scrollbar */
body::-webkit-scrollbar {
  width: 10px;
  /* Ancho del scrollbar */
}

body::-webkit-scrollbar-thumb {
  background-color: #f7d08f;
  border-radius: 8px;
  /* Bordes redondeados del thumb */
}

body::-webkit-scrollbar-track {
  background-color: #823d0089;
  /* Color del track del scrollbar */
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  /* Sombra del track */
}

/* --- Mobile Menu Styles --- */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: #f7d08f;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

@media (max-width: 768px) {
    header {
        justify-content: space-between;
        padding: 15px 20px;
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .header-right {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(0, 0, 0, 0.95);
        box-shadow: 0 8px 16px rgba(0,0,0,0.5);
        z-index: 1000;
        padding: 20px 0;
        border-bottom: 2px solid #f7d08f;
    }

    .header-right.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .header-right h2 {
        margin: 15px 0 !important;
        font-size: 20px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .header-right a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}