:root {
  --ink: #211c16;
  --paper: #f1ece1;
  --card: #fdfbf7;
  --line: #ddd2ba;
  --line-soft: #e8e0cf;
  --pine: #23392c;
  --pine-dark: #182a20;
  --brass: #a9793b;
  --brass-soft: #f1e4cd;
  --error: #a13d2b;
  --error-soft: #f5e4df;
  --radius: 3px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.hero {
  text-align: left;
  padding-bottom: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin: 0 0 10px;
}

.hero { position: relative; }

.hero-logo {
  max-height: 52px;
  max-width: 220px;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
}

.lang-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 4px;
}
.lang-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #8a8371;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn.active { background: var(--pine); color: #fff; border-color: var(--pine); }

.room-line { margin-bottom: 10px; }
.room-line-guests-field { max-width: 90px; }
.remove-room-btn {
  align-self: flex-end;
  margin-bottom: 2px;
  width: 40px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--error);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
}
.remove-room-btn:hover { background: var(--error-soft); }

.add-room-btn {
  background: none;
  border: 1px dashed var(--line);
  color: var(--pine);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
}
.add-room-btn:hover { background: var(--brass-soft); border-style: solid; }

.room-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 14px 0 4px;
  padding-bottom: 4px;
}
.room-photos img {
  height: 84px;
  width: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.min-nights-msg {
  font-size: 13px;
  color: var(--error);
  background: var(--error-soft);
  border: 1px solid #e6c3ba;
  border-radius: var(--radius);
  padding: 10px 13px;
  margin: -4px 0 18px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #25D366;
  color: #128C3E;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.whatsapp-btn:hover { background: #eafaf0; }

.site-footer {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  text-align: center;
  font-size: 12px;
  color: #8a8371;
}
.company-info { margin-bottom: 6px; line-height: 1.6; }
.footer-links a { color: #8a8371; text-decoration: underline; }
.footer-links span { margin: 0 6px; }
.confirm-box a { color: var(--pine); }
.confirm-box a.more-link { font-weight: 600; white-space: nowrap; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

/* --- Ημερολόγιο διαθεσιμότητας --- */
.date-range-btn {
  width: 100%;
  text-align: left;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.date-range-btn:focus, .date-range-btn.active {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(35, 57, 44, 0.12);
}
.date-range-btn.has-dates { color: var(--ink); font-weight: 500; }
.date-range-btn.placeholder { color: #8a8371; font-weight: 400; }

.calendar-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: -6px 0 18px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calendar-nav button {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  color: var(--pine-dark);
}
.calendar-nav button:hover { background: var(--paper); }
.calendar-months-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pine-dark);
}

.calendar-grids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 480px) {
  .calendar-grids { grid-template-columns: 1fr; }
}

.cal-month-title {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: var(--pine-dark);
}

.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-weekdays div {
  text-align: center;
  font-size: 10.5px;
  color: #8a8371;
  padding-bottom: 4px;
}

.cal-day {
  text-align: center;
  font-size: 13px;
  padding: 6px 0;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.cal-day:hover:not(.cal-disabled):not(.cal-empty) { background: var(--brass-soft); }
.cal-day.cal-empty { cursor: default; }
.cal-day.cal-disabled {
  color: #c7bfa9;
  text-decoration: line-through;
  cursor: not-allowed;
}
.cal-day.cal-selected {
  background: var(--pine);
  color: #fff;
}
.cal-day.cal-in-range {
  background: var(--brass-soft);
}

.calendar-hint {
  font-size: 12px;
  color: #8a8371;
  margin: 10px 0 0;
}

.price-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 15px;
  margin: -4px 0 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 14px;
}
.price-summary .price-nights { color: #5d5648; }
.price-summary .price-total { font-weight: 600; color: var(--pine-dark); font-size: 16px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--pine-dark);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 15px;
  color: #5d5648;
  margin: 0;
  max-width: 42ch;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.field { margin-bottom: 18px; }

.field-row {
  display: flex;
  gap: 14px;
}
.field-row .field { flex: 1; min-width: 0; }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #5d5648;
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 16px; /* 16px+ αποτρέπει zoom-in σε iOS */
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(35, 57, 44, 0.12);
}

input:invalid:not(:placeholder-shown):not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--error);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23211c16' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea { resize: vertical; min-height: 72px; }

.divider {
  border: none;
  border-top: 1px solid var(--line-soft);
  margin: 22px 0;
}

.confirm-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 15px;
  margin: 22px 0 18px;
  background: var(--brass-soft);
  border: 1px solid #e6d3ac;
  border-radius: var(--radius);
  cursor: pointer;
}

.confirm-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--pine);
  cursor: pointer;
}

.confirm-box span {
  font-size: 13.5px;
  line-height: 1.45;
  color: #4a3f2a;
}

button[type="submit"] {
  width: 100%;
  padding: 15px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--pine);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
button[type="submit"]:hover { background: var(--pine-dark); }
button[type="submit"]:active { transform: scale(0.99); }
button[type="submit"]:disabled { background: #a9a89c; cursor: not-allowed; }

.form-message {
  font-size: 14px;
  margin-top: 14px;
  min-height: 20px;
}
.form-message.success { color: var(--pine); font-weight: 500; }
.form-message.error { color: var(--error); font-weight: 500; }

@media (max-width: 480px) {
  .page { padding: 32px 16px 48px; }
  .card { padding: 22px 18px; }
  .field-row { flex-direction: column; gap: 0; }
}
