/*
 * Główny arkusz stylów dla strony Tendur Grill&Kebab.
 * Kolorystyka inspirowana logo – czerwienie i jasne akcenty.
 * Zachowana przejrzystość i mobilna czytelność.
 */

/* === Podstawowe ustawienia === */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #f9f5f2;
  line-height: 1.4;
}

/* === Nagłówek === */
header {
  background-color: #c62828;
  color: #f5f5dc;
  text-align: center;
  padding: 15px 10px;
}

header .logo {
  font-size: 24px;
  font-weight: 700;
}

/* === Nawigacja === */
nav {
  background-color: #a32020;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px 0;
}

nav a {
  color: #f5f5dc;
  text-decoration: none;
  margin: 5px 10px;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

/* === Kontener główny === */
.container {
  padding: 15px;
}

/* === Formularze === */
.form-container {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  max-width: 420px;
  margin: 0 auto;
}

form label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #a32020;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 8px;
}

form input[type="submit"],
#generate-btn {
  background-color: #c62828;
  color: #ffffff;
  border: none;
  padding: 10px;
  margin-top: 16px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

form input[type="submit"]:hover,
#generate-btn:hover {
  background-color: #a32020;
}

/* === Karty menu === */
.menu-category {
  margin-bottom: 30px;
}

.menu-category h2 {
  font-size: 20px;
  color: #c62828;
  border-bottom: 2px solid #c62828;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.menu-item {
  display: flex;
  background-color: #ffffff;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.menu-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.menu-item .details {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-item .details h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #c62828;
}

.menu-item .details p {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #555;
}

.menu-item .details .price {
  font-weight: bold;
  color: #a32020;
  font-size: 16px;
}

/* === Lokalizacje – dwie kolumny zawsze === */
.locations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

  background-color: #ffffff;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #c62828;
}

.location-left,
.location-right {
  width: 48%;
}

.location-left a {
  display: inline-block;
  margin-top: 8px;
  color: #c62828;
  text-decoration: underline;
  font-weight: bold;
}

.location-right {
  font-size: 14px;
  color: #555;
}

.location-right strong {
  color: #a32020;
}

/* Jeśli potrzebujesz scrolla przy bardzo małych ekranach */
@media (max-width: 350px) {
  .location-item {
    overflow-x: auto;
  }
}

/* === QR === */
.qr-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* === Transakcje === */
.transactions-list {
  margin-top: 20px;
}

.transaction-item {
  background-color: #ffffff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.transaction-item .trans-date {
  color: #555;
  font-weight: bold;
}

.transaction-item .trans-desc {
  flex: 1;
  margin-left: 10px;
  color: #333;
}

.transaction-item .trans-points {
  color: #a32020;
  font-weight: bold;
}

/* === Dodatki responsywne (bez zmian w kolumnach lokalizacji) === */
@media (min-width: 768px) {
  nav a {
    font-size: 16px;
  }
}
