/*Mobile 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);
}

/* === Prevent hover-stuck behaviour on touch devices ===
   Loaded in mobile.css (applies to phones / touch screens)
*/
@media (hover: none) and (pointer: coarse) {
  /* Make sure the blobs keep their initial shapes on touch devices */
  .group .blob,
  .group .blob-text,
  .group .blob-icon {
    transition: none !important;
    /* ensure initial rounded corners remain */
    border-radius: inherit !important;
    opacity: 1 !important;
    width: auto !important;
  }

  /* If you used group-hover utilities, cancel their effect on touch */
  .group:hover .blob,
  .group:hover .blob-text,
  .group:hover .blob-icon {
    transform: none !important;
    border-radius: inherit !important;
    opacity: 1 !important;
    width: auto !important;
  }
}



@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; max-width:65px; opacity: 1 !important;}
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: 98px;
  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; display: block;}
.sidebar nav ul li{
  padding: 5px 10px;
  margin: 10px 0px;
  background: #FFC107;
  border-radius: 10px;
}
.sidebar nav ul li a{
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-decoration: none;}
.sidebar nav ul li a:hover{color:#cc3333}
/* Hamburger Menu Styles ends here */


  .video-banner {
    position: relative;
    width: 100%;
    height: 45vh; /* adjust per breakpoint */
    overflow: hidden;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    height: 21vh;
    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: 650px; margin:0px auto; padding: 2rem 1rem; /* add breathing space */}

.bold_heading h1{
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 46px;
  color:#999;
  text-transform: uppercase;
}

.bold_heading h2{
  font-family: "holidayfreeregular";
  font-size: 24px;
  margin-top: -25px;
  color: #3B75C2;
}

.subheading{
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  padding: 0 1rem;
  font-weight: 700;
}
.LoveOf p { font-size: 0.9rem; }

.hmf-story-title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 21px;
  color: #999;
  text-transform: uppercase;
}

.hmf-story-video {
    padding: 50px 20px;
    text-align: center;
    background: #fafafa;
}

.festival-dates {
  text-align: center;
  padding: 40px 15px;
  margin: 20px 5px;
  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.5rem;
  font-weight: 900;
  color: #fff;
  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: 20px;
  height: 20px;
  flex-shrink: 0;
}


.festival-dates p {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  color: #fff;
  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;
}
.gooey-button {
    width: 100%; 
    max-width: 280px; /* prevents black bar issue */
  }


/* ==== COLLAGE GRID (Mobile first) ==== */
.image-collage {
  display: grid;
  grid-template-columns: 1fr;         /* single column */
  grid-auto-rows: 200px;              /* taller rows for visibility */
  gap: 12px;
  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);
}

/* ==== RESET SPANS on mobile ==== */
.collage-item.wide,
.collage-item.big,
.collage-item.xl,
.collage-item.fcor {
  grid-column: span 1 !important;
}

.collage-item.tall,
.collage-item.octr {
  grid-row: span 1 !important;
}

/* ==== 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.2rem;
  font-weight: 500;
  padding: 4px 20px;
  border: 2px solid white;
}

.image-collage .collage-item p {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
}

/* -----------------------------
   Viking Glamp - Mobile styles
   Targets: .image-collage and .camp
   ----------------------------- */

/* Make the collage a single column on phones */
.image-collage {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 12px;
  padding: 12px;
}

/* Reset any large spans that exist in desktop */
.image-collage .collage-item.wide,
.image-collage .collage-item.big,
.image-collage .collage-item.xl,
.image-collage .collage-item.fcor {
  grid-column: span 1 !important;
}
.image-collage .collage-item.tall,
.image-collage .collage-item.octr {
  grid-row: span 1 !important;
}

/* Ensure images are full width, natural height */
.image-collage .collage-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* CAMP heading block: center and scale down */
.camp .heading {
  text-align: center;
  padding: 1rem 0;
}

/* Keep the exact font families from desktop, scaled down */
.camp .heading h1 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 70px;           /* scaled from 75px */
  color: #999;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.camp .heading h2 {
  font-family: "holidayfreeregular";
  font-size: 35px;           /* scaled from 49px */
  margin-top: -30px;         /* smaller overlap than desktop */
  color: #3B75C2;
  margin-bottom: 0.5rem;
}

.camp .heading p.kerned {
  color: black;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;           /* scaled from 1.5rem */
  font-weight: 300;
  letter-spacing: 4px;       /* scaled from 8px */
  margin: .4rem 0 0;
}

