/*
Theme Name: Пик Силы — Йога, Путешествия, Комьюнити
Theme URI: https://piksily.ru
Author: Студия Пик Силы
Author URI: https://piksily.ru
Description: Премиальный адаптивный сайт-шаблон проекта «Пик Силы»: йогатерапия, дыхательные практики, антистресс, онлайн-клуб с живыми занятиями, авторские горные ретриты и хайкинг. Спокойный wellness premium стиль, шрифты Cormorant Garamond и Manrope, контейнер 1400px.
Version: 2.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: piksily
Tags: wellness, yoga, hiking, travel, retreat, responsive, custom-header, full-width-template
*/

/* Reset & Base */
html {
  scroll-behavior: smooth;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: #F5F3ED;
  color: #20231F;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* Container specification (ТЗ «Пик Силы»):
   Максимальная ширина контента: 1400 px
   Mobile (< 640px): min(1400px, calc(100% - 40px))  -> 20px padding each side
   Tablet (640px - 1023px): min(1400px, calc(100% - 64px)) -> 32px padding each side
   Laptop (1024px - 1279px): min(1400px, calc(100% - 80px)) -> 40px padding each side
   Desktop (>= 1280px): min(1400px, calc(100% - 128px)) -> 64px padding each side
*/
.fitsoul-container,
.piksily-container {
  width: min(1400px, calc(100% - 40px)) !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

@media (min-width: 640px) {
  .fitsoul-container,
  .piksily-container {
    width: min(1400px, calc(100% - 64px)) !important;
  }
}

@media (min-width: 1024px) {
  .fitsoul-container,
  .piksily-container {
    width: min(1400px, calc(100% - 80px)) !important;
  }
}

@media (min-width: 1280px) {
  .fitsoul-container,
  .piksily-container {
    width: min(1400px, calc(100% - 128px)) !important;
  }
}

/* Motion Design System */
@keyframes headerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

#main-header {
  animation: headerIn 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: height 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 300ms cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroBreath {
  0% { transform: scale(1); }
  100% { transform: scale(1.018); }
}
.hero-breathing {
  animation: heroBreath 14s ease-in-out infinite alternate !important;
}

.nav-underline-anim {
  position: relative;
}
.nav-underline-anim::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background-color: currentColor;
  transition: width 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-underline-anim:hover::after,
.nav-underline-anim.is-active::after {
  width: 100%;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 750ms cubic-bezier(0.16, 1, 0.3, 1), transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-item.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.img-zoom-fx {
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.2, 1);
}
.group:hover .img-zoom-fx {
  transform: scale(1.05);
}

.arrow-hover-fx {
  display: inline-block;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .arrow-hover-fx {
  transform: translateX(4px);
}
