:root {
  --color-primary: #FBAF32;
  --color-secondary: #f3e9e3;
  --color-text: #454545;
  --color-accent: #28a745;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all var(--transition-speed) ease;
}

.logo-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.logo-container img {
max-width: 100%;
height: auto;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 2rem;
  position: relative;
  font-size: 2.5rem;
}

p, label, .total-cost, .floating-button {
  font-family: 'Montserrat', sans-serif;
}

h1::after {
  content: '✈️';
  position: absolute;
  top: -10px;
  right: 3px;
  font-size: 2rem;
  transform: rotate(45deg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
      transform: rotate(45deg) translate(0, 0);
  }

  50% {
      transform: rotate(45deg) translate(0, -10px);
  }

  100% {
      transform: rotate(45deg) translate(0, 0);
  }
}

.input-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 15px;
}

.input-ex {
  flex-direction: column;
}

.input-field {
  display: flex;
  flex-direction: column;
  width: 100%; /* Ajusta cada campo al 100% del contenedor */
}

label {
  margin-bottom: 0.2rem;
  font-weight: bold;
}

input[type="date"], input[type="text"] {
  width: 100%; /* Ajusta el ancho al contenedor de .input-field */
  box-sizing: border-box; /* Asegura que el padding no haga que el input se desborde */
  padding: 0.5rem;
  font-size: 1rem;
}

input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.3);
}

#itinerario {
  margin-top: 20px;
}

