/* Ostatnia Wieczerza w Mediolanie - stylesheet */

:root {
  --ink: #2b2016;
  --parchment: #f6efe0;
  --parchment-deep: #ece0c8;
  --wine: #7a2727;
  --wine-dark: #5c1c1c;
  --gold: #a9812f;
  --gold-light: #cda954;
  --sage: #5c6b4f;
  --muted: #6b5c48;
  --border: #d8c9a3;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  color: var(--wine-dark);
  line-height: 1.25;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2em; }
h2 { font-size: 1.5em; border-bottom: 2px solid var(--border); padding-bottom: 0.3em; }
h3 { font-size: 1.2em; color: var(--wine); }

p { margin: 0 0 1.1em; }

a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

a:hover {
  color: var(--wine-dark);
}

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

@media (max-width: 600px) {
  img {
    max-height: 260px;
    width: 100%;
    object-fit: cover;
  }
}

/* Header */
.site-header {
  background: var(--wine-dark);
  color: var(--parchment);
  padding: 0.9em 1.2em;
}

.site-header .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6em;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
}

.site-header .brand img {
  height: 40px;
  width: auto;
  max-height: 40px;
}

.site-header .brand-text {
  color: var(--parchment);
  font-size: 1.15em;
  font-weight: bold;
  text-decoration: none;
}

.site-nav a {
  color: var(--parchment);
  text-decoration: none;
  margin-left: 1.2em;
  font-size: 0.95em;
  border-bottom: 1px solid transparent;
}

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

/* Hero - full bleed, sibling of main */
.hero {
  position: relative;
  width: 100%;
  min-height: 62vh;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 20, 12, 0.15) 0%, rgba(30, 20, 12, 0.82) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2em 1.2em 2.6em;
  color: #fdf6e8;
}

.hero-inner h1 {
  color: #fdf6e8;
  font-size: 2.3em;
  margin: 0 0 0.35em;
}

.hero-inner p {
  font-size: 1.15em;
  max-width: 640px;
  margin-bottom: 1.2em;
}

/* CTA buttons */
.cta-button {
  display: inline-block;
  background: var(--wine);
  color: #fdf6e8;
  padding: 0.75em 1.6em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--gold-light);
  font-size: 1.05em;
}

.cta-button:hover {
  background: var(--wine-dark);
  color: #fff;
}

.cta-button.secondary {
  background: transparent;
  color: #fdf6e8;
  border-color: #fdf6e8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.4em 1.2em 1em;
}

.section-image {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 1em 0 1.4em;
}

/* Facts table */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.8em;
  background: #fffaef;
  border: 1px solid var(--border);
}

.facts-table th,
.facts-table td {
  text-align: left;
  padding: 0.7em 0.9em;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.facts-table th {
  width: 32%;
  color: var(--wine-dark);
  background: var(--parchment-deep);
}

@media (max-width: 600px) {
  .facts-table, .facts-table tbody, .facts-table tr, .facts-table th, .facts-table td {
    display: block;
    width: 100%;
  }
  .facts-table tr {
    margin-bottom: 0.6em;
    border: 1px solid var(--border);
  }
  .facts-table th {
    border-bottom: none;
  }
}

/* Pricing table (tickets page) */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.8em;
  background: #fffaef;
  border: 1px solid var(--border);
}

.price-table th,
.price-table td {
  padding: 0.65em 0.8em;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.price-table thead th {
  background: var(--wine);
  color: #fdf6e8;
}

@media (max-width: 600px) {
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    margin-bottom: 0.6em;
    border: 1px solid var(--border);
  }
  .price-table thead {
    display: none;
  }
  .price-table td::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    color: var(--wine-dark);
  }
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
  margin: 1.2em 0 1.8em;
}

.testimonial {
  background: var(--parchment-deep);
  border-left: 4px solid var(--gold);
  padding: 1em 1.2em;
  border-radius: 2px;
}

.testimonial p {
  margin-bottom: 0.5em;
  font-style: italic;
}

.testimonial .author {
  font-style: normal;
  font-weight: bold;
  color: var(--muted);
  font-size: 0.9em;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1em 0;
}

.faq-item h2 {
  border-bottom: none;
  font-size: 1.2em;
  margin-top: 0;
}

/* Entry links block */
.entry-links {
  background: var(--parchment-deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1em 1.3em;
  margin: 1.6em 0;
}

/* Footer */
.site-footer {
  background: var(--wine-dark);
  color: #e9dcc0;
  margin-top: 2.5em;
}

.site-footer .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2em 1.2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
}

.site-footer h3 {
  color: #e9dcc0;
  margin-top: 0;
}

.site-footer a {
  color: #f0dfa8;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .copyright {
  border-top: 1px solid rgba(233, 220, 192, 0.25);
  text-align: center;
  padding: 1em 1.2em;
  font-size: 0.85em;
}
