/* InnovateHubb - Amber Legacy Hall style - Offline Casino */
:root {
  --header-bg: #2c1810;
  --bg-dark: #1a120c;
  --bg-cream: #f5f0e8;
  --bg-card: #ffffff;
  --bg-lounge: #e8e0d5;
  --bg-cta: #2c1810;
  --accent: #c9a962;
  --accent-hover: #d4b872;
  --text-dark: #2c1810;
  --text: #3d2e1f;
  --text-muted: #6b5b4f;
  --border: rgba(201, 169, 98, 0.4);
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", "Inter", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg-cream);
  overflow-x: hidden;
}

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

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

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

/* Header - dark brown */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(201, 169, 98, 0.3);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f5f0e8;
}

.logo-link:hover {
  color: var(--accent);
}

.logo-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.nav a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #e8e0d5;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-accent {
  background: var(--accent);
  color: #1a120c;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #1a120c;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #1a120c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e8e0d5;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s;
    border-bottom: 1px solid rgba(201, 169, 98, 0.3);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
  }
  .nav.open {
    transform: translateY(0);
  }
}

main {
  padding-top: 58px;
}

/* Hero - fullscreen with bg image */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      180deg,
      rgba(44, 24, 16, 0.7) 0%,
      rgba(26, 18, 12, 0.9) 100%
    ),
    var(--bg-dark) url("../images/placeholder-hero-interior.jpg") center/cover
      no-repeat;
  padding: 4rem 1.5rem 6rem;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero > .hero-inner > p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #e8e0d5;
}

.section-cream .badge {
  color: var(--text);
  background: rgba(201, 169, 98, 0.15);
}

.badge-icon {
  font-size: 1.1rem;
}

/* Sections - alternate cream and dark */
.section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-cream {
  background: var(--bg-cream);
  color: var(--text);
}

.section-dark {
  background: var(--bg-dark);
  color: #e8e0d5;
}

.section-dark h2,
.section-dark h3 {
  color: var(--accent);
}
.section-dark p,
.section-dark li {
  color: rgba(232, 224, 213, 0.9);
}
.section-dark h4 {
  color: #e8e0d5;
}

.section-lounge {
  background: var(--bg-lounge);
  color: var(--text);
}

.section-cta {
  background: var(--bg-cta);
  text-align: center;
  padding: 5rem 1.5rem;
}

.section-cta h2 {
  color: #fff;
}
.section-cta p {
  color: rgba(255, 255, 255, 0.85);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 500;
  margin: 2rem 0 1rem;
  color: var(--accent);
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-dark);
}

.section-dark h4 {
  color: #e8e0d5;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.section-cream p {
  color: var(--text-muted);
}
.section-dark p {
  color: rgba(232, 224, 213, 0.85);
}

/* Two-column layout (Nasza Historia) */
.section-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.section-two-col .col-text h2 {
  margin-top: 0;
}
.section-two-col .col-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .section-two-col {
    grid-template-columns: 1fr;
  }
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 169, 98, 0.3);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h4 {
  margin-top: 0;
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Menu columns */
.menu-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.menu-column h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.menu-column ul {
  list-style: none;
}

.menu-column li {
  padding: 0.35rem 0;
  border-bottom: 1px dotted rgba(201, 169, 98, 0.3);
  font-size: 0.95rem;
}

.menu-column li:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .menu-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .menu-columns {
    grid-template-columns: 1fr;
  }
}

/* Images */
.img-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.img-gallery .img-wrap img {
  aspect-ratio: 4/3;
}

.placeholder-img {
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.1) 0%,
    rgba(201, 169, 98, 0.05) 100%
  );
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  min-height: 200px;
}

/* CTA badges row */
.cta-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.cta-badges .badge {
  flex-direction: column;
  padding: 1rem 1.5rem;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--header-bg);
  color: #e8e0d5;
}

.footer-pre {
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(201, 169, 98, 0.3);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: rgba(232, 224, 213, 0.9);
}
.footer-col a:hover {
  color: var(--accent);
}

.footer-legal {
  font-size: 0.85rem;
  color: rgba(232, 224, 213, 0.7);
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.footer-bottom {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  font-size: 0.9rem;
  color: rgba(232, 224, 213, 0.7);
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
  height: 220px;
  background: rgba(0, 0, 0, 0.3);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Page title */
.page-title {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--bg-dark) 100%);
  color: #e8e0d5;
}

.page-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-title p {
  color: rgba(232, 224, 213, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Popup 18+ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 12, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-18 {
  background: var(--header-bg);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 3rem;
  max-width: 440px;
  text-align: center;
  color: #e8e0d5;
}

.popup-18 h3 {
  margin: 0 0 1rem;
  color: var(--accent);
}
.popup-18 p {
  margin-bottom: 1.5rem;
  color: rgba(232, 224, 213, 0.9);
}
.popup-18 .btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  border-top: 2px solid var(--accent);
  padding: 1.25rem 1.5rem;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-bar.visible {
  transform: translateY(0);
}

.cookie-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-bar p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  color: rgba(232, 224, 213, 0.95);
  font-size: 0.95rem;
}

/* Content page */
.content-page .section {
  padding: 2rem 1.5rem 4rem;
}
.content-page h2 {
  margin-top: 3rem;
}
.content-page h2:first-of-type {
  margin-top: 0;
}
.content-page ul,
.content-page ol {
  margin: 1rem 0 1rem 1.5rem;
}
.content-page li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 1rem;
  }
  .hero {
    padding: 3rem 1rem 4rem;
    min-height: 85vh;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .badges {
    flex-direction: column;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .img-gallery {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
  .map-wrap {
    height: 200px;
  }
  .cookie-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-bar .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.6rem 1rem;
  }
  .logo-img {
    width: 36px;
    height: 36px;
  }
}
