* {
  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";
  color: var(--Cream);
  font-weight: lighter;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--Cream);
  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;
  color: var(--Cream);
}

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%;
  }
}

/**/
.section_container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--Dark_blue);
}

.section_div {
  width: 100%;
  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 p {
  line-height: 1.6;
  color: var(--Cream);
}

@media (min-width: 800px) {
  .section_container {
    height: 40vh;
  }

  .span_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .span_container p {
    width: 45%;
  }
}

@media (min-width: 1024px) {
  .section_container {
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .span_container p {
    width: 60%;
  }

  .section_article {
    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: 60vh;
    margin: 0 auto;
    padding: 2rem 3rem;
    gap: 3rem;
  }

  .section_div {
    width: 90%;
  }
}

/*Service section*/
.service_wrap {
  padding: 2rem 2rem;
  background-color: var(--Cream);
  display: flex;
  justify-content: center;
}

.service_inner {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
}

.service_h {
  padding-left: 0.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service_h h3 {
  font-size: 1.5rem;
  color: var(--Dark_blue);
  text-align: left;
  margin-bottom: 2rem;
  max-width: 800px;
}

.service_point_wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service_h.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.service_point_wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.service_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
  width: 100%;
  max-width: 350px;
  min-height: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background-color: var(--Cream);
  transition: transform 0.3s, box-shadow 0.3s;
}

.icon {
  width: 45px;
  height: 45px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service_box h4 {
  font-size: 1.1rem;
  color: var(--Dark_blue);
  margin: 0 0 0.5rem 0;
}

.service_box p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.service_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .service_point_wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .service_box {
    flex: 1 1 calc(33.333% - 1.5rem);
  }

  .service_h h3 {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .service_wrap {
    padding: 4rem 2rem;
  }

  .service_h h3 {
    font-size: 2rem;
  }
}

/* about section*/
.about_section {
  color: var(--Dark_blue);
  padding: 2rem 2rem;
}

.about_container {
  width: 90%;
  display: block;
}

.about_image_wrapper {
  width: 100%;
  height: 250px;
  background-image: url("../images/Weber.JPG");
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

.about_text {
  width: 100%;
}

.about_paragraph {
  max-width: 65ch;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about_container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .about_image_wrapper {
    width: 40%;
    height: auto;
    min-height: 300px;
  }

  .about_text {
    width: 60%;
  }
}

@media (min-width: 1024px) {
  .about_section {
    padding: 4rem 2rem;
  }

  .about_image_wrapper {
    min-height: 400px;
  }

  .about_paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    padding-right: 2rem;
  }
}

@media (min-width: 1200px) {
  .about_section {
    display: flex;
    justify-content: center;
  }

  .about_container {
    width: 60%;
    gap: 4rem;
  }

  .about_paragraph {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) and (max-height: 850px) {
  .about_container {
    min-width: 1000px;
  }
}

/* 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;
}
