/* ============================================
   EVA Bookkeeping — styles.css
   Mobile-first, no build step.
   ============================================ */

:root {
  --bg: #1a1f2e;
  --bg-elevated: #232938;
  --bg-elevated-2: #2a3142;
  --accent: #b8a179;
  --accent-hover: #c8b48a;
  --accent-soft: rgba(184, 161, 121, 0.15);
  --text: #f4f4f4;
  --text-muted: #a8acb8;
  --border: rgba(184, 161, 121, 0.25);
  --border-soft: rgba(255, 255, 255, 0.08);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --max-w: 1200px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition: 0.2s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, iframe { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 760px; }
.center { text-align: center; }

.section {
  padding: 64px 0;
}
@media (min-width: 768px) {
  .section { padding: 96px 0; }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.section-eyebrow {
  color: var(--text);
  margin: 0 0 24px;
  font-size: 1.05rem;
}
.section-sub {
  color: var(--text-muted);
  margin: 0 0 48px;
  font-size: 1rem;
}
.lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 65ch;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  margin: 0 0 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #1a1f2e;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #1a1f2e;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 31, 46, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.25em;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.primary-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .primary-nav.is-open { max-height: 360px; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
  }
  .primary-nav li { border-bottom: 1px solid var(--border-soft); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: 16px 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(135deg, rgba(26, 31, 46, 0.85) 0%, rgba(26, 31, 46, 0.55) 60%, rgba(26, 31, 46, 0.85) 100%),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 31, 46, 0.4) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 80px 24px;
  max-width: 800px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 620px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Difference section ---------- */
.section-difference {
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

/* ---------- Statements ---------- */
.section-statements {
  background: var(--bg-elevated);
}
.statements-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .statements-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.statement-card {
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.statement-card h3 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.6rem;
  margin: 0 0 16px;
  font-weight: 600;
}
.statement-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

/* ---------- Services ---------- */
.section-services {
  background: var(--bg);
}
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--bg-elevated);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin: 0;
  font-weight: 600;
}
.service-card p {
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
  font-size: 0.97rem;
}
.card-link {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- About ---------- */
.section-about {
  background: var(--bg-elevated);
}

/* ---------- Booking ---------- */
.section-book {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.book-embed {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
}
.book-embed iframe {
  width: 100%;
  min-height: 700px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
.book-fallback {
  text-align: center;
  margin: 16px 0 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.section-contact {
  background: var(--bg-elevated);
}
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
}
.contact-info .section-title { text-align: left; }
.contact-line {
  margin: 0 0 24px;
  color: var(--text-muted);
}
.contact-line strong {
  color: var(--accent);
  display: block;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 4px;
}
.contact-line a { color: var(--text); }
.contact-line a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}
.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field { display: block; margin-bottom: 16px; }
.field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.contact-form .btn {
  margin-top: 16px;
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.contact-form .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.form-status {
  margin: 16px 0 0;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status.is-success { color: #7fd49a; }
.form-status.is-error { color: #e88a8a; }

/* ---------- Map ---------- */
.section-map {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
}
.section-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.3) contrast(0.95);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #141826;
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
}
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer nav a { color: var(--text-muted); }
.site-footer nav a:hover { color: var(--accent); }
.footer-contact p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom small { color: var(--text-muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
