:root {
  --bg: #f7f0e8;
  --bg-deep: #e9dccd;
  --surface: rgba(255, 251, 246, 0.8);
  --surface-strong: #fffaf6;
  --ink: #2b211d;
  --muted: #6e5c55;
  --accent: #a85b62;
  --accent-deep: #7d3f48;
  --accent-soft: #efd6d0;
  --gold: #c39a5b;
  --sage: #dce4da;
  --cocoa: #6c5145;
  --line: rgba(58, 37, 30, 0.1);
  --shadow-soft: 0 24px 70px rgba(99, 64, 48, 0.12);
  --shadow-card: 0 18px 40px rgba(74, 49, 37, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f2e7dc;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(120deg, rgba(255, 251, 246, 0.94) 0%, rgba(248, 238, 227, 0.78) 42%, rgba(244, 232, 219, 0.9) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 34%),
    repeating-linear-gradient(90deg, rgba(125, 63, 72, 0.035) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(195, 154, 91, 0.032) 0 1px, transparent 1px 88px);
  background-attachment: fixed;
  font-family: "Manrope", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(168, 91, 98, 0.1), transparent 34%),
    linear-gradient(280deg, rgba(220, 228, 218, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.52), rgba(235, 221, 207, 0.28));
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 46%, rgba(0, 0, 0, 0.62) 100%);
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: min(52vw, 44rem);
  height: min(72vh, 42rem);
  filter: blur(58px);
  opacity: 0.42;
  pointer-events: none;
}

.page-glow-left {
  top: -18rem;
  left: -24rem;
  background: linear-gradient(135deg, rgba(232, 189, 177, 0.5), rgba(255, 250, 245, 0));
}

.page-glow-right {
  right: -26rem;
  top: 10rem;
  background: linear-gradient(225deg, rgba(208, 221, 206, 0.46), rgba(255, 250, 245, 0));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px auto 0;
  width: min(1240px, calc(100% - 32px));
  padding: 14px 18px;
  background: rgba(255, 250, 245, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-brand-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(58, 37, 30, 0.08);
  box-shadow: 0 10px 24px rgba(74, 49, 37, 0.08);
}

.nav-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.nav-brand strong,
.nav-brand small {
  display: block;
}

.nav-brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.nav-brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-deep);
  background: rgba(168, 91, 98, 0.1);
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

.hero,
.section {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 44px);
  padding-right: clamp(20px, 5vw, 44px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.97;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-text,
.copy-block,
.dessert-card p,
.feature-card p,
.contact-panel p,
.gallery-quote p,
.intro-card p,
.hero-note p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 590px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffaf6;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 30px rgba(125, 63, 72, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 250, 245, 0.72);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  padding-bottom: 54px;
}

.hero-media {
  margin: 0;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: -16px;
  bottom: 0;
  max-width: 280px;
  padding: 22px 24px;
  background: rgba(255, 250, 245, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.hero-note-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note-title {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section + .section {
  border-top: 1px solid rgba(78, 52, 41, 0.08);
}

.section-heading {
  margin-bottom: 34px;
}

.split-heading,
.story-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(22px, 4vw, 56px);
}

.intro-card,
.feature-card,
.dessert-card,
.gallery-tile,
.gallery-quote,
.order-steps li,
.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.intro-card {
  align-self: end;
  padding: 28px;
  border-radius: 26px;
}

.story-grid {
  align-items: start;
}

.copy-block {
  font-size: 1.05rem;
}

.feature-stack {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 24px 24px 26px;
  border-radius: 26px;
}

.feature-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dessert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dessert-card {
  padding: 28px;
  border-radius: 28px;
}

.dessert-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.85fr;
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-photo,
.gallery-tile,
.gallery-quote {
  border-radius: 30px;
  overflow: hidden;
}

.gallery-photo-large {
  grid-row: span 2;
}

.gallery-trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
}

.gallery-trigger img,
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-trigger {
  position: relative;
  transition: transform 180ms ease;
}

.gallery-trigger::after {
  content: "Nagyítás";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: #fffaf6;
  background: rgba(43, 33, 29, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
  transform: scale(1.02);
}

.gallery-trigger:hover::after,
.gallery-trigger:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-trigger:focus-visible {
  outline: 3px solid rgba(168, 91, 98, 0.35);
  outline-offset: -3px;
}

.gallery-tile,
.gallery-quote {
  padding: 24px;
}

.gallery-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-tile strong,
.gallery-tile span {
  display: block;
}

.gallery-tile strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 0.95;
}

.gallery-tile span {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.gallery-tile.blush {
  color: #fff9f7;
  background: linear-gradient(160deg, #c97980 0%, #9f545b 100%);
}

.gallery-tile.pearl {
  color: var(--ink);
  background: linear-gradient(160deg, #f3ede5 0%, #e1d6c7 100%);
}

.gallery-tile.cocoa {
  color: #fff8f5;
  background: linear-gradient(160deg, #866557 0%, #61463b 100%);
}

.gallery-quote {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.9) 0%, rgba(244, 233, 224, 0.86) 100%);
}

.gallery-quote p {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 24, 21, 0.72);
  backdrop-filter: blur(10px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  padding: 56px 20px 20px;
  background: rgba(255, 248, 242, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(23, 15, 12, 0.26);
  backdrop-filter: blur(18px);
}

.gallery-modal-meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.gallery-modal-image {
  width: 100%;
  max-height: calc(100vh - 88px);
  border-radius: 24px;
  object-fit: contain;
}

.gallery-modal-nav,
.gallery-modal-close {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(58, 37, 30, 0.12);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-modal-close {
  top: 10px;
  right: 10px;
}

.gallery-modal-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.gallery-modal-prev {
  left: 10px;
}

.gallery-modal-next {
  right: 10px;
}

.contact-panel {
  padding: 30px;
  border-radius: 30px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, #476dc0 0%, #3558a2 100%);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.facebook-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-panel a:not(.facebook-link) {
  color: var(--accent-deep);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero,
  .split-heading,
  .story-grid,
  .contact-section,
  .dessert-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .hero-note {
    right: 16px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-photo-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .nav {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  .nav-brand {
    width: 100%;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .hero-note {
    position: relative;
    right: auto;
    margin-top: -36px;
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 320px;
    border-radius: 24px;
  }

  .hero-note,
  .intro-card,
  .feature-card,
  .dessert-card,
  .gallery-tile,
  .gallery-quote,
  .contact-panel {
    border-radius: 22px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-photo-large {
    grid-column: auto;
  }

  .gallery-photo-large,
  .gallery-photo img {
    min-height: 240px;
  }

  .gallery-tile,
  .gallery-quote {
    min-height: 180px;
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-dialog {
    padding: 14px;
    border-radius: 24px;
  }

  .gallery-modal-meta {
    padding-top: 32px;
  }

  .gallery-modal-image {
    border-radius: 18px;
  }

  .gallery-modal-nav {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 14px;
    transform: none;
    font-size: 1.6rem;
  }

  .gallery-modal-prev {
    left: 14px;
  }

  .gallery-modal-next {
    right: 14px;
  }
}
