/* Dodo Airlines - shared styles */
:root {
  --ink: #1a2530;
  --paper: #f4ecd8;
  --paper-dark: #e8dcc0;
  --accent: #2b6a78;
  --accent-dark: #1f4d57;
  --rust: #b8552e;
  --muted: #6b6357;
  --line: #c9bb9c;
  --shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--accent-dark);
}
a:hover {
  color: var(--rust);
}

/* Header / Nav */
header.site-header {
  background: var(--paper-dark);
  border-bottom: 2px solid var(--line);
  padding: 0.75rem 1.5rem;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 64px;
  height: 64px;
  /* border: 2px solid var(--ink); */
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* background: var(--paper); */
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  display: block;
  margin-top: -2px;
}

nav.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: bold;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover {
  border-bottom-color: var(--rust);
}
nav.site-nav a.active {
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

/* Layout */
main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* Hero */
.hero {
  background-color: var(--accent-dark);
  background-image:
    linear-gradient(
      135deg,
      rgba(43, 106, 120, 0.72) 0%,
      rgba(26, 37, 48, 0.82) 100%
    ),
    url("img/index_hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--paper);
  padding: 5rem 1.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(244, 236, 216, 0.1) 0,
      transparent 45%
    ),
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.18) 0, transparent 50%);
  pointer-events: none;
}

/* Page hero banner (about / booking) */
.page-hero {
  position: relative;
  height: 330px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 37, 48, 0.15) 0%,
    rgba(26, 37, 48, 0.55) 100%
  );
}

@media (max-width: 720px) {
  .page-hero {
    height: 250px;
  }
}

/* Inline figure (e.g. whiteboard) */
.inline-figure {
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-dark);
  box-shadow: var(--shadow);
}

.inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.inline-figure figcaption {
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.hero-inner {
  max-width: 720px;
  position: relative;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.5px;
}

.hero p.lede {
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.hero .cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: transform 0.05s ease;
}

.btn:hover {
  background: var(--paper-dark);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-primary {
  background: var(--rust);
  color: var(--paper);
  border-color: var(--rust);
}
.btn-primary:hover {
  background: #9c4625;
  border-color: #9c4625;
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn-ghost:hover {
  background: rgba(244, 236, 216, 0.12);
  color: var(--paper);
}

/* Sections */
section {
  margin: 2.5rem 0;
}

h2 {
  font-size: 1.7rem;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}

h2 + .subtitle {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 1.25rem;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.card {
  background: var(--paper-dark);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.2rem;
  position: relative;
}

.card .price {
  font-family: "Courier New", monospace;
  color: var(--rust);
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.card .price small {
  color: var(--muted);
  font-family: Georgia, serif;
  font-weight: normal;
  font-style: italic;
  font-size: 0.8rem;
}

/* Fine print / disclaimer block */
.fine-print {
  background: var(--paper-dark);
  border-left: 4px solid var(--rust);
  padding: 1rem 1.2rem;
  margin: 2rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.fine-print strong {
  color: var(--ink);
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}

.sidebar-box {
  background: var(--paper-dark);
  border: 1px solid var(--line);
  padding: 1.2rem;
  border-radius: 3px;
}

.sidebar-box h3 {
  margin-top: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.sidebar-box ul {
  margin: 0;
  padding-left: 1.2rem;
}
.sidebar-box li {
  margin: 0.3rem 0;
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.timeline-item {
  margin-bottom: 1.25rem;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--rust);
  border-radius: 50%;
}

.timeline-year {
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: var(--accent-dark);
  font-size: 0.95rem;
}

/* Team grid */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.team-member {
  text-align: center;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  margin: 0 auto 0.6rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: bold;
  font-family: "Courier New", monospace;
  border: 3px solid var(--paper-dark);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member .role {
  color: var(--muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* Forms */
form.booking-form {
  background: var(--paper-dark);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.field .hint {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.2rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 2px;
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--rust);
  background: #fdf3ee;
}

.error-msg {
  color: var(--rust);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.field.invalid .error-msg {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Drag & drop file upload */
.dropzone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 3px;
  background: var(--paper);
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.12s ease,
    background 0.12s ease;
}

.dropzone:hover {
  border-color: var(--accent);
}

.dropzone:focus-within,
.dropzone.focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.dropzone.dragover {
  border-color: var(--accent);
  border-style: solid;
  background: #eef4f1;
}

.dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-prompt strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.dropzone-prompt span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.2rem;
}

.field.invalid .dropzone {
  border-color: var(--rust);
  background: #fdf3ee;
}

.file-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.file-list .file-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.file-list .file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list .file-size {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  flex: none;
}

.file-list .file-remove {
  flex: none;
  border: none;
  background: transparent;
  color: var(--rust);
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}

.file-list .file-remove:hover {
  color: #9c4625;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.checkbox-field input {
  margin-top: 0.3rem;
}
.checkbox-field label {
  font-weight: normal;
  font-size: 0.92rem;
}

/* Confirmation banner */
.confirmation {
  display: none;
  background: #e6f0e8;
  border: 1px solid #6a9c7a;
  border-left: 4px solid #3e7a52;
  padding: 1.2rem 1.4rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.confirmation.visible {
  display: block;
}

.confirmation h3 {
  margin: 0 0 0.4rem;
  color: #2d5e3e;
}

.confirmation .confirm-code {
  font-family: "Courier New", monospace;
  background: var(--paper);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  border: 1px dashed var(--line);
}

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: var(--paper-dark);
  padding: 1.5rem;
  font-size: 0.88rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer a {
  color: var(--paper);
}
footer .footer-fine {
  color: #9a8f7d;
  font-style: italic;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
