* {
  margin: 0px;
  padding: 0px;
}
html,
body {
  position: relative;
}

body {
  overflow-y: auto;
  min-height: 100vh;
}
textarea:focus,
input:focus {
  outline: none;
}
a {
  color: inherit !important;
  text-decoration: none !important;
}
footer {
  background: #f1f1f1;
  width: 100%;
  padding: 16px 0px;
  color: #999;
  vertical-align: bottom;
  margin-top: 40px;
  text-align: center;
  /* width: 100%; */
  /* height: 2.5rem;   */
}

.banner {
  height: 500px;
  width: 100%;
  background: #999;
  margin: 20px 0px;
}

.content {
  padding: 20px 0px;
  /* display: flex; */
  /* flex-wrap: wrap; */
}

/* ================================== */
/* Layout page CSS */
/* ================================== */

/* Make the whole tile clickable and show pointer */
.tile {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  aspect-ratio: 3 / 4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image inside tile */
.tile img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease; /* smooth hover */
}

/* Hover effect: darken + zoom */
.tile:hover img {
  transform: scale(1.05);         /* zoom in slightly */
  filter: brightness(70%);        /* darken image */

}



/* Hint: Notice the position:absolute and z-index properties. */
/* Think about how those in relation to the existing "tile" classes. */
.tile-text {
  position: absolute;
  bottom: 50px;             
  left: 50%;
  transform: translateX(-50%);  
  z-index: 1;                
  color: white;            
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  
}

.tile-text .places {
  font-size: 0.85rem;
  font-weight: normal;
  margin-top: 3px;
  position: relative;
  overflow: visible;
}

.places {
  position: absolute;
  bottom: 20px;             
  left: 50%;
  transform: translateX(-50%);  
  z-index: 0.8;                
  color: white;            
  font-size: 1rem;
  font-weight:normal;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  
}



.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/hero.jpg");

  /* TODO: MODULE_LAYOUT */
  /* 1. Set a specific height. */
  height: 40vh;
  /* 2. Position and center the image to scale nicely on all screens. */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  
}

.hero-subheading {
  font-size: 24px;
  font-weight: 100;
  text-align: center;
}
.hero-input {
  width: 80%;
  height: 50px;
  padding: 16px;
  border-radius: 8px;
  border: none;
}

.nav-link {
  margin-right: 36px;
}



@media (min-width:1200px){
  .hero-input {
    width: 70vw; 
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }   
}


}

/* ================================== */
/* Adventures grid page CSS */
/* ================================== */

.adventure-card {
  margin-top: 5px;
  border-radius: 8px;            
  overflow: hidden; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  display: block; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  width: 100%;
  cursor: pointer;             
}

.adventure-card img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; 
}


.adventure-card:hover img {
  transform: scale(1.05);         
  filter: brightness(74%);         
}

.adventure-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* lift card on hover */
}


/* ================================== */
/* Adventure details page CSS */
/* ================================== */

.adventure-detail-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.adventure-detail-card img {
  border-radius: 0px;
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect on image */
.adventure-detail-card:hover img {
  transform: scale(1.03);
  filter: brightness(70%);
}

/* Text block below the image */
.card-text {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

@media (max-width: 367px) {
  .card-text {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    font-size: small;
  }
}

/* Optional: hover scale for whole card */
.adventure-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 80px 20px rgba(0, 0, 0, 0.12);
}


@media only screen and (min-width: 768px) {
  #reservation {
    width: 400px;
    position: fit;
  }
}




.alert {

  border-color: black;
}

.alert-danger {
  border: 2px solid black; /* make border black and visible */
  padding: 10px;
  background: white !important;
  text-align: left;
  color: black !important;
}

.alert-danger {
  color: black !important;

}

.alert-danger h5 {
  margin-bottom: 10px;
border-bottom: 0.005rem solid black ;
padding-bottom: 10px;
}

.text-muted {
  border-bottom: black 0.01rem solid;
  padding-bottom: 10px;
}