body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background-color: #fefefe;
  color: #222;
  margin: 0;
  padding-top: 80px;       /* Відступ зверху для навігації */
  padding-bottom: 100px;   /* Збільшено, щоб футер не перекривав */
  min-height: 100vh;
  scroll-behavior: smooth;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;      /* Заборонити горизонтальний скрол */
  user-select: text;       /* Дозволити копіювання тексту */
}

/* Видаляємо зайві обмеження */
body {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  overflow-y: auto !important; /* Дозволити вертикальну прокрутку */
}

/* Дозволити виділення лише для тексту та кнопки */
.hero-name,
.btn_home {
  user-select: text !important;
}

/* === Навігація (тільки на десктопі) === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #d0d0d0, #e0e0e0, #f0f0f0);
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  nav {
    display: none !important;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  height: 60px;
  position: relative;
}

.nav-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  z-index: 2;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  padding: 0;
  margin: 0;
}

/* Застосовуємо стиль лише до верхнього рівня пунктів меню */
.nav-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  transition: color 0.35s ease, transform 0.4s ease;
  user-select: none;
}

/* Жовта лінія лише для верхнього рівня */
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ffe600;
  transition: width 0.3s ease;
}

/* Активний стан верхнього пункту ПІД ЧАС ховера li (тримай підсвітку й коли в підменю) */
.nav-menu > li:hover > a,
.nav-menu > li:focus-within > a {
  color: #007bff;
  transform: translateY(-1px);
}

.nav-menu > li:hover > a::after,
.nav-menu > li:focus-within > a::after {
  width: 60%;
}

/* === NEW: Фіксований активний стан верхнього пункту (як на макеті) === */
.nav-menu > li > a.is-active {
  color: #007bff;
  transform: translateY(-1px);
}
.nav-menu > li > a.is-active::after {
  width: 60%;
}

/* === NEW: Плавний перехід між активними пунктами === */
.nav-menu > li > a {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* === NEW: Клік-активатор — не зникає при кліку поза меню === */
/* (JS керує додаванням/зняттям класу .is-active) */

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-right {
  position: absolute;
  right: 32px;
  top: 0;
  height: 100%;
}


/* === Обгортка кнопки для локального підсвічування (звужено) === */
.btn_home-wrapper {
  display: inline-flex;
  width: max-content;
  padding: 4px;
  border-radius: 10px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn_home-wrapper:hover {
  background-color: rgba(128, 0, 255, 0.04);
  box-shadow: 0 0 0 2px rgba(128, 0, 255, 0.22);
}

/* === Кнопка Біографія — вертикальне центрування тексту === */
.btn_home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
  white-space: nowrap;
  gap: 10px;
  font-size: 25px;
  font-weight: 700;
  font-family: Roboto, Arial, sans-serif;
  color: #000;
  padding: 12px 16px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.3s ease;
  text-decoration: none;
  outline: none;
  box-shadow: none;
  line-height: 1;
}

.btn_home svg {
  display: block;
}

.btn_home:hover {
  color: #3390ff;
}

.btn_home:focus,
.btn_home:focus-visible,
.btn_home:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: none !important;
}

/* Коло зі стрілкою */
.btn_home .circle {
  width: 58px;
  height: 58px;
  background: #007bff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.btn_home:hover .circle {
  background-color: #ffe600;
}

/* === Випадаюче меню — показ при ховері/фокусі на пункті === */
.dropdown:hover .dropdown-menu,
.nav-menu > li:hover .dropdown-menu,
.nav-menu > li:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Кожен пункт верхнього рівня — як якір для абсолютного позиціювання підменю */
.nav-menu > li {
  position: relative;
}

/* === Випадаюче меню — базові стилі (ЗБІЛЬШЕНО) === */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e9f2ff;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  padding: 12px 0 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

/* === ПУНКТИ ВИПАДАЮЧОГО МЕНЮ (ЗБІЛЬШЕНО) === */
.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  user-select: none;
  position: static;
}

/* Лише колір/фон у підменю, без жовтої лінії та без підстрибування */
.dropdown-menu a::after {
  content: none !important;
  display: none !important;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 123, 255, 0.08);
  color: #004ab3;
  transform: none;
}

/* === FIX 1: Прибрати кружечки (маркери) у випадаючому меню === */
.dropdown-menu,
.dropdown-menu ul,
.dropdown-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dropdown-menu li::marker {
  content: '' !important;
}

.dropdown-menu li::before {
  content: none !important;
}

