/* SMOVS global styles - mobile-first (targeting iPhone 16 Pro) */
@font-face {
    font-family: 'Ysabeau SC';
    src: url('font/Ysabeau_SC/static/YsabeauSC-Bold.ttf') format('truetype');
    font-weight: 700;
  }

  @font-face {
    font-family: 'SunriseMyFont';
    src: url('font/Waiting_for_the_Sunrise/WaitingfortheSunrise-Regular.ttf') format('truetype');
    font-weight: 400;
  }
  @font-face {
    font-family: 'Zain Bold'; 
    src: url('font/Zain/Zain-Bold.ttf') format('truetype');
 
    font-weight: 400;
  }
    @font-face {
    font-family: 'Zain' ;
    src: url('font/Zain/Zain-Regular.ttf') format('truetype');
    font-weight: 400;
  }


/* ---------- BASIS ---------- */
:root {
	/*farver*/
    --green-dark: #1B4332;
    --green-mid: #245741;
    --yellow-main: #FDC700;
    --yellow-light: #FAEC18;
    --white: #ffffff;
    --text-dark: #121212;
	/*font*/
	--font-primary: "Ysabeau SC";
	--font-secondary: "Zain";
	--font-secondary-bold: "Zain Bold";
  }
  html {
    scroll-behavior: smooth;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    background-color: var(--green-dark);
    color: var(--text-light);
  }
  h1 {
	font-family: var(--font-primary);
	font-size: 64px;
  }
  h2 {
	font-family: var(--font-primary);
	font-size: 50px;
  }
  h3 {
	font-family: var(--font-primary);
	font-size: 27px;
  }
  h4 {
	font-family: var(--font-primary);
	font-size: 24px;
  }
  h5 {
	font-family: var(--font-secondary-bold);
	font-size: 16px;
	letter-spacing: 0.08em;
  }
  h6 {
	font-family: var(--font-secondary);
	font-size: 12px;
	letter-spacing: 0.08em;
  }
  
  p {
	font-family: var(--font-secondary);
	font-size: 14px;
	letter-spacing: 0.08em;
  }

  a {
	font-family: var(--font-secondary-bold);
	font-size: 14px;
	letter-spacing: 0.08em;
  }

  @media (min-width: 900px) {
      h1 {
      font-family: var(--font-primary);
      font-size: 120px;
      }
      h2 {
      font-family: var(--font-primary);
      font-size: 68px;
      }
      h3 {
      font-family: var(--font-primary);
      font-size: 46px;
      }
      h4 {
      font-family: var(--font-primary);
      font-size: 36px;
      }
      h5 {
      font-family: var(--font-secondary-bold);
      font-size: 18px;
      letter-spacing: 0.08em;
      }
      h6 {
      font-family: var(--font-secondary);
      font-size: 16px;
      letter-spacing: 0.08em;
      }
      
      p {
      font-family: var(--font-secondary);
      font-size: 20px;
      letter-spacing: 0.08em;
      }
    
      a {
      font-family: var(--font-secondary-bold);
      font-size: 16px;
      letter-spacing: 0.08em;
      }
  }

/* Header - Smoothly Responsive */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: clamp(12px, 2vw, 24px) clamp(12px, 5vw, 80px);
    height: clamp(64px, 8vh, 90px);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--green-dark);
}

.logo-link { display: inline-block; }
.site-logo {
	display: block;
	height: clamp(44px, 5vw, 70px);
	width: auto;
}

.burger {
	background: transparent;
	border: none;
	padding: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--accent);
}

/* Page wrapper - fully responsive */
.page {
    margin: 0 auto;
    background-color: var(--green-dark);
    min-height: 100vh;
  }

/* ---------- HERO SECTION (UNIFIED) ---------- */
.hero {
  position: relative;
  min-height: clamp(280px, 44vh, 720px);
  overflow: hidden;
}

