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

:root{
  --bg: #FAF7F2;
  --bg-alt: #F1EBDF;
  --ink: #24262B;
  --ink-soft: #5B5E66;
  --blue-deep: #123C6B;
  --blue: #2D6FB8;
  --blue-pale: #E6F1FB;
  --gold: #E8A93D;
  --gold-deep: #A9701C;
  --line: #D8E1EC;
  --white: #FFFFFF;
  --radius: 10px;
  --maxw: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: var(--blue); text-decoration:none; }
a:hover{ text-decoration: underline; }

h1,h2,h3,.display{
  font-family: 'Bebas Neue', sans-serif;
  color: var(--blue-deep);
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0 0 .4em;
  font-weight: 400;
}
h1{ font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2{ font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3{ font-size: 1.35rem; letter-spacing: 0.3px; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: #FBF0DA;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- Header / nav ---------- */
header{
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top:0;
  z-index: 50;
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--blue-deep);
  letter-spacing: .5px;
}
.brand img{ height:56px; width:auto; }

nav.primary-nav{
  display:flex;
  gap: 28px;
}
nav.primary-nav a{
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  text-decoration:none;
}
nav.primary-nav a:hover{ color: var(--blue-deep); text-decoration:none; }
nav.primary-nav a.active{ color: var(--blue-deep); }
nav.primary-nav a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-8px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta{
  background: var(--blue-deep);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover{ background: var(--blue); text-decoration:none; }

.menu-toggle{
  display:none;
  background:none;
  border: none;
  cursor:pointer;
  padding: 6px;
}
.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background: var(--blue-deep);
  margin: 5px 0;
}

/* ---------- Court line divider (signature motif) ---------- */
.court-divider{
  height: 26px;
  width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 34px);
  background-position: center;
  position: relative;
  margin: 0;
}
.court-divider::before{
  content:"";
  position:absolute;
  top:50%; left:0; right:0;
  height:2px;
  background: var(--line);
  transform: translateY(-50%);
}

/* ---------- Hero ---------- */
.hero{
  background: var(--blue-deep);
  color: var(--white);
  position: relative;
  overflow:hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items:center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1{ color: var(--white); }
.hero p.lead{
  color: #C9DCEF;
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #EAF2FB;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
}
/* Bilden i hero-sektionen */
.hero-visual img {
  width: 100%;
  max-width: 200px;
  height: auto;
}
.hero-actions{
  display:flex;
  gap:14px;
  margin-top: 26px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration:none;
  border: 2px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background: var(--gold);
  color: #3A2503;
}
.btn-primary:hover{ background:#F0B953; text-decoration:none; }
.btn-outline{
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.1); text-decoration:none; }
.btn-outline-blue{
  border-color: var(--blue);
  color: var(--blue-deep);
}
.btn-outline-blue:hover{ background: var(--blue-pale); text-decoration:none; }

/* ---------- Sections ---------- */
section{ padding: 72px 0; }
section.alt{ background: var(--bg-alt); }
.section-head{ max-width: 640px; margin-bottom: 40px; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items:center;
}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon{
  width:44px; height:44px;
  border-radius:10px;
  background: var(--blue-pale);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
}

/* ---------- Scorecard schedule (signature element) ---------- */
.scorecard{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--blue-deep);
  border-radius: var(--radius);
  overflow:hidden;
}
.scorecard .col{
  background: var(--white);
  padding: 22px 22px 26px;
}
.scorecard .day{
  font-family:'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--blue-deep);
  letter-spacing: .5px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display:inline-block;
}
.scorecard .slot{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.scorecard .slot:last-child{ border-bottom:none; }
.scorecard .slot .time{ font-weight:600; color: var(--blue-deep); white-space:nowrap; }

/* ---------- Table (fees etc) ---------- */
table.fees{
  width:100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
}
table.fees th, table.fees td{
  text-align:left;
  padding: 12px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
table.fees th{
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight:600;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .5px;
}
table.fees tr:last-child td{ border-bottom:none; }

/* ---------- Board / people ---------- */
.people-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.person{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.person .role{
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing: .6px;
  color: var(--gold-deep);
  font-weight:600;
  margin-bottom: 4px;
}
.person .name{ font-weight:600; }

/* ---------- News ---------- */
.news-item{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.news-item .date{
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--blue-deep);
  color: var(--white);
  text-align:center;
  padding: 56px 0;
}
.cta-band h2{ color: var(--white); }
.cta-band p{ color: #C9DCEF; max-width: 50ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
footer{
  background: var(--blue-deep);
  color: #C9DCEF;
  padding: 48px 0 28px;
  font-size: 14.5px;
}
footer .grid-3{ margin-bottom: 32px; }
footer h4{
  color: var(--white);
  font-family:'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
footer a{ color: #C9DCEF; }
footer a:hover{ color: var(--white); }
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 24px;
  padding-top: 20px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  color: #9FB9D6;
  font-size: 13px;
}

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero{
  background: var(--blue-deep);
  color: var(--white);
  padding: 52px 0 44px;
}
.page-hero h1{ color: var(--white); margin-bottom: 8px; }
.page-hero p{ color: #C9DCEF; max-width: 60ch; margin:0; }

/* ---------- Placeholder image blocks ---------- */
.placeholder-img{
  background: var(--blue-pale);
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius);
  color: var(--blue-deep);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  font-weight: 600;
  text-align:center;
  padding: 10px;
  min-height: 220px;
}

/* ---------- Photo gallery (t.ex. bilder från träningen) ---------- */
.photo-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.photo-grid img{
  width:100%;
  height:100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ---------- Instagram-embed (fylls i när widget-kod finns) ---------- */
.instagram-embed iframe,
.instagram-embed .snapwidget-widget{
  width:100%;
  border:0;
  border-radius: var(--radius);
}

/* ---------- Inbäddat Google-formulär (anmälan) ---------- */
.form-embed{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
}
.form-embed iframe{
  display:block;
  width:100%;
  height: 1400px;
  border:0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  nav.primary-nav{
    position: fixed;
    top: 66px;
    left:0; right:0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 24px 26px;
    gap: 16px;
    display:none;
  }
  nav.primary-nav.open{ display:flex; }
  .menu-toggle{ display:block; }
  .nav-cta{ align-self:flex-start; }

  .hero .wrap{
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .hero-visual{ order:-1; max-width: 180px; margin: 0 auto; }

  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  section{ padding: 52px 0; }

  .photo-grid{ grid-template-columns: 1fr; }
  .form-embed iframe{ height: 1600px; }

  .footer-bottom{ flex-direction:column; }
}

@media (max-width: 480px){
  .hero-actions{ flex-direction:column; }
  .btn{ text-align:center; }
}
