@media (min-width: 769px) and (max-width: 1024px) {

  /*Tablet CSS for Mobile first Design starts here*/

/* Reset some margins */
body, html {
  margin: 0;
  padding: 0;
}

/* CSS required for gooey button to work */
.gooey-button {
  filter: url(#goo);
}


@font-face {
    font-family: 'holidayfreeregular';
    src: url('../fonts/Holiday/holidayfree-webfont.woff2') format('woff2'),
         url('../fonts/Holiday/holidayfree-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

header nav{display: none;}
.flag-container{display: none;} /* Hide Flag logo in mobile viw*/

nav.mobTabMenuBar{
    width: 100%; 
    height: 100px; 
    display: flex; 
    align-items: center;  /* vertical centering */
    justify-content: space-between; /* logo left, ticket button right */
}
nav.mobTabMenuBar .navbar-logo{padding: 0 15px;}
nav.mobTabMenuBar .navbar-logo a img{
  height: auto;          /* let it scale naturally */
  max-height: 65px;      /* cap at your intended size */
  min-width: 65px;       /* don’t let it get too tiny */
  width: auto;           /* prevent distortion */
  object-fit: contain;   /* keep proportions */
  transition: transform 0.6s ease-in-out;
}
nav.mobTabMenuBar .navbar-logo a img:active {
  transform: rotate(360deg);
}


/* Hamburger Menu Styles start here */
*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

:root {
  --bar-width: 60px;
  --bar-height: 8px;
  --hamburger-gap: 6px;
  --foreground: #222;
  --background: #fff;
  --hamburger-margin: 35px;
  --animation-timing: 200ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);

  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  cursor: pointer;
  padding: 0 15px;
  z-index: 999;
}

.hamburger-menu:has(input:checked) {
  --foreground: #222;
  --background: white;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--foreground);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  padding: 0.5rem 1rem;
  background-color: var(--background);
  color: var(--foreground);
  width: 0; /* Start with 0 width */
  min-height: 1vh;
  position: absolute;
  top: 110px;
  right: 15px;
  border-radius:15px;
  opacity: 0; /* Fully transparent */
  display: none; /* Initially hidden */
  transition: width var(--animation-timing), opacity var(--animation-timing);
  z-index: 9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft black shadow */
}

.hamburger-menu:has(input:checked) + .sidebar {
  display: block; /* Show element */
  opacity: 1; /* Fade in */
  width: 13rem; /* Expand to full width */
}

.sidebar nav ul{ list-style: none; padding:0px;}
.sidebar nav ul li{padding: 5px 25px;}
.sidebar nav ul li a{font-family: "Montserrat", sans-serif; text-decoration: none;}
.sidebar nav ul li a:hover{color:#cc3333}
/* Hamburger Menu Styles ends here */
  
  .video-banner {
    position: relative;
    width: 100%;
    height: 65vh; /* adjust per breakpoint */
    overflow: hidden;
  }
  .video-banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}

.LoveOf , .JoinTheTribe{text-align: center; max-width: 850px; margin:0px auto; padding: 2rem 1rem; /* add breathing space */}

.bold_heading h1{
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 70px;
  color:#999;
  text-transform: uppercase;
}

.bold_heading h2{
  font-family: "holidayfreeregular";
  font-size: 36px;
  margin-top: -40px;
  color: #3B75C2;
}

.subheading{
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}


.festival-dates {
  text-align: center;
  padding: 60px 20px;
  margin: 30px 10px;
  background: #fafafa;  /* subtle background */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden; /* prevents horizontal scroll */
}

.festival-dates h2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 900;
  color: #222;
  margin: 10px 0 5px 0;
}

.date-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* space between icon and text */
  margin: 10px;
}

.calendar-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}


.festival-dates p {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 25px;
}

.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
  width: 100%; /* let it use available space */
  max-width: 280px; /* cap button size */
  margin: 0 auto;
}
.festival-dates .gooey-button {
    width: 100%; 
    max-width: 280px; /* prevents black bar issue */
  }

