:root {
  --bg: #f3eee4;
  --bg-alt: rgba(233, 224, 209, 0.78);
  --surface: rgba(255, 252, 246, 0.88);
  --surface-strong: rgba(255, 250, 241, 0.92);
  --text: #223027;
  --muted: #5d6d61;
  --green: #233d31;
  --green-soft: #365444;
  --accent: #b98547;
  --line: rgba(36, 63, 50, 0.14);
  --shadow: 0 20px 60px rgba(25, 41, 32, 0.16);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(243,238,228,0.42), rgba(243,238,228,0.42)),
    url("images/podlaha_cafe-small.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.58;
  font-size: 16px;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(111,156,122,0.12), transparent 28%),
    radial-gradient(circle at right 12%, rgba(185,133,71,0.10), transparent 24%),
    rgba(20,18,15,0.10);
  pointer-events: none;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), #466a57);
  color: #fff;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.logo-mark {
  width: 90px;
  height: 90px;
  margin: 9px 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--green);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LANGUAGE SWITCH */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.lang-link {
  color: inherit;
  text-decoration: none;
  opacity: .65;
  transition: opacity .2s ease;
}

.lang-link:hover,
.lang-link.active {
  opacity: 1;
}

.lang-switch span {
  opacity: .35;
}

/* SOCIAL ICONS */

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(35, 61, 49, 0.08);
  color: var(--green);
  transition: background .2s ease, transform .2s ease, color .2s ease;
}

.social-icon:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* BUTTONS */

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.015em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn {
  min-height: 48px;
  padding: 0 20px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}

/* HERO */

.hero {
  padding: 28px 0 18px;
}

.hero-stage {
  min-height: 720px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(16,22,18,0), rgba(16,22,18,0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 54px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) 245px;
  gap: 30px;
  align-items: end;
}

.section-label {
  margin: 0 0 14px;
  color: #ebcfaa;
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label.dark {
  color: var(--accent);
}

.hero-copy h1,
.content-section h2 {
  margin: 0;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.075em;
}

.hero-copy h1 {
  color: #fffaf1;
  font-size: clamp(3.3rem, 8vw, 7rem);
  max-width: 11ch;
  margin-bottom: 22px;
}

.content-section h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  margin-bottom: 20px;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.55;
  color: rgba(255,248,238,0.90);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-side {
  display: grid;
  gap: 10px;
  max-width: 245px;
  justify-self: end;
}

/* PANELS / CARDS */

.info-panel,
.menu-card,
.plain-card,
.program-box,
.gallery-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel {
  padding: 12px 15px;
  background: rgba(255,251,244,0.80);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(8px);
}

.info-panel h2,
.menu-card h3,
.plain-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.info-panel h2 {
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.info-panel p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.info-panel p,
.section-intro,
.program-box p,
.plain-card p,
.menu-card li {
  color: var(--muted);
}

.info-panel a,
.plain-card a {
  color: var(--green);
  font-weight: 800;
}

/* HERO STRIP */

.hero-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.hero-tile {
  min-height: 230px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,19,16,0.08), rgba(13,19,16,0.58));
}

.hero-tile > div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}

.hero-tile strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 4px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

/* CONTENT SECTIONS */

.content-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 40px auto;
  padding: 78px 0;
  background: rgba(255,252,246,0.88);
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.content-section.alt {
  background: rgba(233,224,209,0.82);
}

.section-intro {
  max-width: 64ch;
  font-size: 1.02rem;
  line-height: 1.65;
}

.two-col {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: stretch;
}

/* MENU PHOTO */

.menu-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 28px 0 24px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* GALLERY CARDS */

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

.gallery-card {
  min-height: 320px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 24px;
  color: #fff;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,20,16,0.04), rgba(14,20,16,0.72));
}

.gallery-card > div {
  position: relative;
  z-index: 1;
}

/* PHOTO GALLERY */

.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.gallery-photos {
  width: 100%;
}

.gallery-large {
  width: 100%;
}

.gallery-row img,
.gallery-large img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* MENU + CONTACT */

