/* ========================
   Общие стили и базовая структура
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Oswald', sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}



/*portfolio*/
.carousel .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
  background-color: #222;
  
}

.carousel * {
  font-family: Nunito, sans-serif;
}

.carousel .responsive-container-block.bigContainer {
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  padding-left: 30px;
}

.carousel .responsive-container-block.Container {
  max-width: 1320px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  position: relative;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}

.carousel .cardImg {
  width: 100%;
}

.carousel .container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  display: block;
  
}

.carousel .swiper.mySwiper {
  width: 100%;
  
}

.carousel .swiper-slide {
  width: 100%;
 
}

.carousel .swiper-wrapper {
  width: 100%;
  
}

.carousel .swiper-pagination.container-block {
  top: auto;
  bottom: 5px;
  min-height: 20px;
 
}

.swiper-pagination-bullet{
  background-color: #ffffff !important;
  padding: 7px;
}
.swiper-pagination-bullet-active {
      background-color: #c59d5f !important;
      padding:9px;
      
}
/*portfolio*/


nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #191313d9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
  z-index: 1000;
  overflow: hidden;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #c59d5f;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 1.2rem;
}

nav a:hover {
  color: #fff;
}

.lang-switch button {
  background: none;
  border: none;
  color: #c59d5f;
  font-weight: bold;
  cursor: pointer;
  margin-left: 1rem;
  font-size: 1rem;
}

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #c59d5f;
  z-index: 1001;
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #191313e0;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a,
.lang-mobile button {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.lang-mobile {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

header {
  background: url('/img/header_background2.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  padding-top: 6rem;
  position: relative;
}

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

header > * {
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 4rem;
  letter-spacing: 3px;
}

header p {
  font-size: 1.5rem;
  margin: 1rem 0;
}

header .cta-button {
  background: #c59d5f;
  color: #000;
  padding: 0.75rem 2.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}


section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  color: #c59d5f;
  margin-bottom: 1rem;
}
.meist{
  font-size: 1.2rem;
}

.services,
#team {
  text-align: center; /* Центрируем заголовок */
  padding: 40px 20px;
}

.team {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center; /* Центрируем карточки по горизонтали */
}

.card {
  background: #222;
  padding: 15px;
  border-radius: 8px;
  width: 350px;
  text-align: center; /* Центрируем содержимое карточки */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 10px auto 15px;
  display: block;
  border: 2px solid #ccc;
}

.services-note {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.5;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


.contact {
  text-align: center;
  font-size: 1.2rem;
}

.contact a {
  color: #c59d5f;
  text-decoration: none;
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
  margin-top: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input,
textarea,
button {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-family: inherit;
}

input,
textarea {
  background: #333;
  color: #fff;
}

button {
  background: #c59d5f;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

footer {
  background: #000;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #777;
}

.footer-logo {
  display: block;
  margin: 0.1rem auto;
  max-width: 140px;
  opacity: 0.3;
  pointer-events: none;
}

.subscribe {
  background: #111;
  color: #c59d5f;
  text-align: center;
  padding: 0.2rem 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.subscribe .social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.subscribe .social-icons a svg {
  transition: transform 0.3s, fill 0.3s;
  cursor: pointer;
}

.subscribe .social-icons a:hover svg {
  transform: scale(1.2);
  fill: #fff;
}


.social-icons-header {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}
.social-icons-header a svg {
  transition: transform 0.3s, fill 0.3s;
  cursor: pointer;
}
.social-icons-header a:hover svg {
  transform: scale(1.2);
  fill: #fff;
}


/* Заголовок */
.services-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #d4a15d;
  margin: 0 0 1.75rem 0;
}

/* Таб‑кнопки */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #d4a15d;
  background: transparent;
  color: #d4a15d;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
}

.tab-btn:hover {
  background: #d4a15d22;
}

.tab-btn.active {
  background: #d4a15d;
  color: #111;
}

/* Слайдер-обёртка */
.services-slider {
  position: relative;
  overflow: hidden; /* скрываем панель, уезжающую за край при анимации */
  min-height: 100px; /* чтобы не схлопывалось при переключении */
}

/* Панели (2 набора карточек) */
.services-panel {
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.services-panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative; /* чтобы активная панель занимала поток */
}

/* Грид карточек внутри панели */
.services-panel .services-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
}

/* Карточки (используй свои существующие стили; это базовый пример) */


.service-footer .price-time {
  font-size: 1rem;
  color: #d4a15d;
}

.service-footer .duration {
  margin-left: 0.5ch;
  color: #ccc;
  font-size: 0.9rem;
}

/* Небольшая адаптивность */
@media (max-width: 600px) {
  .services-title {
    font-size: 1.8rem;
  }
  .tab-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
  }
  .services-panel .services-list {
    gap: 1.25rem;
    grid-template-columns: 1fr; /* одна колонка на мобиле */
  }
}




.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.service-card {
  background: #222;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.service-card p {
  flex-grow: 1;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-time {
  text-align: right;
  
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffbb54;
}

.duration {
  font-size: 0.9rem;
  color: #aaa;
  
}







/* ========================
   Мобильная адаптация
========================= */
@media (max-width: 768px) {
  nav {
    height: 8%;
    padding: 0 1rem;
    justify-content: space-between;
  }

  nav img {
    height: 5rem !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
  }

  .nav-links,
  .lang-switch {
    display: none !important;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    flex-direction: column;
    background: #191313e0;
    padding: 1rem;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header p {
    font-size: 1rem;
    margin: 0.5rem 0 1.5rem;
  }

  header {
    padding-top: 4rem;
  }

  section {
    padding: 2rem 1rem;
    max-width: 100%;
  }

  h2 {
    font-size: 2rem;
  }

  .services,
  .team {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1rem;
  }

  .contact p {
    font-size: 1rem;
  }

  iframe {
    height: 250px;
  }

  .subscribe p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .subscribe .social-icons a svg {
    width: 24px;
    height: 24px;
  }
}
