/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700');
html {
  scroll-behavior: smooth;
}
:root {
  color-scheme: light dark;
  --background: #fff;
  --text: #383b38;
  --header-bg: #c8beb7;
  --link: #383b38;
  --button-bg: #383b38;
  --button-text: #fff;
  --primary-color: #5d835e;
  --frontpage-overlay: rgba(0, 0, 0, 0.4);
  --frontpage-text: #fff;
  --content-alt-bg: #dcd7d3;
  --contact-bg: #f0f0f0;
  --form-border: #383b38;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #fff;
    --text: #383b38;
    --header-bg: #c8beb7;
    --link: #383b38;
    --primary-color: #5d835e;
    --button-bg: #383b38;
    --button-text: #fff;
    --frontpage-overlay: rgba(0, 0, 0, 0.4);
    --frontpage-text: #fff;
    --content-alt-bg: #dcd7d3;
    --contact-bg: #f0f0f0;
    --form-border: #383b38;
  }
}

.dark {
  --background: #fff;
  --text: #383b38;
  --header-bg: #c8beb7;
  --link: #383b38;
  --primary-color: #5d835e;
  --button-bg: #383b38;
  --button-text: #fff;
  --frontpage-overlay: rgba(0, 0, 0, 0.4);
  --frontpage-text: #fff;
  --content-alt-bg: #dcd7d3;
  --contact-bg: #f0f0f0;
  --form-border: #383b38;
}

body {
  font-family: "Libre Bodoni", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.button {
  font-family: Georgia, serif;
  display: inline-block;
  padding: 1rem 1.6rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  border: 0;
}

.button:hover {
  background-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 10%;
  background: var(--header-bg);
}

.logo a {
  color: var(--link);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.menu {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu li {
  display: inline;
}

.menu a {
  text-decoration: none;
  color: var(--link);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: var(--primary-color);
}

.menu a.is-active,
.menu a[aria-current="page"] {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.frontpage--video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  background: var(--header-bg); /* Fallback for video */
}

. hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.scroll {
  position: absolute;
  bottom: 20px;
  right: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: down 1.5s infinite;
  -webkit-animation: down 1.5s infinite;
  background: none;
  cursor: pointer;
  z-index: 999;

  &::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 18px;
    width: 18px;
    height: 18px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
  }
}

@keyframes down {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translateY(15px);
  }
  40% {
    transform: translate(0);
  }
}

@-webkit-keyframes down {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translateY(15px);
  }
  40% {
    transform: translate(0);
  }
}


.frontpage--video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--frontpage-overlay);
  z-index: 0;
}

.frontpage--content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100vh;
  text-align: left;
  padding: 0 10%;
  margin-left: 0;
  margin-right: 0;
  color: var(--frontpage-text);
}

.frontpage--content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.frontpage--content p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  max-width: 500px;
}

.frontpage--content .button {
  margin-top: 1rem;
  padding: 1.2rem 2rem;
  background-color: transparent;
  border: 2px solid var(--frontpage-text);
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.frontpage--content .button:hover {
  color: var(--text);
  background-color: var(--frontpage-text);
  border: 2px solid var(--frontpage-text);
}

.content {
  position: relative;
  z-index: 1;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  font-size: 1.2rem;
}

.image-block img {
    width: 100%;
    height: auto;
    object-fit: contain; /* or cover, depending on needs */
}

.frontpage .content {
  padding: 8rem 10%;
}

.content .section{
  padding: 4rem 10%;
}

.content .section.section--dark{
  background: var(--contact-bg);
}

.content .section.section--center{
  padding: 3rem 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content.align-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: var(--content-alt-bg);
}

.content.align-right.text-wrapper {
  padding-left: 5%;
}

.content.align-right .button {
  align-self: flex-start;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
}


.content h3 {
  font-size: 1.7rem;
  margin-bottom: 1.7rem;
  font-weight: bold;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}


.content ul {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.content .button {
  border: none;
  font-size: 1rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  font-weight: bold;
}

.content.contact-section {
  background: var(--contact-bg);
  padding: 3rem 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.block--image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text);
}

.contact-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text);
  max-width: 720px;
}

