:root {
  --primary-color: #3379d3;
  --hover-color: #1f5bb5;
}

section {
  padding-top: 50px;
  padding-bottom: 50px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1 0 auto; /* This will make the content div grow */
}

.footer {
  flex-shrink: 0; /* This will prevent the footer from shrinking */
}

.text-primary {
  color: var(--primary-color);
}

.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

.navbar {
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
}

nav .menu {
  display: flex;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

nav li {
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: #429ddc;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.7rem;
}

.navbar a:hover {
  font-weight: bolder;
}

.nav-container {
  display: block;
  position: relative;
  height: 60px;
  width: 100%;
}

.nav-container .hamburger-lines {
  height: 60px;
  width: 60px;
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 50%; /* Makes the button circular */
  background-color: rgba(255, 255, 255, 0.85);
  padding: 12px; /* Padding around the hamburger lines */
}

.nav-container.active .hamburger-lines {
  top: 23px;
  position: fixed !important;
  -webkit-backface-visibility: hidden;
}

.translation-wrap {
  position: absolute;
  top: 15px;
  left: 90px;
  display: flex;
  border-radius: 70px;
  background: rgba(255, 255, 255, 0.7);

  .translation-flag {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    z-index: 2;
    opacity: 0.6;

    &.active {
      opacity: 1;
      background-color: rgba(51, 121, 211, 0.7); /* Add circular background */
      border-radius: 50%; /* Makes the button circular */
    }

    & img {
      width: 40px;
      height: 40px;

      @media (max-width: 768px) {
        width: 25px;
        height: 25px;
      }
    }
  }
}

.overlay-menu {
  position: absolute;
  display: none;
  top: 0;
  right: 0;
  width: calc(100vw - 415px);
  z-index: 1;
  height: 100vh;
}

.nav-container.active .translation-wrap {
  background: rgba(255, 255, 255, 1);
  z-index: 10;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 10px;
  background: var(--primary-color);
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 150%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% -40%;
  transition: transform 0.4s ease-in-out;
}

nav .menu {
  padding-top: 120px;
  min-height: 100vh;
  width: 415px;
  position: fixed;
  -webkit-backface-visibility: hidden;
  top: 0;
  left: 0;
  display: flex;
  transform: translateX(-100%);
  flex-direction: column;
  justify-content: space-between;
  margin-left: -40px;
  padding-left: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
}

nav .menu li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.logo {
  position: absolute;
  top: 20px;
  right: 50px;
}

.menu.active {
  transform: translateX(0);
}

.nav-container.active .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container.active .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container.active .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

/* CSS */
.btn {
  background-color: transparent;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 40px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}

.blue .btn {
  border: 2px solid white;
  color: white;
}

.milk .btn {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn:disabled {
  pointer-events: none;
}

.blue .btn:hover {
  color: var(--primary-color);
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.milk .btn:hover {
  color: #fff;
  background-color: var(--primary-color);
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.btn:active {
  box-shadow: none;
  transform: translateY(0);
}

.iframe-wrapper {
  position: relative;
  height: 60vh; /* Fixed height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: -55%;
  left: 0;
  width: 100%; /* Full viewport width */
  height: 210%; /* Full height */
  object-fit: cover; /* Ensure it fills the area */
  border: none;

  @media (max-width: 1200px) {
    width: 150%;
  }
  @media (max-width: 768px) {
    width: 330%;
    left: -50%;
  }
}

.w-fit {
  width: fit-content;
}

.h-fit {
  height: fit-content;
}

.w-full {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-container .hamburger-lines {
    height: 45px !important;
    width: 45px !important;
    padding: 12px; /* Padding around the hamburger lines */
  }

  .translation-flag {
    left: 70px;
    height: 45px !important;
    width: 45px !important;
  }

  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 150% !important;
  }

  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% -40% !important;
  }

  .nav-container.active .hamburger-lines {
    top: 23px;
  }

  .nav-container .hamburger-lines .line {
    height: 4px !important;
  }

  .logo {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .logo img {
    width: 150px;
  }
}

a.blue {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold; /* Optional: Makes the text bold */
  padding: 5px;
}

a.white {
  color: white;
}

a.white:hover {
  color: #d6d4d4;
}

a:hover {
  color: var(--hover-color) !important; /* Darken the color slightly on hover */
  text-decoration: underline; /* Optionally add underline on hover */
}

.under-footer-links {
  color: var(--primary-color);
}

.breadcrumb-wrap {
  font-size: 20px;
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--hover-color) !important;;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

p {
  font-size: 20px;
}

.max-full {
  max-width: 100%;
}

.product-card .content {
  color: var(--primary-color);
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.product-card {
  width: 300px;
}

img {
  max-width: 100%;
}

.text-primary {
  color: var(--primary-color) !important; /* Override primary text color */
}

.sz-map {
  width: 500px;
}

@media (max-width: 768px) {
  .sz-map {
    width: 350px;
  }
}

.custom-select {
  position: relative;
  width: 300px;
  font-size: 16px;
  color: var(--primary-color);
}

/* Summary (Selected option) */
.custom-select .select-summary {
  font-size: 20px;
  padding: 0.75rem;
  cursor: pointer;
  height: 100%;
  border-radius: 5px;
  background-color: #f6f6f6;
  border: 1px solid #ccc;
  transition: background-color 0.3s ease;
}

.custom-select .select-summary:hover {
  background-color: #e0e0e0;
}

/* Dropdown List */
.custom-select .list {
  width: 100%;
  background: #f0f0f0;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: none; /* Hide by default */
  border: 1px solid #ccc;
  font-size: 17px;
}

/* Opened dropdown */
.custom-select.open .list {
  display: block; /* Show the dropdown when open */
}

/* Dropdown items */
.custom-select .list div {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom-select .list div:hover {
  background-color: #eaeaea;
}

.dropdown-icon {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.dropdown-icon::before {
  font-size: 30px;
}

.custom-select.open .dropdown-icon {
  transform: rotateX(180deg) translateY(50%);
}

.py-6 {
  padding-bottom: 4rem;
  padding-top: 4rem;
}

@media (max-width: 768px) {
  .py-6 {
    padding-bottom: 2rem;
    padding-top: 2rem;
  }
}

.pt-8 {
  padding-top: 6rem;
}

@media (max-width: 768px) {
  .pt-8 {
    padding-top: 3rem;
  }
}

.product-table {
  width: 100%;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
}

.product-table .label {
  position: absolute;
  top: -22px;
  left: 20px;
  background-color: white;
}

.contact-wrap {
  width: 500px;
  height: 450px;
  padding: 20px;
  border-radius: 10px; /* Rounded corners */
  color: #fff; /* White text color */
  text-align: center; /* Center the text */
  border: 2px solid white;
}

@media (max-width: 768px) {
  .contact-wrap {
    width: 320px;
  }
}

.contact-form h6 {
  font-size: 24px; /* Similar to the heading size in the image */
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px; /* Spacing between heading and form */
}

.contact-form .email,
.contact-form .subject,
.contact-form .message {
  width: 100%;
  padding: 15px;
  border: 2px solid #ffffff; /* White border to match the color scheme */
  border-radius: 5px;
  color: black; /* White text */
  font-size: 16px;
  margin-bottom: 15px; /* Spacing between form elements */
}

.contact-form .email::placeholder,
.contact-form .subject::placeholder,
.contact-form .message::placeholder {
  color: #c7d3e3; /* Light placeholder color */
}

.contact-form .sending-msg {
  display: none; /* Hidden by default */
}

.contact-form .contact-form-msg-error {
  display: none;
  color: #ff4a4a; /* Error message in red */
  margin-top: 15px;
}

.contact-form-msg p.loading {
  color: #fff; /* Loading text color */
  font-size: 18px;
}

.contact-form-msg i.fa-circle-notch {
  color: #fff;
  margin-right: 10px; /* Icon spacing */
}

.contact-form-msg-error {
  display: none
}

.msg-error-text {
  color: red
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Apply the animation to an element */
.rotate {
  display: inline-block;
  animation: rotate 2s linear infinite; /* 2 seconds for full rotation, repeats infinitely */
}

.success {
  color: #36ef36;
}

.success::before {
  font-size: 22px;
}

@media (min-width: 1050px) {
  .contact-info {
    position: relative;
    height: 820px;

    &.small {
      height: 450px;
    }
  }

  .contact-info::after {
    content: '';
    position: absolute;
    bottom: -29px;
    left: 50%;
    transform: translateX(-50%);

    /* Creating the notch shape with borders */
    width: 275px; /* Adjust the width to match the notch width */
    height: 30px; /* Adjust the height for the depth of the notch */

    background-color: #ffffff; /* Background color matching the container */

    clip-path: polygon(0% 0%, 15% 100%, 85% 100%, 100% 0%);
  }
}

.gallery-items {
  width: 100%;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
}

.custom-input {
  font-size: 20px;
  background-color: #f6f6f6; /* Background similar to the dropdown */
  border-radius: 6px; /* Border radius for smooth edges */
  border: 1px solid transparent; /* Transparent border for cleaner look */
  padding: 8px 12px; /* Inner padding for spacing */
  color: var(--primary-color);

  &::placeholder {
    color: var(--primary-color);
  }

  &:focus {
    outline: none; /* Remove the default focus outline */
    border-color: var(--primary-color); /* Change the border color on focus */
  }
}


.video-overlay {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: black;
  transition: opacity 2s ease-in-out;
}

.video-overlay.light {
  opacity: 0;
}

.cursor-pointer {
  cursor: pointer;
}
