/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #eff6e0;
  color: #01161e;
  line-height: 1.6;
}

/* NAVIGATION */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(1, 22, 30, 0.6);
  color: #eff6e0;
  position: absolute;
  width: 100%;
  top: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* This .nav-links a (not sure what 'a' is) makes my links glow at the top of the page */
.nav-links a {
  color: #eff6e0;
  text-decoration: none;
  font-weight: 500;
}
/* This .nav-links a (not sure what 'a' is) makes my links glow at the top of the page */
.nav-links a:hover {
  color: #aec3b0;
}
/* Old button code that doesn't do anything since I deleted the button
.btn {
  background: #124559;
  color: #eff6e0;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #598392;
}
*/

/* HERO */
.hero {
  height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  position: relative;
  color: #eff6e0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(1, 22, 30, 0.55);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

/* SECTIONS */
.bookings {
  padding: 3rem 2rem;
  text-align: center;
  background: #aec3b0;
  color: #01161e;

  /* Mobile-first scaling for iPhone */
@media (max-width: 768px) {

  :root {
    /* Overall scale */
    --ldg-psb-padding: 20px;

    /* Input fields */
    --ldg-psb-input-height: 56px;
    --ldg-psb-input-font-size: 18px;

    /* Button */
    --ldg-psb-button-height: 60px;
    --ldg-psb-button-font-size: 18px;

    /* Border radius (optional, feels more iOS-native) */
    --ldg-psb-border-radius: 14px;
  }

  #lodgify-search-bar {
    transform: scale(1.08);
    transform-origin: top center;
  }
}

}

.bookings h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}



/* SPLIT LAYOUT */
.split {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
}

.split-text h3 {
  font-size: 1.8rem;
  color: #124559;
  margin-bottom: 1rem;
}

.split-img {
  flex: 1;
}

.split-img img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  background: #01161e;
  color: #eff6e0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links {
    display: none; /* (can add burger menu later) */
  }

  .split, .split.reverse {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
.booking-form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-family: system-ui, sans-serif;
}

.booking-form h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  border-color: #0077cc;
  outline: none;
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #005fa3;
}

.hidden {
  display: none;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 480px) {
  .bookings {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top) 1rem env(safe-area-inset-bottom);
    overflow-x: hidden;
  }

  #lodgify-search-bar {
    width: 100%;
    max-width: 420px;
    transform: scale(1.35);
    transform-origin: center;
  }

  :root {
    --ldg-psb-padding: 22px;
  }
}
