/*
Theme Name: Greek City Travel
Theme URI: https://greekcitytravel.com
Author: Greek City Travel
Description: Destination pages and hotel search for Greece, with Booking.com affiliate links.
Version: 1.0.2
Text Domain: greek-city-travel
*/

:root {
  --ink: #1a1714;
  --muted: #5c5348;
  --paper: #f6f1e8;
  --card: #fffdf8;
  --line: #e4d9c8;
  --navy: #1c2a38;
  --gold: #8a6d3b;
  --gold-2: #b08948;
  --sea: #2f5d73;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 42, 56, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo {
  color: var(--white);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold-2); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.nav a { color: #f3eadb; font-size: 0.95rem; font-weight: 600; }
.nav a:hover { color: var(--gold-2); }

.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  color: var(--white);
  background: #1c2a38 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,56,.15), rgba(28,42,56,.72));
}
.hero .wrap { position: relative; z-index: 1; padding: 64px 0 40px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 10px; }
.hero p { margin: 0 0 22px; max-width: 38rem; color: #f3eadb; }

.search {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
}
.search label {
  display: grid;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.search input, .search select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.search button {
  align-self: end;
  background: var(--gold);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}
.search button:hover { background: var(--gold-2); }
.aid-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #f3eadb;
}

.section { padding: 48px 0; }
.section h2 { margin: 0 0 8px; }
.lede { color: var(--muted); margin: 0 0 24px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card .body { padding: 16px 16px 18px; display: grid; gap: 8px; }
.card h3 { margin: 0; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .cta { font-weight: 700; color: var(--gold); }

.post-list { display: grid; gap: 16px; }
.post-row {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.post-row h3 { margin: 0 0 6px; font-size: 1.2rem; }
.post-row h3 a { color: var(--navy); }
.post-row .meta { color: var(--muted); font-size: 0.88rem; }

.page-hero {
  min-height: 280px;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy) center/cover no-repeat;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,56,.2), rgba(28,42,56,.7));
}
.page-hero .wrap { position: relative; z-index: 1; padding: 72px 0 28px; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }

.content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.content .search { margin: 0 0 24px; box-shadow: none; border: 1px solid var(--line); }
.content .search + .aid-note { color: var(--muted); }
.entry p { margin: 0 0 1em; }
.entry h2 { margin: 1.4em 0 .5em; }
.house-ad { margin: 32px auto 8px; max-width: 750px; text-align: center; }
.house-ad-label { color: var(--muted); font-size: 12px; letter-spacing: 0.04em; margin-bottom: 6px; }
.house-ad img { margin-inline: auto; border-radius: 8px; }
.house-rotator .slide { display: none; }
.house-rotator .slide.is-on { display: block; }
.credit {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.disclosure {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 8px 0 0;
}

.site-footer {
  background: var(--navy);
  color: #f3eadb;
  padding: 32px 0;
  margin-top: 24px;
}
.site-footer a { color: var(--gold-2); }
.site-footer p { margin: 0 0 8px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .search { grid-template-columns: 1fr 1fr; }
  .search button { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding: 12px 0; }
}
