/*
Theme Name: Solar Team Twente
Author: Custom
Version: 1.0
*/

:root {
  --white: #fff;
  --black: #000000;
  --purple: #E42A21;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body-color: #222222;
  --body-color-dark: #222222;
  --heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --h1-color: #222222;
  --h2-color: #222222;
  --h3-color: #222222;
  --button-background: #E42A21;
  --button-color: #fff;
  --hover-button-background: #222;
  --hover-button-color: #F0F0E6;
  --light-background-color: #222222;
  --content-background: #F1F1F1;
  --card-background-color: #FFFFFF;
  --card-color: #322D64;
  --cta-noimage-background: #E42A21;
  --menu-hover-color: #E42A21;
  --menu-submenu-background-color: #fff;
  --menu-submenu-color: #222;
  --menu-submenu-hover-color: #E42A21;
  --menu-background: #F1F1F1;
  --topmenu-color: #FFFFFF;
  --topmenu-background: #E42A21;
  --footer-background: #FFFFFF;
  --footer-color: #222;
  --footer-title-color: #E42A21;
  --social-background: #E42A21;
  --social-icon-color: #fff;
  --social-hover-background: #222;
  --social-border: #E42A21;
}

*, :before, :after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--body-font); background-color: var(--content-background); color: var(--body-color); font-size: 18px; line-height: 30px; overflow-x: hidden; }

/* Grid & Layout System */
.container { max-width: 1250px; margin: 0 auto; padding: 0 40px; width: 100%; box-sizing: border-box; }
.grid { display: grid; }
.relative { position: relative; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.mt-auto { margin-top: auto; }
.mt-\[30px\] { margin-top: 30px; }
.mb-\[30px\] { margin-bottom: 30px; }
.gap-\[30px\] { gap: 30px; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:gap-\[30px\] { gap: 30px; }
  .col-span-2 { grid-column: span 2 / span 2; }
  .col-span-3 { grid-column: span 3 / span 3; }
  .col-span-4 { grid-column: span 4 / span 4; }
}

/* Typography */
h1, .h1 { font-family: var(--heading-font); font-size: 48px; line-height: 56px; font-weight: 800; color: var(--h1-color); margin-bottom: 20px; }
h2 { font-family: var(--heading-font); font-size: 32px; line-height: 40px; font-weight: 700; margin-bottom: 15px; }
h3 { font-family: var(--heading-font); font-size: 24px; line-height: 30px; font-weight: 700; margin-bottom: 15px; }
p { margin-bottom: 20px; }
hr { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }

/* Buttons */
.button {
  background-color: var(--button-background);
  color: var(--button-color);
  padding: 14px 28px;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.button:hover {
  background-color: var(--hover-button-background);
  color: var(--hover-button-color);
}
.read-more { color: var(--purple); font-weight: 700; text-decoration: none; }

/* Header & Menu */
.full-menu-holder { position: fixed; top: 0; width: 100%; z-index: 100; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.topmenu { background-color: var(--topmenu-background); padding: 10px 0; font-size: 14px; }
.topmenu a { color: var(--topmenu-color); text-decoration: none; margin-left: 20px; }
.menu-bar { background-color: var(--menu-background); padding: 20px 0; }
.menu-inner { display: flex; justify-content: space-between; align-items: center; }
.menu > li { display: inline-block; margin-left: 30px; position: relative; }
.menu > li a { text-decoration: none; color: #222; font-weight: 600; }
.menu > li a:hover { color: var(--menu-hover-color); }
.submenu-holder {
  position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden;
  transition: all .3s; background: #fff; padding: 20px; min-width: 220px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.has-sub:hover .submenu-holder { opacity: 1; visibility: visible; }
.submenu li { list-style: none; margin-bottom: 10px; }

/* Hero Section */
.header-holder { margin-bottom: 75px; }
.header-holder .image-holder { width: calc(100% - 80px); margin: 0 auto; max-height: 600px; overflow: hidden; }
.header-holder .image-holder img { width: 100%; height: 100%; object-fit: cover; }
.header-holder .intro-holder { margin: 60px 0; }

/* Editorial Text Block */
.text-holder.svelte-9dyf0i { max-width: 870px; margin: 0 auto 100px; padding: 0 40px; }

/* Call To Action Without Image */
.cta-no-image .cta-container { max-width: 1070px; margin: 0 auto 100px; padding: 0 40px; }
.cta-no-image .cta-holder { position: relative; z-index: 5; }
.cta-no-image .cta-holder:before {
  content: ""; background-color: var(--cta-noimage-background); position: absolute;
  width: calc(50% - 45px); height: calc(100% + 70px); right: 45px; top: -35px; z-index: -1;
}
.cta-no-image .cta-inner { background-color: var(--light-background-color); padding: 70px 80px; color: #fff; }
.cta-no-image h2 { color: #fff; }

/* Call To Action With Image */
.cta-image { margin-bottom: 100px; }
.cta-image .cta-container { max-width: 1490px; margin: 0 auto; padding: 0 40px; }
.cta-image .image-holder img { width: 100%; height: 100%; object-fit: cover; }
.cta-image .text-holder { margin-top: 80px; padding: 80px 50px; background-color: var(--light-background-color); color: #fff; }
.cta-image .text-holder h2 { color: #fff; }

/* 3-Card Highlights Grid */
.overzicht-component { margin-bottom: 100px; }
.overzicht-item {
  background: var(--card-background-color);
  text-decoration: none;
  color: var(--body-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 0 0 30px 0;
  transition: transform .3s;
}
.overzicht-item:hover { transform: translateY(-5px); }
.overzicht-item .image-holder { height: 260px; overflow: hidden; margin-bottom: 25px; }
.overzicht-item .image-holder img { width: 100%; height: 100%; object-fit: cover; }
.overzicht-item h3, .overzicht-item div { padding: 0 25px; }

/* Logo Grids */
.logo-grid { margin-bottom: 80px; text-align: center; }
.logo-grid .title-holder { margin-bottom: 50px; }
.logo-grid .logo-container { margin: 15px 35px; display: flex; align-items: center; justify-content: center; }
.logo-grid img { max-width: 140px; max-height: 70px; object-fit: contain; }

/* Footer */
footer { background-color: var(--footer-background); padding: 80px 0 40px; border-top: 1px solid #e5e5e5; }
footer h3 { color: var(--footer-title-color); }
footer a { color: var(--footer-color); text-decoration: none; }
.social-list { list-style: none; display: flex; gap: 10px; justify-content: flex-end; }
.social-button {
  background: var(--social-background); color: #fff !important; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.footer-bottom { margin-top: 50px; font-size: 14px; border-top: 1px solid #eee; padding-top: 20px; }
.year-holder { text-align: right; }

@media (max-width: 767px) {
  .header-holder .image-holder { width: 100%; }
  .topmenu { display: none; }
  .cta-no-image .cta-inner { padding: 35px 20px; }
  .cta-no-image .cta-holder:before { display: none; }
  .cta-image .text-holder { margin-top: 0; padding: 40px 20px; }
}
