@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Lato:wght@300;400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:        #f9f2ec;
  --dark:         #2c1a0e;
  --mid:          #7a5235;
  --light-border: #c8a882;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Lato', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow: scroll;
}

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

/* ─── HAMBURGER BUTTON ──────────────────────────────────── */

.menu-btn {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.menu-btn.open span { background: var(--cream); }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── NAV OVERLAY ───────────────────────────────────────── */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 15, 6, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay nav {
  text-align: center;
}

.nav-overlay nav a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  margin: 0.5rem 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}

.nav-overlay.open nav a {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.open nav a:nth-child(1) { transition-delay: 0.06s; }
.nav-overlay.open nav a:nth-child(2) { transition-delay: 0.12s; }
.nav-overlay.open nav a:nth-child(3) { transition-delay: 0.18s; }
.nav-overlay.open nav a:nth-child(4) { transition-delay: 0.24s; }

.nav-overlay nav a:hover { color: var(--light-border); }
.nav-overlay nav a.active { color: var(--light-border); }

.nav-divider {
  width: 40px;
  height: 1px;
  background: var(--light-border);
  margin: 0.8rem auto;
  opacity: 0.5;
}

/* ─── DESKTOP NAV ───────────────────────────────────────── */

.desktop-nav {
  display: none;
}

@media (min-width: 641px) {
  .menu-btn      { display: none; }

  .desktop-nav {
    display: flex;
    justify-content: center;
    gap: 2.8rem;
    padding: 0.4rem 1rem 1.6rem;
  }

  .desktop-nav a {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: 0.13em;
    color: var(--dark);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .desktop-nav a:hover {
    border-bottom-color: var(--light-border);
  }

  .desktop-nav a.selected {
    border-bottom-color: var(--dark);
  }
}

/* ─── PAGE HEADER ───────────────────────────────────────── */

.page-header {
  text-align: center;
  padding: 3.5rem 1rem 1.5rem;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-subtitle {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--mid);
  margin-top: 0.5rem;
  font-weight: 700;
}

/* ─── ORNAMENT DIVIDER ──────────────────────────────────── */

.ornament {
  text-align: center;
  margin: 2.5rem auto;
  color: var(--mid);
  line-height: 0;
  opacity: 0.8;
}

.ornament img {
  display: inline-block;
  min-width:400px;
  width: 40%;
}

/* ─── HERO ──────────────────────────────────────────────── */

.hero {
  position: relative;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  overflow: hidden;
  cursor: zoom-in;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.hero-overlay {
  position: absolute;
  inset: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.hero-overlay .brand-title  { color: #fff; }
.hero-overlay .brand-subtitle { color: rgba(255,255,255,0.85); }

/* ─── INTRO TEXT ────────────────────────────────────────── */

.intro-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.85;
}

/* ─── 3-COL GRID ────────────────────────────────────────── */

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  max-width: 880px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  justify-content: center;
}

.grid-3 .card {
  flex: 1 1 240px;
  max-width: 300px;
  text-align: center;
  
  border: #aa9295 1px solid;
  border-radius: 10px;
  padding-bottom: 20px;
}

.grid-3 .card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.35s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.grid-3 .card img:hover { transform: scale(1.03); }

.grid-3 .card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 900;
  margin: 0.8rem 0 0.35rem;
  letter-spacing: 0.04em;
}

.grid-3 .card p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.6;
  margin-left: 10px;
  margin-right: 10px;
}



/* ─── 4-COL GRID ────────────────────────────────────────── */

.grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  max-width: 920px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  justify-content: center;
}

.grid-4 .card {
  flex: 1 1 200px;
  max-width: 200px;
  text-align: center;
  
  border: #aa9295 1px solid;
  border-radius: 10px;
  
}

.grid-4 .card img {
  width: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.35s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  aspect-ratio: 0.919;
}

.grid-4 .card img:hover { transform: scale(1.03); }

.grid-4 .card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 900;
  margin: 0.8rem 0 0.35rem;
  letter-spacing: 0.04em;
}

.grid-4 .card p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.6;
  margin-left: 10px;
  margin-right: 10px;
}




/* ─── BOTTOM CTA ────────────────────────────────────────── */

.bottom-cta {
  text-align: center;
  padding: 1.5rem 1rem 4rem;
}

.bottom-cta p {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.8rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  text-decoration: none;
  padding: 0.65rem 2.2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--dark);
  color: var(--cream);
}

/* ─── ABOUT PAGE ────────────────────────────────────────── */

.about-split {
  display: flex;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}


.about-photo {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;  
}

.about-photo img {
  width: 400px;
  display: block;
  cursor: zoom-in;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

.about-text {
  flex: 1 1 280px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.about-text p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* ─── PRODUCTS PAGE ─────────────────────────────────────── */

/* Termékfotó-galéria: 4 oszlop, 4:3 arány, keret nélkül */
.termek-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  max-width: 1040px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.termek-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform 0.35s ease;
  border-radius: 20px;
}

.termek-grid img:hover {
  transform: scale(1.03);
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--mid);
  margin: 1.5rem 0 0.7rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 2rem 0 1.2rem;
  border-bottom: 1.5px solid var(--light-border);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  
  border-radius: 20px;
  border: 1px solid var(--light-border);
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  justify-content: center;
}

.product-card {
  flex: 1 1 240px;
  max-width: 280px;
  text-align: center;
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.product-card img:hover { transform: scale(1.03); }

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0.7rem 0 0.25rem;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--mid);
}

/* ─── CONTACT PAGE ──────────────────────────────────────── */

.contact-section {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.contact-intro {
  text-align: center;
  font-weight: 900;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 2.5rem;
  line-height: 2;
}

.contact-details a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--light-border);
  transition: border-color 0.2s;
}

.contact-details a:hover { border-color: var(--dark); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--mid);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--light-border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
  appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--dark);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  align-self: center;
  margin-top: 0.5rem;
}

/* ─── LIGHTBOX ──────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  transform: scale(0.9);
  transition: transform 0.22s ease;
  cursor: default;
  user-select: none;
}

.lightbox.open img {
  transform: scale(1);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */

@media (max-width: 640px) {
  .brand-title         { font-size: 2.2rem; }
  .nav-overlay nav a   { font-size: 2rem; }

  .grid-3 .card        { flex: 1 1 100%; max-width: 100%; }
  .grid-3 .card img    { aspect-ratio: 3 / 2; }

  .about-split         { flex-direction: column; }
  .about-photo         { max-width: 100%; }

  .product-card        { flex: 1 1 100%; max-width: 100%; }
  .product-card img    { aspect-ratio: 4 / 3; }

  .termek-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .page-header         { padding-top: 2.5rem; }
  .brand-title         { font-size: 1.8rem; letter-spacing: 0.18em; }
}