.day {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.day-circle {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: white;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.day-activities {
  width: 100%;
  box-sizing: border-box;
  flex-grow: 1;
  background-color: white;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  padding: 1rem;
  min-height: 60px;
  transition: all var(--transition-speed) ease;
}

.activity {
  background-color: var(--color-secondary);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.activity:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.activity h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.activity p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.activity-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.activity button {
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.activity button:hover {
  background-color: #ff8677;
}

.add-activity {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
  transition: all var(--transition-speed) ease;
  font-weight: bold;
  margin-bottom: 10px;
}

.add-activity:hover {
  background-color: #62A32F;
  transform: translateY(-2px);
}

.total-cost {
  display: flex;
  justify-content: space-around;
  background-color: var(--color-primary);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: right;
  font-weight: bold;
  margin-top: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.total-cost span {
  font-size: 20px;
  font-weight: 900;
}

.floating-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  z-index: 1000;
}

.floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-section {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--color-secondary);
  border-radius: 10px;
}

.whatsapp-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  transition: all var(--transition-speed) ease;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

/* Popup Style */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  position: relative;
  max-width: 80%;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #333;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.popup h2 {
  font-size: 1.8rem;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.scrollable-tours {
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.tour-item-price {
  font-weight: 800;
}

.scrollable-tours::-webkit-scrollbar {
  width: 8px;
}

.scrollable-tours::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 10px;
}

.tour-item {
  border: 1px solid var(--color-primary);
  padding: 1.2rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tour-item h3 {
  font-size: 1.3rem;
  margin: 0;
  color: #1e88e5;
}

.tour-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0.5rem 0 1rem;
}

.tour-item-details-button-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tour-item-details-button-price span {
  font-size: 0.9rem;
  color: #444;
}

.tour-item-details-button-price button {
  padding: 0.5rem 1rem;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tour-item-details-button-price button:hover {
  background-color: #1565c0;
}

.tour-item-details-button-price .delete-button {
  background-color: #ff5d47;
}

.close-popup {
  display: block;
  margin: 1rem auto;
  padding: 0.5rem 1.5rem;
  background-color: #e57373;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.close-popup:hover {
  background-color: #d32f2f;
}


.tour-item-details-button-price {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

hr {
  border: none;
  height: 3px;
  background-color: #FBAF32; /* Color personalizado para la línea */
  margin: 30px 0; /* Espaciado por encima y por debajo de la línea */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombras sutiles para dar profundidad */
  border-radius: 5px; /* Bordes redondeados */
}

hr::before {
  content: "";
  display: block;
  position: relative;
  top: -1px;
  width: 50%;
  height: 2px;
  background-color: #FBAF32; /* Color que coincide con el color principal */
  margin: 0 auto; /* Centra la línea */
  border-radius: 10px; /* Bordes suaves */
}


/* Estilo general de la sección */
.explore-destinations {
  padding: 40px 0;
  padding-left: 40px;
  padding-right: 40px;
}

.explore-destinations .section-header {
  text-align: center;
  margin-bottom: 20px;
}

.explore-destinations .grid-container {
  display: grid;
  gap: 20px;
}

.explore-destinations .grid-container {
  grid-template-columns: repeat(2, 1fr);
  .explore-destinations {
      padding: 40px 0;
      padding-left: 20px;
      padding-right: 20px;
  }
}

/* Estilos para las tarjetas */
.explore-destinations .card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.explore-destinations .card:hover {
  transform: scale(1.05);
}

.explore-destinations .card img {
  width: 100%;
  height: auto;
  display: block;
}

.explore-destinations .card-content {
  padding: 15px;
  text-align: center;
}

.explore-destinations .card-content h3 {
  font-size: 1.2rem;
  margin: 0;
}

.explore-destinations .card-content p {
  font-size: 1rem;
  color: #888;
}

.explore-destinations .grid-container .card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border: 1px solid #ddd;
}

.explore-destinations .grid-container .card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.explore-destinations .grid-container .card:hover {
  transform: scale(1.05);
}

.explore-destinations .grid-container .card img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.explore-destinations .grid-container .card .card-content {
  padding: 15px;
  text-align: center;
  background: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.explore-destinations .grid-container .card .card-content h3 {
  font-size: 1.2rem;
  margin: 0;
  transition: color 0.3s ease;
}

.explore-destinations .grid-container .card .card-content p {
  font-size: 1rem;
  color: #888;
}

.explore-destinations .grid-container .card .card-content p:nth-child(2) {
  font-weight: 900;
  color: #FBAF32;
}

.explore-destinations .grid-container .card:hover .card-content h3 {
  color: #007bff; /* Cambia al color que desees */
}

@media (max-width: 600px) {
  .container {
    margin: 1rem;
    padding: 2rem;
}

  .day {
      flex-direction: column;
  }

  .day-circle {
      margin-bottom: 1rem;
  }

  .floating-button {
      padding: 0.75rem;
      font-size: 0.9rem;
  }

  h1 {
      font-size: 18px;
  }

  .input-group {
      margin-bottom: 1.5rem;
      display: flex;
      flex-direction: column;
  }

  input {
      width: auto;
  }

  .total-cost {
    display: flex;
    flex-direction: column-reverse;
    font-size: 15px;
    font-weight: 500;
    padding: 8px;
}

.total-cost span {
  font-size: 20px;
  font-weight: 900;
}

  .whatsapp-button {
      padding: 8px;
  }

  .logo-container img {
      width: 100px;
  }

  .tour-item h3 {
    font-size: 15px;
}

.activity h3 {
  font-size: 15px;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.tour-item p {
  font-size: 12px;
}
.tour-item-details-button-price span {
  font-size: 12px;
}

.popup h2 {
  font-size: 18px;
}

label {
  font-size: 15px;
}

h1::after {
  content: '✈️';
  top: -59px;
  right: 3px;
}

.explore-destinations .grid-container {
  grid-template-columns: repeat(1, 1fr);
  .explore-destinations {
      padding: 40px 0;
      padding-left: 20px;
      padding-right: 20px;
  }
}

.explore-destinations {
  padding-left: 0px;
  padding-right: 0px;
}

.explore-destinations .section-header {
  font-size: 15px;
}

.explore-destinations .grid-container .card .card-content p {
  font-size: 12px;
  color: #888;
}

p, label, .total-cost, .floating-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}
}