* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Source+Sans+Pro&display=swap");

body {
  font-family: "Playfair Display", serif;
  font-family: "Source Sans Pro", sans-serif;
  overflow-x: hidden;
  background-color: var(--Cream);
}

:root {
  --background_texture: linear-gradient(
    135deg,
    #f4efe6 25%,
    #e8e2d9 25%,
    #e8e2d9 50%,
    #f4efe6 50%,
    #f4efe6 75%,
    #e8e2d9 75%,
    #e8e2d9
  );

  --Ivery_sand: #e4d6c5;
  --Burnt_sieanna: #984216;
  --Stormy_sky: #78898f;
  --Cream: #f4efe6;
  --Dark_blue: #0e2540;
  --Light_blue: #d1d9e2;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-family: "Playfair Display";
  font-weight: lighter;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  font-family: "Playfair Display";
  font-weight: lighter;
}

h3 {
  padding-bottom: 1rem;
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 1px;
}

h4 {
  margin-bottom: 0.5rem;
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2vw, 1.5rem);
}

h5 {
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: lighter;
  margin-bottom: 2%;
  color: var(--Dark_blue);
}

h6 {
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: lighter;
  margin-bottom: 2%;
  color: var(--Dark_blue);
}

p {
  font-family: "Source Sans Pro";
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  line-height: 1.5rem;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  width: 100%;
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar_left {
  display: flex;
  align-items: center;
  width: auto;
  cursor: pointer;
}

.logo {
  height: 35px;
  width: auto;
}

.menu_toggle {
  background: none;
  border: none;
  color: var(--Cream);
  font-size: 2rem;
  cursor: pointer;
  display: block;
  z-index: 1100;
}

.navbar_center {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--Dark_blue);
  flex-direction: column;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.menu_list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu_list li a {
  color: var(--Cream);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2rem;
  padding: 10px 20px;
  display: block;
}

.menu_list li a:hover {
  text-decoration: underline;
}

.navbar_center.open {
  display: flex;
}

@media (min-width: 768px) {
  .navbar {
    padding: 20px 40px;
    justify-content: flex-start;
  }

  .menu_toggle {
    display: none;
  }

  .navbar_center {
    flex-basis: 100%;
    position: static;
    display: flex !important;
    width: auto;
    height: 0;
    flex-direction: row;
    justify-content: 0;
    gap: 15px;
    margin-left: 20%;
  }

  .menu_list {
    flex-direction: row;
    gap: 20px;
    padding: 0;
  }

  .menu_list li a {
    font-size: 1rem;
    padding: 6px 12px;
  }
}

@media (min-width: 1024px) {
  .navbar_center {
    margin-left: 50%;
  }
}

/**/
.price_btn {
  background-color: var(--Burnt_sieanna);
  background-color: #a07d57;
  border: none;
  border-radius: 24px;
  width: 150px;
  height: 35px;
  color: var(--Cream);
  cursor: pointer;
}

.section_container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--Dark_blue);
}

.section_div {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section_div.visible {
  opacity: 1;
  transform: translateY(0);
}

.section_div h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #a07d57;
}

.span_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.span_container span {
  padding-bottom: 4%;
  color: var(--Cream);
}

.span_container span h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--Cream);
  font-weight: 600;
}

.span_container p {
  line-height: 1.6;
  color: var(--Cream);
}

@media (min-width: 768px) {
  .section_div {
    width: 90%;
  }
}

@media (min-width: 800px) {
  .section_container {
    height: 40vh;
  }

  .span_container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .span_container span {
    width: 35%;
  }

  .span_container p {
    width: 60%;
  }
}

@media (min-width: 1024px) {
  .section_container {
    height: 40vh;
    justify-content: center;
    align-items: center;
  }

  .section_div {
    padding-top: 6%;
  }
}

@media (min-width: 1024px) and (max-height: 850px) {
  .section_container {
    height: auto;
    padding: 4rem 2rem;
  }
}

@media (min-width: 1200px) {
  .section_container {
    height: 45vh;
    margin: 0 auto;
    gap: 3rem;
    padding: 0;
  }

  .section_div {
    width: 85%;
    padding-top: 0;
  }
}

