/* ===== Базові стилі ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.container h1, body > h1 {
  text-align: center;
  margin: 30px 0;
  color: #333;
  font-size: 32px;
}

/* ===== Контакти ===== */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.contact-info {
  margin: 30px 0;
  line-height: 1.8;
}

.contact-form {
  max-width: 400px;
  margin: 30px auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

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

.map-container {
  margin: 30px auto;
  text-align: center;
}

.map-container iframe {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== Рецензії ===== */
.reviews-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.review {
  background: #fff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.review h2 {
  color: #333;
  margin-bottom: 15px;
}

.review p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.review blockquote {
  font-style: italic;
  color: #666;
  border-left: 3px solid #ff3d00;
  padding-left: 15px;
  margin: 15px 0;
}

.schedule-info {
  text-align: center;
  color: #666;
  margin: 30px 0;
  font-size: 16px;
}

/* ===== Секції ===== */
section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

section h2 {
  color: #333;
  margin-bottom: 15px;
}

section p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

section blockquote {
  font-style: italic;
  color: #666;
  border-left: 3px solid #ff3d00;
  padding-left: 15px;
  margin: 15px 0;
}

/* ===== Хедер ===== */
header {
  background-color: #1f1f1f;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.version {
  position: absolute;
  top: 10px;
  right: 40px;
  font-size: 11px;
  color: #888;
  background-color: #2a2a2a;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* ===== Кнопки навігації ===== */
.nav-btn {
  background: #333;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.nav-btn:hover, .nav-btn.active {
  background: #ff3d00;
  color: #fff !important;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* ===== Банер ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/banner.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  background-color: #ff3d00;
  color: #fff;
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #e63a00;
}

/* ===== Секція "Про" ===== */
.about {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* ===== Популярні фільми ===== */
.popular {
  background-color: #fff;
  padding: 40px 20px;
}

.popular h2 {
  text-align: center;
  margin-bottom: 30px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.movie-card {
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #333;
}

.movie-card p {
  margin-bottom: 15px;
  font-weight: bold;
  color: #ff3d00;
  font-size: 1.1em;
}

.movie-card p {
  margin-bottom: 15px;
  font-weight: bold;
  color: #ff3d00;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.movie-card p span {
  color: #ffb300;
}

.movie-card a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.movie-card a:hover {
  text-decoration: underline;
}

/* ===== Футер ===== */
footer {
  background-color: #1f1f1f;
  color: #ccc;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ===== Таблиці ===== */
table {
  width: 80%;
  margin: 30px auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

th {
  background-color: #f8f8f8;
  font-weight: 600;
  color: #333;
}

td {
  color: #555;
}

tr:last-child td {
  border-bottom: none;
}

/* ===== Голосування ===== */
.voting-section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 400px;
  margin: 20px auto;
}

.voting-section h3 {
  text-align: left;
  color: #333;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: normal;
}

.voting-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voting-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.voting-option input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #333;
}

.voting-option label {
  color: #333;
  font-size: 14px;
  cursor: pointer;
  flex-grow: 1;
  margin-left: 8px;
}

.vote-button {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  background-color: #ff3d00;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.vote-button:hover {
  background-color: #e63a00;
}
th {
  background: #ff3d00;
  color: #fff;
}
tr:last-child td {
  border-bottom: none;
}

/* ===== Секції ===== */
section, .section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

section h2 {
  color: #333;
  margin-bottom: 15px;
}

section p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

section blockquote {
  font-style: italic;
  color: #666;
  border-left: 3px solid #ff3d00;
  padding-left: 15px;
  margin: 15px 0;
}

/* ===== Фото учасників ===== */
.about img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  margin-bottom: 10px;
}

/* ===== Карта ===== */
iframe {
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

/* ===== Форми ===== */
form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 400px;
  margin: 30px auto;
}
input, textarea, button {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}
button {
  background: #ff3d00;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #e63a00;
}

/* ===== Блоки рецензій ===== */
section h2 {
  color: #ff3d00;
  margin-bottom: 10px;
}
blockquote {
  background: #f0f0f0;
  border-left: 4px solid #ff3d00;
  padding: 12px 18px;
  margin: 18px 0;
  font-style: italic;
  color: #333;
}

/* ===== Розклад ===== */
.schedule-info {
  text-align: center;
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
}

.schedule-info p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.5;
}

.schedule-info form {
  display: inline-block;
  text-align: left;
  margin-top: 20px;
}

/* ===== Сторінка Про нас ===== */
.about-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.about-content h1 {
  color: #ff3d00;
  margin-bottom: 30px;
  text-align: center;
}

.about-content h2 {
  color: #333;
  margin: 30px 0 15px;
}

.about-content ul {
  list-style-position: inside;
  margin-bottom: 20px;
}

.about-content ul li {
  margin-bottom: 10px;
}

.about-content img {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-content img:hover {
  transform: scale(1.05);
}

/* ===== Фотографії учасників ===== */
.members-photos {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.member-card {
  text-align: center;
}

.member-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card img:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.member-card p {
  font-weight: 500;
  color: #333;
  margin-top: 8px;
}
