@import '../../css/global.css';

section#\#safety-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.335), rgba(0, 0, 0, 0.227)), url(../img/safety/rescue1.webp);
  background-position: 0% 65%;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  bottom: 150px;
  height: 60dvh;}

section#\#lofer-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.335), rgba(0, 0, 0, 0.227)), url(../img/lofer/lofer1.webp);
  background-position: 0% 65%;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  bottom: 150px;
  height: 60dvh;}

section#\#fort-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.335), rgba(0, 0, 0, 0.227)), url(../img/fort/fort_bf.webp);
  background-position: 0% 65%;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  bottom: 150px;
  height: 60dvh;}


section#\#france-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.335), rgba(0, 0, 0, 0.227)), url(../img/france/hero-france.webp);
  background-position: 0% 30%;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  bottom: 150px;
  height: 60dvh;}


  section#\#grund-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/anf/hero-anfanger.webp);
    background-position: 0% 95%;
    background-repeat: no-repeat;
    background-size: cover;
  
    position: relative;
    bottom: 150px;
    height: 60dvh;}



  section#\#aufbau-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/aufbau/hero-river.webp);
    background-position: 0% 55%;
    background-repeat: no-repeat;
    background-size: cover;
  
    position: relative;
    bottom: 150px;
    height: 60dvh;}


  section#\#footer-booking{
    background-color: var(--white-color);
    position: relative;
    bottom: 200px;
    border-radius: 40px 40px 0px 0px;
  }

/* General layout */
.booking-card {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Left column 1fr, right column 2fr */
    gap: 2rem;
  }
  



  .booking-card h3{
    color: #7eacb1;
    font-size: 3em;
    margin: 0;
  }

  .left-column{
    width: 35vw;
    display: grid;
    align-items: center;
    justify-content: center;
  }
  /* Left Column */
  .left-column .row {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f0f0f0; /* Light gray background for rows */
    border: 1px solid #ddd;
  }


  
  /* Right Column */
  .right-column .card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #70a5b3, #b9d4dd); /* Purple to blue gradient */
    height: max-content;
    width: 40vw;
  }
  
  /* Form Styling */
  .form-row {
    display: flex;
    gap: 1rem;
    width: 100%; /* Ensure each row fills the full width of the card */
    margin-bottom: 1rem;
    box-sizing: border-box; /* Include padding and border in the element's width */

  }

input[type="text"] {
    height: 30px;
}
  input.full-width {
    height: 30px;
}

  .form-row .full-width {
    flex: 1 1 100%; /* Full-width elements */
  }
  
  input[type="text"] {
    padding: 0.5rem;
    border-radius: 10px;
    background-color: var(--white-color);
    height: 100px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black-color)
}
  
  input[type="text"]:last-child {
    flex-basis: 50%;
  }

  label#message{
    font-family: Arial, Helvetica, sans-serif;
  }


.form-column{
  flex: 1; /* Allow columns to take available space equally within the row */
  display: flex;
  flex-direction: column; /* Stack label and input vertically */
  height: 50px;
  margin-block: 1rem;
}

.form-label {
  font-weight: bold;
  margin-bottom: 0.3rem; /* Add space between label and input */
}

.textbox{
  height: 200px;
}



.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Space between checkbox and label */
  margin-bottom: 0.5rem; /* Space between each checkbox row */
}


/* Checkbox style */
input[type="checkbox"] {
  margin-top: 1rem;
  width: 20px; /* Adjust checkbox size */
  height: 20px;
  cursor: pointer;
  accent-color: #a8c7d1;
}
.checkbox-container label {
  display: flex; /* Use flexbox to center the text */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  border: none!important;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.form-button{
  position: relative;
  margin-left: 0;
  margin-top: 5rem;
}

textarea#message {
  border: none;
  border-radius: 10px;
  background-color: var(--white-color);
  color: var(--black-color);
  font-family: Arial, Helvetica, sans-serif;
  height: 100px;
}

select {
  background-color: var(--white-color);
  box-sizing: border-box; /* Include padding and border in the element's total width */
  border: none !important;
  color: var(--black-color);
  height: 100px;
  border-radius: 10px;
}

