/* Wang Mester Kínai Konyhája — önálló weboldal
   Színek és betűtípusok az eredeti Shopify oldal alapján */

@import url('https://fonts.googleapis.com/css2?family=Ovo&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --red: #b71728;
  --red-dark: #8f1220;
  --cream: #faf6f0;
  --text: #2a231f;
  --text-soft: #5a4f49;
  --border: #e7ddd3;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .brand {
  font-family: 'Ovo', serif;
  font-weight: 400;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--red);
  color: #fff;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px 14px;
  position: relative;
}

.header-top .logo-mark {
  height: 54px;
  width: auto;
}

.header-top .socials {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 14px;
}

.header-top .socials a {
  color: #fff;
  opacity: 0.85;
  font-size: 18px;
}
.header-top .socials a:hover { opacity: 1; }

.lang-switch {
  position: absolute;
  top: 10px;
  left: 24px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.lang-switch a, .lang-switch span {
  color: #fff;
  opacity: 0.65;
  padding: 2px 4px;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch .current { opacity: 1; font-weight: 600; border-bottom: 1px solid #fff; }
.lang-switch .sep { opacity: 0.5; padding: 0; }

nav.main-nav {
  border-top: 1px solid rgba(255,255,255,0.25);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 14px 24px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  border-bottom-color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 8, 0.38);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.hero-inner .brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-inner .brand-line img {
  height: clamp(30px, 4vw, 44px);
  width: auto;
}

.hero-inner .brand-sub {
  margin-top: 8px;
  font-family: 'Ovo', serif;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.92;
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; }

.notice {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.notice h1 { font-size: 30px; margin-bottom: 18px; }
.notice p { color: var(--text-soft); margin: 0 0 14px; }
.notice strong { color: var(--red); }

.philosophy {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(80, 30, 20, 0.06);
}

.philosophy img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--red);
}

.philosophy h2 {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

.philosophy blockquote {
  margin: 20px 0 6px;
  font-family: 'Ovo', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--text);
  border-left: 3px solid var(--red);
  padding-left: 18px;
}

.philosophy .signee {
  font-size: 14px;
  color: var(--text-soft);
}
.philosophy .signee b { display: block; color: var(--text); font-family: 'Ovo', serif; font-size: 17px; }

.more-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
}

/* Contact strip */
.contact-strip {
  background: var(--red);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.contact-grid .icon { font-size: 26px; margin-bottom: 10px; }
.contact-grid h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0.85;
}
.contact-grid p { margin: 0; }
.contact-grid a { text-decoration: underline; }

/* Page header banner (subpages) */
.page-banner {
  text-align: center;
  padding: 56px 0 20px;
}
.page-banner h1 {
  font-size: 34px;
  color: var(--red);
}
.page-banner .deco {
  color: var(--red);
  letter-spacing: 0.3em;
  font-size: 13px;
}

/* Menu cards */
.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.menu-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(80, 30, 20, 0.08);
  display: flex;
  flex-direction: column;
}
.menu-card img {
  height: 280px;
  object-fit: cover;
}
.menu-card .body {
  padding: 24px;
  text-align: center;
}
.menu-card h3 {
  font-size: 20px;
  margin: 0 0 6px;
}
.menu-card p.addr {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0 0 18px;
}
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--red-dark); }

/* About page */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-intro img {
  border-radius: 14px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-intro h1 { font-size: 32px; margin-bottom: 18px; }
.about-intro p b { color: var(--red); }

.about-story {
  position: relative;
  padding: 70px 0;
  background-size: cover;
  background-position: center;
}
.about-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,10,8,0.55);
}
.about-story .story-box {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-soft);
}
.about-story .story-box p { margin: 0 0 14px; }

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  margin-bottom: 50px;
}
.contact-page-grid .icon { font-size: 26px; color: var(--red); margin-bottom: 10px; }
.contact-page-grid h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--text-soft);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(80, 30, 20, 0.08);
}
.contact-form p.lead {
  margin: 0 0 24px;
  text-align: center;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.contact-form textarea { min-height: 120px; resize: vertical; margin-bottom: 16px;}
.contact-form .full { grid-column: 1 / -1; }
.contact-form .mailto-fallback {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Locations map */
.locations-section { padding-top: 10px; }
.locations-section .page-banner { padding: 0 0 30px; }
.locations-wrap {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(80, 30, 20, 0.1);
  border: 1px solid var(--border);
  background: #fff;
  height: 560px;
}
.locations-sidebar {
  width: 320px;
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.locations-search { padding: 16px; border-bottom: 1px solid var(--border); }
.locations-search input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  background: var(--cream);
}
.locations-search input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.locations-list { overflow-y: auto; flex: 1; }
.location-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.location-item:hover, .location-item.active { background: var(--cream); }
.location-item h4 {
  margin: 0 0 4px;
  font-family: 'Ovo', serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--text);
}
.location-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}
#locations-map { flex: 1; }
.map-popup { font-family: 'Instrument Sans', sans-serif; min-width: 220px; }
.map-popup img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}
.map-popup h4 {
  font-family: 'Ovo', serif;
  font-weight: 400;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--red);
}
.map-popup p { margin: 0 0 4px; font-size: 13px; line-height: 1.4; }
.map-popup a { color: var(--red); text-decoration: underline; }

@media (max-width: 860px) {
  .locations-wrap { flex-direction: column; height: auto; }
  .locations-sidebar { width: 100%; flex: none; border-right: none; border-bottom: 1px solid var(--border); }
  .locations-list { max-height: 220px; }
  #locations-map { height: 360px; }
}

/* Footer */
footer.site-footer {
  background: #241713;
  color: #e9ddd3;
  padding: 40px 0 24px;
  text-align: center;
  font-size: 14px;
}
footer.site-footer .socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 20px;
}
footer.site-footer a:hover { color: #fff; }
footer.site-footer .copy { opacity: 0.6; margin-top: 10px; font-size: 13px; }

/* Responsive */
@media (max-width: 860px) {
  .philosophy { grid-template-columns: 1fr; text-align: center; }
  .philosophy img { width: 160px; margin: 0 auto; }
  .philosophy blockquote { text-align: left; }
  .contact-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 34px; }
  .menu-cards { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro img { max-width: 320px; margin: 0 auto; }
  .contact-form .row { grid-template-columns: 1fr; }
  nav.main-nav ul { gap: 22px; }
}
