/* PLANNING TRIP FORM */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Open+Sans:wght@400;600&display=swap');

/* Base styles for floating alerts */
.success,
.error {
    position: absolute;
    top: 15px;                     /* distance from top of form */
    left: 50%;
    transform: translateX(-50%);   /* center horizontally */
    padding: 20px 30px;
    border-radius: 6px;
    font-weight: light;
    font-size: 18px;
    font-family: 'calibri' serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 7s forwards;
    max-width: 1600px;
    text-align: center;
}

/* Success (green) */
.success {
    background-color: #058134;
    color: white;
}

/* Error (red) */
.error {
    background-color: #af0303;
    color: white;
}

/* Fade in/out animation */
@keyframes fadeInOut {
    0%   { opacity: 0; transform: translate(-50%, -20px); }
    10%  { opacity: 1; transform: translate(-50%, 0); }
    90%  { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}



:root {
  --primary: #b6902e;
  --light-bg: #faf6ed;
  --border: #c3b9a4;
  --text-dark: #48423a;
  --text-light: #7b7262;
  --step-active: #b6902e;
  --step-inactive: #c3b9a4;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
}

header {
  background: var(--light-bg);
  border-bottom: 2px solid #ece6d7;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2vw;
  height: 70px;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.logo {
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.flex-container {
  display: flex;
  min-height: 900px;
  position: relative;
  background:#faf6ed;
  background-size: 160px;
  min-height: 900px;
  z-index: 1;
  overflow: hidden;
}

.left-img {
  flex: 1.2;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
}
.left-img img {
  width: 100%;
  height: 91vh;
  object-fit: cover;
  object-position: left center;
}

.right-form {
  position: relative;
  flex: 1.5;
  padding: 40px 3vw 30px 3vw;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
}

.right-form h1 {
  font-family: 'Marcellus', serif;
  font-size: 2.6rem;
  font-weight: 400;
  margin: 25px 0 28px 0;
  color: var(--text-dark);
}

.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  width: 100%;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
}
.step .circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid #c0a040;
  background: #fff;
  margin-bottom: 7px;
  transition: border .2s, background .2s;
}
.step.active .circle {
  border-color: #c0a040;
  background: #c0a040;
}
.step span {
  font-size: 1rem;
  text-align: center;
  color: black;
  line-height: 1.2;
}
.bar {
  height: 3px;
  flex: 2;
  background: #c0a040;
  margin: 0 5px;
}
.step.active.bar {
  background :#c0a040;
}

form {
  width: 100%;
  margin-top: 10px;
}

.form-row {
  display: flex;
  gap: 40px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.form-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.form-group.short {
  max-width: 210px;
}
.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-group .required {
  color: black;
  font-size: 1.1em;
}

.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.checkbox-group label,
.radio-group label {
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  color: #c0a040;
  display: flex;
  align-items: center;
  gap: 7px;
}

input[type="checkbox"], input[type="radio"] {
  accent-color: #c0a040;
  width: 19px;
  height: 19px;
}

input[type="number"], select, input[type="email"], input[type="text"], input[type="tel"], input[type="date"] {
  font-family: inherit;
  font-size: 1.0rem;
  padding: 8px 10px;
  border: 2px solid #c0a040;
  border-radius: 3px;
  background: #fff;
  transition: border 0.2s;
  margin-top: 2px;
}
input[type="number"]:focus, select:focus, input[type="email"]:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="date"]:focus, textarea:focus {
  outline: none;
  border-color: #c0a040;
}

textarea {
  font-family: inherit;
  font-size: 1.07rem;
  padding: 9px 13px;
  border: 2px solid #c0a040;
  border-radius: 3px;
  background: #fff;
  transition: border 0.2s;
  min-height: 76px;
  resize: vertical;
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 7px;
}

.icon-calendar {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url('https://img.icons8.com/ios-filled/50/000000/calendar.png') no-repeat center center/contain;
  margin-right: 5px;
  opacity: 0.65;
}

.flag-emoji {
  font-size: 1.2em;
  margin-right: 6px;
}
.country-code {
  font-size: 1.07rem;
  color: var(--text-light);
  margin-right: 7px;
}

.end {
  justify-content: flex-end;
  margin-top: 14px;
  display: flex;
  width: 100%;
  gap: 18px;
}

.nav-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 999;
}

.form-step {
    position: relative; /* This keeps buttons inside the step */
    min-height: 400px;  /* Optional: ensures space for buttons */
    padding-bottom: 60px; /* Space for buttons so they don't overlap content */
}

.prev-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #c0a040;
    color: black;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.next-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #c0a040;
    color: black;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    opacity: 0.8;
}

#submitBtn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(182,144,46,0.13);
}
#submitBtn:hover {
  background: #5a7e2f;
}

@media (max-width: 1250px) {
  .flex-container {
    flex-direction: column;
  }
  .left-img, .right-form {
    width: 100%;
    min-width: unset;
    padding: 0;
  }
  .right-form {
    padding: 30px 6vw;
  }
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
  }
  .right-form h1 {
    font-size: 2rem;
  }
  .step span {
    font-size: 0.92rem;
  }
  .form-row {
    flex-direction: column;
    gap: 18px;
  }
}
.main-header3{
  background: #faf6ed;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.08);
  padding: 1px 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;  
}

.logo{
  max-height: 60px;
}

.main-header3 a {
  color: #111111;
}

.container3.header-flex3 {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
}

.main-nav3 ul, .right-nav3 ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 38px;
}

.main-nav3 ul li a, .right-nav3 ul li a {
  color: black;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.04em;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.right-nav3 ul li .start-btn {
  background: #c0a040;
  color: #fff;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: bold;
  margin-left: 12px;
  transition: background 0.2s;
}

.right-nav3 ul li .start-btn:hover {
  background: #c0a040;
}
