/* ===== Global ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #000;
  color: #fff;
}

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

.logo img,
#wpg-logo {
  height: 70px;
}

#qrcode {
  height: 240px;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2001;
}

.header-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.leaflet-control-container {
  /* Leaflet standard är 1000 – vi kör samma */
  z-index: 1000 !important;
}

/* ===== Hero / Slider ===== */
.hero {
  margin-top: calc(2rem + 70px);
  flex: 0 0 auto;            /* låter innehållet växa utan att trycka på footer */
  display: flex;
  flex-direction: column;
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .slider-container {
    aspect-ratio: 4 / 3;
    padding: 2rem 1rem;
  }
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

/* ===== Innehållstext ===== */
.content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.content p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .content h1 { font-size: 2rem; }
  .content p  { font-size: 1rem; }
}

/* ===== Variabler & Knappar/Formar ===== */
:root {
  --gold: #d4af37cc;
  --gold-solid: rgba(212,175,55,1);
  --gold-dark: #3a2a0a;
}

.btn,
button[type='submit'] {
  padding: 1rem 2rem;
  border: 2px solid var(--gold-solid);
  background: var(--gold);
  color: var(--gold-dark);
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover,
button[type='submit']:hover {
  background: var(--gold-solid);
  transform: scale(1.05);
}

input[type='email'] {
  padding: 1rem;
  border: 2px solid var(--gold-solid);
  border-radius: 25px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  transition: background 0.3s;
}

input::placeholder {
  color: #666;
}

input:focus {
  background: rgba(255,255,255,0.2);
  outline: none;
}

#waiting-list form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

/* ===== Sektioner ===== */
#waiting-list {
  padding: 4rem 0;
}

section:nth-of-type(even):not(#waiting-list) {
  background: #111;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-text {
  /* Lämna text-align default (vänster) */
  max-width: 680px;       /* anpassa efter ditt typsnitt */
  margin: 0 auto 2rem;    /* centrerar horisontellt + lite luft nedanför */
  line-height: 1.8;       /* bekväm radavstånd */
  color: #ccc;            /* behåll eller justera efter tema */
  font-size: 1rem;        /* eller 1.125rem om du vill ha större text */
  text-align: left !important;
}
.section-text-center {
  /* Lämna text-align default (vänster) */
  max-width: 680px;       /* anpassa efter ditt typsnitt */
  margin: 0 auto 2rem;    /* centrerar horisontellt + lite luft nedanför */
  line-height: 1.8;       /* bekväm radavstånd */
  color: #ccc;            /* behåll eller justera efter tema */
  font-size: 1rem;        /* eller 1.125rem om du vill ha större text */
  justify-content: center;
  display:flex;
}
section.black {
  background: #000 !important;
  padding-top: 3rem !important;
}
section.gold  {
  background: #cfb53b !important;
  color:#301d00 !important;
  padding-top: 3rem !important;
}
section.gold .section-text  {
  color:#301d00 !important;
  font-size: 1.2rem;
}


/* ===== Mobilmeny ===== */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle svg {
  fill: #fff;
  width: 1.5rem;
  height: 1.5rem;
}

.menu {
  display: none;
  position: fixed;
  top: calc(70px + 0.5rem);
  right: 2rem;
  background: rgba(0,0,0,0.9);
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  z-index: 1001;
}

.menu.open {
  display: flex;
}

.menu a {
  font-weight: 500;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .menu {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    z-index: auto;
  }
  .menu-toggle {
    display: none;
  }
}

/* ===== Leaflet ===== */
.leaflet-control-container {
  z-index: 1000 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #000;
  color: #fff;
  z-index: 999;
}

/* ===== Karta & Kontroller ===== */
#map {
  height: 60vh;
  width: 100%;
}


#controls {
  min-height: 30vh;      /* minst 30vh, men expanderar med innehållet */
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1em;
  background: #2c2c2c;
}

#clubSelect,
#regionSelect {
  width: 100%;
  padding: 0.75em;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background: #444;
  color: #fff;
  margin-bottom: 1em;
}

#infodiv {
  display: block;
}

#clubInfo {
  clear: both;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;

  padding: 1em;
  border-radius: 4px;
  background: #111;

  margin-bottom: 2rem;    /* luft innan footern */
  /* Ingen max-height eller flex-tvingning – växer med innehållet */
}

/* ===== Footer ===== */
footer {
  background: #111;
  padding: 3rem 0;
  margin-top: auto;       /* trycker alltid footern längst ner */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  width: 200px;
  background: #b0b0b0;
  color: #000;
  font-weight: 700;
}

.footer-newsletter input::placeholder {
  color: #555;
}

.footer-newsletter button {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 5px;
  background: var(--gold);
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: color 0.3s;
  background: none;
  border: none;
}

.footer-social a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-social a:hover {
  color: var(--gold);
}

/* ===== Responsiv ===== */
@media (max-width: 991px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-newsletter {
    order: -1;
    margin-bottom: 1rem;
  }
  .footer-social {
    order: 1;
    margin-top: 1rem;
  }
}

#clubInfo button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--gold-solid);
  background: var(--gold);
  color: var(--gold-dark);
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

