:root {
  --bg-dark: #121212;
  --bg-dark-alt: #1e1e1e;
  --text-light: #f1f1f1;
  --accent: #cfa66b; /* золотисто-медный акцент */
  --accent-dark: #a57f4b;
}

html, body {
  overflow-x: hidden; /* запрещает горизонтальную прокрутку */
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

a, a:hover, a:focus {
  color: var(--accent);
}

.navbar, .footer {
  background-color: var(--bg-dark-alt);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--bg-dark);
}

/* Плавающая (фиксированная) шапка */
.custom-navbar {
  background-color: rgba(18, 18, 18, 0.9); /* полупрозрачный фон */
  transition: background-color 0.3s ease;
}

/* Когда страница прокручена — можно сделать фон более плотным */
.custom-navbar.scrolled {
  background-color: rgba(18, 18, 18, 1);
}

/* Мобильная навигация */
@media (max-width: 991.98px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  
  .navbar-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
  }
  
  .navbar-toggler {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-dark-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1040;
  }
  
  .navbar-nav {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .nav-item {
    margin: 0.25rem 0;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  /* Обеспечиваем правильную высоту шапки */
  .navbar {
    min-height: 70px;
  }
  
  /* Правильный отступ для контента */
  main {
    padding-top: 90px !important;
    margin-top: 0 !important;
  }
}

/* Телефоны в навигации */
.navbar-phones-desktop {
  gap: 0.5rem;
}

.navbar-phones-mobile {
  width: 100%;
  justify-content: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
}

.phone-item {
  display: flex;
  align-items: center;
}

.phone-link {
  font-size: 0.9rem;
  white-space: nowrap;
}

.whatsapp-link {
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.whatsapp-link:hover {
  transform: scale(1.1);
}

/* Карточки меню */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.menu-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.menu-card .btn {
  margin-top: auto;
}

/* Секция бронирования */
.booking-info {
  padding: 1rem 0;
}

.booking-info .btn-outline-light:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

.whatsapp-booking .btn-outline-light:hover i {
  color: #25D366;
}

/* Календарь мероприятий */
.calendar-widget {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.month-calendar {
  text-align: center;
  padding: 1rem;
}

.calendar-grid {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.calendar-day {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: bold;
}

.calendar-day.event-day {
  background-color: var(--accent);
  color: var(--bg-dark);
}

/* Модальные окна */
.modal-content {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-body .btn-outline-light:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

/* Страница пользовательского соглашения */
.legal-content {
  line-height: 1.7;
}

.legal-content h2 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--text-light);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

/* Стильный текстовый логотип */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-top: 0.3rem;
}

.logo-container:hover {
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
}

.logo-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 4px 15px rgba(207, 166, 107, 0.4);
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--bg-dark);
  z-index: 2;
  position: relative;
  animation: musicFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--accent-dark), var(--accent));
  background-size: 200% 200%;
  animation: gradientShift 2s ease infinite;
  opacity: 0.6;
  z-index: 1;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-title {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 50%, var(--text-light) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Georgia', serif;
  animation: textShimmer 4s ease-in-out infinite;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: -2px;
  font-family: 'Arial', sans-serif;
}

.logo-container:hover .logo-icon {
  animation: musicSpin 0.6s ease-in-out;
}

.logo-container:hover .logo-title {
  background: linear-gradient(135deg, var(--accent) 0%, #fff 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-container:hover .logo-subtitle {
  color: #fff;
  opacity: 1;
}

/* Анимации */
@keyframes musicFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(2deg);
  }
  50% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-3px) rotate(-2deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes musicSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Адаптивность для мобильных */
@media (max-width: 991.98px) {
  .logo-container {
    gap: 0.5rem;
  }
  
  .logo-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .logo-icon {
    font-size: 1.2rem;
  }
  
  .logo-title {
    font-size: 1.3rem;
  }
  
  .logo-subtitle {
    font-size: 0.6rem;
  }
}

/* Номер телефона в шапке */
.phone-link {
  font-weight: bold;
  color: var(--accent);
}

.phone-link:hover {
  color: var(--accent-dark);
}

main {
  padding-top: 4rem; 
  margin-top: 0;
}

/* При уменьшении экрана — чуть изменить отступы */
@media (max-width: 992px) {
  .phone-link {
    margin-top: 8px;
  }
}

/* --- Соцсети в блоке Контакты --- */
.contact-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px; /* расстояние между иконками */
  margin-bottom: 20px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.contact-social i {
  font-size: 1.5rem; /* крупнее чем в футере */
}

.contact-social-icon {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1); /* делает SVG белым */
  display: block;
}