/**/
.price_intro {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
}

.price_intro h3 {
  color: var(--Dark_blue);
  font-weight: bolder;
  margin-bottom: 1rem;
}

.price_intro p {
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.intro_container {
  width: 100%;
  padding: 1rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro_container.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.container_article {
  width: 100%;
  margin: 2%;
}

.price_aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.price_card {
  background-color: var(--Dark_blue);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.price_card h3 {
  font-size: 1.25rem;
  line-height: 1.6;
  height: 4rem;
  margin: 0 0 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  /* color: var(--Dark_blue); */
  color: var(--Cream);
}

.price_content {
  flex-grow: 1;
}

.price_description {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: var(--Cream);
}

.price_amount {
  margin-top: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  /* color: var(--Dark_blue); */
  color: var(--Cream);
}

@media (max-width: 600px) {
  .intro_container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .intro_container p {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .price_intro {
    flex-direction: row;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .intro_container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--Dark_blue);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    font-family: "Georgia", serif;
  }

  .intro_container p {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2rem;
    font-family: "Arial", sans-serif;
  }

  .price_aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .price_card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (min-width: 1024px) {
  .price_container {
    width: 75%;
  }

  .price_aside {
    display: flex;
    flex-wrap: wrap;
  }

  .price_card {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (min-width: 1280px) {
  .container {
    width: 60%;
    padding: 0;
  }
}
/*FAQ section*/
.faq_wrapper {
  background-color: var(--Ivery_sand);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
}

.faq_wrapper article {
  width: 100%;
  max-width: 650px;
  color: var(--Dark_blue);
}

.faq_wrapper article h2 {
  color: var(--Dark_blue);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.faq_container {
  width: 100%;
  padding-top: 1rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--Dark_blue);
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--Dark_blue);
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-top: 0;
}

.faq-answer.show {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .faq_wrapper {
    padding: 4% 3%;
  }

  .faq_wrapper article h2 {
    font-size: 2.4rem;
  }

  .faq_wrapper article {
    max-width: 750px;
  }
}

@media (min-width: 1200px) {
  .faq_wrapper article {
    max-width: 1100px;
  }
}
/* Kontakt section*/
.kontakt_wrapper {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  background-image: url("../images/contactBackground.jpg");
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 2rem 1rem;
}

.kontakt_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(14, 37, 64, 0.5);
  z-index: 1;
}

.kontakt_container {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.kontakt_text_div,
.kontakt_btn_div {
  width: 100%;
  text-align: center;
  padding-bottom: 1rem;
  color: var(--Cream);
}

.kontakt_btn_div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kontakt_text_div p {
  margin: 0.5rem 0;
}

.kontakt_btn_div {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact_btn {
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  min-width: 250px;
  min-height: 40px;
  text-align: center;
}

.contact_btn:hover {
  background-color: #0b1a2b;
}

@media (min-width: 768px) {
  .kontakt_text_div,
  .kontakt_btn_div {
    width: 50%;
    text-align: center;
    padding-bottom: 2%;
  }

  .kontakt_btn_div {
    flex-direction: row;
  }
}

@media (min-width: 1200px) {
  .kontakt_container {
    max-width: 1100px;
  }

  .kontakt_text_div {
    text-align: center;
    margin-bottom: 1rem;
  }

  .kontakt_btn_div {
    justify-content: center;
  }
}

/*Footer*/
.site_footer {
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 40px 20px 20px;
  font-family: "Arial", sans-serif;
}

.footer_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer_info,
.footer_links,
.footer_social {
  flex: 1 1 200px;
}

.footer_info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer_links ul {
  list-style: none;
  padding: 0;
}

.footer_links li {
  margin-bottom: 8px;
}

.footer_links a {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: var(--Cream);
  line-height: 1.4;
  margin: 0.5rem 0;
  text-decoration: none;
}

.footer_links a:hover {
  text-decoration: underline;
}
footer p {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: var(--Cream);
  line-height: 1.4;
  margin: 0.5rem 0;
}

.footer_social a img {
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.footer_bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #555;
  padding-top: 10px;
  font-size: 0.9rem;
}

.footer_bottom a {
  color: var(--Cream);
  text-decoration: none;
}
