/* ============================================
   HMHC Website — style.css
   Harlinger Mixed Hockey Club
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #97DE54;
  --green-hover: #7bc73e;
  --navy: #151F4E;
  --navy-light: #1e2a5e;
  --dark-gray: #444444;
  --light-gray: #F1F1F1;
  --footer-bg: #232526;
  --white: #FFFFFF;
  --divider: #97DE54;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Section headings ---------- */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.section-heading .divider {
  width: 80px;
  height: 3px;
  background: var(--green);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  border: none;
}

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

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

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

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

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

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

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Logo in center */
.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 56px;
}

.header-logo img {
  height: 56px;
  width: auto;
}

/* Navigation left & right */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-left {
  margin-right: auto;
}

.nav-right {
  margin-left: auto;
}

/* Nav items */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 8px 16px;
  color: var(--navy);
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-item > a:hover {
  color: var(--green);
}

/* Dropdown arrow */
.nav-item.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--navy);
  border-top: 3px solid var(--green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
  background: var(--navy-light);
  color: var(--green);
}

/* External link indicator */
.dropdown a.external::after {
  content: ' \2197';
  font-size: 0.7rem;
}

/* Hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--navy);
  overflow-y: auto;
  z-index: 999;
  padding: 20px 0;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav .mobile-nav-item > a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .mobile-nav-item > a:hover {
  color: var(--green);
}

.mobile-nav .mobile-dropdown {
  display: none;
  background: rgba(0, 0, 0, 0.15);
}

.mobile-nav .mobile-nav-item.open .mobile-dropdown {
  display: block;
}

.mobile-nav .mobile-dropdown a {
  display: block;
  padding: 12px 24px 12px 40px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .mobile-dropdown a:hover {
  color: var(--green);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy) url('../images/hero.jpg') center/cover no-repeat;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-content .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: var(--light-gray);
}

/* ---------- Nieuws ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
}

.news-card-meta {
  display: block;
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.news-card-body p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

.news-card-body .read-more {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
}

.more-link {
  text-align: center;
}

.more-link a {
  color: var(--green);
  font-weight: 600;
  font-size: 1rem;
}

/* LISA iframe embed */
.lisa-embed {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 8px;
}

/* ---------- Instagram ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.insta-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.insta-item:hover img {
  transform: scale(0.95);
}

.insta-item .insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 31, 78, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-overlay span {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Sponsors carousel ---------- */
.sponsors-track-wrapper {
  overflow: hidden;
  position: relative;
}

.sponsors-track-wrapper::before,
.sponsors-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.sponsors-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.sponsors-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

section:nth-child(even) .sponsors-track-wrapper::before {
  background: linear-gradient(to right, var(--light-gray), transparent);
}

section:nth-child(even) .sponsors-track-wrapper::after {
  background: linear-gradient(to left, var(--light-gray), transparent);
}

.sponsors-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll-sponsors 30s linear infinite;
  width: max-content;
}

.sponsors-track:hover {
  animation-play-state: paused;
}

.sponsors-track a {
  flex-shrink: 0;
}

.sponsors-track img {
  height: 60px;
  width: auto;
}

@keyframes scroll-sponsors {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- LISA App ---------- */
.app-section {
  text-align: center;
}

.app-section p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #666;
}

.app-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-badges img {
  height: 48px;
  width: auto;
  transition: opacity 0.2s;
}

.app-badges img:hover {
  opacity: 0.8;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  color: #666;
  margin-bottom: 8px;
}

.contact-info a {
  color: var(--green);
  font-weight: 600;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

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

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--white);
  color: var(--dark-gray);
  padding: 60px 0 0;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.footer-col p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.footer-col a {
  color: var(--green);
}

.footer-col a:hover {
  color: var(--green-hover);
}

.footer-col a.btn-green {
  color: var(--navy);
}

.footer-col a.btn-green:hover {
  color: var(--navy);
}

.footer-logo img {
  max-width: 100px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: background 0.2s;
}

.footer-socials a:hover {
  background: var(--green);
  color: var(--white);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid #eee;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

/* ============================================
   SUBPAGES
   ============================================ */
.page-header {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.page-content {
  padding: 60px 0;
}

.page-content h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Organisatie grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Duotone foto-effect in clubkleuren */
.team-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(1.1);
  mix-blend-mode: luminosity;
}

.team-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--navy);
  mix-blend-mode: color;
  opacity: 0.7;
  pointer-events: none;
}

/* Initialen-placeholder voor leden zonder foto */
.team-card-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 2px;
}

.team-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .team-role {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.team-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.team-card.vacant {
  opacity: 0.5;
  border: 2px dashed #ccc;
  box-shadow: none;
}

/* Sponsors grid */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.sponsor-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.sponsor-card:hover {
  transform: translateY(-4px);
}

.sponsor-card img {
  max-height: 80px;
  margin: 0 auto 12px;
}

.sponsor-card p {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0;
}

/* Contributie tabel */
.contrib-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.contrib-table th,
.contrib-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.contrib-table th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.contrib-table tr:hover {
  background: var(--light-gray);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
  }

  .header-logo {
    position: absolute;
    left: 20px;
    transform: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobiel */
@media (max-width: 767px) {
  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 50px 0;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

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

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team-card {
    padding: 16px;
  }

  .team-card-photo,
  .team-card-initials {
    width: 80px;
    height: 80px;
  }

  .team-card-initials {
    font-size: 1.6rem;
  }

  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contrib-table {
    font-size: 0.85rem;
  }

  .contrib-table th,
  .contrib-table td {
    padding: 8px 10px;
  }

  .lisa-embed {
    min-height: 400px;
  }

  .container {
    padding: 0 16px;
  }
}

/* ---------- Campaign / Proeftraining ---------- */
.page-header--campaign {
  background: var(--navy);
  text-align: center;
  padding: 80px 20px 40px;
}

.page-header--campaign h1 {
  color: var(--green);
  font-size: 3.5rem;
}

.campaign-subtitle {
  color: var(--white);
  font-size: 1.3rem;
  margin-top: 8px;
  font-family: 'Roboto', sans-serif;
}

.campaign-info {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.campaign-info h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.campaign-info p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.campaign-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.campaign-detail {
  background: var(--light-gray);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  border-left: 4px solid var(--green);
}

.campaign-detail strong {
  display: block;
  color: var(--navy);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.campaign-form {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.campaign-form h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.campaign-form form {
  text-align: left;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.2s;
}

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

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-weight: 400;
}

.radio-label:hover {
  border-color: var(--green);
}

.radio-label input[type="radio"] {
  accent-color: var(--green);
}

.radio-label input[type="radio"]:checked + span {
  font-weight: 600;
}

.radio-label:has(input:checked) {
  border-color: var(--green);
  background: rgba(151, 222, 84, 0.1);
}

.btn-form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}

.form-success {
  text-align: center;
  padding: 2rem;
  background: rgba(151, 222, 84, 0.15);
  border-radius: 12px;
  border: 2px solid var(--green);
}

.form-success h3 {
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-success p {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.campaign-yn-beweging {
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 8px;
  text-align: center;
}

.campaign-yn-beweging h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 600px) {
  .page-header--campaign h1 {
    font-size: 2.5rem;
  }

  .campaign-details {
    grid-template-columns: 1fr;
  }
}