/* Отступ на мобильных — чтобы иконки не прилипали к карте */
@media (max-width: 768px) {
  #contacts .col-lg-6:first-child {
    margin-bottom: 30px;
  }
}

.hero {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/hero.jpg');
  background-position: center;
  background-size: cover;
  height: 80vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);  
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.section-dark {
  background-color: var(--bg-dark-alt);
}

.card-dark {
  background-color: #1b1b1b; /* чуть светлее общего фона */
  border: 1px solid var(--accent-dark);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6); /* лёгкая тень */
}

.card-dark .card-title {
  color: var(--accent);
}

.card-dark .card-text,
.card-dark blockquote p {
  color: #fff; /* белее текст, чтобы выделялся */
  font-size: 1.05rem;
  line-height: 1.5;
}

.blockquote-footer {
  color: #ccc !important; /* подпись автора — светлее, но не белая */
}

.yandex-link {
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
  font-weight: 500;
}

.yandex-link:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
  text-decoration: none;
}


.event-card img {
  object-fit: cover;
  height: 200px;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-dark-alt);
}

.footer-sep {
  border-color: rgba(255,255,255,0.1);
  opacity: 1;
}

.footer-contacts i {
  color: var(--accent);
}

.footer-link {
  color: #e7e7e7;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-legal .footer-dot {
  color: rgba(255,255,255,0.5);
  margin: 0 10px;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all .2s ease;
  vertical-align: middle;
}

.footer-social img,
.footer-social i {
  display: block;
}

.footer-legal {
  font-size: 0.9rem; /* немного меньше стандартного */
}

@media (max-width: 576px) {
  .footer-legal {
    font-size: 0.85rem; /* ещё чуть меньше на мобильных */
  }
}


.footer-social .social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-social .bi {
  font-size: 1.1rem;
}

.social-icon-img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1);
}

.about-img {
  max-height: 400px;
  object-fit: cover;
}

/* заголовок “Наши ценности” — иконки */
.text-accent {
  color: var(--accent);
}

/* секция ценностей */
.section-dark + section { /* если секции подряд */
  background-color: var(--bg-dark);
}

/* команда: имена и изображения */
.team-section img {
  transition: transform 0.3s ease;
}
.team-section img:hover {
  transform: scale(1.05);
}

/* Галерея */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

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

/* Для мобильной карусели */
#galleryCarousel .carousel-item img {
  height: 320px;
  object-fit: cover;
}

/* Центрирование текста и отступов */
section p {
  color: #ddd;
  line-height: 1.6;
}

/* --- Контакты --- */
.form-dark {
  background-color: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f1f1;
}

.form-dark:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(207, 166, 107, 0.25);
  background-color: #252525;
  color: #fff;
}

/* Крупные соцсети */
.social-link-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.social-link-large:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.social-icon-img-large {
  width: 30px;
  height: 30px;
  filter: invert(1); /* делает svg белым */
}

/* Отступ под картой на мобильных */
@media (max-width: 768px) {
  .social-links-large {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
}

/* --- Отзывы --- */
.card-dark blockquote p {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6;
}

.card-dark blockquote footer {
  color: #ccc;
}

.vk-link {
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
  font-weight: 500;
}

.vk-link:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
  text-decoration: none;
}

.yandex-link img {
  filter: brightness(1.2);
}

@media (max-width: 576px) {
  .vk-link, .yandex-link {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}



/* Мобильные отступы */
@media (max-width: 576px) {
  .footer-contacts div + div { margin-top: 4px; }
  .footer-social { text-align: left; }
}


/* Галерея: единый стиль картинок */
.gallery-img {
  height: 260px;          /* можно настроить под свои фото */
  object-fit: cover;      /* обрезает излишки, чтобы сетка выглядела ровной */
}

/* Адаптивный размер кнопок */
.btn-md-lg {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .btn-md-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
  }
}

/* Уточнение отступов у индикаторов на тёмном фоне */
#gallery .carousel-indicators [data-bs-target] {
  background-color: var(--accent);
}