.content.contact-section .button {
  background-color: var(--primary-color);
  color: var(--button-text);
  font-weight: bold;
  padding: 1.2rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.content.contact-section .button:hover {
  background-color: var(--button-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact--content {
  border-bottom: 0.25rem dotted var(--content-alt-bg);
  width: 100%;
}

.contact--form {
  padding: 4rem 0 0 0;
  width: 100%;
}

.contact--form .button {
  background: var(--primary-color);
}

.contact--page {
  padding: 0;
  display: flex;
  justify-content: center
}

.form-left {
  width: 70%;
  max-width: 700px;
  padding: 30px;
}

.form-right {
  background: var(--content-alt-bg);
  width: 30%;
  padding: 30px;
}

ul.contact-list {
  list-style: none;
  padding: 2rem;
}
/* Style the contact list container */
ul.contact-list {
  padding: 0;
  list-style: none; /* Remove default list bullets */
  margin: 0; /* Remove default margin */
}

/* Style each list item */
ul.contact-list li {
  margin: 0 0 2rem 0; /* Ensure no extra margins */
}

/* Style the anchor tags */
ul.contact-list a {
  display: flex;
  align-items: center; /* Vertically center icon and text */
  text-decoration: none; /* Remove underline from links */
  color: #333; /* Adjust color as needed */
  font-size: 16px; /* Adjust text size */
}

/* Style the icon element */
ul.contact-list i.icon {
  display: inline-block;
  width: 48px; /* Icon width */
  height: 48px; /* Icon height */
  margin-right: 1rem; /* Space between icon and text */
  background-size: contain;
  background-repeat: no-repeat;
}

ul.contact-list i.icon:hover,
ul.contact-list i.icon:hover,
ul.contact-list i.icon:hover {
  filter: brightness(0) saturate(100%) hue-rotate(200deg);
}

/* Icon-specific background images */
ul.contact-list li.email .email-icon {
  background-image: url('../img/contact_icon.svg');
}

ul.contact-list li.facebook .facebook-icon {
  background-image: url('../img/facebook_icon.svg');
}

ul.contact-list li.instagram .instagram-icon {
  background-image: url('../img/instagram_icon.svg');
}

/* Style the link text */
ul.contact-list .link-text {
  display: inline; /* Default: show text */
}

.form-item {
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  min-width: 0;
  margin: 0 0 20px 0;
}

.form-item label {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
}

.form-text,
.form-textarea,
.form-email {
  padding: 10px;
  border: 1px solid var(--form-border);
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--background);
  color: var(--text);
}

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

.form-actions {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .frontpage--content h1 {
    font-size: 3rem;
  }

  .frontpage--content p {
    font-size: 1.4rem;
    max-width: 100%;
  }

  .frontpage--content .button {
    padding: 8px 16px;
  }

  .content h2 {
    font-size: 2.3rem;
  }

  .content p {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .content ul {
    font-size: 1.2rem;
  }

  .content .button {
    padding: 8px 16px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .menu {
    width: 100%;
    margin-top: 1rem;
    display: block;
  }

  .menu ul,
  .menu ul.main-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    padding: 0.75rem 0;
  }
  .form-left {
    width: calc(100% - 80px);
  }

  .form-right {
    width: 80px;
    padding: 16px 0;
  }
  ul.contact-list .link-text {
    display: none;
  }

  ul.contact-list i.icon {
    margin: 0 16px;
  }

  ul.contact-list i {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .frontpage--content h1 {
    font-size: 1.8rem;
  }

  .frontpage--content p {
    font-size: 1rem;
  }

  .frontpage--content .button {
    padding: 6px 12px;
  }

  .content h2 {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 1rem;
  }

  .content .button {
    padding: 6px 12px;
  }
}
