/* ============================================
   Center Court Tennis en Padel Brasschaat
   Shared Stylesheet
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: #1A1A1A;
  background-color: #FAFAF7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

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

.text-white {
  color: #fff;
}

.bg-green {
  background-color: #1B5E20;
}

.bg-cream {
  background-color: #FAFAF7;
}

.bg-dark {
  background-color: #111;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 94, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.15);
}

.nav-cta {
  background: #C8A951 !important;
  color: #1A1A1A !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 6px !important;
  transition: background 0.2s ease !important;
}

.nav-cta:hover {
  background: #b8993d !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* ============================================
   HERO SECTION (index.html only)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a2e0f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,46,15,0.7) 0%, rgba(10,46,15,0.5) 50%, rgba(10,46,15,0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #C8A951;
  color: #1A1A1A;
}

.btn-primary:hover {
  background: #b8993d;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200,169,81,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #1A1A1A;
}

.btn-green {
  background: #1B5E20;
  color: #fff;
}

.btn-green:hover {
  background: #2E7D32;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(27,94,32,0.35);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: #1B5E20;
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: #C8A951;
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.two-col-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.two-col-text h2 {
  color: #1B5E20;
  margin-bottom: 1rem;
}

.two-col-text p {
  margin-bottom: 1rem;
}

/* ============================================
   CARDS (pricing, features)
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #eee;
}

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

.card h3 {
  color: #1B5E20;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card .price {
  font-size: 2rem;
  font-weight: 700;
  color: #C8A951;
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 0.75rem;
}

/* ============================================
   PRICING TABLES (tarieven)
   ============================================ */
.pricing-section {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  border: 1px solid #eee;
}

.pricing-section h3 {
  color: #1B5E20;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #C8A951;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row .item {
  font-size: 0.95rem;
  color: #333;
}

.pricing-row .amount {
  font-weight: 700;
  color: #1B5E20;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ============================================
   MENU TABLE (bar page)
   ============================================ */
.menu-section {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  border: 1px solid #eee;
}

.menu-section h3 {
  color: #1B5E20;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #C8A951;
  font-size: 1.25rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dotted #e0e0e0;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item .name {
  font-size: 0.95rem;
  color: #333;
  padding-right: 1rem;
}

.menu-item .price {
  font-weight: 600;
  color: #1B5E20;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}

.contact-card h4 {
  color: #1B5E20;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #C8A951;
}

.contact-card .person {
  margin-bottom: 0.75rem;
}

.contact-card .person strong {
  display: block;
  color: #1A1A1A;
  font-size: 0.95rem;
}

.contact-card .person a {
  color: #1B5E20;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.contact-card .person a:hover {
  color: #C8A951;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: #1B5E20;
  color: #fff;
  padding: 3.5rem 0;
}

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  color: #fff;
  margin-bottom: 0.3rem;
}

.newsletter-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.newsletter-form input[type="email"] {
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.95rem;
  border-radius: 6px 0 0 6px;
  outline: none;
  min-width: 280px;
  font-family: 'Poppins', sans-serif;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form input[type="email"]:focus {
  border-color: #C8A951;
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: #C8A951;
  color: #1A1A1A;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #b8993d;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0d1f0f;
  color: #ccc;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #aaa;
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: #aaa;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #C8A951;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #777;
  font-size: 0.82rem;
}

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

.footer-social a {
  color: #aaa;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #C8A951;
}

/* ============================================
   BOOKING SECTION (reserveer page)
   ============================================ */
.booking-hero {
  background: linear-gradient(135deg, #1B5E20 0%, #0d3510 100%);
  color: #fff;
  padding: 8rem 0 4rem;
  text-align: center;
}

.booking-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.booking-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a2e0f;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,46,15,0.6) 0%, rgba(10,46,15,0.8) 100%);
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  padding: 6rem 1.5rem 3rem;
}

.page-hero-content h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
  background: #f0f7e6;
  border-left: 4px solid #1B5E20;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.info-box p {
  font-size: 0.92rem;
  color: #2d5a1b;
  margin: 0;
}

/* ============================================
   IMAGE BANNER
   ============================================ */
.image-banner {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   ACCORDION (for menu categories)
   ============================================ */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #1B5E20;
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body.open {
  max-height: 3000px;
}

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

  .two-col.reverse {
    direction: ltr;
  }

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

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 94, 32, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter .container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    min-width: 0;
    width: 100%;
    border-radius: 6px;
  }

  .newsletter-form button {
    border-radius: 6px;
  }

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

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

  .header-inner {
    padding: 0 1rem;
  }

  .pricing-section,
  .menu-section {
    padding: 1.5rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
