:root {
  --cream: #f7f1e7;
  --paper: #fffdf8;
  --sand: #d8c4a1;
  --gold: #bb8d45;
  --gold-dark: #7e5b27;
  --ink: #262720;
  --muted: #6e7068;
  --forest: #24352d;
  --forest-light: #31483c;
  --line: rgba(38, 39, 32, .14);
  --shadow: 0 24px 70px rgba(38, 39, 32, .12);
  --radius: 24px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--forest); color: #fff; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 88px; display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.site-header.scrolled { height: 72px; background: rgba(255,253,248,.92); backdrop-filter: blur(15px); box-shadow: 0 10px 30px rgba(38,39,32,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 49px; height: 49px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .04em; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-family: var(--serif); font-size: 22px; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.site-header:not(.scrolled) .brand, .site-header:not(.scrolled) .site-nav { color: white; }
.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a { position: relative; font-size: 14px; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }
.site-header:not(.scrolled) .nav-toggle { color: #fff; }

.hero { position: relative; min-height: 790px; height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/images/hero.png") center/cover no-repeat; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0;  }
.hero-content { position: relative; z-index: 1; padding-top: 80px; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.section-dark .eyebrow, .hero .eyebrow { color: #e7c990; }
.hero h1 { margin: 0; max-width: 760px; font-family: var(--serif); font-size: clamp(76px, 11vw, 150px); line-height: .72; font-weight: 600; letter-spacing: -.045em; }
.hero-lead { margin: 30px 0 0; font-family: var(--serif); font-size: clamp(25px, 3vw, 40px); }
.hero blockquote { margin: 38px 0 0; max-width: 620px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.5); font-family: var(--serif); font-size: 21px; }
.hero cite { display: block; margin-top: 7px; font-family: var(--sans); font-size: 11px; font-style: normal; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.btn { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, border .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.scroll-cue { position: absolute; z-index: 2; bottom: 36px; left: 50%; width: 28px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: white; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translate(-50%,0); opacity: 0;} 35%{opacity:1;} 100%{transform:translate(-50%,22px);opacity:0;} }

.intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); line-height: .98; font-weight: 600; letter-spacing: -.025em; }
.section-heading > p:last-child { max-width: 680px; color: var(--muted); }
.section-heading.centered { text-align: center; margin: 0 auto 55px; max-width: 780px; }
.section-heading.centered > p:last-child { margin-inline: auto; }
.prose { padding-top: 8px; columns: 2; column-gap: 42px; }
.prose p { margin: 0 0 22px; break-inside: avoid; color: #4f514b; }
.prose p:first-child::first-letter { float: left; margin: 9px 9px 0 0; font-family: var(--serif); font-size: 68px; line-height: .65; color: var(--gold-dark); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { min-height: 245px; padding: 32px; background: rgba(255,255,255,.6); border: 1px solid rgba(126,91,39,.14); border-radius: var(--radius); }
.value-number { font-family: var(--serif); color: var(--gold); font-size: 20px; }
.value-card h3 { margin: 55px 0 8px; font-family: var(--serif); font-size: 34px; }
.value-card p { margin: 0; color: var(--muted); }

.together-photo { margin-bottom: 28px; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); }
.together-photo img { aspect-ratio: 2.25/1; object-fit: cover; }
.dog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.dog-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 16px 50px rgba(38,39,32,.07); }
.dog-portrait { position: relative; overflow: hidden; }
.dog-portrait img { aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; }
.dog-card:hover .dog-portrait img { transform: scale(1.03); }
.dog-badge { position: absolute; left: 24px; bottom: 20px; padding: 8px 15px; background: rgba(255,253,248,.9); border-radius: 999px; backdrop-filter: blur(10px); font-family: var(--serif); font-size: 20px; }
.dog-content { padding: 34px; }
.registered-name { margin: 0; color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.dog-content h3 { margin: 4px 0 25px; font-family: var(--serif); font-size: 54px; line-height: 1; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 17px; }
.facts div:nth-child(even) { padding-left: 17px; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; }
.results { margin-top: 27px; }
.results h4 { margin: 0 0 10px; font-family: var(--serif); font-size: 28px; }
.results p { color: var(--muted); font-size: 13px; }
.results .titles { color: var(--ink); font-weight: 700; }
.dog-footer { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.dog-footer p { margin: 0; font-size: 12px; }
.text-link { color: var(--gold-dark); font-size: 12px; font-weight: 700; }

.gallery-block { margin-top: 90px; }
.gallery-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
.gallery-header h3 { margin: 0; font-family: var(--serif); font-size: 52px; }
.gallery-header > p { max-width: 450px; color: var(--muted); font-size: 13px; }
.gallery {
  column-count: 4;
  column-gap: 14px;
}
.gallery-item {
  width: 100%;
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  cursor: zoom-in;
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(38, 39, 32, 0.08);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.5s;
}
.gallery-item:hover img {
  filter: saturate(1.08) brightness(1.02);
}
.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.news-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.news-grid .section-heading { grid-row: span 2; padding-right: 40px; }
.news-grid .section-heading p:last-child { color: rgba(255,255,255,.68); }
.news-feature { overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 370px; background: var(--forest-light); border-radius: 28px; }
.poster-placeholder { min-height: 370px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 25px; background: radial-gradient(circle at 30% 20%, #d8c4a1, transparent 36%), linear-gradient(135deg, #ad7b3d, #735329); text-align: center; }
.poster-placeholder span { font-family: var(--serif); font-size: 34px; }
.poster-placeholder small { margin-top: 8px; opacity: .7; }
.news-copy { padding: 35px; align-self: center; }
.status-pill { display: inline-block; padding: 6px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #e7c990; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.news-copy h3, .news-card h3 { margin: 15px 0 8px; font-family: var(--serif); font-size: 36px; }
.news-copy p, .news-card p { color: rgba(255,255,255,.68); }
.news-card { display: flex; gap: 22px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; }
.news-icon { color: #e7c990; font-size: 30px; }
.news-meta { margin: 0; color: #e7c990 !important; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; text-align: right;}
.news-card h3 { margin-top: 2px; }
.news-card p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 6vw, 78px); line-height: .95; }
.contact-copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item span { color: var(--muted); font-size: 12px; }
.contact-item strong, .contact-item a { font-weight: 700; }
.socials { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.socials a { color: var(--gold-dark); font-size: 12px; font-weight: 700; }
.contact-form { padding: 40px; background: var(--cream); border-radius: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(38,39,32,.25); background: transparent; outline: none; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--gold-dark); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { border: 0; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; }

.site-footer { padding: 60px 0 25px; background: #1b2721; color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 45px; }
.logo-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.logo-placeholder { width: 82px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: rgba(255,255,255,.55); text-align: center; font-size: 8px; letter-spacing: .11em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 11px; }
.footer-bottom p { margin: 0; }

.lightbox { width: min(1000px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: transparent; box-shadow: 0 35px 100px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(13,20,16,.83); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 85vh; object-fit: contain; background: #111; }
.lightbox-close { position: fixed; top: 20px; right: 24px; z-index: 2; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 28px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


.dog-gallery-block {
  margin-top: 32px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 28px 28px 14px;
  border-top: 1px solid var(--line);
  background: rgba(247, 243, 235, 0);
}

.dog-gallery-heading {
  margin-bottom: 20px;
}

.dog-gallery-heading .eyebrow {
  margin: 0 0 4px;
}

.dog-gallery-heading h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
}

.dog-gallery {
  column-count: 2;
  column-gap: 12px;
}

.dog-gallery .gallery-item {
  margin-bottom: 12px;
  border-radius: 14px;
}

.dog-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobilnézet */

@media (max-width: 600px) {
  .dog-gallery-block {
    padding: 24px 18px 12px;
  }

  .dog-gallery {
    column-count: 2;
    column-gap: 10px;
  }

  .dog-gallery .gallery-item {
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .dog-gallery-heading h4 {
    font-size: 28px;
  }
}

/* Nagyon keskeny kijelzők */

@media (max-width: 380px) {
  .dog-gallery {
    column-count: 1;
  }
}


@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 15px 20px 25px; background: rgba(255,253,248,.97); color: var(--ink) !important; transform: translateY(-130%); transition: transform .3s; box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: right;}
  .site-header:has(.site-nav.open) { background: var(--paper); color: var(--ink); }
  .site-header:has(.site-nav.open) .brand, .site-header:has(.site-nav.open) .nav-toggle { color: var(--ink); }
  .intro-grid, .contact-grid, .news-grid { grid-template-columns: 1fr; gap: 45px; }
  .prose { columns: 1; }
  .dog-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card h3 { margin-top: 24px; }
  .news-grid .section-heading { grid-row: auto; padding-right: 0; }
.gallery {
    column-count: 2;
  }
  .gallery-item.wide { grid-column: span 1; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .logo-row { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 26px, 1180px); }
  .hero { min-height: 720px; }
  .hero-media { background-image: url("assets/images/hero_mobile.png"); background-position: center top; background-size: cover; }
  .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,29,25,.78) 0%, rgba(22,29,25,.45) 48%, rgba(22,29,25,.16) 100%), linear-gradient(0deg, rgba(22,29,25,.36), transparent 45%); }
  .hero h1 { font-size: 72px; }
  .hero-content { padding-top: 62px; }
  .hero blockquote { font-size: 18px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 8px; }
  .intro-grid { gap: 32px; }
  .dog-content { padding: 24px; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd), .facts div:nth-child(even) { padding-inline: 0; border-left: 0; }
  .dog-footer { align-items: flex-start; flex-direction: column; }
  .gallery-header { align-items: flex-start; flex-direction: column; gap: 8px; }
.gallery {
    column-count: 1;
  }
    .news-feature { grid-template-columns: 1fr; }
  .poster-placeholder { min-height: 290px; }
  .contact-form { padding: 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
