/*Section for background*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
  }
  
  body {
    min-height: 100vh;
    background-color: #972fff;
    background-size: cover;
    background-position: center;
  }
  
  /* Nav bar section */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
  }
  
  .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(50px);
    z-index: -1;
  }
  
  .header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
  }
  
  .header:hover::after {
    left: 100%;
  }
  
  .logo img {
    width: 350px;
    height: auto;
  }
  
  .navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex-grow: 1;
  }
  
  .navbar a {
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
    white-space: nowrap;
  }
  
  #check {
    display: none;
  }
  
  .icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
  }
  
  /* Breakpoints for nav */
  @media (max-width: 992px) {
    .header {
      padding: 1.3rem 5%;
    }
  }
  
  @media (max-width: 914px) {
    .icons {
      display: inline-flex;
    }
    #check:checked ~ .icons #menu-icon {
      display: none;
    }
    .icons #close-icon {
      display: none;
    }
    #check:checked ~ .icons #close-icon {
      display: block;
    }
    .navbar {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(0,0,0,0.1);
      backdrop-filter: blur(50px);
      box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
      overflow: hidden;
      transition: height 0.3s ease;
      flex-direction: column;
      height: auto;
      max-height: 0;
    }
    #check:checked ~ .navbar {
      max-height: 100vh;
    }
    .navbar a {
      display: block;
      font-size: 1.15rem;
      margin: 1.5rem 0;
      text-align: center;
      transform: translateY(-50px);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    #check:checked ~ .navbar a {
      transform: translateY(0);
      opacity: 1;
      transition-delay: calc(0.15s * var(--i));
    }
  }
  
  .navbar a:hover {
    color: #cccccc98;
  }
  .navbar a:active {
    color: #9999991f;
  }
  
  /* Contact page content */
  .contact_page_content {
    margin: 20px;
    margin-top: 40px;
  }
  
  /* Text containers for introductory text */
  .contact_page_writing_container {
    background-color: #8f1eff;
    box-shadow: 10px 10px 20px #860eff;
    text-align: left;
    padding: 20px;
    width: fit-content;
    margin-top: 100px;
  }
  
  .contact_page_links_container {
    background-color: #8f1eff;
    box-shadow: 10px 10px 20px #860eff;
    text-align: left;
    padding: 20px;
    width: fit-content;
    margin-top: 100px;
  }
  
  /* Text styling for both containers */
  .contact_page_writing1 {
    font-size: clamp(20px, 3vw, 32px);
    white-space: normal;
    padding: 20px;
    margin: 0;
  }
  
  /* Ensure that in the links container the text stays on one line */
  .contact_page_links_container .contact_page_writing1 {
    white-space: nowrap;
  }
  
  /* Bottom bar */
  .bottom_bar_container {
    color: white;
    background-color: #860eff;
    background-image: linear-gradient(#5d0cad, #860eff);
    width: 100%;
    height: 100px;
    margin: 0;
    margin-top: 40px;
    box-shadow: 0 10px 5px #888, 0 -10px 5px #5d0cad;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .social-media-icons-positioning {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 750px;
  }
  
  .social-media-icons-green a {
    color: #00ff01;
    font-size: 1.5rem;
  }
  
  /* Booking form container (previous working code) */
  #booking_form_container {
    position: relative;
    background-color: #5d0cad;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  /* Form as flex container with a gap */
  #contact-form {
    display: flex;
    gap: 20px;
    width: 100%;
  }
  
  /* Left section: fixed width */
  .left_section {
    width: 350px;
    display: flex;
    flex-direction: column;
  }
  
  /* Divider between columns */
  .divider {
    width: 2px;
    background-color: black;
    margin: 0 10px;
  }
  
  /* Right section: fills remaining space */
  .right_section {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* Input groups in left_section */
  .input_group {
    margin: 10px 0;
  }
  
  .input_group label {
    font-weight: bold;
    white-space: nowrap;
  }
  
  /* User input fields in left_section */
  .left_section input[type="text"],
  .left_section input[type="email"],
  .left_section input[type="tel"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
  }
  
  /* Extra Information Box in right_section */
  .extra_info_box {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    box-sizing: border-box;
  }
  
  .extra_info_box h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
  }
  
  .extra_info_desc {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: white;
  }
  
  .extra_info_box textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    resize: vertical;
  }
  
  /* Book button container: right-align the button with top spacing */
  .book_button_container {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
  }
  
  /* Send button styling */
  .book_button {
    background-color: #00ff01;
    font-size: 25px;
    border-radius: 5px;
    letter-spacing: 0.1em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 30px;
    transition: 0.5s;
    margin-right: 10px;
  }
  
  .book_button:hover {
    letter-spacing: 0.25em;
    background: var(--clr);
    box-shadow: 0 0 35px var(--clr);
  }
  
  /* Responsive layout for booking form: when viewport is below 865px, stack columns and hide divider */
  @media (max-width: 865px) {
    #contact-form {
      flex-direction: column;
      gap: 20px;
    }
    .divider {
      display: none;
    }
    .left_section,
    .right_section {
      width: 100%;
    }
    .right_section {
      margin-top: 20px;
    }
  }
  
  /* Responsive adjustments for contact_page_writing_container */
  /* For viewports below 840px, adjust writing container */
  @media (max-width: 840px) {
    .contact_page_writing_container {
      width: 100%;
      padding-left: 10px;
      padding-right: 10px;
      box-sizing: border-box;
    }
    .contact_page_writing_container .contact_page_writing1 {
      font-size: clamp(16px, 3vw, 28px);
    }
  }
  
  /* Responsive adjustments for contact_page_links_container */
  /* For viewports below 586px, adjust links container */
  @media (max-width: 586px) {
    .contact_page_links_container {
      width: 100%;
      padding: 0 10px;
      box-sizing: border-box;
    }
    .contact_page_links_container .contact_page_writing1 {
      font-size: clamp(14px, 2.5vw, 24px);
    }
  }
  