@font-face {
  font-family: 'D-DIN';
  src: url('../fonts/d-din-webfont/D-DINCondensed.woff') format('woff');
}

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

    main{
      margin-bottom:100px;
    }

    body {
      font-family: Arial, sans-serif;
      padding-top: 200px; /* Prevent content from hiding behind fixed header */
    }

    h1{
      font-family: 'D-DIN';
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      height: 200px;
      display: flex;
      align-items: flex-start;
      padding: 0 40px;
    }


    .logo {
      width: 200px;
      height: 200px;
      flex-shrink: 0;
    }

    .header-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      padding: 50px 50px 0 100px;
    }

    .site-title {
      font-family:'D-DIN', sans-serif;
      font-weight: bold;
      color: #E62D2B;
      font-size: 80px;
      font-weight: 800;
    }

    nav {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      height: 100%;
      padding-bottom: 20px;
      width: 100%;
      
    }

    .nav-links {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .nav-links a {
      text-decoration: none;
      color: #292E6A;
      font-weight: bold;
      font-size: 16px;
      padding: 5px 10px;
    }

    .nav-links a.active {
      border-bottom: 2px solid #292E6A;
    }

  .burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 20px;
  }

  .burger div {
  height: 3px;
  width: 100%;
  background-color: #292E6A;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
  }

  .burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active div:nth-child(2) {
  opacity: 0;
}

.burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

    .lang-select {
      font-size: 14px;
      padding: 5px 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
      background-color: #fff;
      color: #292E6A;
    }

    .lang-select:focus {
      outline: none;
      border-color: #292E6A;
    }

  form { max-width:420px; margin:50px auto; }

.feedback-input {
  font-family: Helvetica, Arial, sans-serif;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: white;
  border:2px solid white;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
  color:#292E6A
}

.feedback-input:focus { border:2px solid white; }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  color: #292E6A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 100%;
  background:white;;
  border-radius:5px;
  border:0;
  cursor:pointer;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { background:grey; color: black}

  footer {
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #333; /* or whatever background you want */
    color: white;
    position: fixed;
    bottom: 0%
}

footer p {
  margin: 0;
  text-align: right;
}

footer p a {
  color: #fff;
  text-decoration: none;
}

footer p a:hover {
  text-decoration: underline;
}

.logo-fb {
  height: 20px; /* adjust size */
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.logo-fb:hover {
  transform: scale(1.05);
}

  footer a {
    color: #fff;
    text-decoration: none;
  }
  


  .left-blue-container {
  background-color: #292E6A; 
  border-top-right-radius: 10px;
  border-bottom-right-radius: 500px;
  color: white; /* Optional: adjust text color inside */
  margin-top: 100px;
  margin-left: 40px;
  margin-right: 40px;
  max-width: 100vw;
  overflow: hidden;
}

.right-blue-container {
  background-color: #292E6A; 
  border-top-left-radius: 10px;
  border-bottom-left-radius: 500px;
  color: white; /* Optional: adjust text color inside */
  margin-top: 100px;
  margin-left: 40px;
  margin-right: 40px;
  max-width: 100vw;
  overflow: hidden;
}

.right {
  float:right;
}

.gallery.index {
  margin: 0 40px 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 80%;
}

.gallery {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 80%;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image {
  transition: transform 0.2s ease;
}

.hidden-img {
  display: none;
}

.gallery-image.dragging {
  opacity: 0.5;
  transform: scale(0.95);
}


.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

#show-more-btn {
  margin: 1rem auto;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: white;
  color: #292E6A;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  text-transform: uppercase;
  font-family: "D-DIN";
}

#show-more-btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 5%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.modal-content.zoomed {
  cursor: zoom-out;
  transform: scale(2); /* Adjust zoom scale as you like */
  /* Optional: add smooth panning */
  /* overflow handled via JS */
}

/* Close, Prev, Next */
.modal-close,
.modal-prev,
.modal-next {
  position: absolute;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
}

.modal-close {
  top: 20px;
  right: 35px;
  font-size: 40px;
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
  color: #bbb;
}

.video{
  margin:auto;
}

  @media (max-width: 768px) {
    nav {
      flex-direction: column;
    }
      nav a,
  nav select {
    width: 100%;
  }
      .gallery {
    grid-template-columns: 1fr;
  }
  }

.welcome-section {
  display: flex;
  align-items: stretch; 
  gap: 5rem; 
  max-width: 75%; /* optional, for layout */
}

.welcome-text, .welcome-picture {
  flex: 1; /* each takes equal width */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center content in text */
}

.welcome-text {
  text-transform: uppercase;
}

.welcome-picture img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto 0 0;
}

.title {
  margin-bottom: 5rem;
  text-transform: uppercase;
}

.gallery-section {
  margin-top: 10px;
  text-align: center;
}

.contact-welcome {
  text-align: center;
  margin-top: 40px;
  text-transform: uppercase;
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.rules{
  color:white;
  font-weight: bold;
}


@media (max-width: 768px) {

  *, *::before, *::after {
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  padding-top : 50px; 
}

  header {
    width:100vw;
    flex-direction: column;
    height: auto;
    padding-bottom: 0;
  }

footer {
  width : 100vw;
}

  .header-right {
    width: 100%;
    padding-left: 0;
    padding-top: 10px;
  }

  .site-title {
    font-size: 28px;
    text-align: center;
  }

    nav {
      padding-bottom: 20px;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-10px);
      transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
      width: 100%;
    }

    nav.open {
      max-height: 500px; /* enough to show menu */
      opacity: 1;
      transform: translateY(0);
      padding-bottom: 10px;
      display: block; /* ensure block for layout */
    }

    .nav-links {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding-top: 10px;
    }

    .burger {
      display: flex;
    }

    .logo{
      display:none
    }

  .left-blue-container {
    margin:30px auto 0 auto;
    width:90vw;
    max-width:99%;
    padding: 10px;
    border-radius: 10px;
    font-size:12px;
    height: auto;
  }

    
  .right-blue-container {
    margin:30px auto 0 auto;
    width:90vw;
    height: auto;
    max-width:99%;
    padding: 10px;
    font-size:12px;
    border-radius: 10px;
  }

    .right {
      float:none;
    }

    .container div {
      display: inline;
      width: 100%;
    }

    .left-blue-container .welcome-picture img{
      padding-top: 10px;
      padding-bottom: 10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    .right-blue-container .welcome-picture img{
      padding-top: 10px;
      padding-bottom: 10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    .welcome-picture iframe {
      padding-top: 10px;
      padding-bottom: 10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      width:100%;
    }

    .gallery.index {
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: .5rem;
      width: 98%;
  }

  .gallery-section {
  margin-top: 0;
  text-align: center;
}

  .gallery {
  margin: 0 auto;
  display: inline;
  float:none;
}

  .gallery-image {
    margin: 20px auto;
    width: 50vw;
    max-width: 90vw;
  }

  img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.modal-content{
  margin: 20vh auto;
}

}



@media (min-width: 769px) {
  header.scrolled .logo,
  header.scrolled .site-title {
    display: none;
    transform: translateY(-20px);
    transition: all 1s ease;
    pointer-events: none;
  }
  

  header.scrolled {
    height:5rem;
    transition: all 0.3s ease
  }
}