/* Reset & base */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    'Montserrat',
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    'Apple Color Emoji',
    'Segoe UI Emoji';
  color: #212529;
  /* Nagy felbontású lyukacsos sajt háttér, lágy fedőréteggel az olvashatóságért */
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 247, 230, 0.92) 0%,
      rgba(255, 250, 240, 0.94) 40%,
      rgba(255, 253, 250, 0.96) 100%
    ),
    url('https://images.unsplash.com/photo-1543352634-8731ee3738a0?auto=format&fit=crop&w=1920&h=1080&q=90');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Layout */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}
.muted {
  color: #6c757d;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(90deg, #ffe8b5, #ffd59e);
  border-bottom: 1px solid #f0e0c8;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.brand .logo {
  font-size: 1.4rem;
}
.title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  color: #4a2b0f;
}
.nav {
  display: flex;
  gap: 1rem;
}
.nav a {
  color: #4a2b0f;
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover {
  color: #7a4b16;
}

/* Notice bar */
.notice {
  background: linear-gradient(90deg, #fff2c6, #fffbde);
  border-bottom: 1px solid #eed9a5;
  color: #4a2b0f;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04) inset,
    0 4px 12px rgba(0, 0, 0, 0.06);
}
.notice .container {
  padding: 0.55rem 0;
  font-weight: 600;
  text-align: center;
}

/* About / Cover */
.about {
  padding: 2rem 0 1rem;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.cover-media {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  max-height: clamp(280px, 40vw, 520px);
}
.cover-media img {
  width: auto;
  height: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  margin: 0 0 0.5rem;
}
.about-text p {
  line-height: 1.7;
  margin: 0;
}

/* Gallery */
.gallery-section {
  padding: 3rem 0 2rem;
}
.gallery-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin: 0 0 0.2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #efe3cf;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.gallery-item:focus-visible {
  outline: 3px solid #9c6b2f;
  outline-offset: 2px;
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Pager */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.pager-btn {
  background: #fff3cd;
  color: #4a2b0f;
  border: 1px solid #ffe2a6;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-weight: 700;
}
.pager-btn:hover {
  background: #ffe8a6;
}
.pager-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.pager-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #e0caa0;
  cursor: pointer;
}
.pager-dots button[aria-current='true'] {
  background: #7a4b16;
  width: 10px;
  height: 10px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox[aria-hidden='false'] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px 20px;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 100px);
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: #fff3cd;
  border: 0;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #4a2b0f;
  z-index: 2;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 0;
  border-radius: 10px;
  padding: 0.2rem 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #4a2b0f;
  z-index: 2;
}
.lightbox-nav.prev {
  left: 10px;
}
.lightbox-nav.next {
  right: 10px;
}
.lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  will-change: transform;
}
.lightbox-tools {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.lightbox-tools button {
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-weight: 700;
  color: #4a2b0f;
}

/* Contact + Map */
.contact-section {
  padding: 2rem 0 3rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact-info {
  background: rgba(255, 243, 205, 0.6); /* finom, egységes kiemelés */
  border: 1px solid #ffe2a6;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.05rem;
}
.contact-info p {
  margin: 0.2rem 0;
}
.map-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #efe3cf;
}
.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* Hours line now matches the unified card style */
.contact-info .hours {
  margin-top: 0.5rem;
  color: #4a2b0f;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid #f0e7d6;
  padding: 1rem 0;
  color: #6c757d;
  font-size: 0.95rem;
  background: #fffaf0;
}
.site-footer .container {
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .about .container {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
