:root {
  /* Palette from designer */
  --white: #fefefe;
  --gray: #d8d8d8;
  --dark: #242021;
  --accent: #2175b9;

  /* Derived (safe) */
  --bg: #0f0f0f;          /* main black background */          /* slightly darker than --dark for page background */
  --panel: var(--dark);   /* cards/panels */
  --text: var(--gray);
  --text-strong: var(--white);

    /* Typography */
  /* Adobe Fonts kit provides: font-family: "the-seasons" */
  --font-brand: serif;
  --font-body: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Layout */
  --maxw: 1100px;
  --header-h: 72px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-brand); /* Use The Seasons everywhere */
  line-height: 1.45;
}

a { color: inherit; }
a:hover { color: var(--text-strong); }

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark); /* match .features */
  border-bottom: 2px solid var(--accent);
}
.navbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark {
  height: 48px;   /* increased by 50% (32px → 48px) */
  width: auto;
  display: block;
  border: none;
  border-radius: 0;
}
.brand__text {
  color: var(--text-strong);
  letter-spacing: 0.3px;
  font-family: var(--font-brand);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--accent);
  font-family: var(--font-brand); /* matches design button typography */
  letter-spacing: 0.6px;
}
.btn--primary {
  background: transparent;
  color: var(--text-strong);
}

.burger {
  width: 42px;
  height: 38px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  padding: 8px;
  display: inline-block;
  cursor: pointer;
  position: relative; /* anchor for .mobile-menu dropdown */
}
.burger span {
  display: block;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 999;

  padding: 12px 0;
  display: grid;
  gap: 6px;
  min-width: 220px;

  background: var(--dark);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-brand);
}

/* ensure hidden attribute actually hides it */
.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu a {
  text-decoration: none;
  padding: 10px 16px;
  color: var(--text-strong);
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-menu a:hover {
  background: rgba(33,117,185,0.15);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('TitleBackground.webp');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero__content {
  position: relative;
  padding: 56px 0;
}
.hero__title {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-size: clamp(38px, 4vw, 44px);
  letter-spacing: 1px;
  font-family: var(--font-brand);
  font-weight: inherit;
  text-transform: uppercase;
}
.hero__2title {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 1px;
  font-family: var(--font-brand);
  font-weight: inherit;
}
.hero__subtitle {
  margin: 6px 0;
  color: var(--gray);
  font-size: 18px;
  font-family: var(--font-brand);
  letter-spacing: 0.6px;
}

/* Features */
.features {
  background: var(--dark);
}
.features__list {
  list-style: none;
  margin: 0;
  padding: 26px 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  text-align: center;
  padding: 10px 10px 14px;
}
.feature__icon {
  width: 102px;   /* 78px + 30% */
  height: 68px;   /* 52px + 30% */
  margin: 0 auto 4px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon img {
  max-width: 100%;
  max-height: 100%;
}
.feature__text {
  margin: 0;
  color: var(--text);
  font-family: var(--font-brand);
  letter-spacing: 0.5px;
}

/* Section title */
.section {
  padding: 54px 0;
}
.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
}
.section-title__text {
  margin: 0;
  color: var(--text-strong);
  letter-spacing: 1px;
  font-size: 20px;
  font-family: var(--font-brand);
}
.section-title__line {
  height: 2px;
  background: var(--accent);
  opacity: 0.9;
}
.section-title--tight { margin-bottom: 18px; }

/* Cards */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  border-bottom: 3px var(--accent) solid;
}
.card__media {
  height: 220px;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill area without distortion */
  display: block;
}
.card__body {
  padding: 18px 18px 22px;
}
.card__title {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 18px;
  letter-spacing: 0.8px;
  font-family: var(--font-brand);
}
.card__text {
  margin: 0;
  color: var(--text);
}

/* Program */
.program {
  display: block;
  width: 100%;
}

.program__month {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  color: var(--text-strong);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Layout: label above, table below (aligned right) */
.program__month-row {
  display: flex;
  flex-direction: column;
  align-items: center;   /* center table horizontally */
}

.program__month-label {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 8px;
  font-family: var(--font-brand);
  letter-spacing: 0.8px;
}

.program__month-content {
  width: 80%;        /* table takes 80% of month width */
  margin: 0 auto;    /* center the 80% block */
  display: block;
}

.program__table {
  width: 100%;       /* fill program__month-content completely */
  display: block;
}

.program__list {
  display: grid;
  gap: 8px;
  width: 100%;
}

.program__row {
  display: grid;
  grid-template-columns: 84px 1fr 84px;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.program__date {
  color: var(--accent);
  text-align: left;
}

.program__event {
  color: var(--text);
  text-align: left;
  flex-grow: 1;
}

.program__time {
  color: var(--text);
  text-align: right;
}

/* Gallery */
.carousel {
  display: grid;
  grid-template-columns: 88px 1fr 88px; /* double button space */
  align-items: center;
  gap: 12px;
}
.carousel__btn {
  height: 88px;
  width: 88px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 48px; /* larger arrow */
  cursor: pointer;
}
.carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px;
}
.thumb {
  flex: 0 0 220px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reservation */
#rezervace { scroll-margin-top: calc(var(--header-h) + 16px); }

.reservation {
  text-align: left;   /* align text to left */
}

/* keep email centered */
.reservation__email {
  text-align: center;
}
.reservation__text {
  margin: 0 0 18px 10%;   /* push 10% from left */
}
.reservation__email {
  margin: 10px 0 22px;
  font-size: 26px;
  color: var(--text-strong);
  font-family: var(--font-brand);
  letter-spacing: 0.6px;
}
.reservation__email a {
  text-decoration: none;
}
.reservation__phone {
  margin-left: 10%;
  color: var(--text);
}

/* Section background overrides */
#program,
#rezervace {
  background: var(--dark);
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 54px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.address {
  text-align: center;
  font-style: normal;
  color: var(--text);
  margin: 18px 0 18px;
}
.fineprint {
  text-align: center;
  color: rgba(254,254,254,0.65);
  margin: 0;
  font-size: 13px;
}

/* Placeholders */
.placeholder {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 760px) {
  .features__list { grid-template-columns: 1fr; }
  .burger { display: inline-block; }
  .btn--primary { padding: 8px 12px; }
  .program__month-label { width: 100%; }
  .program__month { width: 100%; }
  .program__month-content { width: 100%; }
}
