@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* --- Színek: tópart hangulat --- */
  --water-deep:  #0e3a4c;
  --water:       #17748f;
  --water-light: #3fa6c2;
  --reed:        #4a7c59;
  --sand:        #f6f1e6;
  --sand-2:      #ece3d0;
  --ink:         #1e2a28;
  --ink-muted:   #5c6b66;
  --line:        #dcd3bd;
  --accent:      #e2872f;   /* horgászúszó narancs */
  --accent-dark: #c26e1e;
  --danger:      #c1443c;
  --success:     #3f8f5f;
  --white:       #ffffff;

  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 2px 10px rgba(14, 58, 76, 0.08);
  --shadow-lg:   0 8px 30px rgba(14, 58, 76, 0.14);

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--water-deep);
}
h1 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
h3 { font-size: 1.2rem; }

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

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
}

/* --- Reszponzív rács: kártyás listákhoz (tavak, hirdetések) --- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .grid { grid-template-columns: 1fr; } }

/* --- Kártya --- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-media {
  aspect-ratio: 4 / 3;
  background: var(--sand-2);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--water-deep); }
.card-meta { font-size: 0.85rem; color: var(--ink-muted); }
.card-price { margin-top: auto; font-weight: 700; color: var(--accent-dark); }

/* --- Gombok --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #241505; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--water); color: var(--water); }
.btn-outline:hover { background: var(--water); color: #fff; }

.muted { color: var(--ink-muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Csökkentett mozgást preferálóknak */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
