/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
/* === КАСТОМНЫЕ СТИЛИ UX/UI ДЛЯ ОБНОВЛЕНИЯ === */

/* Добавляем больше воздуха между блоками */
.wp-block-group,
.wp-block-columns {
    margin-bottom: 50px;
    padding: 20px;
}

/* Услуги: карточки */
.wp-block-column {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Заголовки */
h1, h2, h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}

/* Кнопки */
.wp-block-button__link {
    background-color: #ff6900; /* яркий оранжевый */
    border-radius: 50px;
    color: #ffffff;
    padding: 12px 30px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wp-block-button__link:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

/* Текст и фон */
body {
    background-color: #f5f7fa;
    color: #555555;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* Изображения в карточках */
.wp-block-image img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.wp-block-image img:hover {
    transform: scale(1.03);
}

/* Плавность для всех элементов */
* {
    transition: all 0.3s ease;
}
/* Убрать белый фон в колонках футера */
footer .wp-block-column {
    background-color: transparent !important;
}
.reviews-section {
    background-color: #f5f7fa;
    padding: 60px 20px;
    text-align: center;
}

.reviews-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.review-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
}

.review-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 5px;
    color: #ff6900;
}

.review-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
}
/* Десктопный хедер с прозрачным фоном */
@media (min-width: 782px) {
  .wp-block-group.is-content-justification-space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--wp--preset--spacing--30);
    background-color: transparent; /* Прозрачный фон */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Тень остаётся для видимости */
  }

  /* Логотип и название сайта */
  .wp-block-group.is-layout-flex {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .wp-block-site-logo img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
  }

  .wp-block-site-title {
    font-size: var(--wp--preset--font-size--medium);
    margin: 0;
    color: #ff6900;
  }

  .wp-block-site-title a

/* === КАСТОМНЫЕ ПРАВКИ === */

/* Хедер: уплотняем элементы и добавляем отступы от краёв */
header .wp-block-group.is-content-justification-space-between {
    padding: 10px 30px;
    gap: 15px;
}

header .wp-block-site-logo img {
    max-width: 80px;
}

header .wp-block-navigation {
    gap: 20px;
}

/* Футер: увеличиваем расстояния между блоками */
footer .wp-block-columns {
    gap: 40px;
}

footer .wp-block-column {
    margin-bottom: 20px;
}

/* Бургер-меню для мобильных: фикс отображения */
.wp-block-navigation__responsive-container {
    display: block !important;
    background-color: #fff;
    z-index: 9999;
}

.wp-block-navigation__responsive-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-navigation__responsive-container a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    color: #333;
    text-decoration: none;
}

.wp-block-navigation__responsive-container a:hover {
    background-color: #f5f5f5;
}



/* === ДОПОЛНИТЕЛЬНЫЙ ФИКС ДЛЯ БУРГЕР-МЕНЮ === */

/* Убираем белый фон и анимацию бургер-меню */
.wp-block-navigation__responsive-container {
    background-color: transparent !important;
    animation: none !important;
}

/* Контейнер с пунктами меню — делаем прозрачный фон */
.wp-block-navigation__responsive-container-content {
    background-color: transparent !important;
}

/* Убираем затемнение за меню (если нужно) */
.wp-block-navigation__responsive-container::before {
    background-color: transparent !important;
}

/* Убираем белые полоски под пунктами меню */
.wp-block-navigation__responsive-container a {
    border-bottom: none !important;
}
