/* Silesia Grand Club — unique styles */
:root {
  --bg: #f7f5f1;
  --bg-alt: #efebe3;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a453c;
  --muted: #7a7368;
  --line: #d9d2c5;
  --green: #0d3b2e;
  --green-deep: #08261e;
  --gold: #a67c2d;
  --gold-soft: #c4a35a;
  --danger: #8b1e1e;
  --shadow: 0 12px 40px rgba(28, 26, 23, 0.08);
  --radius: 4px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top left, rgba(166, 124, 45, 0.06), transparent 45%),
    linear-gradient(180deg, #fbf9f6 0%, var(--bg) 40%, var(--bg-alt) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-deep);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green-deep);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
  background: rgba(13, 59, 46, 0.06);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  color: #fff;
  background: var(--green);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--green-deep);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-dropdown > button:hover,
.nav-dropdown.open > button {
  color: var(--green);
  background: rgba(13, 59, 46, 0.06);
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.4rem;
  z-index: 20;
}

.nav-dropdown.open .dropdown-panel {
  display: grid;
}

.dropdown-panel a {
  display: block;
  padding: 0.65rem 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: #f7f5f1;
}

.btn-primary:hover {
  background: var(--green-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: #fff;
}

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

.btn-gold:hover {
  background: #8d6824;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #f7f5f1;
  border-color: var(--gold-soft);
}

.btn-ghost:hover {
  background: rgba(247, 245, 241, 0.1);
  color: #fff;
  border-color: #f7f5f1;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f5f1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 38, 30, 0.88) 0%, rgba(8, 38, 30, 0.55) 48%, rgba(8, 38, 30, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8, 38, 30, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0;
  max-width: 680px;
}

.hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  color: #f7f5f1;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(247, 245, 241, 0.88);
  font-size: 1.05rem;
  max-width: 34rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head p {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.info-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 0.25rem;
}

.info-list a {
  text-decoration: none;
  font-weight: 600;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.hours-table th {
  font-weight: 600;
  color: var(--ink);
  width: 45%;
}

.cta-band {
  background: var(--green-deep);
  color: #f7f5f1;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cta-band h2 {
  color: #f7f5f1;
}

.cta-band p {
  color: rgba(247, 245, 241, 0.85);
  max-width: 36rem;
}

.locations {
  display: grid;
  gap: 1rem;
}

.location-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.location-item h3 {
  margin-bottom: 0.35rem;
}

.location-item p {
  margin: 0;
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 0;
  font: inherit;
  font-weight: 600;
  color: var(--green-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.accordion-trigger span {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-trigger span {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
}

.accordion-item.open .accordion-panel {
  display: block;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(13, 59, 46, 0.35);
  border-color: var(--green);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(13, 59, 46, 0.08);
  border: 1px solid rgba(13, 59, 46, 0.2);
  color: var(--green-deep);
  border-radius: var(--radius);
}

.form-success.visible {
  display: block;
}

.job-list {
  display: grid;
  gap: 1rem;
}

.job-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem;
}

.job-item h3 {
  margin-bottom: 0.4rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* Legal */
.legal {
  max-width: 800px;
}

.legal h2 {
  margin-top: 2rem;
}

.legal ul,
.legal ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 40rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: rgba(247, 245, 241, 0.82);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: #f7f5f1;
  font-size: 1.2rem;
}

.site-footer a {
  color: rgba(247, 245, 241, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 245, 241, 0.15);
  font-size: 0.85rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 0.8rem;
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 38, 30, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.overlay.visible {
  display: flex;
}

.modal {
  width: min(100%, 460px);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.modal p {
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.age-gate .modal {
  text-align: center;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  max-width: 720px;
  margin-inline: auto;
}

.cookie-bar.visible {
  display: block;
}

.cookie-bar p {
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.visit-popup .modal {
  width: min(100%, 420px);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .hero-content {
    animation: rise 0.9s ease both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fbf9f6;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-dropdown .dropdown-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.75rem;
    display: none;
  }

  .nav-dropdown.open .dropdown-panel {
    display: grid;
  }

  .site-header {
    position: relative;
  }

  .site-header.is-open {
    z-index: 200;
  }
}

@media (max-width: 600px) {
  .brand-text {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
