/* ============================================================
   YVONNE LE LOUX ART - style.css
   One file to rule them all.
   ============================================================ */

/* ---- Google Fonts are loaded in HTML <head> ---- */

/* ---- CSS Custom Properties (change these to restyle the whole site) ---- */
:root {
  --color-green:      #65997e;
  --color-green-dark: #436553;
  --color-green-light:#84ad98;
  --color-grey-light: #d6d6d6;
  --color-grey-bg:    #edefeb;
  --color-teal:       #086784;
  --color-text:       #232323;
  --color-white:      #ffffff;
  --color-hero-title: #ffa25b;

  --font-title:       'Noto Sans JP', sans-serif;
  --font-heading:     'Inter Tight', sans-serif;
  --font-body:        'Open Sans', sans-serif;
  
  --gallery-page-bg: var(--color-green);
  --gallery-page-text: var(--color-white);
  
  --nav-height:       90px;
  --section-padding:  6rem;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
  display: block;
}

a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--color-green-dark); }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-1 {   /* Hero title */
  font-family: var(--font-title);
  font-size: 5rem;
  line-height: 1;
}
.display-2 {   /* Section headings */
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1;
}
.display-4 {   /* Nav links */
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
}
.display-5 {   /* Portfolio card titles */
  font-family: var(--font-body);
  font-size: 1.7rem;
  line-height: 1.5;
  color: white;
  text-align: center;
}
.display-7 {   /* Captions, body text */
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.3;
}
.display-8 {  /* extra tekst in gallerij */
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.0;
}

/* Fluid typography for smaller screens */
@media (max-width: 768px) {
  .display-1 { font-size: clamp(2.4rem, 8vw, 5rem); }
  .display-2 { font-size: clamp(1.63rem, 5vw, 2.8rem); }
  .display-4 { font-size: clamp(1.175rem, 3.5vw, 1.5rem); }
  .display-5 { font-size: clamp(1.245rem, 4vw, 1.7rem); }
  .display-7 { font-size: 1rem; }
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-fluid {
  width: 100%;
  padding: 0 2rem;
}
@media (max-width: 767px) {
  .container, .container-fluid { padding: 60 1rem; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
.row > * { padding: 0 0.75rem; }

.justify-content-center { justify-content: center; }
.align-center { text-align: center; }
.align-left   { text-align: left; }

.col-12  { width: 100%; }
.col-lg  { flex: 1; }

@media (min-width: 768px) {
  .col-md-6  { width: 50%; }
  .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-4  { width: 33.333%; }
  .col-lg-6  { width: 50%; }
  .col-lg-9  { width: 75%; }
  .col-lg-12 { width: 100%; }
}

.w-100 { width: 100%; }
.mb-3  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 1.5rem; }
.mb-5  { margin-bottom: 3rem; }
.mt-3  { margin-top: 1rem; }
.mt-4  { margin-top: 1.5rem; }
.mt-5  { margin-top: 3rem; }
.m-0   { margin: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 100vw;
  padding: 0 1.5rem 0 0.75rem;
  box-shadow: 0 8px 32px rgba(27,31,10,0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-brand img  { height: 3rem; width: auto; }
.nav-brand span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}
.nav-brand span:hover { color: var(--color-green); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(27,31,10,0.06);
  color: var(--color-green);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s;
}

@media (max-width: 991px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 1.5rem);
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(27,31,10,0.12);
  }
  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1.2rem; padding: 0.75rem 1rem; }

  .nav-container { height: 64px; }
  .nav-brand img  { height: 2.5rem; }
}

@media (max-width: 767px) {
  .site-nav { padding: 0.5rem 0.75rem; }
  .nav-brand span { font-size: 1.1rem; }
}

/* ============================================================
   PAGE OFFSET FOR FIXED NAV
   ============================================================ */