.camp .heading p.smallText {
  color: black;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;        /* slightly larger than desktop smallText for readability */
  font-weight: 300;
  margin: 0.25rem 0 0;
}

/* Lists: full width, wrap icon + text, keep desktop look */
.camp ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem auto;
  max-width: 100%;
  width: 100%;
}

.camp li {
  margin: 8px 0;
  padding: 8px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* prevents text overflow */
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.95rem;
}

.camp li i {
  font-size: 16px;    /* scaled from 20px */
  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 (Mobile) ==== */
.highlights {
  max-width: 90%;                 /* shrink width for small screens */
  margin: 2rem auto;
  text-align: center;
  font-family: "Josefin Sans", sans-serif;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #222;
  position: relative;
}

.section-title .underline {
  display: block;
  width: 120px;                  /* much smaller underline */
  height: 2px;
  background: #d4984d;
  margin: 8px auto 0;
  border-radius: 2px;
}

.highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlights li {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.6rem 0;
  color: #000;
}

.highlights li.accent {
  color: transparent;
  -webkit-text-stroke: 0.5px #1b1917;
}

/* Ride Moments Section - Mobile */
.video-slider {
  padding: 2rem 0.5rem;
}

.video-slider h2.section-title {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #222;
  position: relative;
}

/* Videos stack one by one, bigger size for viewing */
.video-slider video {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto;
}

/* Controls smaller & closer */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}
.swiper-pagination {
  bottom: 5px;
}

/* start Event Schedule page - Mobile Optimization */
.hmf-schedule-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: -5em auto;
}

.hmf-time {
    padding: 10px 10px;
}
/* end Event Schedule page - Mobile Optimization */

/* start Shop page - Mobile Optimization */
 .hmf-booking-wrap {
    padding: 60px 15px;
  }

  .hmf-booking-step {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .hmf-step-title {
    font-size: 24px;
  }

  .hmf-step-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  /* Vertical accent line smaller */
  .hmf-booking-step::before {
    top: 20px;
    bottom: 20px;
    width: 4px;
  }

  /* -------- TICKET -------- */

  .hmf-pass-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .hmf-pass-card .hmf-pass-content .pass-title {
    font-size: 1.8em;
  }

  .hmf-pass-card .hmf-pass-content .pass-price {
    font-size: 1.3em;
  }

  /* Resize perforation holes */
  .hmf-pass-card::before,
  .hmf-pass-card::after,
  .hmf-pass-card .pass-cut-right::before,
  .hmf-pass-card .pass-cut-right::after {
    width: 16px;
    height: 16px;
  }

  /* -------- STAYS -------- */

  .hmf-stay-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hmf-stay-card {
    min-height: auto;
  }

  .stay-image-wrap {
    height: 200px;
  }

  .stay-title {
    font-size: 16px;
  }

  .stay-price {
    font-size: 15px;
  }

  .stay-cta {
    flex-direction: column;
    gap: 10px;
  }

  .stay-cta .button {
    width: 100%;
  }
/* end Shop page - Mobile Optimization */

.newsletter {
  position: relative;
  background: url('../images/newsletter-bg3.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem; /* reduced padding for small screens */
}

.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: 1.5rem;
}

.newsletter .headline {
  font-family: "Barlow Semi Condensed", sans-serif;
  color:#9b9b9b;
  display: block;
  font-size: 2.5rem; /* scaled down for mobile */
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.newsletter .subhead {
  font-family: "holidayfreeregular";
  color: #3B75C2;
  display: block;
  font-size: 1.3rem;
  margin-top: -1rem;
}

/* Form */
.newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column; /* stacked for mobile */
  gap: 0.75rem;
  align-items: center;
}

.newsletter-form input[type="email"] {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  width: 100%;
  max-width: 280px;
  color: #a15528;
}

.newsletter-form input::placeholder {
  color: #a15528;
  text-transform: uppercase;
  font-weight: 600;
}

.newsletter-form button {
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #a15528;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #f3f3f3;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


/* start tickets page HIMALAYAN MOTORRAD TICKETS COMPONENT */
.tickets-banner .absolute  h1{
  font-size: 3em !important;
}

.tickets-banner .absolute  h2{
  font-size: 1em !important;
}

#hmf-cart-bar{
  position: absolute;
  top: calc(50% - 54px);
  right: 27px;
} 

.hmf-ticket-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hmf-qty,
.hmf-add-cart {
  width: 100%;
  height: 44px;
}

/* start cart page mobile optimization */
  .wp-block-cover {
      min-height: 15vh !important;
  }

  .wp-block-woocommerce-cart {
      padding: 2rem 2rem !important;
  }

  .is-mobile table.wc-block-cart-items .wc-block-cart-items__row{
    padding: 16px 16px;
  }

  .wp-block-woocommerce-cart {
    padding: 2rem 2rem;
  }

  .hmf-partner-label {
      font-size: 12px;
  }

  .hmf-partner-logo img {
      height: 50px;
  }

/* end cart page mobile optimization */

/* start checkout page mobile optimization */
   .wp-block-woocommerce-checkout {
    padding: 2rem 2rem;
}
/* end checkout page mobile optimization */


/* ============================= */
/* start HMF Mobile Order Summary Style */
/* ============================= */

.woocommerce-checkout .woocommerce {
  max-Width: 1200px;
  margin: 3em auto;
  padding: 0 1em;
  text-align: center;
}

.woocommerce-checkout .woocommerce ul.order_details {
    margin: 0 0 3em;
    list-style: none;
    display: flex;
    justify-content: center;
}

.woocommerce-checkout .woocommerce ul.order_details li {
    float: left;
    margin-right: 2em;
    text-transform: uppercase;
    font-size: 0.400em;
    line-height: 1;
    border-right: 1px dashed #cfc8d8;
    padding-right: 2em;
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}

.woocommerce-checkout #btn-razorpay, #btn-razorpay-cancel{
  padding: 10px;
}

