@import url("reset.css");

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

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

:root {
  --primary-color: #3a5a40;
  --secondary-color: #588157;
  --light-color: #a3b18a;
  --accent-color: #dad7cd;
  --text-color: #344e41;
  --white-color: #fff;
}

.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-height: 48px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.footer__logo .logo-img {
  max-height: 40px;
  filter: brightness(2);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--text-color);
  background-color: var(--white-color);
}

[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 ease;
  color: var(--white-color);
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button:hover:before {
  width: 100%;
}

.button:active {
  transform: translateY(-1px);
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.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: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
}

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

.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;
  color: var(--primary-color);
}

.menu__link:hover {
  color: var(--secondary-color);
}

.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 var(--primary-color);
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  color: var(--primary-color);
}

.actions-header__button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

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

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

.main {
  background: url("../img/couple.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 10vh;
}

.main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.65);
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 3rem;
  margin: 0 auto;
  max-width: 80%;
  backdrop-filter: blur(2px);
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.1em;
}

.main__title {
  font-family: "Playfair Display", serif;
  font-size: 5.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.main_pages .main__title {
  font-size: 4rem;
  line-height: 1.2;
  margin: 0;
}

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

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: var(--white-color);
  background-color: var(--primary-color);
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.main__button:hover {
  background-color: var(--secondary-color);
}

.outro_home {
  background: var(--accent-color);
  position: relative;
}

.outro_home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.2);
}

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

.main_about {
  background: url("../img/monterosa.jpg") center 70% / cover no-repeat;
  position: relative;
}

.main_about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.4);
}

.about__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

/* Fix for the "Il Nostro Grande Giorno" section */
.about__section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about__image {
  flex: 1;
  max-width: 500px;
}

.about__content {
  flex: 1;
  max-width: 800px;
  text-align: left;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.about__text {
  max-width: 100%;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-align: left;
}

.about__button {
  margin-top: 1rem;
  display: inline-block;
}

/* Green background for "Ti aspettiamo" section on home page (normal mode only) */
.about_home {
  background-color: #a3b18a;
}

/* Remove background in constellation mode so night sky shows through */
.constellation-mode .about_home {
  background-color: transparent !important;
}

.location-card {
  display: flex;
  align-items: center;
  max-width: 30rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background-color: var(--accent-color);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.location-icon {
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-details {
  flex: 1;
}

.location-name {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.location-address {
  font-size: 0.9rem;
  color: var(--text-color);
  font-style: italic;
}

.location-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--white-color);
  transition: all 0.3s;
}

.location-link:hover {
  background-color: var(--light-color);
}

.outro_about {
  background: var(--accent-color);
  position: relative;
}

.outro_about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.2);
}

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

.main_services {
  background: url("../img/bois.jpg") center / cover no-repeat;
  position: relative;
}

.main_services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.5);
}

.services {
  background-color: var(--accent-color);
}

.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%;
  background-color: var(--white-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.item-services:hover {
  transform: translateY(-5px);
}

.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-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

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

.item-services__button {
  background-color: inherit;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.item-services__button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.outro_services {
  background: var(--accent-color);
  position: relative;
}

.outro_services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.2);
}

/* ************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;
  color: var(--primary-color);
  letter-spacing: 0.1em;
}

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

.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%;
  border: 2px solid var(--primary-color);
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.item-testimonial__caption {
  font-size: 0.938rem;
  color: var(--secondary-color);
}

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

.outro__container {
  padding-top: 6rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.outro__image {
  max-width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.outro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.outro__image .location-attribution {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
}

.outro__content {
  flex: 1;
  text-align: left;
}

.outro__title {
  margin-bottom: 1.25rem;
  text-align: left;
}

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

.outro__button {
  padding: 1.25rem 3rem;
  background-color: var(--primary-color);
}

.outro__button:hover {
  background-color: var(--secondary-color);
}

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

.footer {
  line-height: 150%;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.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;
  color: var(--white-color);
}

.footer__logo {
  justify-self: center;
  color: var(--white-color);
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
  color: var(--white-color);
}

.footer__text {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
  color: var(--white-color);
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  display: none;
}

.main_contact .main__text_pages {
  display: block;
  margin-top: 1rem;
  max-width: none;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.main__container_pages {
  padding: 1.5rem 2.5rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(2px);
  text-align: center;
  width: auto;
  display: inline-block;
}

.main_pages {
  min-height: 80vh !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Title styling for all pages */
.main__title {
  font-family: "Playfair Display", serif;
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--primary-color);
}

.main_pages .main__title {
  font-size: 4rem;
  line-height: 1.2;
  margin: 0;
}

