:root {
  --container: 1100px;
  --accent-gold: #c0a756;
  --text: #111;
  --muted: #666;
  --bg: #f6f7f8; /* silver-ish */
  --glass: rgba(255, 255, 255, 0.6);
  --radius: 12px;
  --max-width: 1100px;
  --transition: 220ms ease;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
}

/* header */
.site-header {
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,248,248,0.85));
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  border-bottom: 2px solid rgba(192, 167, 86, 0.5);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

/* nav */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.nav a:hover {
  color: var(--text);
  background: rgba(192,167,86,0.08);
  transform: translateY(-2px);
}
.nav a.active,
.nav a[aria-current="page"] {
  color: var(--accent-gold) !important;
  font-weight: 600;
  background: rgba(192,167,86,0.08);
  border-radius: 8px;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* burger */
.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}

/* hero */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(180deg,#ffffff 0%, #f7f7f8 100%);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.05;
}
.lead {
  color: var(--muted);
  margin-bottom: 22px;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform var(--transition);
}
.btn.primary {
  background: linear-gradient(90deg,var(--accent-gold), #b89c4fd1);
  color: #111;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(192,167,86,0.12);
}
.btn.primary:hover {
  transform: translateY(-4px);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin: 36px auto;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,250,250,0.9));
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.04);

  /* 🟡 Новое оформление рамки */
  border: 1px solid rgba(192, 167, 86, 0.4); /* светло-золотая рамка */
  transition: all 0.3s ease;
}

/* Нежное свечение при наведении */
.card:hover {
  border-color: rgba(192, 167, 86, 0.8);
  box-shadow: 0 0 15px rgba(192, 167, 86, 0.3);
  transform: translateY(-3px);
}

/* page layout */
.page {
  padding: 48px 24px;
}
.page h1 {
  margin-top: 0;
  font-size: 1.6rem;
}
.muted {
  color: var(--muted);
  margin-top: 12px;
}

