/* ==============================
   🌼 Общие стили
   ============================== */

:root {
  --main-color: #a2d5c6;
  --accent-color: #82c3a6;
  --text-color: #333;
  --bg-color: #f7fdfb;
  --font-main: "Open Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* ==============================
   🌼 Заголовок и навигация
   ============================== */

header {
  background: var(--main-color);
  color: white;
  text-align: center;
  padding: 25px 15px;
}

header h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #004d40;
}

/* ==============================
   📄 Основной контент
   ============================== */

main {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 15px;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.6em;
  border-left: 5px solid var(--accent-color);
  padding-left: 10px;
}

/* ==============================
   🎓 Галерея и изображения
   ============================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ==============================
   💬 Отзывы и обратная связь
   ============================== */

.review-item {
  background: #fff;
  border-left: 5px solid var(--main-color);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 10px;
  display: block;
}

.review-author {
  margin-top: 5px;
}

.review-name {
  display: block;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 3px;
}

.review-role {
  display: block;
  color: #555;
  font-size: 0.95em;
}

form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

form button {
  background: var(--main-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: var(--accent-color);
}

/* ==============================
   🎥 Видео-визитка
   ============================== */

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e5f4ef;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.video-container video,
.video-container iframe {
  max-width: 100%;
  border-radius: 10px;
}

/* ==============================
   📱 Адаптивность
   ============================== */

@media (max-width: 768px) {
  header h1 {
    font-size: 1.4em;
  }

  nav a {
    display: block;
    margin: 5px 0;
  }

  form button {
    width: 100%;
  }
}
/* Дополнительные стили для футера */
.footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  margin-top: auto;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.social-link i {
  font-size: 1.2rem;
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

.social-text {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Адаптивность */
@media (max-width: 768px) {
  .social-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    text-align: center;
  }

  .social-link {
    justify-content: center;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .social-links {
    grid-template-columns: 1fr;
  }

  .social-link {
    justify-content: flex-start;
    padding: 12px 15px;
  }
}