.hero .wave-hero {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-image img { 
  display: block; 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  filter: brightness(0.75);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  padding: 0 16px;
  text-align: center;
}

.hero-tagline {
  font-family: "SunriseMyFont";
  font-size: clamp(32px, 9vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--yellow-light);
  max-width: 100%;
  text-align: center;
  margin: 0 50px 12px;
}

/* ---------- WAVE POSITIONING ---------- */
.wave-welcome {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

/* Adjustable wave positioning for menukort, events, lokaler, om pages */
/* Change these values to move waves up/down (negative = up, positive = down) */
body:not(.index-page) .hero .wave-hero {
  transform: translateY(-75px); /* Adjust this to move hero wave up/down */
}

body:not(.index-page) .wave-welcome {
  transform: translateY(-75px); /* Adjust this to move welcome wave up/down */
}

@media (min-width: 510px) {
  .yellow-box {
    width: 100%; /* Full width */
    background-color: var(--yellow-main); /* Use the yellow-main color */
    padding: 40px; /* Add some padding inside the box */
  }
}

/* ---------- FOOTER ---------- */
  
.site-footer {
    background-color: var(--green-dark);
    color: var(--white);
    padding-top: 100px;
  }
  
.footer-logo {
    margin-bottom: 10px;
    text-align: center;
  }
  
.footer-block {
    text-align: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 60px;
  }

.footer-block p {
    margin: 0;
    line-height: 1.8;
  }

.footer-item1 {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-left: -23px;
    
  }
.footer-item2 {
    gap: 8px;

  }
.footer-item3 {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
  }
.insta {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    margin-left: -23px;
    justify-content: center;
  }
.tele {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    margin-left: -23px;
    justify-content: center;
  }
.mail {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    margin-left: -23px;
    justify-content: center;
  }
.find {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    margin-left: -23px;
    justify-content: center;
  }


    
.footer-item img {
    width: 23px;
    height: auto;
  }
  
.footer-item p {
    margin: 0;
    line-height: 1.4;
    color: var(--white);
    text-decoration: none;
  }
.footer-note {
    opacity: 0.8;
	  text-align: center;
    margin: auto 45px 55px;
  }




    .mobile-menu {
      /* dropdown anchored to header (nav is placed inside .site-header) */
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      width: 100%;
      max-width: 380px;
      margin-left: auto;
      background: var(--yellow-main);
      border-bottom-left-radius: 12px;
      border-bottom-right-radius: 12px;
      box-shadow: 0 10px 28px rgba(0,0,0,0.35);
      transform-origin: top right;
      transform: scaleY(0);
      opacity: 0;
      pointer-events: none;
      z-index: 1200;
    }

    /* Only apply transitions when menu has been interacted with */
    .mobile-menu.open,
    .mobile-menu.open ~ * {
      transition: transform 400ms ease, opacity 400ms ease;
    }

    .mobile-menu ul {
      list-style: none;
      margin: 0;
      padding: 8px 6px;
    }

    .mobile-menu a {
      display: block;
      padding: 12px 10px;
      color: var(--text-dark);
      font-size: 18px;
      font-weight: 700;
      text-align: left;
      border-radius: 8px;
      position: relative;
      z-index: 1; /* keep link above separator */
      background: transparent;
      text-decoration: none;
    }

    /* separators centered vertically inside each menu item and full width */
    .mobile-menu li {
      position: relative;
    }
    .mobile-menu li::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      top: 90%;
      height: 1px;
      background: rgba(0,0,0,0.12);
      transform: translateY(-50%);
      z-index: 0;
    }
    .mobile-menu li:last-child::after { display: none; }


    /* Show dropdown when menu has class 'open' */
    .mobile-menu.open {
      transform: scaleY(1);
      opacity: 1;
      pointer-events: auto;
    }

    @media (min-width: 510px) {
      /* Hide all waves above 510px */
      .wave-hero, .wave-welcome, .wave2, .wave3, .wave4{
        display: none;
      }

      /* Hero responsive adjustments */
      .hero-tagline {
        font-size: clamp(28px, 4vw, 40px);
      }
    }

    @media (min-width: 900px) {
      /* Hide burger menu on desktop */
      .burger {
        display: none;
      }

      .footer-logo img {
        width: 200px;
        height: auto;
        padding-bottom: 30px;
      }

 .hero-image {
    width: 100%;
    height: 745px;
    overflow: hidden;
  }
   .hero-img {
    width: 100%;
    height: 990px;
    overflow: hidden;
  }
      /* Transform mobile menu into horizontal desktop nav */
      .mobile-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        max-width: none;
        width: auto;
        display: flex;
        align-items: center;
      }

      .mobile-menu ul {
        display: flex;
        gap: clamp(24px, 3vw, 48px);
        padding: 0;
        align-items: center;
      }

      .mobile-menu li::after {
        display: none;
      }

      .mobile-menu a {
        color: var(--white);
        font-size: clamp(14px, 1.2vw, 18px);
        padding: 8px 0;
        transition: color 0.3s ease;
      }

      .mobile-menu a:hover {
        color: var(--yellow-main);
      }

      .mobile-menu a.active {
        border-bottom: 2px solid var(--yellow-main);
        border-radius: 0;
        padding-bottom: 0px;
      }

      /* Hero adjustments for desktop */
      .hero { 
        min-height: clamp(420px, 56vh, 880px); 
      }
      .hero-content { 
        justify-content: center; 
        align-items: center; 
        margin-bottom: 0; 
        padding: 0 40px; 
      }
      .hero-tagline { 
        font-size: clamp(48px, 5vw, 72px); 
        max-width: 72%; 
      }
      .btn-cta { 
        margin-top: 24px; 
      }


    }