/* =============================================
   TRÄNA HJÄRNAN – Global CSS
   Färger: Navy #012659 | Magenta #f366d8 | Grå #f0f0f0
   Typsnitt: Quicksand (Google Fonts)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:    #012659;
  --magenta: #f366d8;
  --magenta-dark: #d400c0;
  --pink-bg: #f06eee; /* ljusare magenta för sektionsbakgrund */
  --gray-bg: #f0f0f0;
  --white:   #ffffff;
  --text:    #012659;
  --text-light: #ffffff;
  --font: 'Quicksand', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo svg {
  width: 44px;
  height: 44px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--magenta);
}

/* Hamburger – mobil */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 53, 87, 0.78);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* === SEKTIONER === */
.section {
  padding: 4rem 0;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-gray {
  background: var(--gray-bg);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-magenta {
  background: var(--magenta);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Dekorativ cirkel i magenta-sektioner */
.section-magenta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

/* === TYPOGRAFI === */
h1, h2, h3, h4 {
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.section-subtitle.light {
  color: rgba(255,255,255,0.85);
}

.lead {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--navy);
}

/* === I KORTHET – 3-kolumner === */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.col-item {
  text-align: center;
}

.col-icon {
  font-size: 2.8rem;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.col-icon svg {
  width: 56px;
  height: 56px;
  fill: var(--navy);
}

.col-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 1rem;
}

.col-text {
  font-size: 0.95rem;
  color: var(--navy);
  text-align: center;
}

.col-text strong {
  font-weight: 700;
}

/* === HJÄRNAN STYR ALLT – text + bild === */
.brain-section {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 1rem;
  align-items: center;
}

.brain-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.brain-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.brain-text ul {
  list-style: none;
  padding: 0;
}

.brain-text ul li {
  padding: 0.25rem 0;
  font-size: 0.97rem;
}

.brain-text ul li::before {
  content: '✦ ';
  color: var(--navy);
}

.brain-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brain-img img {
  width: 160%;
  max-width: 160%;
  margin-left: -30%;
  opacity: 0.45;
  filter: brightness(1.15);
}

/* === OM TRÄNINGEN – magenta med foto === */
.om-traning-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.om-traning-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.om-traning-inner p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.om-traning-inner a {
  text-decoration: underline;
  color: var(--navy);
  font-weight: 600;
}

.om-traning-inner img {
  border-radius: 8px;
  width: 100%;
}

/* === AMELIE-SEKTION === */
.quote-hero {
  padding: 4rem 0;
  background: var(--white);
}

.amelie-top {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 2rem;
  align-items: center;
  margin-bottom: 0;
}

.amelie-top-text blockquote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--magenta);
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.amelie-top-text p {
  font-size: 1rem;
  color: var(--navy);
}

.amelie-top-img {
  border-radius: 8px;
  overflow: hidden;
}

.amelie-top-img img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 8px;
}

.amelie-body {
  margin-top: 0.25rem;
}

.amelie-body h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}

.amelie-body p {
  font-size: 0.97rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.amelie-body a {
  color: var(--magenta);
  text-decoration: underline;
}

.amelie-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.amelie-body ul li {
  padding: 0.2rem 0;
  font-size: 0.97rem;
}

.amelie-body ul li::before {
  content: '- ';
}

/* === VAD ÄR DU INTRESSERAD AV – 2 kort === */
.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.interest-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.interest-card-icon {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.interest-card-icon svg {
  width: 52px;
  height: 52px;
  fill: var(--navy);
}

.interest-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.interest-card p {
  font-size: 0.95rem;
  color: var(--navy);
}

/* === KUNDER SÄGER === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  text-align: center;
  padding: 1rem;
}

.testimonial-quote-mark {
  font-size: 3.5rem;
  color: var(--navy);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.testimonial .role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 0.9rem;
  color: var(--navy);
  font-style: italic;
}

/* === LIVE-TRÄFF BANNER === */
.live-banner {
  background: var(--magenta);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.live-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}

.live-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.live-banner p {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* === KNAPPAR === */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border: 2px solid transparent;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gray-bg);
}

.btn-outline-white {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-magenta {
  background: var(--magenta);
  color: var(--white);
}

.btn-magenta:hover {
  background: var(--magenta-dark);
}

/* === FOOTER === */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--magenta);
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* === INRE SIDSIDOR === */
.page-hero {
  background: var(--magenta);
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -150px;
  right: -100px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.page-content ul li {
  padding: 0.2rem 0;
}

.page-content ul li::before {
  content: '- ';
}

.page-content strong {
  font-weight: 700;
}

.priser-box {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.priser-box p {
  margin: 0.3rem 0;
  font-size: 0.97rem;
}

.promo-badge {
  background: var(--magenta);
  color: var(--white);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* === KONTAKTFORMULÄR === */
.contact-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.contact-section h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-section .contact-intro {
  text-align: center;
  color: var(--magenta);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-section .contact-intro a {
  color: var(--navy);
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--magenta);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--magenta);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gray-bg);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #ddd;
}

/* === RESPONSIV === */
@media (max-width: 900px) {
  .three-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brain-section,
  .om-traning-inner,
  .amelie-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brain-img {
    order: -1;
  }

  .amelie-top-img {
    width: 200px;
    margin: 0 auto;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    position: relative;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .section-inner {
    padding: 0 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