/* price table */
.table-wrap {
  overflow: auto;
  margin-top: 18px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.price-table thead th {
  background: rgba(0,0,0,0.03);
  padding: 12px;
  text-align: left;
  color: var(--text);
}
.price-table td {
  padding: 12px;
  border-top: 1px solid rgba(0,0,0,0.04);
  color: var(--muted);
}

/* footer */
.site-footer {
  margin-top: 50px;
  background: linear-gradient(180deg, #adaba3, #fff);
  border-top: 2px solid rgba(192,167,86,0.6);
  color: (0,0,0,0.08)
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.socials a img {
  width: 28px;
  filter: none;
  opacity: 0.95;
  transition: transform var(--transition);
}
.socials a img:hover {
  transform: scale(1.05);
}

/* contact blocks */
.contact-page .contact-blocks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.contact-item {
  background: rgba(255,255,255,0.04);
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
}
.contact-link {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #000;
  text-decoration: none;
}
.contact-link img {
  width: 26px;
  height: 26px;
}
.contact-link:hover img {
  filter: drop-shadow(0 0 6px var(--accent-gold));
  transform: scale(1.05);
  transition: 0.3s;
}

/* responsive */
@media (max-width:900px) {
  .features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nav {
    display: none;
    position: absolute;
    right: 18px;
    top: 64px;
    background: var(--glass);
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    min-width: 180px;
  }
  .burger {
    display: block;
  }
  .header-inner {
    position: relative;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* === SLIDER === */
.slider {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
}
.slides {
  position: relative;
  width: 100%;
  height: auto;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}
.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  position: relative;
}
.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  font-size: 24px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  color: #000;
  transition: background 0.3s;
  z-index: 2;
}
.prev:hover, .next:hover {
  background: rgba(255, 255, 255, 0.7);
}
.prev {
  left: 15px;
}
.next {
  right: 15px;
}

/* captions */
.caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  background: rgba(0, 0, 0, 0.35);
  padding: 14px 24px;
  border-radius: 8px;
  max-width: 80%;
}
.caption h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}
.caption p {
  margin: 6px 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* === ШРИФТЫ === */


/* Всё остальное — Poppins */
body, h1, h2, h3, h4, h5, h6, .nav a, p, li, .btn, .caption, .card, .muted {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

/* === ЛОГОТИП С ШРИФТОМ MARCELLUS === */
.logo-text {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: none;
  color: var(--text);
  padding: 6px 18px;
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  display: inline-block;
  margin-left: -70px;
  background: var(--logo-bg, transparent);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(192, 167, 86, 0.5);
}

.logo-text:hover {
  background: var(--logo-hover-bg, #fbf9f0);
  color: #111;
  box-shadow: 0 0 15px rgba(192, 167, 86, 0.8),
              0 0 25px rgba(192, 167, 86, 0.5);
  transition: all 0.4s ease;
}



/* === Email link in footer === */
.socials {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.socials a img {
  width: 26px;
  height: 26px;
  opacity: 0.9;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.socials a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px var(--accent-gold));
}

.socials a span {
  color: #fff;
  font-size: 14px;
  opacity: 0.85;
}

.socials a:hover span {
  color: var(--accent-gold);
  opacity: 1;
}
.contact-page .muted {
  text-align: center;
  display: block;
  margin-top: 16px;
  
}

.contact-page .muted {
  text-align: left;
  display: block;
  margin-top: 16px;
  color: #777;
}

  /* === АНИМАЦИЯ ПОЯВЛЕНИЯ ЛОГОТИПА === */
@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0 0 0 rgba(192, 167, 86, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(192, 167, 86, 0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(192, 167, 86, 0.4);
  }
}

/* Применяем к логотипу */
.logo-text {
  animation: logoFadeIn 4s ease forwards;
}
/* === Dropdown Menu === */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 100;
}

.dropdown-menu a {
  color: var(--text);
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(192,167,86,0.1);
  color: var(--accent-gold);
}

/* показываем меню при наведении */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* для адаптива */
@media (max-width:900px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }
}
.dropdown-menu {
  display: none;
  /* остальные стили остаются */
}

.dropdown-menu.open {
  display: flex;
}
/* === ГАЛЕРЕЯ КОСТЮМОВ (адаптивная) === */
.costume-category {
  margin: 60px auto;
  max-width: 1200px;
}

.costume-category h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--accent-gold);
  display: inline-block;
  padding-bottom: 6px;
}

/* Сетка */
.costume-gallery {
  display: grid;
  gap: 16px;
  justify-items: center;
}

/* Фото */
.costume-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Эффект при наведении */
.costume-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(192, 167, 86, 0.35);
  border: 2px solid var(--accent-gold);
}

/* 📱 Телефон — 1 фото в ряд */
@media (max-width: 599px) {
  .costume-gallery {
    grid-template-columns: 1fr;
  }
}