.form-column.dates{
  margin-top: 5rem;
}
.form-label{
  font-family: Arial, Helvetica, sans-serif;
}

.left-column-form.form-left {
  width: 49%;
}

.left-column-form.form-left > * {
  margin-block-end: 2rem;
}

.text-left-column p {
  line-height: 1.8; /* Adjust this value to increase spacing */
}

.text-left-column h1,
.text-left-column h2,
.text-left-column p {
    margin-bottom: 1.5rem; /* Adjust this value as needed */
}



/* Mobile layout - Stack cards vertically */
@media (max-width: 768px) {
  .booking-card {
      grid-template-columns: 1fr; /* Single column */
      gap: 1rem;
  }
  @media (max-width: 768px) {
    .left-column{
      width: 100%;
    }

    .form-column.textbox {
      margin-top: 10rem;
  }

  .form-column.dates {
    margin-top: 2rem;
}
.form-button {
  position: relative;
  margin-left: 0;
  margin-top: 13rem;
}

    .right-column .card {
      width: 82.5%;
      
    }

    .left-column-form.form-left {
      width: 100%;
  }

    .form-row{
      display: block;
    }

    .right-column .card {
      height: 1200px;

  }
}
}



/* =================== */
/*      FORT CARDS     */
/* =================== */

#fort-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three equal columns */
  gap: 1rem; /* Space between columns */
  padding: 1rem; /* Padding around the section */
  position: relative;
  bottom: 10rem;
}

#fort-cards h2 {
  grid-column: span 3; /* Make the header span all three columns */
  text-align: center; /* Center the header text */
  margin-bottom: 1rem; /* Space below the header */
  color: #7eacb1; /* Header color */
}

.info-card {
  background-color: transparent; /* Card background color */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Card shadow */
  transition: transform 0.2s; /* Animation for hover effect */
  margin-bottom: 1rem; /* Space between cards */
  height: 25rem;
}

.info-card h3 {
  color: #343633; /* Card title color */
  font-size: 1.5em; /* Title font size */
  margin: 0; /* Remove default margin */
  margin-bottom: 0.5rem; /* Space below the title */
}

.info-card ul {
  padding-left: 1.5rem; /* Indent list items */
  margin: 0; /* Remove default margin */
}

.info-card li {
  color: #343633; /* Text color for list items */
  font-size: 1em; /* Text font size */
  margin-bottom: 0.25rem; /* Space between list items */
}

/* Responsive Design */

/* Medium screens (up to 768px) - Two columns */
@media (max-width: 768px) {
  #fort-cards {
      display: block;
  }
}

.number-3 {
  border: 1px solid #fac798;
}

.info-card-header {
  height: 75px;
  width: 100%; /* Make the header full width */
  box-sizing: border-box; /* Include padding and border in the element's total width */
  padding: 1rem;
  border-radius: 10px;
}

.info-card ul {
  padding: 2rem;
}

.info-card ul li {
  font-family: Arial, Helvetica, sans-serif;
  padding-block: 0.2rem;
}

.info-card.number-1 {
  border: 1px solid #84b0c1;
}

.info-card.number-2 {
  border: 1px solid #555354;
}

.info-card.number-3 {
  border: 1px solid #fac798;
}

.header-number-3 {
  background-color: #fac798;
}

.header-number-2 {
  background-color: #555354;
}

.header-number-1 {
  background-color: #84b0c1;
}

/* ========= */
  /* IMG */
  /* ========= */

  /* Container for the grid */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%; /* Full width of parent */
  }

  /* Adjust for smaller screens */
  @media (max-width: 600px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 400px) {
    .grid-container {
      grid-template-columns: 1fr;
    }
  }

  /* Style for each grid item */
  .grid-item {
    background-color: #ddd;
    overflow: hidden;
    border-radius: 8px;
  }

  /* Image styling */
  .grid-item img {
    width: 100%;
    height: auto;
    display: block;
  }

#img-section{
position: relative;
bottom: 75px;
}