/* =========================================
   GLOBALA INSTÄLLNINGAR
========================================= */

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

html {
  scroll-behavior: smooth;
}

:root {
  --club-accentcolor: #FF8500; /* Orange accent */
  --club-blue-detail: #0069C8; /* Kungsblå */
  --club-black: #001a38;       /* Mycket mörk marinblå */
  --club-bg-gradient: linear-gradient(135deg, #002A59 0%, #001a38 100%);
  --font-main: 'Inter', sans-serif;
  --font-sporty: 'Oswald', sans-serif;
  --text-dark: #1a1a1a;
  --text-gray: #444444;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: #ffffff;
  background: var(--club-bg-gradient);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 1.6;
}

/* =========================================
   MENYLIST
========================================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 26, 56, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-club img {
  height: 42px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: var(--font-sporty);
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--club-accentcolor);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--club-accentcolor);
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 8rem 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.hero-content h1 {
  font-family: var(--font-sporty);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--club-accentcolor);
}

.hero-img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* =========================================
   TIMELINE (Årshjul)
========================================= */

.timeline {
  border-left: 1px solid var(--club-blue-detail); /* Blå linje för sportig kontrast */
  margin-left: 10px;
  padding-left: 25px;
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--club-accentcolor);
  border: 2px solid var(--club-black);
  border-radius: 50%;
}

.time-marker {
  font-family: var(--font-sporty);
  color: var(--club-accentcolor);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* =========================================
   INFO SECTIONS & ACCORDIONS
========================================= */

.info-section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-block {
  background: rgba(0, 0, 0, 0.3);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-block h2 {
  font-family: var(--font-sporty);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--club-accentcolor);
}

.accordion-item {
  margin-bottom: 1rem; 
}

.accordion-header {
  width: 100%;
  background: rgba(0, 105, 200, 0.15); /* Subtil kungsblå ton */
  border: 1px solid rgba(0, 105, 200, 0.2);
  color: white;
  padding: 1.2rem;
  text-align: left;
  font-family: var(--font-sporty);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: rgba(0, 105, 200, 0.25);
  border-left: 3px solid var(--club-accentcolor);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-out;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 1.5rem 1.5rem;
}

.guide-list {
  list-style: none;
  padding-left: 0.5rem;
}

.guide-list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.guide-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--club-accentcolor);
  font-weight: bold;
}

/* =========================================
   CHECKLIST
========================================= */

.check-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.check-item input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 133, 0, 0.4); /* Orange border */
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.check-item input[type="checkbox"]:checked {
  background: var(--club-accentcolor);
  border-color: var(--club-accentcolor);
}

.check-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: #ffffff;
  font-size: 16px;
  left: 4px;
  top: -2px;
}

/* =========================================
   KORT (Verktyg & Kontaktuppgifter)
========================================= */

.tools-grid, 
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tool-card, 
.contact-card {
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: block;
  border-bottom: 4px solid var(--club-accentcolor);
}

.tool-card:hover, 
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.tool-card strong, 
.card-name {
  display: block;
  font-family: var(--font-sporty);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.tool-card span, 
.contact-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  display: block;
}

.card-role {
  color: #666;
  font-family: var(--font-sporty);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
  letter-spacing: 1px;
}

.contact-btn {
  display: inline-block;
  background: var(--club-black);
  color: var(--club-accentcolor) !important;
  border: 1px solid var(--club-accentcolor);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-family: var(--font-sporty);
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: all 0.2s;
}

.contact-btn:hover {
  background: var(--club-accentcolor);
  color: #ffffff !important;
}

/* =========================================
   KARTA
========================================= */

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  line-height: 0;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.map-container:hover .map-image {
  transform: scale(1.02);
}

/* =========================================
   FOOTER
========================================= */

.main-footer {
  padding: 4rem 1rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.85rem;
}

.cookie-settings-link {
  margin-top: 0.85rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2100;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 26, 56, 0.96);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  max-width: 720px;
}

.cookie-banner__title {
  font-family: var(--font-sporty);
  color: var(--club-accentcolor);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.cookie-banner__text {
  opacity: 0.9;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sporty);
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-btn--primary {
  background: var(--club-accentcolor);
  color: #fff;
  border: 1px solid var(--club-accentcolor);
}

.cookie-btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
  transform: translateY(-1px);
}

/* =========================================
   RESPONSIVITET
========================================= */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    text-align: center;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 65px;
    right: -100%;
    flex-direction: column;
    background: var(--club-black);
    width: 100%;
    height: 100vh;
    padding: 3rem;
    transition: 0.4s ease;
  }
  
  .nav-links.active {
    right: 0;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
