:root {
  /* Основная цветовая схема - Раздельно-дополнительная */
  --primary-color: #3273dc;
  --primary-dark: #2160c4;
  --primary-light: #5e8ae4;
  --secondary-color: #e76f51;
  --secondary-dark: #d05a3e;
  --secondary-light: #f48c73;
  --accent-color: #2a9d8f;
  --accent-dark: #218477;
  --accent-light: #3cbead;
  --complement-color: #fca311;
  --complement-dark: #e28a00;
  --complement-light: #ffb74d;

  /* Нейтральные цвета */
  --background-light: #f8f9fa;
  --background-dark: #333333;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --border-color: rgba(0, 0, 0, 0.1);
  
  /* Глобальные размеры */
  --border-radius: 10px;
  --glass-padding: 20px;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  
  /* Гласморфизм */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-blur: 10px;
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Адаптивная типографика */
h1, .title.is-1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2, .title.is-2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3, .title.is-3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h4, .title.is-4 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p, .content {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Гласморфизм стили */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  padding: var(--glass-padding);
}

.glassmorphism-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 15px 20px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.glassmorphism-subtitle {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.glassmorphism-text {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  margin-bottom: 1.5rem;
}

/* Шапка */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-item {
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-speed);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

.navbar-burger {
  color: var(--text-dark);
}

@media screen and (max-width: 1023px) {
  .navbar-menu.is-active {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.is-active .navbar-item {
    padding: 0.75rem 1.5rem;
  }
}

/* Hero секция */
.hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem;
}

.hero-body .container {
  animation: fadeIn 1s ease-out;
}

.hero .title, .hero .subtitle {
  color: var(--text-light) !important;
}

/* Кнопки - Глобальные стили */
.button {
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.button.is-light:hover {
  background-color: var(--text-light);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.animated-button:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Секции */
.section {
  padding: 5rem 1.5rem;
}

.section:nth-child(odd) {
  background-color: var(--background-light);
}

.section .title {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section .title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.section .subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* Карточки */
.card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .image-container img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card .title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}

.card .title::after {
  display: none;
}

/* Сервисы */
.service-card {
  text-align: center;
}

.service-card .image-container {
  height: 200px;
}

/* Портфолио */
.portfolio-card {
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.carousel-content {
  transition: transform 0.5s ease;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

/* Инновации */
.innovation-card .image-container {
  height: 300px;
}

/* События */
.event-card {
  background: linear-gradient(135deg, var(--background-light), #fff);
}

.event-date {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* Блог */
.blog-card {
  background: linear-gradient(135deg, #fff, var(--background-light));
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-card .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Контакты */
.contact-info-card, 
.contact-form-card {
  background: linear-gradient(135deg, #fff, var(--background-light));
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .input, 
.contact-form .textarea, 
.contact-form .select select {
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-form .input:focus, 
.contact-form .textarea:focus, 
.contact-form .select select:focus {
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
  border-color: var(--primary-color);
}

.contact-form .button {
  margin-top: 0.5rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

/* Футер */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 3rem 1.5rem 1.5rem;
}

.footer .title {
  color: var(--text-light);
}

.footer .title::after {
  display: none;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-speed);
}

.footer a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: translateX(5px);
  color: var(--primary-light);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Успешная отправка формы */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

/* Privacy и Terms страницы */
.content-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

.content-page .container {
  max-width: 800px;
}

/* Cookies consent */
#cookie-consent {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#accept-cookies {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#accept-cookies:hover {
  background-color: #5cbf63 !important;
  transform: scale(1.05);
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

.scale-in {
  animation: scaleIn 0.8s ease-out;
}

/* Параллакс эффекты */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Адаптивные стили */
@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-body {
    padding: 5rem 1rem;
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .image-container {
    height: 200px;
  }
  
  .button {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .section .title::after {
    width: 60px;
  }
  
  .image-container {
    height: 180px;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .column {
    margin-bottom: 2rem;
  }
  
  .has-text-right {
    text-align: center !important;
  }
}

/* Дополнительные стили для внешних ресурсов */
.resource-card {
  text-align: center;
}

.resource-card .image-container {
  height: 180px;
}

.resource-card .button {
  margin-top: 1rem;
}

/* Стили для наград */
.award-card {
  text-align: center;
}

.award-card .image-container {
  height: 220px;
}

/* За кулисами */
.behind-card .image-container {
  height: 250px;
}

/* Ссылка "Читать далее" */
a.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

a.read-more:after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

a.read-more:hover {
  color: var(--primary-dark);
}

a.read-more:hover:after {
  transform: translateX(5px);
}
.navbar-burger{
  display: none;
}