/* ****************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;
  color: var(--text-color);
}

.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;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.main_contact {
  background: url("../img/vertical_noi.jpg") center / cover no-repeat;
  position: relative;
}

.main_contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.5);
}

.main_contact .main__container_glass {
  padding: 1.5rem 2.5rem;
  padding-bottom: 1rem;
  max-height: 220px;
  overflow: hidden;
}

.main_contact .main__text_pages {
  margin-bottom: 0.5rem;
}

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

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--light-color);
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--text-color);
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
  color: var(--primary-color);
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: var(--text-color);
}

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

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-color);
}

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

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* ************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;
  }
}

@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: 47.999rem) {
  .main__container {
    padding: 2rem;
    max-width: 90%;
  }
  
  .main__container_pages {
    padding: 1.2rem 2rem;
  }
  
  .main__title {
    font-size: 3rem;
  }
  
  .main_pages .main__title {
    font-size: 2.5rem;
  }
  
  .main_pages {
    min-height: 60vh !important;
  }
  
  .title {
    font-size: 2rem;
  }

  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: var(--primary-color);
  }

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

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

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

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

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--primary-color);
    z-index: 2;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .about__title {
    text-align: left;
  }
  
  .about__text {
    text-align: left;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

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

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@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;
  }
}

/* ****************GIFTLIST PAGE**************** */
.main_giftlist {
  background: url("../img/valcenis.jpg") center / cover no-repeat;
  position: relative;
  background-position: center 10%; /* Show more of the top, cut bottom if needed */
  min-height: 100vh !important;
}

.main_giftlist::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 177, 138, 0.4);
}

/* Alternative 1: Gradient Overlay */
.main__container_gradient {
  padding: 1.5rem 2.5rem;
  margin: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(58, 90, 64, 0.7));
  border-radius: 8px;
  text-align: center;
  width: 100%;
  max-width: 75%;
}

