@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* ************COMMON************ */

.logo {
  display: inline-block;
  margin-left: -0.938rem;
}

.logo img {
  max-height: 90px;
  width: auto;
  vertical-align: middle;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
  padding-left: 0.938rem;
  position: relative;
}

.header__logo {
  position: relative;
  z-index: 2;
  margin-right: 2rem;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 600;
  position: relative;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #303a4d;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

/* *****************HOME**************** */

.main {
  background: url("../Images/Home/Home-Hero.jpg") center / cover no-repeat;
  min-height: 120vh;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 13rem;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.main__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

.outro_home {
  background: url("../Images/Home/CTA.jpg") center / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../Images/About/About-Hero.jpg") center / cover no-repeat;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../Images/About/CTA.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../Images/Services/Services-Hero.jpg") center / cover no-repeat;
}

.services {
  background-color: #e5ebd5;
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  height: 421px;
}

.item-services__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_services {
  background: url("../Images/Services/CTA.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
}

.item-testimonial__image {
  max-width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 64px;
}

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

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
}

.footer__container {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
}

.footer__logo {
  justify-self: center;
}

.footer__logo img {
  max-height: 75px;
  width: auto;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 676px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: url("../Images/Contact/Contact-Hero.jpg") center / cover no-repeat;
  color: #E3B448;
}

.main_contact .main__title,
.main_contact .main__text {
  color: #E3B448;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.contact__title {
  margin-bottom: 32px;
  font-weight: 600;
  line-height: 110%;
  font-size: 32px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.connect-contant__type {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact__link img {
  width: 24px;
  height: 24px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

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

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.main_pricing {
  background: url("../Images/Services/Services-Hero.jpg") center / cover no-repeat;
}

.outro_pricing {
  background: url("../Images/Services/CTA.jpg") center / cover no-repeat;
}

.pricing {
  background-color: #e5ebd5;
}

.pricing__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  text-align: center;
}

.pricing__caption {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.pricing__title {
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.pricing__text {
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  margin-bottom: 5.5rem;
}

.pricing__row {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  justify-content: center;
}

.pricing__column {
  flex: 1;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
}

.pricing__item {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.item-pricing__info {
  padding-bottom: 2rem;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 2rem;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.item-pricing__cost {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303a4d;
}

.item-pricing__description {
  color: #666;
  margin-bottom: 1rem;
}

.item-pricing__list {
  margin-bottom: auto;
  text-align: left;
  flex-grow: 1;
  min-height: 240px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.item-pricing__item::before {
  content: "✓";
  color: #303a4d;
  font-weight: bold;
}

.item-pricing__button {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

.item-pricing__button:hover {
  background-color: #404c64;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

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

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }

  .pricing__row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .pricing__column {
    min-height: 600px;
  }

  .item-pricing__list {
    min-height: 220px;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.938rem;
  }

  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 530px) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}@media (max-width: 768px) {
  .pricing__title {
    font-size: 2.5rem;
  }
  
  .pricing__container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Review Form Styles */
.review-form {
  width: 100%;
  max-width: 450px;
}

.form-group {
  margin-bottom: 1rem;
}

.review-form input,
.review-form textarea {
    width: 100%;
  padding: 0.6rem;
  border: 1px solid #e1e4eb;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.review-form textarea {
  resize: vertical;
  min-height: 100px;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #303a4d;
}

.rating {
  display: flex;
    flex-direction: column;
  gap: 0.3rem;
}

.rating span {
  font-weight: 500;
  font-size: 0.95rem;
}

.stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.2rem;
}

.stars input {
  display: none;
}

.stars label {
  font-size: 1.3rem;
  color: #ddd;
  cursor: pointer;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
  color: #E3B448;
}

.review-form button {
    width: 100%;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}

.review-form button:hover {
  background-color: #404c64;
}

/* Update mobile menu styles */
@media (max-width: 767.98px) {
  .header__container {
    min-height: 5rem;
    padding: 0.5rem 0.938rem;
  }

  .logo img {
    max-height: 70px;
  }

  .menu__body {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: -100%;
    background-color: #fff;
    padding: 6.5rem 1rem 2rem 1rem;
    transition: left 0.3s ease;
    overflow: auto;
    flex-direction: column;
    display: flex;
    z-index: 999;
  }

  .menu__body._active {
    left: 0;
  }

  .menu__list {
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    width: 100%;
    display: flex;
  }

  .menu__item {
    width: 100%;
    text-align: center;
  }

  .menu__link {
    font-size: 1.5rem;
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .actions-header__button {
    margin-top: 2rem;
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    width: fit-content;
  }

  .icon-menu {
    display: block;
    position: relative;
    width: 1.8rem;
    height: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    transition: all 0.3s ease;
    right: 0;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #303a4d;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .icon-menu span {
    top: calc(50% - 1px);
  }

  .icon-menu._active span {
    width: 0;
  }

  .icon-menu._active::before {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
  }

  .icon-menu._active::after {
    bottom: calc(50% - 1px);
    transform: rotate(45deg);
  }

  .header__navigation {
    flex: 0 1 auto;
    width: auto;
  }

  .menu-open {
    overflow: hidden;
  }
}

/* Add JavaScript functionality class */
.menu-open {
  overflow: hidden;
}

/* Menu Styling */
.menu-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-section__title {
  font-size: 2rem;
  color: #303a4d;
  margin-bottom: 1rem;
    text-align: center;
}

.menu-section__description {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.menu-category {
  margin-bottom: 2rem;
}

.menu-category__title {
  font-size: 1.5rem;
  color: #303a4d;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
    align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

.item-name {
  font-weight: 500;
  color: #303a4d;
}

.item-price {
  font-weight: 600;
  color: #303a4d;
}

.main-bowl {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.alt-milk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alt-milk-list li {
  color: #666;
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .menu-section__title {
    font-size: 1.75rem;
  }

  .menu-category__title {
    font-size: 1.25rem;
  }
}

