/* Kávéház — teszt landing page */
:root {
  --dark: #2b1a12;
  --coffee: #6f4e37;
  --caramel: #d4a574;
  --cream: #f5efe6;
  --white: #ffffff;
  --muted: #7a6a5d;
  --shadow: 0 10px 30px rgba(43, 26, 18, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }

img { display: block; width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

.eyebrow, .hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--coffee);
  margin-bottom: 0.5rem;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(43, 26, 18, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--cream); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--caramel); }

.btn {
  display: inline-block; padding: 12px 28px;
  border-radius: 6px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 8px 18px; font-size: 0.85rem; }
.btn-light { background: var(--caramel); color: var(--dark); }
.btn-light:hover { background: #e0b98e; }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: var(--coffee); }
.btn-outline { border: 2px solid var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: url('../images/hero.jpg') center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(43, 26, 18, 0.55); }
.hero-content { position: relative; color: var(--cream); padding: 0 24px; max-width: 720px; }
.hero-eyebrow { color: var(--caramel); }
.hero h1 { font-size: 3.4rem; margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: rgba(245, 239, 230, 0.9); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- RÓLUNK ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { border-radius: 12px; box-shadow: var(--shadow); }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-stats { display: flex; gap: 40px; margin-top: 1.5rem; }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--coffee); }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ---------- MENÜ ---------- */
.section-head { text-align: center; margin-bottom: 48px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s;
}
.card:hover { transform: translateY(-6px); }
.card img { height: 200px; object-fit: cover; }
.card-body { padding: 20px 24px 26px; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.card-title h3 { font-size: 1.25rem; }
.price { color: var(--coffee); font-weight: 700; font-size: 1.05rem; }
.card-body p { color: var(--muted); font-size: 0.92rem; }

/* ---------- GALÉRIA ---------- */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-grid img { border-radius: 12px; box-shadow: var(--shadow); height: 260px; object-fit: cover; }

/* ---------- KAPCSOLAT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-addr { margin-bottom: 0.4rem; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.contact-addr svg { flex-shrink: 0; color: var(--coffee); }
.contact-open { margin: 1.5rem 0 0.4rem; font-size: 1.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-size: 0.9rem; font-weight: 600; margin-top: 8px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--caramel); border-color: transparent; }
.contact-form .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- FOOTER ---------- */
.footer { background: var(--dark); color: rgba(245, 239, 230, 0.7); padding: 28px 0; text-align: center; font-size: 0.85rem; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- MOBIL ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: rgba(43, 26, 18, 0.97);
    padding: 20px 24px; gap: 18px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 2.3rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .menu-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}


/* BACK TO TOP */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); background: #fff; color: #d4a574; font-size: 1.2rem; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand { font-weight: 700; font-size: 1.05rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: inherit; text-decoration: none; font-size: .85rem; opacity: .8; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-copy { font-size: .82rem; opacity: .7; }
