* {
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  max-width: 100%;
}

body{
  font-family: 'Roboto Serif', serif;
  background-color: rgb(246, 246, 246);
  }
  div{
    box-sizing: border-box;
  }
  .logo img{
    max-block-size: 110px;
    padding: 0 5px;
  }

  .item1 { grid-area: logo; }
  .item2 { grid-area: menuu; }
  .item3 { grid-area: lang; }
  .grid-container {
    display: grid;
    top:0;
    width: 100%;
    position: fixed;
    grid-template-areas:
      'logo menuu'
      'logo lang';
    background-color: #333;
    z-index: 999999999;
  }

  .nav-links {
    padding: 0;
    margin: 0;
    display: inline-block;
    max-width: 100%;
  }

  
  .nav-links a{
    margin-top: 10px;
    text-align: center;
    justify-content: space-between;
    display: inline-block;
    text-decoration: none;
    margin-left: 50px;
    color: #fff;
    border-bottom:2px solid transparent;
    transition:0.5s ease;
    transform: translateX(0%);
  }


  .nav-links a:hover{
    color:#b9b9b9;
    letter-spacing: 0.4px;
  }
  .burgerr{
    margin-right: 10px;
    display: none;
    color: white;
  }
  .burgerr div{
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px;
    transition:all 0.5s ease;
  }


  .grid-container2{
    display: none;
  }

  #navflag{
    padding-left: 47%;
  }




  @media only screen and (max-width:1410px){
    .nav-links a{
      margin-right: 0px;
    }
  }
  @media only screen and (max-width:1320px){
    .nav-links a{
      font-size: 13px;
    }
  }
  @media only screen and (max-width:1220px){
    .nav-links a{
      font-size: 13px;
      margin-left: 40px;
    }
  }
  @media only screen and (max-width:1150px){
    .nav-links a{
      font-size: 13px;
      margin-left: 30px;
    }
  }
  @media only screen and (max-width: 1060px){

    .item3{
      display: none;
    }

    .grid-container{
      display: none;
    }
    #header2{
      width: 100%;
    }

    .item2 { grid-area: logo; }
    .burgerr { grid-area: menuu; }
    .item4 { grid-area: navnav; }
    .grid-container2 {
      display: grid;
      max-width: 100%;
      height: 120px;
      position: fixed;
      top: 0;
      grid-template-areas:
        'logo navnav menuu';
      background-color: #333;
      justify-content: space-between;
      z-index: 99999999999;
    }

    #buttonsm{
      display: inline-block;
      font-size: 10px;
      border: 2px rgb(187, 187, 187);
      background-color: rgb(194, 194, 194);
      color: black;
      padding: 10px 30px;
      border-radius: 45px;
      min-width: 0px;
      margin-right: 150px;
    }

    .nav-nav{
      padding: 0;
      margin: 0;
      padding-top: 0px;
      display: inline-block;
      align-items:center;
      justify-content: space-between;
    }
    .nav-lang{
      display:absolute;
      padding-top: 0px;
      align-items: center;
    }
    .nav-lang a{
      justify-content: space-between;
      align-items: center;
      margin-left: 22px;
    }

    .nav-nav a{
      margin-top: 10px;
      display: inline-block;
      text-decoration: none;
      color: #fff;
      border-bottom:2px solid transparent;
      transition:0.5s ease;
      transform: translateX(0%);
    }

    .nav-nav a:hover{
      color:#b9b9b9;
      letter-spacing: 0.4px;
    }

    .nav-link{
      justify-content:start;
      position: absolute;
      right: 0;
      top:110px;
      min-height:92vh;
      background: #333;
      display: flex;
      flex-direction: column;
      align-items:center;
      width:50%;
      margin: 0;
      padding: 0;
      padding-right: 60px;
      transform: translateX(100%);
    }
    .nav-link a{
      text-decoration: none;
      font-size: 16px;
      color: #fff;
      margin-left: 60px;
      align-items: center;
      margin-bottom: 20px;
      opacity: 0;
    }
    .nav-link a:hover{
      color:#b9b9b9;
      letter-spacing: 0.4px;
    }
    .gflag{
      margin-bottom: 0px;
    }
    .burgerr{
      display: block;
      padding-top: 40px;
    }
   
  }
  @media only screen and (max-width: 640px){
    * {
      padding: 0;
      margin: 0;
      text-decoration: none;
      list-style: none;
      box-sizing: border-box;
    }
    nav{
      justify-content: space-between;
    }

    #buttonsm{
      margin-right: 9px;
    }
    .telephoneheader{
      font-size: 12px;
      margin:0;
      padding: 0;
      margin-left: 0px;
    }
    #gflag{
      font-size: 16px;
    }
    .nav-lang a{
      margin-left: 7px;
    }

  }
  .nav-active{
    transform: translateX(0);
  }
  @media only screen and (max-width: 460px){
    .logo img{
      max-block-size: 100px;
      padding: 0;
    }
    .nav-link{
      width: 100%;
      transition:All 0.5s ease;
    }

  }
  @media only screen and (max-width: 420px){
    #header2{
      max-width: 100%;
    }
    .logo img{
      max-block-size: 90px;
      padding: 0;
    }
    .nav-link{
      max-width: 100%;
      transition:All 0.5s ease;
    }
    .nav-nav a{
      font-size: 9px;
      padding: 0;
    }
    #buttonsm{
      font-size: 7px;
    }
    .nav-lang a{
      margin-left: 1px;
    }
    .navlinkflag{
    }
  }
  @media only screen and (max-width: 370px){
    .nav-nav a{
      font-size: 9px;
      padding: 0;
    }
    #buttonsm{
      font-size: 7px;
      padding: 10px;
    }
    .nav-lang a{
      margin-left: -2px;
    }
  }

  @media only screen and (max-width: 325px){
    .nav-nav a{
      font-size: 9px;
      padding: 0;
    }
    #buttonsm{
      font-size: 7px;
      padding: 10px;
    }
    .nav-lang a{
      margin-left: -2px;
    }
  }

  @media only screen and (max-width: 232px){
    .item4{
      display: none;
    }
  }
  .nav-active{
    transform: translateX(0);
  }
  @keyframes navLinkFade{
    from{
      opacity: 0;
      transform: translateX(50px);
    }
    to{
      opacity: 1;
      transform: translateX(0);
    }
  }
  .toggle .line1{
     transform: rotate(-45deg) translate(-5px,6px );
  }
  .toggle .line2{
     opacity: 0;
  }
  .toggle .line3{
     transform: rotate(45deg) translate(-5px,-6px );
  }


  .button {
    display: block;
    text-align: center;
    border: 2px rgb(187, 187, 187);
    background-color: rgb(194, 194, 194);
    color: black;
    padding: 10px 30px;
    border-radius: 45px;
    min-width: 210px;
    }
  
