@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Sora');
@import url('https://fonts.googleapis.com/css?family=Oswald');

* {
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  color: #333;
}

:root {
  --blue: #00008B;   /* kolor tekstu (nadal używany w listach/tabeli) */
  --accent: #862F93; /* GŁÓWNY KOLOR (fiolet) */
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------------- NAVIGATION ---------------- */

.main-nav {
  background: var(--accent);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 1.5em;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.main-nav li {
  margin: 0 0.5em;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 1.1em;
  padding: 0.6em 1em;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

/* mobilne menu (schowane) */
.nav-left {
  display: flex;
  flex-direction: row; /* desktop */
  gap: 0.5em;
}


/* prawa część menu */
.nav-right {
  display: flex;
  align-items: center;
}

.login-button {
  background-color: #fff;
  border: 3px solid var(--accent);
  border-radius: 12px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #000;
}

.login-button:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Flagi */
.flag-icon {
  width: 40px;
  object-fit: cover;
  border: 1px solid var(--accent);
  border-radius: 3px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.flag-icon:hover {
  transform: scale(1.15);
}

/* ---------------- HERO ---------------- */

.hero-header {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px; /* odsunięcie od menu */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/empty_token.png') center/cover no-repeat;
  filter: blur(6px);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2em 1em;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}

.hero-title {
  font-family: Oswald, sans-serif;
  font-size: 3em;
  color: #fff;
  margin-bottom: 1em;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-button {
  font-family: Montserrat, sans-serif;
  font-size: 1.2em;
  color: var(--blue);
  background-color: #fff;
  padding: 0.6em 1.5em;
  border-radius: 12px;
  border: 3px solid var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------------- CONTENT ---------------- */

.content-section {
  margin: 3em 1em;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5em;
}

.section-header {
  text-align: center;
  font-family: Sora, sans-serif;
  font-weight: normal;
  color: #333;
  font-size: 2em;
  margin-bottom: 1em;
}

.container-two {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: stretch;
}

.blue-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.blue-list li {
  color: var(--blue);
  border: 3px solid var(--accent);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  font-weight: 600;
  line-height: 1.35;
}

.image-box {
  flex: 0 0 280px;
  border: 3px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
}

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

/* ---------------- FOOTER ---------------- */

.main-footer {
  background: var(--accent);
  color: #fff; /* ZMIANA: Na biały dla lepszego kontrastu */
  padding: 2em;
  font-weight: 600;
  margin-top: 3em;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}

.footer-left {
  font-family: Oswald, sans-serif;
  font-size: 1.3em;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.8em;
}

.footer-nav img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.footer-nav a {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: left;
  font-size: 0.9em;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
    position: relative;
    min-height: 64px;
    height: 64px;
    overflow: visible;
  }

  .hamburger {
    display: block;
    z-index: 1010;
    position: absolute;
    left: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2em;
    color: #000;
    cursor: pointer;
  }

  .nav-left {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    background: var(--accent);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 1001;
  }

  .nav-left.show {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }

  .nav-left li {
    text-align: center;
    padding: 0.8em 0;
  }

  .nav-right {
    position: absolute;
    top: 50%;
    right: 0.5em;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    margin-left: 0;
    z-index: 1010;
  }
  .nav-right li {
    margin: 0;
  }
  .flag-icon {
    width: 20px;
    height: 14px;
    border: 0.5px solid var(--accent);
    border-radius: 0.5px;
    padding: 0;
    background: none;
  }
  .login-button {
    font-size: 0.95em;
    padding: 0.4em 0.8em;
    border-radius: 8px;
  }

  .container-two {
    flex-direction: column;
    align-items: center;
  }

  .image-box {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-nav img {
    width: 50px;
    height: 50px;
  }
}


/* ---------------- CENNIK ---------------- */

.price-table-wrapper {
  overflow-x: auto;
  margin-top: 1.5em;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Montserrat, sans-serif;
  text-align: center;
  border: 3px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: relative;
}

.price-table th {
  background-color: var(--accent);
  color: #000; /* ZMIANA: Na czarny */
  font-weight: 700;
  padding: 1em;
  text-transform: uppercase;
}

.price-table td {
  padding: 0.9em;
  border-top: 2px solid var(--accent);
  color: var(--blue);
  background-color: #fff;
  transition: background-color 0.25s ease;
}

.price-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}

/* --- Podświetlanie kolumn --- */
.price-table td,
.price-table th {
  position: relative;
}

.price-table tbody td:hover::before,
.price-table thead th:hover::before {
  content: "";
  position: absolute;
  top: -9999px;
  left: 0;
  width: 100%;
  height: 99999px;
  background-color: rgba(134, 47, 147, 0.18);
  z-index: -1;
}

/* --- Dodatkowy efekt dla nagłówków --- */
.price-table th:hover {
  background-color: rgba(134, 47, 147, 0.8);
}

/* --- Responsywność --- */
@media (max-width: 768px) {
  .price-table th,
  .price-table td {
    font-size: 0.9em;
    padding: 0.6em;
  }
}