.menu-columns,
.contact-boxes {
  display: grid;
  gap: 18px;
}

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

.menu-card,
.plain-card,
.program-box {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 26px;
  backdrop-filter: blur(8px);
}

.menu-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.menu-card li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.program-box {
  display: grid;
  gap: 18px;
  justify-items: start;
}

/* FULL PHOTO */

.full-photo-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 40px auto;
  padding: 0;
}

.full-photo-section .container {
  width: 100%;
}

.full-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.full-photo img {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* CONTACT PHOTO */

.contact-photo {
  width: 100%;
  height: 100%;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* MAP BUTTON */

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  margin-right: 10px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease;
}

.map-link:hover {
  background: var(--green-soft);
  color: #fff !important;
  transform: translateY(-1px);
}

/* FOOTER */

.site-footer {
  margin: 40px 0 0;
  padding: 26px 0 40px;
}

.footer-inner {
  border-top: 1px solid rgba(255,255,255,0.35);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: #fffaf1;
  font-size: 0.94rem;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .header-inner,
  .hero-content,
  .hero-strip,
  .two-col,
  .menu-columns,
  .gallery-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 16px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-content {
    padding: 42px;
  }

  .hero-side {
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .contact-photo img {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .content-section {
    width: min(calc(100% - 20px), var(--max));
    margin: 22px auto;
    padding: 56px 0;
    border-radius: 18px;
  }

  .site-footer {
    margin: 40px 0 0;
    padding: 26px 0 40px;
  }

  .hero-content,
  .menu-card,
  .plain-card,
  .program-box,
  .gallery-card {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .hero-stage {
    min-height: 680px;
    border-radius: 16px;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero-tile,
  .gallery-card,
  .contact-photo img,
  .gallery-row img,
  .gallery-large img {
    border-radius: 16px;
  }

  .header-socials {
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    width: 100%;
  }

  .full-photo-section {
    width: min(calc(100% - 20px), var(--max));
    margin: 22px auto;
  }

  .full-photo {
    border-radius: 18px;
  }

  .full-photo img {
    height: 420px;
    min-height: 420px;
  }
}
/* COMPACT MOBILE HEADER */

@media (max-width: 640px) {
  .header-inner {
    min-height: auto;
    padding: 8px 0;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .logo-mark,
  .brand-mark {
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .brand-text strong {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .main-nav {
    display: none;
  }

  .header-socials {
    width: auto;
    gap: 8px;
    justify-content: flex-end;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-icon svg {
    width: 15px;
    height: 15px;
  }

  .header-cta {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }
}

/* LANDSCAPE MOBILE HEADER */

@media (max-width: 980px) and (orientation: landscape) {

  .header-inner {
    min-height: 46px !important;
    padding: 4px 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .brand {
    gap: 8px !important;
  }

  .logo-mark,
  .brand-mark {
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }

  .brand-text strong {
    font-size: 0.62rem !important;
    line-height: 1 !important;
  }

  .main-nav {
    display: none !important;
  }

  .header-socials {
    width: auto !important;
    gap: 6px !important;
    justify-content: flex-end !important;
  }

  .social-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .social-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .header-cta {
    display: none !important;
  }

  .lang-switch {
    margin-left: auto !important;
    font-size: 0.68rem !important;
  }

  .hero {
    padding-top: 12px !important;
  }

  .hero-stage {
    min-height: calc(100vh - 58px) !important;
  }

  .hero-content {
    padding: 24px !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hero-side {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;

    justify-self: stretch !important;
    align-items: stretch !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 9vw, 4.2rem) !important;
    margin-bottom: 12px !important;
  }

  .hero-text {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .hero-actions {
    margin-top: 16px !important;
  }

  .btn {
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 0.82rem !important;
  }

  .info-panel {
    min-height: 92px !important;
    padding: 12px 14px !important;
  }

  .info-panel h2 {
    font-size: 0.78rem !important;
    margin-bottom: 6px !important;
  }

  .info-panel p {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }
}