/* === FIX 2: Вимкнути підкреслення у підпунктах меню (в т.ч. на hover/focus/active) === */
.dropdown-menu a,
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  background-image: none !important;
  -webkit-text-decoration: none !important;
}

/* === НОВЕ: Активний пункт меню після кліку === */
.dropdown-menu a.active {
  background-color: rgba(0, 123, 255, 0.15);
  color: #004ab3;
}


/* === NEW: Примусово закривати дропдаун, якщо додано .closed на li.dropdown === */
.nav-menu > li.dropdown.closed .dropdown-menu,
.nav-menu > li.dropdown.closed:hover .dropdown-menu,
.nav-menu > li.dropdown.closed:focus-within .dropdown-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(-6px) !important;
}

/* === NEW: Break-hover — повністю глушимо hover під час закриття */
.nav-menu > li.dropdown.closed {
  pointer-events: none !important; /* забирає hover у всього li на мить */
}

/* === Головний блок home === */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  position: relative;
}

.home::-webkit-scrollbar {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto; /* текст зліва, кнопка справа */
  align-items: center;
  justify-content: space-between;
  height: 100vh; /* секція на весь екран */
  width: 100%;
  background: linear-gradient(to bottom, #ffe066, #ffffff); /* жовтий → білий */
  padding: 40px 120px;
  box-sizing: border-box;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px; /* трохи компактніше */
  color: #003399; /* синій текст, як у скріні */
}

.hero-left h1 {
  font-size: 64px;
  font-weight: 700;
  margin: 0;
}

.hero-left p {
  font-size: 28px;
  margin: 0;
}


/* Додано стилі для main-heading */
.main-heading {
  font-size: var(--hero-name-size, 64px);
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(to right, black);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
}

/* Фото героя */
.hero-photo {
  position: absolute;
  bottom: 0;
  right: 60px;
  padding: 20px;
}

.hero-photo img {
  animation: slideInRight 0.8s ease forwards;
  max-width: 500px;
  height: auto;
}

.hero-photo img.animate-once {
  animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%) translateY(var(--hero-photo-translateY));
    opacity: 0;
  }
  to {
    transform: translateX(-20%) translateY(var(--hero-photo-translateY));
    opacity: 1;
  }
}


/* 📟 Планшети до 1024px */
@media (max-width: 1024px) {
  :root {
    --hero-name-size: 0px;
    --hero-photo-max-width: 1000px;
    --hero-photo-max-height: 480px;
    --hero-photo-translateY: -100px;
  }

  .hero-grid {
    grid-template-columns: 1fr auto;
    padding: 700px 100px;
  }

  .btn_home .circle {
    width: 50px;
    height: 50px;
  }
}