#clubInfo button:hover {
  background: var(--gold-solid);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  #map {
    height: 30vh;
  }
  /* Gör drop down lite högre på mobil */
  #regionSelect,
  #clubSelect {
    /* Öka padding så de blir högre */
    padding: 0.8rem;          
    /* Öka teckenstorlek för bättre touchyta */
    font-size: 1.125rem;    
    /* Om du vill styra absolut höjd: */
    height: 3rem;         
    /* Behåll rounded corners */
    border-radius: 4px;     
  }
}

    .cards-container {
      display: flex;
      gap: -80px;
      justify-content: center;  /* centrerar horisontellt */
      perspective: 800px;
    }

    .card {
      width: 180px;           /* eller valfri bredd */
      aspect-ratio: 5 / 7;    /* garanterar alltid 5:7 */
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      transition: transform 0.3s, z-index 0.3s;
    }

    .card img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover; /* fyller och beskär */
    }

    .card--left { transform: rotate(-4deg); }
    .card--right { transform: rotate(4deg); }

    .card:hover {
      transform: rotate(0deg) scale(1.05);
      z-index: 10;
    }

    h2, h3 {
  font-weight: 700;
  color: var(--gold);
  padding-bottom: 0.6rem;
}

/* 1. Stack features vertically */
#waiting-list .features {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

/* 2. Feature “card” styling */
#waiting-list .feature {
  background: #111;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;       /* center all inner elements */
}

/* 3. Headline spacing */
#waiting-list .feature h3 {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--gold);
}

/* 4. Full‑width image */
#waiting-list .feature-img {
  width: 100%;
  max-width: 800px;         /* don’t get too huge on large screens */
  height: auto;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

/* 5. Restyled UL under each feature */
#waiting-list .feature ul {
  list-style: disc inside;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
  color: #ccc;
  line-height: 1.6;
}

/* Two‑column layout for image + list */
#waiting-list .feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1rem;
}

/* On narrow screens, stack them */
@media (max-width: 767px) {
  #waiting-list .feature-content {
    grid-template-columns: 1fr;
  }
}

/* Ensure image fills its column */
#waiting-list .feature-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* Left‑align text in the list column */
#waiting-list .feature-list {
  text-align: left;
}

/* (Optional) Give the UL a bit of breathing room */
#waiting-list .feature-list ul {
  list-style: disc inside;
  color: #ccc;
  line-height: 1.6;
}
/* Ensure .feature-image stacks its children vertically */
#waiting-list .feature-image {
  display: flex;
  flex-direction: column;
  gap: 1rem;               /* space between stacked images */
}

/* Make sure each image fills its column */
#waiting-list .feature-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* Icon Stars  */
#waiting-list ul {
  list-style: none;
  padding-left: 0;
}

#waiting-list li {
  position: relative;
  padding-left: 1.8rem;   /* ge plats för stjärnan */
  margin-bottom: 1rem;
  color: #ddd;
  font-weight: 500;
  line-height: 1.6;
}

#waiting-list li::before {
  content: "★";            /* Unicode‐stjärna */
  position: absolute;
  left: 0;
  top: 0.1em;              /* finjustera vertikal placering */
  color: var(--gold-solid);
  font-size: 1.25rem;
  line-height: 1;
}

/* target exactly your feature lists */
#waiting-list .feature-list ul {
  list-style: none;           /* remove default bullets */
  padding-left: 0;            /* kill the indent */
  margin-left: 0;
}

/* just in case some UA stylesheet is sneaky */
#waiting-list .feature-list li {
  list-style: none;           /* ensure no markers on the li */
}

/* hide any ::marker fallback */
#waiting-list .feature-list li::marker {
  content: none;
}
/* Intro two‑column flex layout */
#waiting-list .intro-columns {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

/* Each column takes equal space */
#waiting-list .intro-columns .column {
  flex: 1;
}

/* Keep text centered as before */
#waiting-list .intro-columns .column {
  text-align: center;
}

/* Collapse to a single column on small screens */
@media (max-width: 767px) {
  #waiting-list .intro-columns {
    flex-direction: column;
  }
}
/* constrain .features to your normal site width */
#waiting-list .header-container > .features {
  max-width: 1200px;      /* match your other containers */
  margin: 2rem auto;      /* vertical gap + center */
  padding: 0 2rem;        /* horizontal gutter */
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Restore gray “card” background on each feature */
#waiting-list .feature {
  background: #111;       /* or use #222 for slightly lighter gray */
  padding: 1.5rem;        /* ensure there’s some inner spacing */
  border-radius: 8px;     /* keep the rounded corners */
}
/* Gör länken positionerad */
.feature-image .img-lightbox {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
}

/* Plussa‐ikonen */
.feature-image .plus-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold-solid);
  color: #000;
  font-size: 1.25rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;  /* klickar går igenom till länken */
}

/* Lightbox‐bakgrund */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Bilden i lightbox */
#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 8px;
}
strong {
  display: block;
  margin: 1em 0;
  color: var(--gold);
}

.install-instructions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.install-instructions .column {
  flex: 1 1 300px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.install-instructions h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.install-instructions strong {
  font-weight: 600;
  color: #ffd700; /* eller #ffd700 för guld-effekt */
  display:inline;
}
.install-instructions ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.install-instructions li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.install-instructions li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
}

@media (min-width: 768px) {
  .install-instructions .column:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
  }

  .install-instructions .column:last-child {
    padding-left: 2rem;
  }
}
#pwa-promo {
  padding: 4rem 0;
}

h2.reviews {
  padding-top: 2rem;
  padding-bottom: 0.6rem;
}

/* Nolla skugga på Cookiebot-widgeten */
#CookiebotWidget .CookiebotWidget-logo,
#CookiebotWidget button.CookiebotWidget-logo,
#CookiebotWidget button,
#CookiebotWidget [role="button"] {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;      /* ifall skugga sätts via drop-shadow */
  background: none;             /* valfritt */
  border: none;                 /* valfritt */
}

