/* Reset i podstawowe style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  background-color: #f5f5dc;
  overflow-x: hidden;
}

/* Kolory zmiennych */
:root {
  --color-charcoal: #2b2b2b;
  --color-crimson: #dc143c;
  --color-cream: #f5f5dc;
  --color-white: #ffffff;
  --color-light-gray: #e0e0e0;
}

/* Kontenery */
.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header-main {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-crimson);
  letter-spacing: 1px;
}

/* Navigation */
.nav-main {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 12px;
}

.nav-link:hover {
  color: var(--color-crimson);
}

/* Burger Menu - ukryte na dużych ekranach */
.burger-checkbox {
  display: none;
}

.burger-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  position: relative;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("images/Warhammer Underworlds.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  color: var(--color-white);
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Przyciski CTA */
.btn-cta {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--color-crimson);
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-crimson);
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--color-crimson);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

/* Sekcje ogólne */
section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-charcoal);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--color-crimson);
  margin: 20px auto 0;
}

/* O Nas Section */
.section-onas {
  background-color: var(--color-white);
}

.onas-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.onas-text h3 {
  font-size: 1.8rem;
  color: var(--color-charcoal);
  margin-top: 30px;
  margin-bottom: 15px;
}

.onas-text h3:first-child {
  margin-top: 0;
}

.onas-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.onas-text strong {
  color: var(--color-crimson);
  font-weight: 600;
}

.onas-image {
  position: sticky;
  top: 100px;
}

/* Placeholder Images */
.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-charcoal);
  border-radius: 8px;
  font-weight: 600;
}

/* Real section images */
.section-image {
  width: 100%;
  display: block;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Przewodnik Section */
.section-przewodnik {
  background-color: var(--color-cream);
}

.przewodnik-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.przewodnik-image {
  position: sticky;
  top: 100px;
}

.przewodnik-text h3 {
  font-size: 1.8rem;
  color: var(--color-charcoal);
  margin-bottom: 15px;
}

.przewodnik-text h4 {
  font-size: 1.4rem;
  color: var(--color-crimson);
  margin-top: 25px;
  margin-bottom: 10px;
}

.przewodnik-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.przewodnik-text ul {
  margin: 20px 0 20px 30px;
}

.przewodnik-text li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* FAQ Section */
.section-faq {
  background-color: var(--color-white);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 30px;
  padding: 25px;
  background-color: var(--color-cream);
  border-radius: 8px;
  border-left: 4px solid var(--color-crimson);
}

.faq-question {
  font-size: 1.4rem;
  color: var(--color-charcoal);
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-answer {
  display: block;
}

.faq-answer p {
  line-height: 1.8;
  text-align: justify;
}

/* Opinie Section */
.section-opinie {
  background-color: var(--color-cream);
}

.opinie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.opinie-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opinie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.opinie-author {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-crimson);
  margin-bottom: 15px;
}

.opinie-text {
  line-height: 1.8;
  color: var(--color-charcoal);
  text-align: justify;
}

/* Kontakt Section */
.section-kontakt {
  background-color: var(--color-white);
}

.kontakt-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.kontakt-info h3,
.kontakt-form-wrapper h3 {
  font-size: 1.8rem;
  color: var(--color-charcoal);
  margin-bottom: 25px;
}

.kontakt-item {
  margin-bottom: 25px;
}

.kontakt-item strong {
  display: block;
  color: var(--color-crimson);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.kontakt-item p {
  line-height: 1.6;
}

.kontakt-item a {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.kontakt-item a:hover {
  color: var(--color-crimson);
}

/* Formularz kontaktowy */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid var(--color-light-gray);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-crimson);
}

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

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-group-checkbox label {
  line-height: 1.6;
  cursor: pointer;
}

.form-group-checkbox a {
  color: var(--color-crimson);
  text-decoration: none;
  font-weight: 600;
}

.form-group-checkbox a:hover {
  text-decoration: underline;
}

.btn-submit {
  padding: 15px 40px;
  background-color: var(--color-crimson);
  color: var(--color-white);
  border: 2px solid var(--color-crimson);
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--color-crimson);
}

/* CTA Section */
.section-cta {
  background: linear-gradient(
    135deg,
    var(--color-charcoal) 0%,
    var(--color-crimson) 100%
  );
  text-align: center;
  color: var(--color-white);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta .btn-cta {
  background-color: var(--color-white);
  color: var(--color-crimson);
  border-color: var(--color-white);
}

.section-cta .btn-cta:hover {
  background-color: transparent;
  color: var(--color-white);
}

/* Footer */
.footer-main {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 40px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 25px 20px;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--color-crimson);
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.btn-cookie {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept {
  background-color: var(--color-crimson);
  color: var(--color-white);
  border-color: var(--color-crimson);
}

.btn-accept:hover {
  background-color: transparent;
  color: var(--color-crimson);
}

.btn-decline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-decline:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

/* Responsywność - tablet */
@media (max-width: 900px) {
  /* Burger menu widoczne */
  .burger-icon {
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
  }

  /* Nawigacja jako wysuwane menu */
  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background-color: var(--color-charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  /* Otwarte menu */
  .burger-checkbox:checked ~ .nav-main {
    transform: translateX(0);
  }

  /* Animacja burgera w X */
  .burger-checkbox:checked ~ .burger-icon .burger-line-top {
    transform: translateY(11px) rotate(45deg);
  }

  .burger-checkbox:checked ~ .burger-icon .burger-line-middle {
    transform: scale(0);
    opacity: 0;
  }

  .burger-checkbox:checked ~ .burger-icon .burger-line-bottom {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* Nawigacyjne linki w menu mobilnym */
  .nav-link {
    font-size: 1.3rem;
  }

  /* Sekcje dwukolumnowe */
  .onas-content,
  .przewodnik-content,
  .kontakt-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .onas-image,
  .przewodnik-image {
    position: static;
  }

  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  /* Tytuły sekcji */
  .section-title {
    font-size: 2rem;
  }

  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

/* Responsywność - mobile */
@media (max-width: 600px) {
  /* Tytuły */
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Przyciski */
  .btn-cta,
  .btn-submit {
    width: 100%;
    padding: 12px 20px;
  }

  /* Sekcje */
  section {
    padding: 50px 15px;
  }

  /* Logo */
  .logo {
    font-size: 1.4rem;
  }

  /* Nawigacja mobilna */
  .nav-main {
    width: 100%;
  }

  /* Opinie */
  .opinie-grid {
    grid-template-columns: 1fr;
  }

  /* Cookie banner */
  .cookie-banner {
    padding: 20px 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-cookie {
    width: 100%;
  }

  /* Footer */
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }

  /* Formularz */
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Zapobiega zoom na iOS */
  }
}

/* Dekoracyjne tła (przygotowane klasy) */
.bg-decorative-1 {
  background-image: linear-gradient(
      rgba(245, 245, 220, 0.88),
      rgba(245, 245, 220, 0.88)
    ),
    url("images/map.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-decorative-2 {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("images/cards.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
