/*
 Theme Name:   Evenementen Child Theme
 Theme URI:    
 Description:  Child theme van Astra voor een evenementenplatform
 Author:       Jouw Naam
 Author URI:   
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  evenementen-child
*/

/* =============================================
   ALGEMENE STIJLEN
   ============================================= */

:root {
  --kleur-primair:    #E8431C;   /* oranje-rood accent */
  --kleur-secundair:  #1C3557;   /* donkerblauw */
  --kleur-achtergrond:#F5F6FA;
  --kleur-wit:        #ffffff;
  --kleur-tekst:      #222222;
  --kleur-licht-grijs:#eeeeee;
  --kleur-border:     #dde1ea;
  --radius:           10px;
  --schaduw:          0 2px 12px rgba(0,0,0,0.08);
}

body {
  background-color: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

a {
  color: var(--kleur-primair);
  text-decoration: none;
}
a:hover {
  color: var(--kleur-secundair);
}

/* =============================================
   HEADER / NAVIGATIE
   ============================================= */

.site-header,
#masthead {
  background: var(--kleur-secundair) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ast-site-identity .site-title a,
.ast-header-break-point .ast-mobile-menu-buttons .menu-toggle,
.main-header-menu .menu-item a {
  color: var(--kleur-wit) !important;
}

.main-header-menu .menu-item a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--kleur-primair) !important;
}

/* Logo tekst */
.ast-site-identity .site-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* =============================================
   HERO / BANNER
   ============================================= */

.ev-hero {
  background: linear-gradient(135deg, var(--kleur-secundair) 0%, #2a4f7c 100%);
  color: var(--kleur-wit);
  padding: 60px 20px 50px;
  text-align: center;
}

.ev-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--kleur-wit);
}

.ev-hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.ev-hero .ev-btn-primary {
  background: var(--kleur-primair);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,67,28,0.35);
}
.ev-hero .ev-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,67,28,0.45);
  color: #fff;
}

/* =============================================
   ZOEK- EN FILTERBALK
   ============================================= */

.ev-filterbalk {
  background: var(--kleur-wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  padding: 20px 24px;
  margin: -28px auto 32px;
  max-width: 960px;
  position: relative;
  z-index: 10;
}

.ev-filterbalk form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.ev-filterbalk .ev-filter-veld {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ev-filterbalk label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ev-filterbalk input,
.ev-filterbalk select {
  border: 1.5px solid var(--kleur-border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.95rem;
  color: var(--kleur-tekst);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.ev-filterbalk input:focus,
.ev-filterbalk select:focus {
  border-color: var(--kleur-primair);
}

.ev-filterbalk button[type="submit"] {
  background: var(--kleur-primair);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-end;
}
.ev-filterbalk button[type="submit"]:hover {
  background: #c93516;
}

/* =============================================
   EVENEMENTEN GRID
   ============================================= */

.ev-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.ev-sectie-titel {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--kleur-secundair);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ev-sectie-titel::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--kleur-licht-grijs);
  border-radius: 2px;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Evenement kaart */
.ev-kaart {
  background: var(--kleur-wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.ev-kaart:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ev-kaart-afbeelding {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--kleur-licht-grijs);
}

.ev-kaart-afbeelding-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e8edf5, #d0d8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.ev-kaart-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ev-kaart-categorie {
  display: inline-block;
  background: #fff0ec;
  color: var(--kleur-primair);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.ev-kaart-titel {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kleur-secundair);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ev-kaart-meta {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  flex: 1;
}

.ev-kaart-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ev-kaart-link {
  display: block;
  text-align: center;
  background: var(--kleur-secundair);
  color: #fff !important;
  padding: 9px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.ev-kaart-link:hover {
  background: var(--kleur-primair) !important;
  color: #fff !important;
}

/* Premium badge */
.ev-badge-premium {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f5a623;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ev-kaart-wrapper {
  position: relative;
}

/* =============================================
   EVENEMENT INDIENEN PAGINA
   ============================================= */

.ev-indienen-wrapper {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 20px 60px;
}

.ev-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.ev-pricing-kaart {
  background: var(--kleur-wit);
  border: 2px solid var(--kleur-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.ev-pricing-kaart.featured {
  border-color: var(--kleur-primair);
  box-shadow: 0 4px 20px rgba(232,67,28,0.15);
}

.ev-pricing-kaart h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kleur-secundair);
  margin-bottom: 6px;
}

.ev-pricing-kaart .prijs {
  font-size: 2rem;
  font-weight: 800;
  color: var(--kleur-primair);
  margin: 10px 0;
}
.ev-pricing-kaart .prijs span {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.ev-pricing-kaart ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  text-align: left;
  font-size: 0.9rem;
  color: #555;
}
.ev-pricing-kaart ul li {
  padding: 5px 0;
}
.ev-pricing-kaart ul li::before {
  content: '✓ ';
  color: #2ecc71;
  font-weight: 700;
}

.ev-btn-plan {
  display: block;
  padding: 11px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: background 0.2s;
}
.ev-btn-plan.gratis {
  background: var(--kleur-licht-grijs);
  color: var(--kleur-secundair) !important;
}
.ev-btn-plan.betaald {
  background: var(--kleur-primair);
  color: #fff !important;
}
.ev-btn-plan:hover {
  opacity: 0.9;
}

/* =============================================
   EVENEMENT DETAIL PAGINA
   ============================================= */

.ev-detail-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px 60px;
}

.ev-detail-header {
  background: var(--kleur-wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  overflow: hidden;
  margin-bottom: 28px;
}

.ev-detail-header img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.ev-detail-header-body {
  padding: 28px 32px;
}

.ev-detail-header-body h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--kleur-secundair);
  margin-bottom: 14px;
}

.ev-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.ev-detail-meta-item {
  background: var(--kleur-achtergrond);
  border-radius: 8px;
  padding: 14px 16px;
}

.ev-detail-meta-item .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ev-detail-meta-item .waarde {
  font-size: 1rem;
  font-weight: 600;
  color: var(--kleur-secundair);
}

/* =============================================
   KNOPJE "EVENEMENT TOEVOEGEN"
   ============================================= */

.ev-cta-balk {
  background: var(--kleur-primair);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
}
.ev-cta-balk a {
  color: #fff !important;
  text-decoration: underline;
}

/* =============================================
   RESPONSIEF
   ============================================= */

@media (max-width: 640px) {
  .ev-filterbalk form {
    flex-direction: column;
  }
  .ev-pricing-grid {
    grid-template-columns: 1fr;
  }
  .ev-detail-header-body {
    padding: 20px 16px;
  }
  .ev-grid {
    grid-template-columns: 1fr;
  }
}