.main__container_gradient .main__title {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Alternative 2: Glassmorphism */
.main__container_glass {
  padding: 1.5rem 2.5rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 75%;
}

.main__container_glass .main__title {
  color: var(--primary-color);
  text-shadow: none;
}

/* Alternative 3: Simple Text with Shadow */
.main__container_simple {
  padding: 1.5rem 0;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 80%;
}

.main__container_simple .main__title {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Alternative 4: Bottom Band */
.main__container_band {
  padding: 1.5rem 2.5rem;
  margin: 0;
  background: linear-gradient(to top, rgba(58, 90, 64, 0.8) 80%, transparent);
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.main__container_band .main__title {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 0;
}

/* Alternative 5: Subtle Bottom Border */
.main__container_border {
  padding: 1.5rem 0;
  margin: 0;
  text-align: center;
  max-width: 75%;
  border-bottom: 3px solid var(--primary-color);
}

.main__container_border .main__title {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Alternative 6: Dark Transparent Overlay */
.main__container_dark {
  padding: 1.5rem 2.5rem;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  text-align: center;
  max-width: 75%;
}

.main__container_dark .main__title {
  color: white;
}

/* Alternative 7: Minimalist Side Line */
.main__container_sideline {
  padding: 1rem 2rem 1rem 2.5rem;
  margin: 0;
  text-align: left;
  max-width: 75%;
  border-left: 6px solid var(--primary-color);
  position: relative;
}

.main__container_sideline .main__title {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  font-size: 3.5rem;
}

.main__container_sideline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
  border-radius: 0 4px 4px 0;
}

/* Mobile styles for all alternatives */
@media (max-width: 47.999rem) {
  .main__container_gradient,
  .main__container_glass,
  .main__container_simple,
  .main__container_border,
  .main__container_dark,
  .main__container_sideline {
    max-width: 90%;
    padding: 1.2rem 1.5rem;
  }
  
  .main__container_sideline .main__title,
  .main__container_gradient .main__title,
  .main__container_glass .main__title,
  .main__container_simple .main__title,
  .main__container_border .main__title,
  .main__container_dark .main__title,
  .main__container_band .main__title {
    font-size: 2.5rem;
  }
  
  .main__container_band {
    padding: 1.2rem 1.5rem;
  }
}

/* Alternative 8: Text Outline Technique */
.main__container_outline {
  padding: 1.5rem 0;
  margin: 0;
  text-align: center;
  max-width: 80%;
}

.main__container_outline .main__title {
  color: white;
  /* Text outline for better readability */
  text-shadow: 
    -1px -1px 0 rgba(58, 90, 64, 0.8),
    1px -1px 0 rgba(58, 90, 64, 0.8),
    -1px 1px 0 rgba(58, 90, 64, 0.8),
    1px 1px 0 rgba(58, 90, 64, 0.8),
    0 0 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 47.999rem) {
  .main__container_outline {
    max-width: 90%;
    padding: 1.2rem 1.5rem;
  }
  
  .main__container_outline .main__title {
    font-size: 2.5rem;
  }
}

/* ****************COUNTDOWN**************** */
.page__countdown {
  background-color: var(--white-color);
  padding: 0;
  margin-top: -80px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.countdown__container {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.countdown__timer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown__timer:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  position: relative;
}

.countdown__item:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -1rem;
  top: 0;
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.countdown__number {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
  transition: all 0.3s ease;
  position: relative;
}

.countdown__number.pulse {
  animation: pulse 1s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.countdown__label {
  font-size: 0.85rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Work in progress text styling */
.wip-text {
  opacity: 0.6;
  font-size: 0.85em;
  font-weight: 400;
}

/* Gift list page improvements */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gift-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gift-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gift-image {
  height: 200px;
  overflow: hidden;
}

.gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gift-card:hover .gift-image img {
  transform: scale(1.05);
}

.gift-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gift-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.gift-description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.gift-progress {
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.gift-progress-bar {
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.gift-amount {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.gift-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gift-input {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gift-input input,
.gift-input textarea {
  padding: 0.75rem;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.gift-input input:focus,
.gift-input textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.gift-input textarea {
  resize: vertical;
  min-height: 80px;
}

.gift-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.gift-button:hover {
  background-color: var(--secondary-color);
}

.iban-box {
  background-color: var(--accent-color);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px dashed var(--primary-color);
}

@media (max-width: 640px) {
  .countdown__timer {
    gap: 1rem;
    padding: 1rem;
  }
  
  .countdown__item {
    min-width: 60px;
  }
  
  .countdown__number {
    font-size: 1.8rem;
  }
  
  .countdown__label {
    font-size: 0.7rem;
  }
  
  .countdown__item:not(:last-child)::after {
    right: -0.75rem;
    font-size: 1.6rem;
  }
  
  .gift-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gift-card {
    max-width: 100%;
  }
  
  .iban-box {
    font-size: 1rem;
    word-break: break-all;
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .outro__container {
    flex-direction: column;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .outro__image {
    max-width: 100%;
  }

  .outro__content {
    text-align: center;
  }

  .outro__title {
    text-align: center;
  }
  
  .about__section {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about__image {
    max-width: 100%;
  }
  
  .about__content {
    max-width: 100%;
  }
}

/* Timeline Gallery Styles */
.timeline-gallery {
  width: 100%;
  padding: 2rem 0;
  overflow: hidden;
}

.timeline-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 2rem 0;
  position: relative;
}

.left-to-right {
  flex-direction: row;
}

.right-to-left {
  flex-direction: row-reverse;
}

.polaroid {
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 15px 40px;
  display: inline-block;
  margin: 10px;
  transform: scale(1.175); /* Increase size by 17.5% */
  transition: all 0.2s ease;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
}

.polaroid:nth-child(3n+1) {
  --rotation: -3deg;
}

.polaroid:nth-child(3n+2) {
  --rotation: 2deg;
}

.polaroid:nth-child(3n+3) {
  --rotation: -1deg;
}

.polaroid:hover {
  transform: scale(1.05) rotate(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.polaroid img {
  width: 100%;
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.polaroid img:hover {
  opacity: 0.9;
}

.polaroid .caption {
  text-align: center;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.1rem;
  color: #333;
}

.string {
  height: 2px;
  background: #d7c6ab;
  flex-grow: 1;
  position: relative;
  margin: 0 -10px;
  z-index: 1;
}

.string:before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7c6ab;
  top: -2px;
  left: 0;
}

.string:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7c6ab;
  top: -2px;
  right: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .timeline-row {
    flex-direction: column;
    margin: 1rem 0;
  }
  
  .right-to-left {
    flex-direction: column;
  }
  
  .polaroid {
    margin-bottom: 2rem;
    max-width: 80%;
  }
  
  .string {
    display: none;
  }
}

/* Update about section spacing */
.about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .timeline-row {
    flex-direction: column;
    margin: 1rem 0;
  }
  
  .right-to-left {
    flex-direction: column;
  }
  
  .polaroid {
    margin-bottom: 2rem;
    max-width: 80%;
  }
  
  .string {
    display: none;
  }
  
  .about__section {
    flex-direction: column;
  }
  
  .about__content {
    text-align: center;
  }
  
  .about__title {
    text-align: center;
  }
}

/* Update about section spacing */
.timeline-gallery-title {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Location attribution link for background images */
.location-attribution {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
}

.location-attribution:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.9);
}

.location-attribution svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .location-attribution {
    bottom: 0.6rem;
    right: 0.6rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}

.main__container_glass .main__title,
.main__container_gradient .main__title,
.bank-description {
  text-align: left;
}

.contribution-steps {
  background-color: var(--accent-color);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: left;
  line-height: 1.8;
}

.contribution-steps h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
  text-align: left;
  font-weight: 600;
}

.contribution-steps ol {
  margin-left: 1.5rem;
  line-height: 2;
  text-align: left;
  list-style-type: decimal;
}

.contribution-steps li {
  margin-bottom: 0.75rem;
  text-align: left;
  position: relative;
  padding-left: 0.5rem;
}

.bank-description p {
  text-align: left;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.bank-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Photo Gallery Lightbox Effect */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border: 5px solid white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  color: white;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.lightbox-close:before,
.lightbox-close:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: white;
}

.lightbox-close:before {
  transform: rotate(45deg);
}

.lightbox-close:after {
  transform: rotate(-45deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-prev {
  margin-left: 20px;
}

.lightbox-next {
  margin-right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
  
  .lightbox-caption {
    font-size: 1rem;
  }
}