/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #222;
}

/* --- HEADER --- */
header {
  background: linear-gradient(to right, #fde635, #db8848, #fd3535);
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.logo a img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li {
  display: flex;
}

.nav-links a,
.nav-links button {
  text-decoration: none;
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.nav-links button {
  cursor: pointer;
  background-color: #9090904f;
  color: #fff;
}

.nav-links button:hover {
  background-color: #060606;
}

/* --- HAMBURGER BUTTON --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2001;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .logo {
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    right: 0;
    width: 60%;
    background: #f20808e0;
    padding: 1rem 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li,
  .nav-links a,
  .nav-links button {
    width: 100%;
    text-align: left;
    padding: 10px 0;
    font-weight: bold;
    font-size: 1rem;
  }

  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  img {
    max-width: 100%;
  }
}

/* --- MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin: auto;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: #000;
}

.close-modal:hover {
  color: red;
}


/* --- TOURS --- */
.tours-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
}

.tour-card {
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 300px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* --- CONTENEDOR PRINCIPAL --- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

/* --- TARJETAS --- */
.card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- TITULOS --- */
h1, h2 {
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

/* --- IMAGENES --- */
img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 6px;
  object-fit: cover;
}

/* --- TEXTO Y BOTONES --- */
p {
  margin-bottom: 1rem;
  color: #555;
}

button,
.btn,
input[type="submit"] {
  background-color: #dc3434;
  color: white;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover,
.btn:hover,
input[type="submit"]:hover {
  background-color: #bd2727;
}

/* --- FORMULARIOS --- */
form {
  margin-top: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"] {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* --- ENLACES --- */
a {
  color: #dc3434;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
