/* ====== БАЗОВАЯ НАСТРОЙКА ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1a1a1a;
  color: #fff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #241f1f;
}

.hero-logo {
  position: absolute;
  top: 30px; /* регулируй высоту логотипа здесь */
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;

  opacity: 0;
  animation: fadeInLogo 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px); /* чуть выше и левее */
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* возвращается в норму */
  }
}




.hero-logo img {
  max-width: 200px;
  height: auto;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.hero-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
}


.section-title {
  text-align: center;
  color: #fff;
  font-size: 44px;       /* стало больше */
  margin-bottom: 60px;   /* поднят над карточками */
  font-weight: bold;
  letter-spacing: 1px;
  
}



/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../img/Fon.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 48px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInText 1s ease-out forwards;
  animation-delay: 0.3s; /* было 0.8s */
}


@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-button {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 0.3s ease;

  opacity: 0;
  animation: fadeInText 1s ease-out forwards;
  animation-delay: 0.3s; /* было 1.3s */
}

.hero-button:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}


.locations-section {
  background-color: #1a1a1a;
  padding: 120px 5% 80px; /* сверху меньше, снизу оставим пространство */
}

.locations-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-end; /* опускаем содержимое вниз внутри */
}

.location-card {
  flex: 1;
  min-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* контент внутри тоже прижат вниз */
}

.location-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.location-info {
  margin-top: 15px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

/* ====== Анимация карточек ====== */

/* ============================ */
/* ==== LOGO + VIDEO EFFECT === */
/* ============================ */

.logo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #000;
  cursor: pointer;
  border-radius: 8px;
}

.logo-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* <— вот здесь замена cover на contain */
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 2;
}


.logo-wrapper:hover .logo-image {
  transform: translateY(-100%);
  opacity: 0;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.logo-wrapper:hover .bg-video {
  opacity: 1;
}

.reserve-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e4e4e4;
  border: none;
  padding: 10px 20px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-wrapper:hover .reserve-button {
  opacity: 1;
  transform: translate(-50%, 0);
}


.logo-wrapper:hover .reserve-button {
  opacity: 1;
}

.floor {
  color: #ececea;
  font-weight: bold;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* степень затемнения */
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.logo-wrapper:hover .video-overlay {
  opacity: 1;
}

.reserve-button {
  transform: translate(-50%, 20px);
  transition: all 0.5s ease;
  opacity: 0;
}

.logo-wrapper:hover .reserve-button {
  transform: translate(-50%, 0);
  opacity: 1;
}

.logo-wrapper {
  transition: box-shadow 0.5s ease;
}

.logo-wrapper:hover {
  box-shadow: 0 0 15px rgba(170, 169, 164, 0.4);
}


.section-underline {
  width: 60px;
  height: 4px;
  background: #ffffff;
  margin: -55px auto 40px;
  border-radius: 2px;
  box-shadow: 0 0 10px #ffffffaa, 0 0 20px #ffffff55;
  animation: glowBar 1.5s ease-out;
}


/* О НАС */

.about-section {
  background-color: #1a1a1a;
  padding: 100px 5%;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
  color: #fff;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  opacity: 0.9;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Левая подчеркивающая полоска */
.section-underline.left {
  margin-left: 0;
}

.section-title.left {
  text-align: left;
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}

.section-underline.left {
  width: 60px;
  height: 4px;
  margin: 0 0 30px 0;
  background: #fff;
  box-shadow: 0 0 8px #ffffff, 0 0 15px #ffffff;
  border-radius: 4px;
}

.about-icons {
  margin-top: 200px; /* был 30px */
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.icon-row {
  display: flex;
  justify-content: start;
  gap: 30px;
}

.icon-item {
  text-align: center;
  width: 80px;
}

.icon-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* белый цвет */
  margin-bottom: 8px;
}

.icon-item p {
  font-size: 13px;
  color: white;
  margin: 0;
}


/* Магазин */

.products-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: #1a1a1a;
  padding: 20px;
  width: 320px; /* Увеличиваем ширину */
  border-radius: 10px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  position: relative;
  width: 100%;
  height: 320px; /* Увеличиваем под новое изображение */
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.25) 0%, transparent 80%);
  filter: blur(10px);
  z-index: 0;
}

.product-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 16px;
  margin: 10px 0 4px;
  font-weight: 600;
}

.product-card p {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 8px;
}

.product-card span {
  font-size: 16px;
  font-weight: bold;
}

.section-line {
  width: 120px;
  height: 3px;
  margin: 10px auto 40px;
  background: white;
  box-shadow: 0 0 10px white, 0 0 20px white;
  border-radius: 10px;
}


/* Фото */

.gallery-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid #fff;
  background-color: #111;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}


/* Футер */

.site-footer {
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 40px 20px 30px;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer strong {
  font-weight: 600;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ccc;
}

.developer-line {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.7;
}


/* Видео */

.video-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
}

.video-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.video-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 48%;
}

.video-wrapper iframe {
  width: 100%;
  height: 240px;
  border-radius: 10px;
  border: 1px solid #ffffff22;
}

/* Номер */

.hero-phone {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.hero-phone a {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hero-phone a:hover {
  background-color: #fff;
  color: #000;
}



/* Линки */

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  
}

.social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}


.language-selector {
  position: absolute;
  top: 30px;
  right: 40px;
  z-index: 10;
  font-family: inherit;
}

.language-selector button {
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #fff;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.language-selector button:hover {
  background-color: #ffffff22;
}

.language-dropdown {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  position: absolute;
  right: 0;
  background-color: #1a1a1a;
  border: 1px solid #fff;
  border-radius: 6px;
  display: none;
  min-width: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.language-selector.open .language-dropdown {
  display: block;
}

.language-dropdown li {
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
}

.language-dropdown li:hover {
  background-color: #ffffff22;
}




#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader img {
  width: 120px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}




























.burger-icon {
  width: 30px;
  height: 24px;
  position: absolute;
  top: 25px;
  right: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
}

.burger-icon span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

.burger-menu {
  display: none;
}

@media (max-width: 768px) {
  .burger-icon {
    display: flex;

    
  }

  .burger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .burger-menu.active {
    right: 0;
  }

.burger-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


  .burger-menu ul li {
    margin: 20px 0;
  }

  .burger-menu ul li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
  }
}


@media (max-width: 768px) {
  .language-selector {
    margin-right: 40px;
    margin-top: -7px;
  }
}




@media (max-width: 768px) {
  .about-icons {
    align-items: center;
    margin-top: 70px;
    margin-bottom: 10px;
  }

  .icon-row {
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
  }

  .icon-item {
    align-items: center;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .gallery-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .gallery-item {
    width: 90%;
    display: flex;
    justify-content: center;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }
}



@media (max-width: 768px) {
  .video-container {
    flex-direction: column;
    padding: 0 10px;
    gap: 20px;
  }

  .video-column {
    width: 100%;
  }

  .video-wrapper {
    width: 100%;
    margin-bottom: 20px;
  }

  .video-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }
}



@media (max-width: 768px) {
  .section-title.left {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-underline.left {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px) {
  .about-section {
    margin-top: 20px; /* или больше, если нужно */
  }

  .section-title.left {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-underline.left {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px; /* расстояние между заголовком и линией */
  }
}


@media (max-width: 768px) {
  .section-title {
    text-align: center;
  }

  .section-line {
    margin-left: auto;
    margin-right: auto;
    margin-top: 3px; /* Расстояние между заголовком и линией */
  }

  .about-section {
    padding-top: 60px; /* Дополнительный отступ сверху, если надо от следующего блока */
  }
}




