/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: 'Lora', serif;
  font-size: 14px;
  background-color: #fafafa;
  padding-top: 45px;
  /* Account for fixed header */
}

@media (max-width: 768px) {

  html,
  body {
    padding-top: 30px;
    /* Smaller padding for mobile */
  }
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

/* ======================TECH CONTAINERS============================ */

._container {
  max-width: 1064px;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: content-box;
  margin: auto;
}

._ibg {
  position: relative;
}

._ibg img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

/* ===================================================== */

.wrapper {
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* =====================HEADER============================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(186, 149, 33, 0.1);
  transition: all 0.3s ease;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  max-height: none;
}

.header__brand {
  flex: 0 0 auto;
}

.brand__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand__logo:hover {
  transform: translateY(-2px);
}

.logo__image {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(186, 149, 33, 0.2);
  transition: all 0.3s ease;
}

.logo__image:hover {
  box-shadow: 0 6px 20px rgba(186, 149, 33, 0.3);
}

.logo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.brand__title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #ba9521;
  line-height: 1.2;
  margin: 0;
}

.brand__tagline {
  font-family: 'Lora', serif;
  font-size: 12px;
  color: #666;
  font-style: italic;
  margin: 0;
}

.header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ba9521 0%, #d4af37 100%);
  transition: left 0.3s ease;
  border-radius: 25px;
  z-index: -1;
}

.nav__link:hover::before {
  left: 0;
}

.nav__link:hover {
  color: white;
  transform: translateY(-2px);
}

.nav__link--contact {
  background: linear-gradient(135deg, #ba9521 0%, #d4af37 100%);
  color: white;
  font-weight: 600;
}

.nav__link--contact:hover {
  background: linear-gradient(135deg, #d4af37 0%, #ba9521 100%);
  transform: translateY(-2px) scale(1.05);
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  gap: 4px;
  z-index: 1001;
  position: relative;
}

.mobile-toggle__line {
  width: 25px;
  height: 3px;
  background-color: #ba9521;
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

.header__mobile-toggle.active .mobile-toggle__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__mobile-toggle.active .mobile-toggle__line:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle.active .mobile-toggle__line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Media Queries for Responsive Design */

@media (max-width: 968px) {
  .nav__list {
    gap: 25px;
  }

  .nav__link {
    padding: 10px 16px;
    font-size: 15px;
  }

  .brand__title {
    font-size: 24px;
  }

  .logo__image {
    width: 50px;
    height: 50px;
    margin-right: 12px;
  }
}

@media (max-width: 768px) {
  .header__container {
    padding: 12px 0;
  }

  .header__nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: top 0.3s ease;
    justify-content: flex-start;
    padding: 100px 0 20px 0;
    z-index: 999;
  }

  .header__nav.active {
    top: 0;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 0 20px;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
  }

  .header__mobile-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .brand__title {
    font-size: 20px;
  }

  .brand__tagline {
    font-size: 11px;
  }

  .logo__image {
    width: 45px;
    height: 45px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .header__container {
    padding: 10px;
  }

  .brand__title {
    font-size: 18px;
  }

  .brand__tagline {
    font-size: 10px;
  }

  .logo__image {
    width: 40px;
    height: 40px;
    margin-right: 8px;
  }
}

/* Header Scroll Effect */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ====================INTRO SECTION============================= */

.intro_page {}

.intro__cover {
  position: relative;
  height: 650px;
  width: 100%;
}

@media (max-width: 670px) {
  .intro__cover {
    height: 500px;
  }
}

._intro_cover img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

@media (max-width: 479px) {
  .intro__cover img {
    object-position: 30% 50%;
  }
}

/* ====================MAIN SECTION======================== */

.page__main {
  margin: 100px 0 0 0;
}

@media (max-width: 797px) {
  .page__main {
    margin: 55px 0 0 0;
  }
}

.main__container {}

.main__content {
  display: flex;
}

@media (max-width: 797px) {
  .main__content {
    flex-wrap: wrap;
    text-align: center;
  }
}

.main-content__column {
  flex: 1 1 100%;
}

.main-column__title {
  color: #222222;
  font-size: 32px;
  font-weight: 400;
  line-height: 160%;
  display: block;
  padding: 0 50px;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 797px) {
  .main-column__title {
    margin: 0 0 55px 0;
    padding: 0;
  }
}

.main-column__text {
  line-height: 200%;
  font-size: 18px;
  color: #555555;
  letter-spacing: 0.2px;
}

/* ===============SERVICES SECTION============================ */

.services_page {
  margin: 80px 0;
}

.services__container {}

.services__content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 8%;
}

@media (max-width: 796px) {
  .services__content {}
}

.services__column {
  flex: 1 1 33.33%;
}

@media (max-width: 796px) {
  .services__column {
    flex: 1 1 100%;
  }

  .services__column:not(:last-child) {
    margin: 0 0 45px 0;
  }
}

.services__item {
  display: flex;
  align-items: center;
  padding: 0 0 0 25px;
}

.services__icon {
  height: 55px;
  width: 55px;
  margin: 0 30px 0 0;
}

.services__text {
  font-size: 18px;
  color: #555555;
  line-height: 142%;
  letter-spacing: 0.2px;
}

/* ==================DESCRIPTION SECTION====================== */

.description__page {}

.description__container {}

.description__body {
  display: flex;
  flex-wrap: wrap;
}

.description__column {
  flex: 50%;
}

@media (max-width: 797px) {
  .description__column {
    flex: 100%;
  }
}

.description__content {
  max-width: 60%;
  margin: auto;
}

@media (max-width: 797px) {
  .description__content {
    max-width: 80%;
  }
}

.description__title {
  color: #222222;
  font-size: 32px;
  font-weight: 400;
  line-height: 160%;
  font-family: 'Playfair Display', serif;
}

.description__text {
  font-size: 18px;
  color: #555555;
  line-height: 142%;
  letter-spacing: 0.2px;
  margin: 35px auto;
}

.description__column {}

.description__column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====================CONTACT SECTION======================== */

.contact__content {
  margin: 20% 0;
}

@media (max-width: 797px) {
  .contact__body {
    flex-direction: column-reverse;
  }

  .contact__content {
    margin: 10% 0;
  }
}

/* ==============================FACILITY SECTION================= */

.facility__page {
  margin: 45px 0;
}

.facility__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.facility__body {
  /* border-left: 1px solid #BA9521; 
    border-right: 1px solid #BA9521; */
  width: 60%;
}

@media (max-width: 979px) {
  .facility__body {
    width: auto;
    max-width: 80%;
  }
}

.facility__title {
  width: 100%;
  margin: 0 0 30px 0;
}

.facility-title__content {
  color: #222222;
  font-size: 32px;
  font-weight: 400;
  line-height: 160%;
  font-family: 'Playfair Display', serif;
}

.facility__text {
  width: 100%;
}

.facility-text__content {
  font-size: 18px;
  color: #555555;
  line-height: 142%;
  letter-spacing: 0.2px;
}

/* ======================SLIDE SECTION============================= */

.slider__body {
  margin: 10% auto;
}

.slider__content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding-top: 70%;
}

@media (max-width: 650px) {
  .slider__container {
    width: 100%;
    padding: 0;
  }

  .slider__content {
    width: 100%;
  }
}

.slider__item {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 1s;
  opacity: 0;
}

.slider__item.active {
  opacity: 1;
}

.slider__item img {
  position: absolute;
  top: 0;
  height: 0;
  width: 100%;
  height: 100%;
}

.slider__button {
  position: absolute;
  height: 70px;
  width: 70px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .slider__button {
    height: 45px;
    width: 45px;
  }
}

.slider-button__previous {
  left: 0;
}

.slider-button__previous::after {
  top: 50%;
  right: 50%;
  transform: translate(75%, -50%) rotate(135deg);
}

.slider-button__next {
  right: 0;
}

.slider-button__next::after {
  top: 50%;
  right: 50%;
  transform: translate(25%, -50%) rotate(-45deg);
}

.slider-button__previous::after,
.slider-button__next::after {
  content: '';
  position: absolute;
  border: solid #ba9521;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 3px;
  width: 50%;
  height: 50%;
  border-radius: 5px;
}

.slider-dots__content {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%);
}