/* 📱 Телефони до 768px */
@media (max-width: 768px) {
  :root {
    --hero-name-size: 36px;
    --hero-photo-max-width: 250px;
    --hero-photo-max-height: 300px;
    --hero-photo-translateY: 0;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    z-index: 1001;
  }

  .mobile-header .logo {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .mobile-header .menu-icon {
    width: 28px;
    height: 28px;
    background-color: #000;
    mask: url('images/menu-icon.svg') no-repeat center;
    -webkit-mask: url('images/menu-icon.svg') no-repeat center;
    mask-size: cover;
    -webkit-mask-size: cover;
    cursor: pointer;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 240px 0px;
    text-align: center;
    margin-top: 58px; /* 🔧 відступ під мобільне меню */
  }

  .hero-left {
    align-items: center;
  }

  .main-heading {
    background: none;
    -webkit-text-fill-color: #000;
    text-fill-color: initial;
    text-shadow: none;
    letter-spacing: 1px;
    color: #000;
    font-size: var(--hero-name-size);
  }

  .btn_home {
    padding: 10px 16px;
    font-size: 18px;
  }

  .btn_home .circle {
    width: 36px;
    height: 36px;
  }

  .hero-photo {
    justify-content: center;
    margin-top: 20px;
    padding-left: 0;
    margin-right: 0;
    align-items: center;
  }

  .hero-photo img {
    width: 100%;
    max-width: var(--hero-photo-max-width);
    max-height: var(--hero-photo-max-height);
    transform: translateY(var(--hero-photo-translateY));
    animation: none;
    opacity: 1;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 6px;
  }
}

/* 🖥️ Десктоп — приховує мобільне меню */
@media (min-width: 769px) {
  .mobile-header {
    display: none;
  }
}


footer {
  background: linear-gradient(90deg, #FFDB58, #ADD8E6); /* 📌 Яскравий фон */
  color: #222;
  padding: 10px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  height: 60px;
  backdrop-filter: blur(8px);
  z-index: 999; /* ✅ поверх контенту */
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1440px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.footer-content .social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap; /* ✅ дозволяє обтікання */
}

.footer-content .social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s, opacity 0.3s;
}

.footer-content .social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-image {
  width: 100%;
  max-width: 1440px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 0;
}

/* 📱 Адаптивність для планшетів */
@media (max-width: 834px) {
  footer {
    font-size: 6px;
    height: auto;
    padding: 1px 0px 0px;
    flex-direction: column;
    box-shadow: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 1px;
  }

  .footer-content .social-links {
    justify-content: center;
  }
}

/* 📱 Адаптивність для мобільних пристроїв */
@media (max-width: 430px) {
  footer {
    font-size: 6px;
    padding: 1px 0px 0px;
    height: auto;
    box-shadow: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 0;
    padding: 50;
  }

  .footer-content .social-links {
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content .social-icon {
    width: 26px;
    height: 26px;
  }
}

/* === 💻 DESKTOP стилі === */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

/* === 🔝 Карусель === */
.about-swiper {
  position: relative;
  width: 100%;
  height: 58vh; /* 🔧 зробив трохи меншою знизу */
  margin-top: 70px; /* 🔧 підняв вище */
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.about-swiper .swiper {
  width: 100%;
  height: 100%;
}

.about-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.about-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* === 🔵 Swiper пагінація === */
.swiper-pagination {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: #fff;
  opacity: 0.9;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.3);
  background: #1e90ff;
  border: 2px solid #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* === 📄 Біографія === */
.about-details {
  width: 100%;
  max-width: 960px;
  padding: 8px 20px 80px; /* 🔧 нижній відступ від футера */
  margin-top: -16px;
  box-sizing: border-box;
  line-height: 1.6;
}

.about-details h2 {
  margin-bottom: 6px; /* 🔧 зменшив відстань під заголовком */
}

.about-details p {
  margin-bottom: 8px;
}

.about-details p:first-of-type {
  margin-top: 0; /* 🔧 прибрав зайвий відступ перед першим абзацом */
}

.about-details p:last-child {
  margin-bottom: 0;
  margin-top: -6px;
}

/* === 📱 Мобільна адаптація === */
@media (max-width: 768px) {
  .about-section {
    gap: 0;
    padding-top: 0;
    min-height: 100vh;
  }

  .about-swiper {
    height: 48vh; /* 🔧 зробив меншою на мобільних */
    margin-top: 60px; /* 🔧 підняв вище */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 3px;
  }

  .about-details {
    padding: 12px 12px 60px; /* 🔧 нижній відступ для мобільних */
    margin-top: -12px;
  }

  .about-details h2 {
    margin-bottom: 6px; /* 🔧 менший відступ */
  }

  .about-details p {
    margin-bottom: 6px;
  }

  .about-details p:first-of-type {
    margin-top: 0; /* 🔧 прибрав відступ */
  }

  .about-details p:last-child {
    margin-bottom: 0;
    margin-top: -4px;
  }
}



@media (max-width: 768px) {
  .mobile-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px 16px;
    background-color: #e3f1ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1004;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
  }

  .mobile-brand-button,
  .menu-button,
  .mobile-menu-close {
    font-family: 'SF Pro Display', sans-serif;
    font-weight: bold;
    border: none;
    background: none;
    color: #007bff;
    cursor: pointer;
    padding: 8px 12px;
    user-select: none;
    outline: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    white-space: nowrap;
  }

  .mobile-brand-button {
    font-size: 20px;
    line-height: 1;
  }

  .menu-button {
    font-size: 20px;
    line-height: 1;
    position: relative;
    gap: 8px;
  }

  .menu-icon {
    width: 18px;
    height: 14px;
    position: relative;
    display: inline-block;
    transition: transform 0.4s ease;
    margin-right: 6px;
  }

  .menu-icon .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    transition: all 0.4s ease;
  }

  .menu-icon .top { top: 0; }
  .menu-icon .middle { top: 6px; }
  .menu-icon .bottom { top: 12px; }

  .menu-button.active .top {
    transform: rotate(45deg);
    top: 6px;
  }
  .menu-button.active .middle {
    opacity: 0;
  }
  .menu-button.active .bottom {
    transform: rotate(-45deg);
    top: 6px;
  }

  .mobile-menu-close {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    display: none;
  }

  .mobile-header-menu {
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    width: 100%;
    min-height: calc(100vh - 80px);
    background-color: #e3f1ff;
    padding: 84px 16px 30px;
    margin-bottom: 100px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1003;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'SF Pro Display', sans-serif;
    overflow-y: hidden;
    overflow-x: hidden;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-header-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-x: hidden;
  }

  /* 🔥 Оновлений дизайн кнопок */
  .mobile-menu-item,
  .mobile-menu-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .mobile-menu-item:hover {
    background: linear-gradient(135deg, #0056b3, #0099cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 123, 255, 0.35);
  }

  .mobile-menu-item:active {
    transform: scale(0.98);
  }

  .mobile-menu-item.active {
    background: linear-gradient(135deg, #ffd700, #ffae00);
    color: #222;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .arrow {
    font-size: 16px;
    color: inherit;
    transition: transform 0.3s ease;
  }

  .mobile-menu-item.active .arrow {
    transform: rotate(90deg);
  }

  .submenu {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-left: 4px;
    overflow-x: hidden;
  }

  .submenu.visible {
    display: flex;
  }

  .submenu-item,
  .submenu-item a {
    background: #fff;
    color: #007bff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,123,255,0.15);
  }

  .submenu-item:hover {
    background: #007bff;
    color: #fff;
  }

  .social-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to right, #f9d423, #1e90ff);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    border-top: 1px solid #eee;
  }
}

@media (min-width: 769px) {
  .mobile-header-menu,
  .menu-button,
  .mobile-menu-close,
  .mobile-header-bar {
    display: none !important;
  }
}




/* .video-thumb {
  display: block;
  width: 320px;
  height: auto;
  aspect-ratio: 16 / 9;
  background-image: url('/preview@2x.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
  image-rendering: auto;
  margin: 0 auto;
  padding: 0;
  position: relative;
  cursor: pointer; /* ✅ Курсор у вигляді руки */

/* .gallery-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffcc00;
  text-transform: uppercase;
  margin-bottom: 60px;
  letter-spacing: 1px;
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96%;
  max-width: 1280px;
  background: transparent;
  background-color: transparent !important;
  box-shadow: none !important;
}

.modal-content .swiper-slide {
  width: auto;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  text-align: initial;
}

.modal-content .swiper-slide h3 {
  display: none;
}

.video-gallery-section {
  padding: 60px 20px;
  background-color: #fff;
}

.video-swiper {
  padding: 0 60px;
  margin: 0 auto;
  width: auto;
  max-width: auto;
  overflow-x: auto;
  white-space: nowrap;
  position: relative;
  box-sizing: border-box;
}

.video-swiper .swiper-wrapper {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding-bottom: 20px;
}

.swiper-slide {
  display: inline-block;
  width: 320px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
  text-align: center;
} */

/* .swiper-slide:hover {
  transform: scale(1.03);
}

.swiper-slide h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  padding: 12px;
  margin: 0;
} */

/* .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: none;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: none;
  background: none;
}

.video-thumb-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.video-thumb {
  display: block;
  width: 320px;
  aspect-ratio: 16 / 9;
  background-image: url('/preview@2x.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
  image-rendering: auto;
  margin: 0 auto;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.video-thumb::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.video-thumb:hover::after {
  background-color: #ff0000;
  color: #ffffff;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-gallery-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 60px;
  background-color: #fefefe;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.video-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.video-card:hover .video-preview {
  transform: scale(1.05);
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  text-align: left;
}

.video-caption h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

html, body {
  background: transparent !important;
  box-shadow: none !important;
}

.modal-content .swiper-container,
.modal-content .swiper-zoom-container,
.modal-content .media-wrapper {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
} */

/* Хрестик */
/* .close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.3s ease;
}

.close:hover {
  transform: rotate(90deg);
  color: #ff4d4d;
}

.hero-text {
  position: relative;
  z-index: 2;
  color: white; /* або інший контрастний колір */
/* }

.main-heading {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  margin: 0;
} */

/* .gallery-section {
  width: 100%;
  min-height: 100vh;
  background-color: #fefefe;
  padding: 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-section h2 {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
}

.gallery-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  box-sizing: border-box;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  text-align: left;
  border-radius: 0 0 12px 12px;
  z-index: 1;
}

.gallery-caption h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-preview-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-preview img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
} */

#photogallery {
  height: 400px;
}

body.scroll-lock {
  overflow: hidden;
  height: 100vh;
}
