@font-face {
    font-family: 'Roboto Flex';
    src: url('https://flixboat.de/assets/fonts/RobotoFlex-VariableFont_GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght');
    font-weight: 100 900;
    font-display: fallback;
}

:root {
    --primary: #2C5530;
    --secondary: rgba(44, 85, 48, 0.9);
    --text: #090909;
    --background: #fefefe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Flex', Arial, Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
}

h2 {
    margin-bottom: 1.2rem;
}

h3 {
    margin-bottom: 0.8rem;
}   

.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 10px;
}

nav {
    position: fixed;
    width: 100%;
    padding: 1rem;
    background: rgba(44, 85, 48, 0.9);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

button:hover {
    transform: scale(1.05);
}

.destinations {
    padding: 4rem 2rem;
    text-align: center;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.destination-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.destination-text {
    padding: 1rem;
}

.destination-card:hover {
    transform: translateY(-10px);
}

.form-select {
    position: relative;
}

.form-select select {
    display: none; /*hide original SELECT element: */
  }

  .select-selected {
    background-color: #fefefe;
  }
  
  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    content: "";
    /* top: 50%; */
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #090909 transparent transparent transparent;
    transform: translateY(50%);
  }
  
  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #090909 transparent;
    transform: translateY(-50%);
  }
  
  /* style the items (options), including the selected item: */
  .select-items div,.select-selected {
    color: #090909;
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent; */
    cursor: pointer;
    border-radius: 5px;
  }
  
  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: #fefefe;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }
  
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }

  input#date, input#passengers {
    width: 100%;
    background-color: #fefefe;
    color: #090909;
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent; */
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
  }