/* Mobile full-screen menu — desktop menu remains unchanged */
@media only screen and (max-width: 1060px) {
  #header2 {
    height: 120px;
  }

  .nav-link {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    min-height: 100vh;
    padding: clamp(95px, 14vh, 135px) 20px 36px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #333;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 100000000000;
  }

  .nav-link.nav-active {
    transform: translateX(0);
  }

  .nav-link a {
    width: auto;
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    display: block;
    text-align: center;
    font-size: clamp(20px, 5.3vw, 29px);
    line-height: 1.25;
    color: #fff;
    opacity: 0;
  }

  .nav-link a.button {
    width: min(78vw, 410px);
    margin-top: 12px;
    margin-bottom: 26px;
    padding: 13px 24px;
    border-radius: 45px;
    background: #c2c2c2;
    color: #fff;
    font-size: clamp(20px, 5vw, 27px);
  }

  .nav-link a.telephoneheader,
  .nav-link #telephoneheader {
    width: auto;
    margin: 0;
    padding: 8px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(18px, 4.6vw, 25px);
    white-space: nowrap;
  }

  .nav-link .telephoneheader img,
  .nav-link #telephoneheader img {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
  }

  /* Keep the hamburger in its normal header position while the menu is closed.
     Move it above the full-screen overlay only after the menu opens. */
  .burgerr {
    position: relative;
    top: auto;
    right: auto;
    z-index: 9999999999;
  }

  body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.mobile-menu-open .burgerr {
    position: fixed;
    top: 22px;
    right: 14px;
    padding-top: 0;
    z-index: 100000000001;
  }
}

@media only screen and (max-width: 460px) {
  .nav-link {
    width: 100%;
    padding-top: 95px;
  }

  .nav-link a {
    margin-bottom: 17px;
  }

  .nav-link a.button {
    width: min(82vw, 360px);
  }
}

/* Keep booking and telephone inside the header on narrow phones. */
@media (max-width: 380px) {
  #header2 .item4 { min-width: 0; }
  #header2 .nav-nav { display: flex; flex-direction: column; align-items: center; gap: 4px; max-block-size: none; }
  #header2 #buttonsm { margin: 0; padding: 7px 14px; }
  #header2 .nav-nav .telephoneheader { white-space: nowrap; margin: 0; line-height: 20px; }
  #header2 .nav-nav .telephoneheader img { width: 18px; height: 18px; }
}