body { padding-top: 0; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12rem 0 4rem;
  margin-top: 0;
  background-image: url("stadsgezichten/klein/skyline almere.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* parallax effect */
  position: relative;
  text-align: center;
}
/* Subtle overlay for readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--color-hero-title);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  margin: 0;
}
.hero h2 {
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  margin: 0;
}

/* background-attachment: fixed doesn't work on iOS — fall back gracefully */
@media (max-width: 767px) {
  .hero {
    background-attachment: scroll;
    padding-top: 8rem;
    min-height: 50vh;
  }
}

/* ============================================================
   GENERIC SECTION STYLES
   ============================================================ */
.section {
  padding: var(--section-padding) 0;
}
.section-title {
  text-align: center;
  margin: 0 0 3rem 0;
}

/* Alternating background colours for gallery sections */
.bg-green      { background-color: var(--color-green); }
.bg-grey       { background-color: var(--color-grey-light); }
.bg-grey-soft  { background-color: var(--color-grey-bg); }
.bg-white      { background-color: var(--color-white); }
.bg-teal       { background-color: var(--color-teal); }

/* Text colour helpers */
.text-white  { color: var(--color-white); }
.text-dark   { color: var(--color-text); }

/* On green backgrounds headings should be white */
.bg-green h1,
.bg-green h2,
.bg-green h3,
.bg-green h4,
.bg-green h5,
.bg-green h6,
.bg-green p   { color: var(--color-white); }

/* ============================================================
   PORTFOLIO OVERVIEW (index page grid of sections)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.portfolio-card img {
  width: 100%;
  aspect-ratio: 6/1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover img { transform: scale(1.04); }

.portfolio-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ============================================================
   GALLERY GRID (painting sections)
   ============================================================ */
.gallery-page {
   background-color: var(--gallery-page-bg);
   color: var(--gallery-page-text);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.gallery-item {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: center;
}

.gallery-item .item-wrapper {
  margin-bottom: 0;
}

.gallery-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  margin: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-white);
  align-self: center;
}

/* Tablet en mobiel: afbeelding boven tekst */
@media (max-width: 767px) {
  .gallery-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .gallery-item img {
    max-height: 60vh;
  }
}
/* ============================================================
   PAGE HERO BANNER (for sub-pages)
   ============================================================ */
.page-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
  overflow: hidden;
  color: var(--color-white);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero .display-1,
.page-hero .display-1 strong,
.page-hero strong {
  color: #fff;
}
/* ============================================================
   ABOUT / ELIXER ART / TEXT+IMAGE SECTIONS
   ============================================================ */
.about-section {
  padding: var(--section-padding) 0;
}
.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.about-image { flex: 0 0 45%; }
.about-image img { width: 100%; }
.about-text  { flex: 1; min-width: 280px; }
.about-text h1, .about-text h2 { margin-top: 0; }

@media (max-width: 991px) {
  .about-image { flex: 0 0 100%; }
}

/* ============================================================
   AGENDA / ROUTE 49 SECTION
   ============================================================ */
.route-section {
  padding: var(--section-padding) 0;
}
.route-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.route-image { flex: 0 0 45%; }
.route-image img { width: 100%; }
.route-text  { flex: 1; min-width: 280px; }
.route-text h1, route-text h2 { margin-top: 0; }
.route-text strong { display: inline-block; min-width: 140px; }

@media (max-width: 991px) {
  .route-image { flex: 0 0 100%; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  padding: var(--section-padding) 0;
}
.contact-section h3 { color: var(--color-white); }
.contact-section h4 { color: var(--color-white); }

.contact-form {
  max-width: 640px;
  margin: 2rem auto 0;
}
.form-group { margin-bottom: 1rem; }
.form-control {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 40px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(101,153,126,0.15);
}
textarea.form-control {
  border-radius: 1.5rem;
  resize: vertical;
  min-height: 120px;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--color-green);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--color-green);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover {
  background: var(--color-green-light);
  border-color: var(--color-green-light);
  color: white;
}
.btn-center { text-align: center; margin-top: 1rem; }

.alert { padding: 1rem 1.5rem; border-radius: 0.5rem; margin-bottom: 1rem; display: none; }
.alert-success { background: #70c770; color: white; }
.alert-danger  { background: #f92c50; color: white; }
.alert.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 4rem 0 2rem;
  background-color: var(--color-teal);
  text-align: center;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.footer-social a {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  text-decoration: none;
}
.footer-social a:hover { background: #f0f0f0; }
.footer-social .socicon {
  font-size: 32px;
  color: var(--color-teal);
  line-height: 1;
}

.footer-copy {
  color: white;
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   ELIXER ART LOGO BLOCK
   ============================================================ */
.elixer-logo-wrap {
  text-align: center;
  margin-bottom: 2rem;
}
.elixer-logo-wrap img {
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================================
   BACK LINK (on sub-pages)
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-green);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.back-link:hover {
  background: var(--color-green);
  color: white;
}

/* ============================================================
   COOKIE NOTICE
   ============================================================ */
/* Kept minimal — cookies-alert-script.js handles display */
