/* ============================================================
   Taki Pince — stílus
   Design tokens
   ============================================================ */
:root {
  --cream: #f5efe2;
  --cream-deep: #eadfc5;
  --ink: #372a21;
  --ink-soft: #5c4d40;
  --wine: #5c1f2e;
  --wine-deep: #3a1420;
  --gold: #a9822f;
  --leaf: #56643a;
  --line: rgba(55, 42, 33, 0.14);

  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, Segoe UI, Arial, sans-serif;

  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--wine);
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--wine-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 0.4em;
  display: block;
}

/* ---------- vine motif divider ---------- */
.vine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  width: fit-content;
  color: var(--leaf);
  opacity: 0.85;
}
.vine-divider svg { width: 46px; height: 22px; display: block; }
.vine-divider .rule { width: 60px; height: 1px; background: var(--line); }

/* ---------- header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 28px 0 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 52px; width: auto; }
.brand span {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.site-header nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
  padding: 8px 4px;
}
.site-header nav a:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../kep/panoramanaplemente.jpg') center 62% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,15,10,0.35) 0%, rgba(30,15,10,0.15) 45%, rgba(30,15,10,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 140px 20px 80px;
}
.hero-content .eyebrow { color: #e6d9a8; }
.hero h1 { color: #fff; }
.hero-content p {
  max-width: 540px;
  margin: 18px auto 0;
  font-size: 1.08rem;
  color: #f3ecdd;
}
.hero-rule {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 26px auto 0;
}

/* ---------- sections ---------- */
section { padding: 100px 0; }
.section-alt { background: var(--cream-deep); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { text-align: left; }
.about-portrait {
  position: relative;
}
.about-portrait img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(58, 20, 32, 0.22);
}
.about-portrait figcaption {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
}
.pull-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--wine);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 30px 0;
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-card h2 { text-align: left; }
.contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.contact-line .label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  min-width: 110px;
}
.contact-line a { text-decoration: none; font-weight: 600; }
.contact-line a:hover { text-decoration: underline; }
.map-photo {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(58, 20, 32, 0.18);
}
.map-photo figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 10px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 30px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-link:hover { border-color: var(--wine); }

/* ---------- footer ---------- */
footer {
  background: var(--wine-deep);
  color: #eadfc5;
  padding: 46px 0;
  text-align: center;
  font-size: 0.92rem;
}
footer a {
  color: #eadfc5;
  text-decoration: none;
  border-bottom: 1px solid rgba(234,223,197,0.4);
}
footer a:hover { border-color: var(--gold); }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-copy { opacity: 0.75; }

/* ---------- simple content pages (adatvédelem / süti) ---------- */
.page-hero {
  padding: 170px 0 60px;
  background: var(--cream-deep);
  text-align: center;
}
.page-hero h1 { margin-bottom: 0; }
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 0 100px;
}
.legal-content h2 {
  text-align: left;
  font-size: 1.4rem;
  margin-top: 2em;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}
.legal-content th, .legal-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-content th { background: var(--cream-deep); font-family: var(--font-display); }
.legal-content ul { padding-left: 1.2em; }
.back-home {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--wine);
  color: var(--wine);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.btn-outline:hover { background: var(--wine); color: #fff; }

/* ---------- cookie banner ---------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--wine-deep);
  color: #f5efe2;
  padding: 20px;
  transform: translateY(120%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 0.92rem; max-width: 640px; }
.cookie-inner a { color: #e6d9a8; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid transparent;
}
#cookie-accept {
  background: var(--gold);
  color: var(--wine-deep);
}
#cookie-reject {
  background: transparent;
  color: #f5efe2;
  border-color: rgba(245,239,226,0.4);
}

.cookie-settings-link {
  background: none;
  border: none;
  color: #eadfc5;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 70px 0; }
  .site-header { padding-top: 20px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .site-header nav { display: none; }
}
