/* ================= VARIABLES ================= */

:root {
  --primary-color: #f5f5f5;
  --accent-color: #ff6f04;
  --bg-color: #ffffff;
  --card-bg: #f5f5f5;
}

/* ================= BASE ================= */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg-color);
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
}

section {
  padding: 3em 1.5em;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 0;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: #555;
}

/* ================= HEADER ================= */

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
}

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

.logo {
  height: 48px;
}

.logo-link {
  display: inline-block;
}

.logo-link img {
  display: block;
}

/* ================= NAVIGATION ================= */

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 15px 20px;
  justify-content: center;
}

nav li {
  margin: 0;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: #333;
  transition: color 0.2s ease;
}

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

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 26px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  z-index: 2;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,102,0,0.25);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.15)
  );
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  z-index: 2;
}

.hero h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
}

/* ================= GRID ================= */

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 1.8em;
  flex: 1 1 260px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

/* ================= CONTACT ================= */

#contact-info {
  background: #fafafa;
  border-radius: 12px;
  padding: 2.5em;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

#contact-info ul {
  list-style: none;
  padding: 0;
}

#contact-info ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

#contact-info ul li:last-child {
  border-bottom: none;
}

iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* ================= TABLE PAGE ================= */

.tabs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  background: #f5f5f5;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.2s ease;
}

.tab-btn.active {
  background: var(--accent-color);
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.datatable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.datatable td {
  border: 1px solid #eee;
  padding: 8px 10px;
}

.datatable tr:nth-child(even) {
  background: #fafafa;
}

/* ================= DROPDOWN ================= */

.has-dropdown {
  position: relative;
}

.has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-radius: 8px;
  z-index: 1000;
}

.has-dropdown:hover > .dropdown {
  display: block;
}

.dropdown li {
  padding: 8px 20px;
}

.dropdown li a {
  display: block;
  color: #333;
  font-size: 0.9rem;
}

/* ================= STATS SECTION ================= */

.stats-section {
  background: #fafafa;
  padding: 70px 20px;
  text-align: center;
  max-width: 100%;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1 1 220px;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #555;
}

/* ================= ABOUT PAGE ================= */

.since-section {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  padding: 70px 20px;
  text-align: center;
  max-width: 100%;
}

.since-container {
  max-width: 900px;
  margin: 0 auto;
}

.since-year {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.since-text {
  font-size: 18px;
  color: #ccc;
  line-height: 1.6;
}

/* FINALNE ODSTĘPY ABOUT (obowiązujące) */

.about-content {
  padding: 25px 20px;
}

.about-block {
  margin-bottom: 25px;
}

.about-block h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.about-block p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-benefits {
  padding-left: 20px;
  margin-top: 8px;
}

.about-benefits li {
  margin-bottom: 6px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  nav li {
    text-align: center;
    padding: 10px 0;
  }

  .hero {
    height: 35vh;
    min-height: 200px;
  }

  .since-year {
    font-size: 30px;
  }

  .since-text {
    font-size: 16px;
  }

  .about-block h2 {
    font-size: 20px;
  }

  .datatable {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 30px;
  }
}

/* ================= FOOTER ================= */

footer {
  background: var(--primary-color);
  color: var(--accent-color);
  text-align: center;
  padding: 1.5em 0;
  margin-top: 40px;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}