/* ==== COLLAGE GRID (Tablet) ==== */
.image-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 columns on tablets */
  grid-auto-rows: 160px;
  gap: 15px;
  margin: 0 auto;
  padding: 20px;
}

/* ==== COLLAGE ITEMS ==== */
.collage-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collage-item img:hover {
  transform: scale(1.1);
}

/* keep wide/tall spans working */
.collage-item.wide { grid-column: span 2; }
.collage-item.tall { grid-row: span 2; }
.collage-item.big { grid-column: span 2; grid-row: span 2; }

/* ==== TEXT OVERLAY ==== */
.image-collage .collage-item .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: justify;
}

.image-collage .collage-item .text h2 {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 5px 30px;
  border: 2px solid white;
}

.image-collage .collage-item p {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
}

/* -----------------------------
   Viking Glamp - Tablet styles
   Targets: .image-collage and .camp
   ----------------------------- */

/* Two-column collage on tablets (keeps desktop-like layout) */
.image-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  padding: 18px;
  align-items: start;
}

/* Allow the wide image to span both columns on tablet */
.image-collage .collage-item.wide {
  grid-column: span 2;
}

/* Images fill card area */
.image-collage .collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Heading: keep desktop font families, scale down moderately */
.camp .heading {
  /* on tablet we keep alignment natural (left/right based on grid) but add padding */
  padding: 0.5rem 0;
}

.camp .heading h1 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 70px;           /* intermediate between desktop and mobile */
  color: #999;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.camp .heading h2 {
  font-family: "holidayfreeregular";
  font-size: 33px;           /* intermediate */
  margin-top: -35px;         /* keeps overlap feeling but reduced */
  color: #3B75C2;
  margin-bottom: 0.25rem;
}

.camp .heading p.kerned {
  color: black;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.25rem;        /* intermediate */
  font-weight: 300;
  letter-spacing: 6px;
  margin: 0.25rem 0 0;
}

.camp .heading p.smallText {
  color: black;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  margin: 0.25rem 0 0;
}

/* Lists: similar to desktop but slightly reduced */
.camp ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  max-width: 500px; /* keep the desktop constraint if it fits */
}

.camp li {
  margin: 10px 0;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
}

.camp li i {
  font-size: 18px;
  color: #3B75C2;
  min-width: 24px;
  text-align: center;
}

/* spacing for the gooey CTA under this section */
.light-grey-wrapper{
    padding: 10px 0px 30px;
    background: #fafafa;
}

.white-wrapper{
    margin: 30px 10px;
    padding: 10px 0px 30px;
    background: #ffffff;
}



/* ==== Festival Highlights (Tablet) ==== */
.highlights {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
  font-family: "Josefin Sans", sans-serif;
}

.section-title {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.8rem;
  color: #222;
  position: relative;
}

.section-title .underline {
  display: block;
  width: 250px;              /* medium underline */
  height: 2px;
  background: #d4984d;
  margin: 10px auto 0;
  border-radius: 2px;
}

.highlights li {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.7rem 0;
  color: #000;
}

.highlights li.accent {
  color: transparent;
  -webkit-text-stroke: 0.5px #1b1917;
}

/* Ride Moments Section - Tablet */
.video-slider {
  padding: 2.5rem 1rem;
}

.video-slider h2.section-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.25rem;
  color: #222;
}

/* Show slightly larger videos side by side */
.video-slider video {
  width: 90%;
  max-width: 480px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  margin: 0 auto;
}

/* Controls larger but not overwhelming */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 22px;
}
.swiper-pagination {
  bottom: 10px;
}

