@import url('https://cdn.jsdelivr.net/npm/remixicon@4.3.0/fonts/remixicon.css');

* {
  box-sizing: border-box;
}

:root {
  /* Palet uit logo: #4AB2FE, #612AC3, #F64082, #FEA205 */
  --blue: #4ab2fe;
  --indigo: #612ac3;
  --pink: #f64082;
  --orange: #fea205;

  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(74,178,254,0.18), #f5f7fb 55%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  height: 80px; /* max 100px, dus bewust laag gehouden */
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark-small {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.site-title {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-title span:nth-child(1) { color: var(--blue); }
.site-title span:nth-child(2) { color: var(--indigo); }
.site-title span:nth-child(3) { color: var(--orange); }

nav {
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.78rem;
  padding: 0.25rem 0.9rem;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}

nav a i {
  font-size: 1rem;
}

nav a:hover {
  background: rgba(74, 178, 254, 0.22);
  color: var(--indigo);
}

.nav-toggle {
  display: none;
}

/* LAYOUT & SPACING */

main {
  padding: 3.5rem 0 4.6rem; /* extra ruimte boven de footer */
}

section {
  margin-bottom: 3rem; /* duidelijke ruimte tussen onderdelen */
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: flex-start; /* uitlijnen met de grid/tekst-kolom */
}

.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  margin-top: -40px; /* logo mag hoger zijn dan de header */
}

.hero h2 {
  margin-top: 0;
  font-size: 2.1rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  border-radius: 999px; /* vorm blijft pill, maar zie hero-variant hieronder */
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.55rem 1.05rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  border-radius: 10px; /* in de hero specifieker en dus minder rond */
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--indigo));
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--indigo);
  border: 1px solid var(--border-soft);
}

/* CARDS / SECTIES */

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--bg-alt);
  border-radius: 0.55rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.card h3 {
  margin-top: 0;
}

.list-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Over-pagina layout */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0 2rem;
}

.about-photo {
  display: flex;
  justify-content: flex-start;
}

.about-img {
  max-width: 260px;
  width: 100%;
  border-radius: 0.8rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
}

.about-text h3 {
  margin-top: 0;
}

.about-text p {
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  padding: 0.75rem 0;
}

.cookie-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.85rem;
}

.cookie-text p {
  margin: 0.25rem 0 0;
  color: #cbd5f5;
}

.cookie-actions {
  flex-shrink: 0;
}

.cookie-btn {
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Items preview (homepage mockup) */

.items-preview {
  margin-top: 3rem;
}

.items-preview-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.items-table-wrapper {
  margin-top: 0.75rem;
}

.items-table-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  background: #e5edf8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4b5563;
}

.items-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0.5rem;
  padding: 0.9rem 0.8rem;
  border-radius: 0.6rem;
  margin-top: 0.5rem;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.items-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.items-col-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.items-item-title {
  font-weight: 600;
}

.items-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.items-scroll {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.items-scroll-inner {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.items-thumb {
  min-width: 160px;
  font-size: 0.85rem;
  color: #4b5563;
  background: #f3f4ff;
  border-radius: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px; /* nog wat groter voorbeeldvlak */
}

.items-arrow {
  border: none;
  background: #e5edf8;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #4b5563;
}

.items-arrow:hover {
  background: #d0def7;
}

.items-preview-footer {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Items list page */

.items-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-row {
  background: #ffffff;
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.item-row-inner {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.item-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.item-thumb-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #f3f4ff;
}

.item-thumb {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 66%; /* 3:2 ratio */
  object-fit: cover;
}

.item-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.item-title {
  margin: 0;
}

.item-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.item-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .item-row-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Prompt detail - outputs grid */

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.5rem;
}

.prompt-back {
  font-size: 0.8rem;
}

.outputs-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.output-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.6rem 0.6rem 0.8rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.output-img {
  display: block;
  width: 100%;
  border-radius: 0.6rem;
}

.output-meta {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.output-like-wrap {
  flex-shrink: 0;
}

.output-like-btn {
  border: none;
  background: #eef2ff;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
  color: #4b5563;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.output-like-btn .like-icon {
  color: #9ca3af;
}

.output-like-btn.liked .like-icon {
  color: #f64082;
}

@media (max-width: 800px) {
  .items-table-head,
  .items-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.5fr);
  }

  .items-thumb {
    min-width: 140px;
    height: 130px;
  }
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #E7F3FD; /* iets donkerder dan de pagina-achtergrond */
  margin-top: 2rem; /* extra ruimte boven de footer */
  padding: 1.4rem 0 1.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.footer-link:hover {
  text-decoration-style: solid;
}

.footer-socials {
  display: flex;
  gap: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--indigo);
  background: #eef2ff;
}

.social-link i {
  font-size: 1.1rem;
}

.social-link:hover {
  color: #ffffff;
  background: var(--pink);
}

@media (max-width: 800px) {
  .site-header {
    height: 72px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-logo-wrap {
    display: none; /* op mobiel verbergen */
  }

  nav ul {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    background: transparent;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 0.25rem 0.6rem;
    font-size: 1.1rem;
  }

  nav ul.open {
    display: flex;
    position: absolute;
    right: 0;
    top: 2.7rem;
    flex-direction: column;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
