/* ==========================================================================
   Kringloopcentrum De Cirkel — stylesheet
   ========================================================================== */

:root {
  --green-dark: #2F6F3E;
  --green-mid: #3C8A4E;
  --green-line: #4C9A5C;
  --cream: #F7F4EC;
  --cream-dropdown: #EAE2D0;
  --cream-button: #F7F4EC;
  --blue-heading: #6A8BA8;
  --teal-fold: #8FC7CE;
  --text-dark: #2C2C2C;
  --text-muted: #4A4A4A;
  --border-radius-img: 28px;

  --font-display: "Blenny", cursive;
  --font-body: "Roboto", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--blue-heading);
  font-weight: 400;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

section {
  padding: 100px 50px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-cream {
  background: var(--cream-button);
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.btn-cream:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border: 1.5px solid var(--green-line);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--cream);
  border-color: var(--green-dark);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--green-dark);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 50px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-badge {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
}

.main-nav {
  flex: 1;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > ul > li > a {
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 8px 0;
}

.main-nav > ul > li > a.nav-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.main-nav ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  background: var(--cream-dropdown);
  min-width: 210px;
  padding: 6px 0;
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 22px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

.dropdown li a:hover {
  background: rgba(47, 111, 62, 0.08);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  text-align: center;
  padding: 100px 0px 0px 0px;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto 56px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0px;
}

.hero-tagline {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 0 0 1.4em;
}

.hero-text {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.hero-gallery {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 50px;
}

.gallery-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.gallery-img {
  margin: 0;
  overflow: hidden;
  background: #d8d3c4;
  width: 100%;
}

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

/* staand = portrait, ratio 3:4 | liggend = landscape, ratio 4:3 */
.gallery-img--portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--border-radius-img);
}

.gallery-img--landscape {
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-img);
}

.gallery-img--fold {
  position: relative;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.gallery-img--corner {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* ==========================================================================
   Discover / categories
   ========================================================================== */

.discover {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.discover h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.discover > p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 0.6em;
}

.category-grid {
  max-width: 1400px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  text-align: center;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category svg {
  width: 168px;
  height: 168px;
  object-fit: contain;
  flex-shrink: 0;
}

.category h3 {
  margin: 24px 0 12px;
}

.category p {
  margin: 0;
}

.cat-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
}

.category h3 {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4em;
}

.category p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ==========================================================================
   Haal & breng service
   ========================================================================== */

.service {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.service-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: left;
}

.service-text p {
  color: var(--text-muted);
  max-width: 480px;
}

.service-text .btn {
  margin-top: 12px;
}

.service-img {
  margin: 0;
  border-radius: var(--border-radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #2c5f45;
}

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

/* ==========================================================================
   Info / hours
   ========================================================================== */

.info {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 100px 50px 200px 50px;
}

.info-block h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  text-align: left;
}

.info-block h3 {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.4em;
}

.info-block p {
  color: var(--text-muted);
  max-width: 460px;
}

.info-emphasis {
  color: var(--text-dark);
  font-weight: 600;
}

address {
  font-style: normal;
  color: var(--text-muted);
}

.hours {
  color: var(--text-muted);
  max-width: 320px;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 2px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--green-dark);
  color: #FFFFFF;
  padding: 56px 24px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: 40px;
  align-items: start;
  padding: 0 50px;
}

.footer-logo {
  width: 100px;
  height: 100px;
}

.footer-col h3 {
  font-family: var(--font-body);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.8em;
}

.footer-col p,
.footer-col address {
  color: #E4EEE5;
  font-size: 0.92rem;
  margin: 0 0 1em;
}

.footer-col ul li {
  margin-bottom: 0.6em;
}

.footer-col ul li a,
.footer-col p a {
  color: #E4EEE5;
  font-size: 0.92rem;
}

.footer-col ul li a:hover,
.footer-col p a:hover {
  text-decoration: underline;
}

.footer-label {
  font-weight: 700;
  color: #FFFFFF;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 40px;
  height: 40px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

.prototype-overlay {
  display: none;
}

@media (max-width: 1100px) {
  html, body {
    overflow: hidden;
  }

  .prototype-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    text-align: center;
  }

  .prototype-overlay__content {
    max-width: 500px;
  }

  .prototype-overlay h2 {
    margin: 0 0 16px;
  }

  .prototype-overlay p {
    margin: 0;
    line-height: 1.6;
  }
}

@media (max-width: 900px) {
  .main-nav > ul {
    gap: 20px;
    flex-wrap: wrap;
  }

  .header-inner {
    flex-wrap: wrap;
  }

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

  .service-img {
    order: -1;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 20px;
  }

  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .main-nav > ul {
    justify-content: center;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }

  .hours li {
    max-width: 260px;
    margin: 0 auto;
  }
}