/* Base newsletter styles for tablet */
.newsletter {
  position: relative;
  background: url('../images/newsletter-bg3.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem; /* override padding */
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.newsletter header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.newsletter .headline {
  font-family: "Barlow Semi Condensed", sans-serif;
  color:#9b9b9b;
  display: block;
  font-size: 4rem; /* override size */
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.newsletter .subhead {
  font-family: "holidayfreeregular";
  color: #3B75C2;
  display: block;
  font-size: 2rem;
  margin-top: -2rem;
}

/* Form */
.newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  flex: 1;
  max-width: 320px;
  color: #a15528;
}

.newsletter-form input::placeholder {
  color: #a15528;
  text-transform: uppercase;
  font-weight: 600;
}

.newsletter-form button {
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #a15528;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #f3f3f3;
}

/* start tickets page HIMALAYAN MOTORRAD TICKETS COMPONENT */

  .hmf-ticket-row {
    grid-template-columns: 2fr 2fr;
  }

/* end tickets page HIMALAYAN MOTORRAD TICKETS COMPONENT */


/* start Shop page - Tablet Optimization */
 .hmf-booking-wrap {
    padding: 80px 20px;
  }

  .hmf-booking-step {
    padding: 35px 25px;
  }

  .hmf-step-title {
    font-size: 28px;
  }

  /* Ticket stacks nicely */
  .hmf-pass-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px;
  }

  .hmf-pass-card .pass-title {
    font-size: 2.2em;
  }

  .hmf-pass-card .pass-price {
    font-size: 1.5em;
  }

  /* Stay grid becomes 2 */
  .hmf-stay-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
/* end Shop page - Mobile Optimization */

/* Sponsors Logo Section - Tablet */
.sponsors {
  text-align: center;
  padding: 3rem 1.5rem; /* slightly reduced */
  background: #fff; /* same as desktop */
}

.sponsors h2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 60px; /* smaller than desktop 100px */
  color: #999;
  text-transform: uppercase;
  margin-bottom: 2rem; /* reduced from 3rem */
  letter-spacing: 1.5px; /* slightly reduced */
}

.sponsor-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* allow wrapping */
  gap: 1.5rem; /* slightly reduced */
  margin-bottom: 1.5rem; /* slightly reduced */
}

.sponsor-row.top img.bardahl-logo {
  max-width: 180px; /* smaller than desktop */
  max-height: 110px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sponsor-row.bottom img {
  max-width: 140px; /* smaller than desktop */
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sponsor-row.bottom img:hover,
.sponsor-row.top img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}



/* Footer Section - Tablet */
.footer {
  background: #fff;
  text-align: center;
  padding: 30px 15px; /* slightly reduced from desktop */
  border-top: 1px solid #eee;
}

.footer-top {
  width: 90%; /* reduce from 1000px for tablet */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* keep wrapping for smaller width */
  margin-bottom: 25px; /* slightly reduced */
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
}

.footer-address,
.footer-contact {
  flex: 1;
  min-width: 200px; /* reduced from 250px */
}

.footer-address {
  text-align: left;
}

.footer-contact {
  text-align: right;
}

.footer-address h3,
.footer-contact h3 {
  font-weight: bold;
  margin-bottom: 8px; /* slightly reduced */
}

.footer-logo {
  flex: 1;
  text-align: center;
}

.footer-logo img {
  max-width: 80px; /* smaller than desktop 100px */
  margin: 0 auto;
  transition: transform 0.6s ease-in-out;
}

.footer-logo img:hover {
  transform: scale(1.1) rotate(360deg);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 25px; /* slightly reduced from desktop 30px */
  padding-left: 0;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px; /* smaller than desktop 70px */
  height: 60px; /* smaller than desktop 70px */
  border-radius: 50%;
  font-size: 28px; /* slightly smaller */
  color: #fff;
  text-decoration: none;
  transition: transform 0.6s ease-in-out;
}

.footer-social .social-icon:hover {
  transform: scale(1.1) rotate(360deg);
}

.instagram { background: #2c4477; }
.youtube { background: #e62117; }
.facebook { background: #3b5998; }




}