/* 📱 Планшет — 2 фото в ряд */
@media (min-width: 600px) and (max-width: 1023px) {
  .costume-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 💻 ПК — 3 фото в ряд */
@media (min-width: 1024px) {
  .costume-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Лайтбокс оверлей */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Картинка в лайтбоксе */
.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

/* Кнопка закрытия */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
/* === ЛАЙТБОКС (увеличение фото) === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(192, 167, 86, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.lightbox-overlay.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 42px;
  color: var(--accent-gold);
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: #fff;
}
@media (max-width: 600px) {
  /* Логотип — чуть меньше */
  .logo-text {
    font-size: 20px !important;
    padding: 4px 10px;
    margin-left: 0;
  }

  /* Контейнер — меньше отступов */
  .container {
    padding: 14px;
  }

  /* Меню — центрируем при открытии */
  .nav.open {
    align-items: flex-start;
    text-align: left;
  }

  /* Элементы меню — крупнее для нажатия пальцем */
  .nav a {
    font-size: 16px;
    padding: 10px 0;
  }
}
@media (max-width: 600px) {
  .payment-blocks,
  .contact-page .contact-blocks {
    flex-direction: column;
  }

  .card {
    width: 100%;
    padding: 16px;
    margin-bottom: 12px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p, .card ul {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .costume-gallery img {
    border-radius: 8px;
  }

  .costume-category h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
    line-height: 1.4;
  }

  h1, h2 {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 900px) {
  /* Мобильное меню — лёгкая полупрозрачность */
  .nav.open {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }

  /* Ссылки остаются читаемыми */
  .nav.open a {
    color: #111;
  }

  /* Выпадающее подменю Price List */
  .nav.open .dropdown-menu {
    background: rgba(255, 255, 255, 0.96); /* чуть плотнее */
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  }

  .nav.open .dropdown-menu a {
    color: #111;
  }

  .nav.open .dropdown-menu a:hover {
    background: rgba(192, 167, 86, 0.08);
    color: var(--accent-gold);
  }
}
/* === ЛОГОТИП НА ПЛАНШЕТАХ === */
@media (max-width: 1024px) {
  .logo-text {
    margin-left: 0; /* убираем отрицательный отступ */
    text-align: center;
    display: inline-block;
  }

  .header-inner {
    justify-content: space-between;
  }
}

/* Плавающая кнопка WhatsApp — золотая */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(192,167,86,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(192,167,86,0.85);
}

@supports (-webkit-touch-callout: none) {
  .whatsapp-float {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* фикс для мобильных Safari (панель скрывается при скролле) */
@supports (-webkit-touch-callout: none) {
  body {
    min-height: 100vh;
    position: relative;
  }
  .whatsapp-float {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  }
}
/* Контакты — выравнивание */
.contact-blocks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px; /* расстояние между соцсетями */
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-link img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.contact-link:hover img {
  transform: scale(1.1);
}
/* TikTok иконка — оригинальная, как на странице Contacts */
.socials a[aria-label="TikTok"] img {
  filter: none; /* без обесцвечивания */
  background: none;
  border-radius: 0;
  padding: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.socials a[aria-label="TikTok"] img:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
/* Добавляем золотое свечение при наведении, как у других иконок */
.socials a[aria-label="TikTok"] img:hover {
  transform: scale(1.15);
  opacity: 1;
  box-shadow: 0 0 10px rgba(192, 167, 86, 0.6),
              0 0 20px rgba(192, 167, 86, 0.4);
}
/* === Адаптация слайдера под мобильные устройства === */
@media (max-width: 768px) {
  .caption {
    bottom: 20px;
    padding: 10px 14px;
    max-width: 90%;
  }

  .caption h2 {
    font-size: 1.2rem; /* Было 1.8rem — уменьшаем */
    line-height: 1.2;
  }

  .caption p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* Очень маленькие экраны (телефоны до 480px) */
@media (max-width: 480px) {
  .caption {
    bottom: 10px;
    padding: 8px 10px;
  }

  .caption h2 {
    font-size: 1rem;
  }

  .caption p {
    font-size: 0.8rem;
  }
}
/* === ЗОЛОТОЕ СИЯНИЕ В ШАПКЕ === */

.site-header::after {
  content: "";
  position: absolute;
  bottom: -2px; /* линия у нижнего края шапки */
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(192,167,86,0.6),
    rgba(255,255,255,1),
    rgba(192,167,86,0.6)
  );
  animation: shineHeader 5s ease-in-out infinite;
  filter: blur(1px);
  opacity: 0.9;
  z-index: 5;
}
html, body {
  overflow-x: hidden !important;
}

@keyframes shineHeader {
  0% { transform: translateX(-10%); opacity: 0.7; }
  50% { transform: translateX(10%); opacity: 1; }
  100% { transform: translateX(-10%); opacity: 0.7; }
}

