/* style.css
   Responsive stylesheet for "Sagitta et Arcus" homepage
   - Uses CSS variables for easy color/spacing tweaks
   - Flexbox/Grid for layout
   - Responsive breakpoints: 1200px, 900px, 600px
*/

/* -------------------------
   Variables & Reset
   ------------------------- */
:root{
  --black: #000000;
  --white: #ffffff;
  --light-gray: #DEDEDE;
  --muted-gray: #F0F0F0;
  --max-width: 1600px; 
  --gap: 1.25rem;
  --radius: 6px;
}

@font-face {
    font-family: 'Raleway';
    src: url('Fonts/Raleway-VariableFont_wght.woff2') format('woff2'),
         url('Fonts/Raleway-VariableFont_wght.ttf') format('truetype');
}  

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,body{
  height: 100%;
  margin: 0;
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility container to center page content */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* -------------------------
   Header
   ------------------------- */
header{
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 0.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

/* Logo */
.logo img {
  display: block;
  height: 64px;
  width: auto;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a{
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.25rem 0.35rem;
  transition: opacity 0.15s ease;
}

nav a:hover,
nav a:focus {
  opacity: 0.8;
  outline: none;
}

/* Small screens: stack nav below logo */
@media (max-width: 700px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* -------------------------
   Banner / Hero with diagonals
   ------------------------- */
.banner {
  background: var(--light-gray);
  height: 380px;               /* matches original approx */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative diagonal lines using pseudo elements 
.banner::before,
.banner::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 2px;
  background: var(--black);
  opacity: 0.9;
}

.banner::before {
  transform: rotate(-13deg);
  top: 18%;
}

.banner::after {
  transform: rotate(13deg);
  top: 36%;
}
*/

/* Centered hero content placeholder (could be heading / CTA) */
.banner .hero-content {
  position: relative; /* above pseudo elements */
  text-align: center;
  z-index: 2;
}

/* -------------------------
   About section
   ------------------------- */
.about {
  padding: 3rem 0;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 1rem;
  align-items: start;
}

.about h2 {
  font-family: "Raleway";
  font-weight: 700;
  font-size: 2rem;
  margin: 2rem 0 0 0;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 700;
}

/* Image box (replaces many absolute rectangles) */
.image-box {
  background: var(--light-gray);
  border: 1px solid var(--black);
  height: 303px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* Decorative diagonal lines inside cards
.image-box::before,
.image-box::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 2px;
  background: var(--black);
  left: -20%;
  top: 25%;
}

.image-box::before {
  transform: rotate(-30deg);
}

.image-box::after {
  transform: rotate(30deg);
  top: 65%;
}
*/

/* Responsive: stack columns on small screens */
@media (max-width: 1000px) {
  .about .container {
    grid-template-columns: 1fr;
  }
  .image-box {
    margin-top: 1rem;
    width: 100%;
    height: 260px;
  }
}


/* -------------------------
   Agenda
   ------------------------- */
    /* Nieuws & Agenda styling */


 .agenda {
  padding: 2.5rem 0;
  background: transparent;
}
h2 {
margin-left: 20%;
font-size: 2rem;
}
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.agenda-item {
  background: var(--light-gray);
  border: 1px solid var(--black);
  padding: 1rem;
  min-height: auto;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.agenda-item h3{
  font-family: "Raleway";
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.agenda-item p{
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
}

/* Responsive news grid */
@media (max-width: 1000px){
  .agenda-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .Agenda-grid { grid-template-columns: 1fr; }
}


/* -------------------------
   Nieuws (news grid)
   ------------------------- */
.nieuws {
  padding: 2.5rem 0;
  background: transparent;
}

h2 {
margin-left: 20%;
font-size: 2rem;
}

.nieuws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.nieuws-item {
  background: var(--light-gray);
  border: 1px solid var(--black);
  padding: 1rem;
  min-height: auto;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.nieuws-item h3{
  font-family: "Raleway";
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.nieuws-item p{
  font-family: "Raleway";
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
}

/* Add small diagonal line motif inside each news item */
/*.nieuws-item::before,
.nieuws-item::after {
  content: "";
  position: absolute;
  width: 160%;
  height: 1px;
  left: -30%;
  background: var(--black);
  opacity: 0.9;
}

.nieuws-item::before { transform: rotate(-28deg); top: 12%; }
.nieuws-item::after  { transform: rotate(28deg);  top: 78%; }

/* Responsive news grid */
@media (max-width: 1000px){
  .nieuws-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .nieuws-grid { grid-template-columns: 1fr; }
}

/* -------------------------
   Sponsoren
   ------------------------- */
.sponsoren {
  padding: 2.5rem 0;
  background: var(--muted-gray);
}

.sponsoren .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.sponsor {
  background: var(--white);
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border: 1px solid rgba(0,0,0,0.06);
}



/* Responsive sponsors */
@media (max-width: 900px) {
  .sponsoren .container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .sponsoren .container {
    grid-template-columns: 1fr;
  }
}
/* -------------------------
   einde Sponsoren
   ------------------------- */



/* -------------------------
   Footer
   ------------------------- */
footer{
  background: var(--black);
  color: var(--white);
  padding: 2rem 0;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-logo img {
  height: 96px;
  width: auto;
  display: block;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

.footer-socials p {
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

footer small {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Footer responsive stack */
@media (max-width: 900px) {
  footer .container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-logo {
    margin-bottom: 1rem;
  }
}

/* -------------------------
   Accessibility & focus
   ------------------------- */
a:focus,
button:focus {
  outline: 3px solid rgba(0,0,0,0.12);
  outline-offset: 2px;
}

/* -------------------------
   Small helper classes
   ------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.hidden { display:none; }

/* -------------------------
   Example default spacing for page sections
   ------------------------- */
section { padding-left: 0; padding-right: 0; }

/* -------------------------
   End of stylesheet
   ------------------------- */

   /* Zorg dat afbeeldingen en iframes meeschalen */
.image-box img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1600px) {
  .container {
    padding: 0 10rem; /* iets meer ruimte aan zijkanten */
  }
}


