/* Основни настройки */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Логото като фон на цялата страница */
body {
  background-image: url('image.webp'); /* Път към файла с логото */
  background-size: cover; /* Логото покрива цялата страница */
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh; /* Височината на прозореца */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Фон с правилен размер и изглед */
body.workouts-page {
  background-image: url('image2.webp'); /* Сменете с правилния файл */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Фонът остава фиксиран */
  background-position: center top;
  color: white;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Навигация */
nav {
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-items a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-items a:hover {
  color: #34c759;
}

/* Секция със съдържание */
.content-section {
  background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачен фон за видим текст */
  padding: 20px;
  border-radius: 8px;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Заглавие */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Таблица */
.training-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  color: white;
}

.training-table thead {
  background-color: #34c759;
}

.training-table th, .training-table td {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 1rem;
}

.training-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

.training-table tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.training-table th {
  font-weight: bold;
  text-transform: uppercase;
}

/* Стил за заглавия на категории */
.category-header {
  color: #34c759; /* Зелен цвят за текста */
  font-weight: bold;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Текст */
p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


/* Навигация */
nav {
  height: 80px;
  background: rgba(52, 199, 89, 0.8); /* Полупрозрачен зелен фон */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 calc((100vw - 1300px) / 2);
}

.nav-items a {
  text-decoration: none;
  color: #fff;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: bold;
}

.nav-items a:hover {
  color: #000;
}

/* Централен текст на страницата */
.hero-container {
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  margin: auto;
}

.hero-container h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-container p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

button {
  padding: 1rem 3rem;
  font-size: 1rem;
  border: none;
  color: #fff;
  background: #34c759;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
}

button:hover {
  background: #28a745;
  color: #000;
}
/* Отзивчив дизайн */
@media screen and (max-width: 768px) {
  .hero-container h1 {
    font-size: 2.5rem;
  }

  .hero-container p {
    font-size: 1.2rem;
  }
}
/* Фон за страницата "Хранене" */
body.nutrition-page {
  background-image: url('image3.webp'); /* Замени с правилния път до изображението */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  margin: 0;
  padding: 0;
}

/* Контейнер за съдържание */
.content-section {
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Полупрозрачен черен фон */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Заглавие */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Текст */
p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e0e0e0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Таблица */
.nutrition-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  color: white;
}

.nutrition-table thead {
  background-color: #34c759;
}

.nutrition-table th,
.nutrition-table td {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 1rem;
}

.nutrition-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

.nutrition-table tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nutrition-table th {
  font-weight: bold;
  text-transform: uppercase;
}
/* Фон за страницата "Защо да тренираме?" */
body.why-train-page {
  background-image: url('why-train-background.webp'); /* Замени с точния път до изображението */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  margin: 0;
  padding: 0;
}

/* Секция със съдържание */
.content-section {
  max-width: 900px;
  margin: 50px auto;
  text-align: left;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Полупрозрачен фон */
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.content-section h1, .content-section h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #34c759; /* Зелен акцент */
}

.content-section ul {
  padding-left: 20px;
}

.content-section ul li {
  margin-bottom: 10px;
}

.content-section p {
  font-size: 1.2rem;
  line-height: 1.6;
}
