@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg-color: #f8f8f8;
  --primary-color: #8c438c;
  --primary-hover-color: #8b348b;

  --secondary-color: #666;

  --swiper-theme-color: var(--primary-color);
  --swiper-pagination-bullet-size: 0.875rem;
  --swiper-pagination-fraction-color: var(--primary-color);
  --swiper-pagination-bullet-inactive-color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}

body {
  color: #333;
  font-family: 'Jost', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;

  background-color: var(--bg-color);
}

a {
  text-decoration: none;
  color: #333;
}

li::marker {
  color: var(--primary-color);
}

.swiper-pagination-bullet-active {
  transform: scale(1.3);
}

.box-shadow {
  -webkit-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.03);
  -moz-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.03);
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.03);
}

.btn-primary {
  padding: 10px 20px;
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-disabled-bg: var(--primary-color);
  --bs-btn-disabled-border-color: var(--primary-color);

  --bs-btn-hover-bg: var(--primary-hover-color);
  --bs-btn-active-bg: var(--primary-hover-color);
  --bs-btn-hover-border-color: var(--primary-hover-color);
}
.form-check label,
.form-check a {
  color: #666;
}
.form-control:focus,
.accordion-button:focus,
.form-check-input:focus {
  border-color: #8c438c8f;
  box-shadow: 0 0 0 0.25rem #8c438c36;
}
.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.accordion-button:not(.collapsed) {
  color: inherit;
  background: transparent;
}

.nav {
  --bs-nav-link-color: #333;
}
.nav-link {
  position: relative;
  --bs-nav-link-hover-color: var(--primary-color);
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out,
    border-color 0.3s ease-in-out;
}
.nav-link.active {
  color: var(--primary-color);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-hover-color);
  transition: width 0.5s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-hero {
  width: 100%;
  position: absolute;
  z-index: 2;
}
a.desktop {
  color: #fff !important;
}
.header-hero .navbar-toggler i {
  color: #fff;
}

.logo {
  height: 100px;
}

.main {
  overflow-x: hidden;
  flex-grow: 1;
}

.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
}
.swiper-heroes {
  height: 100%;
}
.swiper-heroes .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.swiper-heroes .slide-content {
  position: relative;
  z-index: 3;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
}
.swiper-heroes .slide-content h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}
.swiper-heroes .slide-content p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 30px;
}

.section-title hr {
  width: 300px;
  margin: 1.5rem 0;
  border-top: 3px solid;
  color: var(--primary-color);
  max-width: 100%;
}

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.activities-item {
  cursor: pointer;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: end;
  transition: transform 0.7s ease !important;
}
.activities-item:hover,
.activities-item:focus {
  transform: translateY(-8px) !important;
}

.activities-item:hover .activities-item__title::after {
  width: 100%;
}
.activities-item::before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--bs-border-radius-sm);
}
.activities-item__title {
  position: relative;
  color: #fff;
  z-index: 1;
}
.activities-item__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-hover-color);
  transition: width 0.5s ease;
}

.section-benefits,
.section-booking {
  background: #f3f3f3;
  padding: 3rem 0;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}
.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background-color: #fff;
}
.benefit-item svg {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
}
.benefit-item__icon {
  font-size: 5rem;
  color: var(--primary-color);
}
.benefit-item__title {
  margin: 10px 0;
}
.benefit-item__description {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--secondary-color);
}

.masters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.master-item {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.master-item:hover {
  transform: translateY(-5px);
}
.master-item__photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.master-item__info {
  padding: 20px;
  text-align: center;
}
.master-item__info-specialization {
  font-size: 1rem;
  color: var(--secondary-color);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  padding: 20px;
  text-align: left;
}
.review-header {
  display: flex;
  align-items: center;
}
.review-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
}
.review-name {
  font-weight: bold;
}
.review-date {
  font-size: 0.875rem;
  color: var(--secondary-color);
}
.review-text {
  font-size: 1rem;
  color: var(--secondary-color);
  margin: 10px 0;
}
.review-rating {
  color: #ffc107;
}

.booking-form {
  display: flex;
  background: #fff;
  width: 100%;
}
.form-image {
  flex: 1;
  background-image: url('../img/activities-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.form-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
}
.form-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-content p {
  font-size: 1rem;
  color: var(--secondary-color);
}

.grid-item {
  width: calc(33.333% - 10px);
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: var(--bs-border-radius-sm);
  transition: transform 0.3s ease;
}
.grid-item:hover {
  transform: translateY(-5px);
}
.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bs-border-radius-sm);
}

.brands-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.brands {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--bs-border-radius-sm);
  padding: 20px;
}
.brand-item__img {
  max-width: 100%;
  height: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 400px auto; /* repeat(auto-fill, minmax(400px, 1fr)) */
  justify-content: space-between;
  gap: 20px;
}
.footer-section h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}
.footer-section a:not(.check) {
  color: var(--secondary-color);
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.footer-section a:hover {
  color: var(--primary-color);
}
.map-container {
  height: 150px;
  width: 100%;
  border-radius: var(--bs-border-radius-sm);
}
.footer-bottom {
  margin-top: 40px;
  font-size: 14px;
  color: var(--secondary-color);
}
