@font-face {
  font-family: "Optima";
  src: url("../fonts/optima/OPTIMA.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

.formflag {
  display: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  box-sizing: border-box;
  font-family: "Optima", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Headline Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

/* Unordered List Styles */
ul {
  font-weight: 600;
}

/* Header Styles */
header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
input:focus {
  outline: none;
}
.button_container {
  width: 40px;
  height: 30px;
  position: relative;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.button_container span {
  width: 100%;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.3s;
  display: block;
  border-radius: 2px;
}

.button_container.active .top {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.button_container.active .middle {
  opacity: 0;
}

.button_container.active .bottom {
  transform: rotate(45deg) translate(-8px, -8px);
}

.overlay {
  transition: opacity 0.3s ease;
}

.overlay.open {
  display: block !important;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Swiper customization */
.swiper-button-prev,
.swiper-button-next {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: 50% !important;
  transform: translateY(-50%);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  color: white;
  font-size: 20px;
}

.swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
  background-color: white;
}

/* Modal Styles */
.modal {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  display: none;
}

.modal.hidden {
  display: none !important;
}

.modal:not(.hidden) {
  display: flex !important;
}

/* Form Styles */
input.phone {
  padding: 10px 12px;
}

.input-error {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}
.banner-section {
  position: relative;
}
.banner-div {
  height: clamp(520px, calc(100vh - 69px), 760px);
  overflow: hidden;
  position: relative;
}
.banner-div::before {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
}
.banner-div .swiper-wrapper {
  height: 100%;
}
.banner-div .swiper-slide {
  height: 100%;
}
.banner-div .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.banner-div .swiper-button-prev,
.banner-div .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.banner-div .swiper-button-prev {
  left: 1rem;
}
.banner-div .swiper-button-next {
  right: 1rem;
}
.banner-div .swiper-button-prev:after,
.banner-div .swiper-button-next:after {
  font-size: 18px;
}
.banner-div .swiper-button-disabled {
  opacity: 0.35;
}
.banner-div .banner-swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
}
.banner-div .swiper-pagination-bullet {
  background: #caa54acc;
  opacity: 1;
}
.banner-div .swiper-pagination-bullet-active {
  background: #caa54a;
}
.banner-txt {
  position: absolute;
  top: 70%;
  left: 55%;
  width: 100%;
  padding: 0 20px;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}
.banner-text-div button,
.banner-text-div a {
  pointer-events: auto;
}
.border-right {
  border-right: 1px solid #dee2e6;
}
.banner-section {
  position: relative;
  padding-top: 69px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-section {
    padding-top: 70px;
  }
  .banner-div {
    height: 560px;
    margin-top: -12px;
  }

  .banner-div .swiper-button-prev,
  .banner-div .swiper-button-next {
    display: none;
  }

  .banner-txt {
    top: auto;
    bottom: 10%;
    left: 0;
    transform: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100%;
    padding: 0 12px 18px;
  }

  .banner-text-div {
    width: 100%;
    margin: 0;
    padding: 14px;
  }

  .desktop-banner {
    display: none;
  }

  .mobile-banner {
    display: block;
  }
  .gallery-swiper {
    padding-bottom: 32px;
  }
}

/* Smooth transitions */
a.scroll-link {
  transition: color 0.3s ease;
}

button {
  transition: all 0.3s ease;
}

/* Utility */
.blur {
  position: relative;
}

.blur img {
  filter: blur(2px);
  transition: filter 0.3s ease;
}

.blur:hover img {
  filter: blur(0px);
}
