/* Barbershop About Section */
.about {
  padding: 50px 0;
  background-color: #ffffff;
}

.about__header {
  font-weight: 400;
  font-size: 40px;
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
}

.about__content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about__text {
  flex: 1;
  color: #000000;
  align-self: center;
  font-weight: 700;
}

.about__text h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #000000;
}

.about__text h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 30px 0 15px 0;
  color: #000000;
}

.about__text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333333;
  font-weight: 700;
}

.about__text a {
  color: #c07008;
  text-decoration: none;
}

.about__text a:hover {
  text-decoration: underline;
}

.about__photo {
  flex: 0 0 300px;
  align-self: center;
}

.about__photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1029px) {
  .about__photo {
    display: none;
  }
}

/* Benefits Section */
.benefits {
  padding: 60px 0;
  background-color: #000000;
}

.benefits__header {
  font-weight: 400;
  font-size: 40px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 50px;
}

.benefits__items {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.benefits__item {
  flex: 0 0 calc(25% - 30px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
}

.benefits__icon {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits__icon svg {
  width: 60px;
  height: 60px;
}

.benefits__title {
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

.benefits__description {
  font-size: 14px;
  color: #888888;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1000px) {
  .benefits__item {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .benefits {
    padding: 40px 0;
  }

  .benefits__header {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .benefits__items {
    gap: 30px;
  }

  .benefits__item {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .benefits__title {
    font-size: 18px;
  }

  .benefits__description {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .benefits__item {
    flex: 0 0 100%;
  }

  .benefits__title {
    font-size: 16px;
  }

  .benefits__description {
    font-size: 12px;
  }
}

/* Discount Section */
.discount {
  padding: 30px 0;
  background-color: #ffffff;
}

.discount__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.discount__item {
  /* flex: 1; */
  text-align: center;
}

.discount__header {
  max-width: 250px;
  font-size: 24px;
  font-weight: 700;
  font-family: "Varela Round", sans-serif;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.discount__percentage {
  font-size: 120px;
  font-weight: 700;
  font-family: "Varela Round", sans-serif;
  color: #000000;
  line-height: 1;
  display: block;
}

.discount__pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.discount__plus {
  font-size: 60px;
  font-weight: 700;
  color: #000000;
  line-height: 1;
}

.discount__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  gap: 8px;
  max-width: 200px;
}

.discount__pair-text {
  font-size: 18px;
  font-weight: 700;
  font-family: "Varela Round", sans-serif;
  font-style: italic;
  color: #000000;
  line-height: 1.2;
  max-width: 200px;
  min-width: 120px;
}

.discount__btn {
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.discount__btn:hover {
  background-color: #c07008;
  transform: translateY(-2px);
}

.discount__btn:active {
  transform: translateY(0);
}

/* Mobile styles */
@media (max-width: 768px) {
  .discount {
    padding: 40px 0;
  }

  .discount__content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .discount__item {
    /* flex: none; */
    width: 100%;
    min-width: auto;
  }

  .discount__item-mobile {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
  }

  .discount__header {
    font-size: 24px;
    /* order: 2; */
    margin: 0 auto;
  }

  .discount__percentage {
    font-size: 80px;
    order: 1;
  }

  .discount__text {
    margin: 0;
  }

  .discount__pair-text {
    font-size: 16px;
  }

  .discount__btn {
    order: 4;
    padding: 14px 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .discount {
    padding: 30px 0;
  }

  .discount__content {
    gap: 25px;
  }

  .discount__header {
    font-size: 20px;
    margin: 0 auto;
  }

  .discount__percentage {
    font-size: 60px;
  }

  .discount__plus {
    font-size: 32px;
  }

  .discount__pair-text {
    font-size: 14px;
  }

  .discount__btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Team Section */
.team {
  padding: 80px 0;
  background-color: #000000;
}

.team__header {
  font-weight: 400;
  font-size: 40px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 50px;
}

.team__items {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  margin-bottom: 50px;
}

.team__item {
  flex: 0 0 calc(25% - 30px);
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team__name {
  font-size: 2.5vw;
  color: rgb(192, 112, 8);
  /* font-size: 22px; */
  font-weight: 500;
  margin-bottom: 8px;
}

.team__position {
  font-size: 16px;
  color: #666666;
  margin: 0;
}

.team__button {
  text-align: center;
}

.team__link {
  display: inline-block;
  padding: 15px 40px;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.team__link:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Team Responsive Design */
@media (max-width: 1200px) {
  .team__items {
    gap: 40px;
  }

  .team__item {
    flex: 0 0 calc(33.333% - 27px);
  }
}

@media (max-width: 900px) {
  /* .team__item {
    flex: 0 0 calc(50% - 20px);
  } */

  .team__items {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .team {
    padding: 40px 0;
  }

  .team__header {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .team__items {
    gap: 25px;
    margin-bottom: 40px;
  }

  .team__item {
    flex: 0 0 calc(50% - 12px);
    padding: 15px;
  }

  .team__img {
    height: 250px;
  }

  .team__name {
    font-size: 8vw;
    color: rgb(192, 112, 8);
    margin-top: 0;
  }

  .team__position {
    font-size: 14px;
  }

  .team__link {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .team__item {
    flex: 0 0 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .team__items {
    justify-content: center;
  }
}

/* -----ACADEMY Section */
.academy {
  padding: 40px 0;
  background-color: #ffffff;
}

.academy__title {
  font-size: 32px;
  font-weight: 400;
  color: #000000;
  text-align: left;
  margin-bottom: 20px;
}
.academy__header {
  font-size: 40px;
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.academy__content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.academy__image {
  flex: 1;
  max-width: 50%;
}

.academy__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.academy__text {
  flex: 1;
  max-width: 50%;
}

.academy__paragraph {
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 700;
}

.academy__button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.academy__button:hover {
  background-color: #c07008;
  color: #ffffff;
  transform: translateY(-2px);
}

.academy__button:active {
  transform: translateY(0);
}

/* Mobile styles for Academy */
@media (max-width: 768px) {
  .academy {
    padding: 20px 0;
  }

  .academy__header {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .academy__content {
    flex-direction: column;
    gap: 40px;
    font-weight: 700;
  }

  .academy__image {
    max-width: 100%;
  }

  .academy__text {
    max-width: 100%;
  }

  .academy__paragraph {
    font-size: 16px;
  }

  .academy__button {
    display: block;
    margin: 0 auto;
    padding: 14px 28px;
    font-size: 14px;
    text-align: center;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .academy {
    padding: 40px 0;
  }
  .academy__title {
    font-size: 24px;
    font-weight: 700;
  }
  .academy__header {
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .academy__content {
    gap: 30px;
    font-weight: 700;
  }

  .academy__paragraph {
    font-size: 14px;
  }

  .academy__button {
    display: block;
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 14px;
    text-align: center;
    max-width: 200px;
  }
}

/* -------Academy About Section */
.about_academy {
  padding: 62px 0;
  background: url("../img/academy_bg.png") no-repeat center top / cover;
  background-color: #5e6666;
}

.about__title {
  font-weight: 400;
  font-size: 40px;
  text-transform: uppercase;
  max-width: 700px;
  margin: 24px auto;
  text-align: center;
}
.about__description {
  line-height: 150%;
  max-width: 700px;
  margin: 40px auto 40px auto;
  text-align: center;
}
.about_academy {
  margin: 0 auto;
  text-align: center;
}
.about__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(384px, 1fr));
  gap: 24px;
}
.about__item {
  padding: 6px 0 6px 96px;
  background-position: left;
  background-repeat: no-repeat;
  background-size: 80px;
  min-height: 80px;
}

.about__item_top {
  background-image: url("../img/top.svg");
}
.about__item_master {
  background-image: url("../img/master.svg");
}
.about__item_garant {
  background-image: url("../img/garant.svg");
}

.about__item-title {
  margin: 0 0 8px;
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
}
.about__item-description {
  margin: 0;
  line-height: 130%;
}

.about_reserve {
  text-align: center;
  padding-top: 50px;
}
.about_reserve a {
  font-size: 15px;
  text-transform: uppercase;

  text-decoration: underline;
  background-color: rgb(255, 255, 255);
  color: rgb(38, 37, 35);
  padding: 10px;
  border-radius: 5px;

  transition: 0.3s all;
}
.about_reserve a:hover {
  background-color: rgb(28, 25, 25);
  color: rgb(192, 112, 8);
}

@media (max-width: 1024px) {
  .about__content {
    gap: 40px;
  }

  .about__photo {
    flex: 0 0 400px;
  }

  .about__description {
    margin-bottom: 46px;
  }

  .about__list {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  }

  .about__item {
    padding-top: 96px;
    background-position: left top;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 40px 0;
  }

  .about__header {
    font-size: 32px;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .about__content {
    flex-direction: column;
    gap: 30px;
  }

  .about__photo {
    flex: none;
    order: -1;
  }

  .about__text h2 {
    font-size: 28px;
  }

  .about__text h3 {
    font-size: 20px;
  }

  .about__text p {
    font-size: 14px;
  }

  .about__title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .about__description {
    margin-bottom: 32px;
  }

  .about__list {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .about__item {
    padding-left: 96px;
    padding-top: 0;
    background-position: top left;
  }
  .about__item-title {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .about {
    padding: 20px 0 40px 0;
  }

  .about__header {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .about__text h2 {
    font-size: 22px;
  }

  .about__text h3 {
    font-size: 18px;
  }

  .about__text p {
    font-size: 13px;
  }

  .about_academy {
    padding: 10px 0 32px 0;
    background: url("../img/academy_bg_mobile.png") no-repeat center top / cover;
    background-color: #5e6666;
  }
  .about__list {
    grid-template-columns: minmax(272px, 1fr);
  }
  .about__title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .about__description {
    font-size: 12px;
  }
  .about__item {
    padding-top: 72px;
    padding-left: 0;
    min-height: 64px;
    background-size: 64px;
  }
  .about_academy img {
    max-width: 100%;
    width: 50vw;
  }
  .about__title {
    margin-top: 10px;
    font-size: 6vw;
  }
  .about__description {
    font-size: 3.5vw;
  }
  .about__item-title {
    font-size: 5vw;
  }
  .about__item-description {
    font-size: 3.5vw;
  }
  .about_reserve {
    padding-top: 10px;
  }
  .about_reserve a {
    font-size: 3vw;

    background-color: rgb(255, 255, 255);
    color: rgb(38, 37, 35);
    padding: 5px 10px;
    border-radius: 3px;
  }
}