/* Ticket Card Container */
.woocommerce-order,
.woocommerce-order-pay {
  background: rgba(0,0,0,0.35);
  border-radius: 14px;
  padding: 0px;
  margin-top: -40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px dashed rgba(194,167,122,0.4);
}

/* Order Meta Grid */
.woocommerce-order-overview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 0;
  margin-bottom: 16px;
}

.woocommerce-order-overview li {
  list-style: none;
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
}

/* Labels */
.woocommerce-order-overview li strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}

/* Values */
.woocommerce-order-overview li {
  font-weight: 600;
}

/* Payment Method */
.woocommerce p {
  font-size: 14px;
  line-height: 1.5;
}

/* Thank You Text */
.woocommerce p:first-of-type {
  margin-top: 10px;
  margin-bottom: 16px;
}

/* Pay Now Button */
.woocommerce .button {
  display: inline-block;
  background: #c2a77a;
  color: #000;
  border-radius: 40px;
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  margin-right: 10px;
}

/* Cancel Link */
.woocommerce a.cancel {
  font-size: 13px;
  opacity: 0.6;
}

/* Prevent overflow */
.woocommerce {
  word-break: break-word;
}

/* ============================= */
/* end HMF Mobile Order Summary Style */
/* ============================= */


/* Sponsors Section - Mobile */
.sponsors {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
}

.sponsors h2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.sponsor-row {
  display: flex;
  flex-direction: column;   /* stack logos on mobile */
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.sponsor-row.top img.bardahl-logo {
  max-width: 180px;
  max-height: 100px;
}

.sponsor-row.bottom img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sponsor-row img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}


/* Footer Section - Mobile */
.footer {
  background: #fff;
  text-align: center;
  padding: 25px 10px; /* reduced for mobile */
  border-top: 1px solid #eee;
  height:735px;
}

.footer-top {
  width: 100%; /* full width for mobile */
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* single column */
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 20px; /* reduced spacing */
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  text-align: center; /* center all text */
}

.footer-address,
.footer-contact {
  flex: unset; /* remove flex on mobile */
  min-width: 0; /* allow shrinking */
  margin-bottom: 0px; /* spacing between sections */
  text-align: center; /* center text */
}

.footer-address h3,
.footer-contact h3 {
  font-weight: bold;
  margin-bottom: 6px; /* slightly reduced */
}

.footer-logo {
  width:225px;
  margin: 3em 0; /* spacing under logo */

}

.footer-logo img {
  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: 20px; /* reduced gap for small screens */
  padding-left: 0;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px; /* smaller icons */
  height: 50px;
  border-radius: 50%;
  font-size: 24px; /* smaller font */
  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; }



html, body {
  overflow-x: hidden;
}