/*
Theme Name: Umnaya Chayka
Theme URI: https://clever-seagull.ru
Author: Evgeny Ivanov
Author URI: https://clever-seagull.ru
Description: Кастомная тема для студии английского языка
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umchayka
*/

/* === Общие стили === */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #cce3f9 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Шапка */
.site-header {
    text-align: center;
    padding: 15px 0;
    background: transparent;   /* ✅ убираем серый фон */
    border-bottom: none;       /* ✅ убираем линию снизу */
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.site-description {
    font-size: 16px;
    margin: 5px 0 0;
    color: #555;
}

/* Меню */
.main-nav {
    text-align: center;
    margin: 15px 0;
}

.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.header-menu li {
    margin: 0;
    padding: 0;
}

.header-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.2s ease;
}

.header-menu a:hover {
    color: #0073aa;
}

/* Футер */
.site-footer {
    margin-top: auto;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #ddd;
}

/* === Контакты === */
.contacts-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contacts-page h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.contacts-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.contacts-image {
    flex: 0 0 250px;
}

.contacts-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contacts-info {
    flex: 1;
    font-size: 16px;
}

.contacts-info strong {
    font-weight: bold;
}

.contacts-info a {
    color: #0056b3;
    text-decoration: none;
}

.contacts-info a:hover {
    text-decoration: underline;
}

.map-block iframe {
    width: 100%;
    height: 400px;
    border: none;
    margin-top: 30px;
}

/* === О нас === */
.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-page h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.about-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
}

.about-content {
    flex: 1;
    font-size: 16px;
}

.about-text {
    margin-bottom: 20px;
}

.about-values {
    list-style: disc;
    margin-left: 20px;
    font-weight: 500;
}

/* === Наши учителя === */
.teachers-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.teachers-page h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
}

.teachers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.teacher-card {
    display: flex;
    flex-direction: column;
    width: 350px;
    background: transparent;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
}

.teacher-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.teacher-info {
    padding: 15px 0;
    text-align: left;
}

.teacher-info h3 {
    font-size: 20px;
    margin: 10px 0;
    font-weight: bold;
}

.teacher-info p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* === Стоимость обучения === */
.pricing-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.pricing-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.pricing-card {
    width: 400px;
    display: flex;
    flex-direction: column;
    background: transparent;
    text-align: center;
}

.pricing-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.pricing-value {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    color: #000;
}

.pricing-info p {
    font-size: 14px;
    line-height: 1.5;
}

.pricing-photo img {
    width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
}

/* === Главная === */
.home-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.home-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.home-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #333;
}

.home-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.home-image img {
    max-width: 280px;
    height: auto;
}

.home-features {
    flex: 1;
    text-align: left;
}

.home-features h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.home-features ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.6;
}

/* === Адаптив для меню === */
@media (max-width: 768px) {
  .header-menu {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .main-nav {
    margin: 10px 0;
  }
}

.contact-form-block {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form-block input,
.contact-form-block textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.contact-form-block input[type="submit"] {
    background: #f97352;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form-block input[type="submit"]:hover {
    background: #e05c3d;
}

.map-block img {
  max-width: 100%;   /* чтобы не выходила за контейнер */
  height: auto;      /* сохраняем пропорции */
  display: block;    /* убираем лишние отступы */
  margin: 0 auto;    /* по центру */
}