/*!
Theme Name: Diniz New
Theme URI: https://t.me/kudanoff
Author: kudanoff
Author URI: https://t.me/kudanoff
Description: Modern WordPress theme for travel and tour agencies with beautiful design inspired by Kamchatka tours. Features include mobile-friendly responsive layout, custom header and footer, social media integration, and flexible customization options.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: diniz_new
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, travel, tours, tourism, responsive-layout, custom-header, custom-colors, blog
*/




/* --- Шапка --- */
.nav-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
}

.header__logo:hover {
    color: #fff !important;
}

.nav-header__wrp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* --- Логотип --- */
.nav-logo {
    font-size: 29px;
    font-weight: 800;
    display: block;
    font-family: 'TT Norms';
    color: #fff;
}

.nav-logo img {
    width: 100%;
    height: auto;
}

/* --- Правая часть (меню + соцсети) --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* --- Десктопное меню --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu__item {
    position: relative;
}

.nav-menu__link {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 80px;
    padding: 0 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    white-space: nowrap;
    transition: color 0.3s;
    /* подчёркивание снизу как в оригинале */
    background: linear-gradient(0deg, rgba(255,255,255,0.7), rgba(255,255,255,0.7)) 0 100% transparent no-repeat;
    background-size: 0 2px;
    transition: background-size 0.3s, color 0.3s;
}

.nav-menu__link:hover {
    color: rgba(255,255,255,0.8);
    background-size: calc(100% - 40px) 2px;
    background-position: 20px 100%;
}

/* Иконка стрелки вниз */
.nav-menu__arrow {
    width: 10px;
    height: 10px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s;
}

/* --- Дропдаун --- */
.nav-menu__item:hover .nav-dropdown {
    display: block;
}

.nav-menu__item:hover .nav-menu__arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

.nav-dropdown__link {
    display: block;
    padding: 10px 20px;
    color: #000000;
    text-decoration: none;
    font-size: 17px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown__link:hover {
    background: #f0f1f5;
    color: #17375C;
}

/* --- Соцсети --- */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-socials__link {
    display: flex;
    color: #ffffff;
    transition: color 0.3s;
    line-height: 0;
}

.nav-socials__link:hover {
    color: rgba(255,255,255,0.7);
}

.nav-socials__link svg {
    width: 1.5em;
    height: 1.5em;
    fill: currentColor;
}

/* --- Бургер (мобильный) --- */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    flex-shrink: 0;
}

.nav-burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Крестик при открытом меню */
.nav-burger.is-open .nav-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open .nav-burger__line:nth-child(2) { opacity: 0; }
.nav-burger.is-open .nav-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Мобильное меню (панель) --- */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 200;
    overflow-y: auto;
    padding: 80px 24px 40px;
    box-sizing: border-box;
}

.nav-mobile.is-open {
    display: block;
}

.nav-mobile__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1b1c28;
    line-height: 1;
}

.nav-mobile__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mobile__item {
    border-bottom: 1px solid #e8e9ef;
}

.nav-mobile__link {
    display: block;
    padding: 14px 0;
    color: #1b1c28;
    text-decoration: none;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.nav-mobile__sub {
    list-style: none;
    margin: 0 0 8px;
    padding: 0 0 0 16px;
}

.nav-mobile__sub-link {
    display: block;
    padding: 8px 0;
    color: #17375C;
    text-decoration: none;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
}

/* --- Адаптив --- */
@media (max-width: 991px) {
    .nav-menu,
    .nav-socials { display: none; }
    .nav-burger   { display: flex; }
}



.seo-section .togo-banner-3-heading {
    max-width: 1300px;
}

.seo-section p {
    line-height: 1.3;
}

.seo-section p, .seo-section ul li, .seo-section ol li {
    font-size: 18px;
}

.seo-section ul li, .seo-section ol li {
    line-height: 1.4;
    margin-bottom: 4px;
}

.seo-section ol {
    list-style: auto;
    padding-left: 0;
    margin-left: 25px;
    margin-bottom: 18px;
}

.seo-section ul {
    list-style: disc;
    padding: 0;
    margin-left: 16px;
    margin-bottom: 18px;
}

.seo-section h3 {
    font-size: 27px;
    margin: 22px 0 10px;
}

@media (max-width: 576px) {
    .seo-section p, .seo-section ul li, .seo-section ol li {
        font-size: 16px;
    }
    .seo-section h2 {
        font-size: 24px;
    }
    .seo-section h3 {
        font-size: 21px;
    }
}




.single-service .description__wrapper {
    display: grid;
    grid-template-columns: 1fr 466px;
    gap: 60px;
}

.single-service .description__right {
    display: flex;
}


.single-service .text-content > p,
.single-service .text-content ul li {
    font-size: 18px;
}





.cookie-notification {
  display: none;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 15px;
  left: 50%;
  max-width: 100%;
  width: auto;
  transform: translateX(-50%);
  padding: 15px 25px;
  background-color: #fff;
  border-radius: 7px;
  box-shadow: 2px 3px 30px rgb(0 0 0 / 28%);
  z-index: 999;
}
.cookie-notification p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #535353;
}
.cookie-notification p a {
  color: #d6bc53;
}
.cookie_accept {
  color: #fff;
  font-size: 14px;
  padding: 12px 24px;
  margin: 0 0 0 25px;
  border: none;
  background: #f8ab48;
  border-radius: 4px;
  cursor: pointer;
}
.cookie_accept:hover {
  background-color: #ca8935;
}

@media only screen and (min-width: 576px) {
  .cookie-notification.show {display: flex;}
}