.slider__dots {
  display: inline-block;
  padding: 6px;
  margin: 0 10px;
  background-color: rgb(118, 114, 114);
  border: 1px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
}

.slider__dots.active {
  background-color: #ba9521;
  padding: 7px;
  border: 1px solid rgb(254, 254, 254);
  opacity: 1;
}

@media (max-width: 676px) {
  .slider__dots {
    padding: 4px;
    margin: 0 5px;
  }

  .slider__dots.active {
    padding: 5px;
  }
}

@media (max-width: 460px) {
  .slider__dots {
    padding: 3px;
    margin: 0 3px;
  }

  .slider__dots.active {
    padding: 4px;
  }
}

/* ====================FOOTER SECTION========================= */

.footer__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__body {
  display: flex;
  width: 80%;
  justify-content: center;
  align-items: center;
  margin: 75px 0 50px 0;
}

@media (max-width: 797px) {
  .footer__body {
    flex-wrap: wrap;
  }
}

.footer-column__icon {
  flex: 40%;
}

@media (max-width: 797px) {
  .footer-column__icon {
    flex: 100%;
  }
}

.footer__icon {
  width: 320px;
  height: 320px;
}

@media (max-width: 797px) {
  .footer__icon {
    margin: 0 auto 40px auto;
  }
}

.footer__icon img {
  border-radius: 50%;
}

.footer-column__content {
  flex: 60%;
}

.footer__content {
  text-align: center;
}

.footer__title {
  color: #222222;
  font-size: 32px;
  font-weight: 400;
  line-height: 160%;
  font-family: 'Playfair Display', serif;
  margin: 0 0 35px 0;
}

.footer__tnumber {
  font-family: 'Playfair Display', serif;
  color: #ba9521;
  font-size: 32px;
  font-weight: 400;
  line-height: 160%;
  margin: 0 0 35px 0;
}

.footer__text {
  color: #555555;
  font-size: 18px;
  line-height: 142%;
}
