//* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #f4f8fb, #e6eef3);
  padding: 40px 20px;
  color: #333;
}

/* Form Container */
.form-container {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e0e0;
}

/* Headings */
.travel-form h2 {
  color: #0E386F;
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 600;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* Destination Grid */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
  gap: 20px;
  margin-bottom: 30px;
  justify-items: center;
}

@media (max-width: 768px) {
  .destination-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
  }
}

.destination-option {
  width: 100%;
  max-width: 200px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.destination-option:hover {
  box-shadow: 0 4px 12px rgba(0, 56, 128, 0.12);
  transform: translateY(-3px);
}

.destination-option input[type="checkbox"] {
  display: none;
}

.destination-option .image-box {
  width: 100%;
  aspect-ratio: 5 / 4; /* keeps 200x160 shape */
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.destination-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.destination-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0E386F;
  text-align: center;
}

.destination-label .tick-check {
  display: none;
  color: green;
  font-size: 16px;
  margin-left: 6px;
  vertical-align: middle;
}

.destination-option input[type="checkbox"]:checked ~ .destination-label .tick-check {
  display: inline;
}

/* Form Layout */
.form-row {
  margin-bottom: 20px;
}

.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.two-columns > div {
  flex: 1 1 45%;
}

/* Input Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background: #fff;
  color: #333;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0E386F;
  box-shadow: 0 0 0 3px rgba(14, 56, 111, 0.15);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Labels */
label {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: #444;
}

/* Submit Button */
button[type="submit"] {
  background: #0E386F;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  margin-top: 10px;
  display: inline-block;
}

button[type="submit"]:hover {
  background: #07264b;
  transform: translateY(-2px);
}

/* Responsive for Smaller Inputs */
@media (max-width: 768px) {
  .two-columns > div {
    flex: 1 1 100%;
  }

  .form-container {
    padding: 25px;
  }
}
