/* ============================================================
   RV Fotografie — Main Stylesheet
   Design inspired by clean editorial photography sites.
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --accent: #c9a96e;
  --text: #1a1a1a;
  --text-muted: #888;
  --bg: #fafafa;
  --bg-header: #ffffff;
  --border: #e8e8e8;
  --heading-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-height: 64px;
  --max-width: 1280px;
  --gutter: 0.75rem;
  --radius: 3px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Focus Styles (Accessibility) --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  height: auto;
  min-height: 44px;
}

.header-inner {
  padding: 0.7rem 2rem 0.7rem 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-name {
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;


  padding: 0.1em 0;
}

.site-name__first {
  color: #000000;       /* RENS — 100% black */
}

.site-name__sep {
  color: #000000;
}

.site-name__mid {
  color: #808080;       /* VERMELTFOORT — 50% grey */
}

.site-name__last {
  color: #bfbfbf;       /* FOTOGRAFIE/PHOTOGRAPHY — 25% grey */
}

.site-name:hover .site-name__first,
.site-name:hover .site-name__mid,
.site-name:hover .site-name__last {
  color: var(--accent);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.main-nav a {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active {
  border-bottom: 2px solid var(--accent);
}

.lang-toggle {
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.lang-link {
  font-weight: 600 !important;
  color: var(--accent) !important;
}

.lang-link:hover {
  opacity: 0.75;
}

/* Hamburger button (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero--full {
  height: calc(100vh - var(--header-height));
  min-height: 500px;
}

.hero--small {
  height: 11vh;
  min-height: 48px;
  max-height: 80px;
}

.hero--album {
  height: 13vh;
  min-height: 56px;
  max-height: 100px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0.2rem 1.5rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero__overlay--static {
  background: rgba(20, 20, 20, 0.55);
}

.hero__title {
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  text-align: center;
  display: block;
}

.hero__title .hero__mid {
  color: #808080;
}

.hero__title .hero__last {
  color: #bfbfbf;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   Layout / Container
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spaced {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ============================================================
   Section Headings
   ============================================================ */
.section-heading {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* ============================================================
   About Section
   ============================================================ */
.about-section {
  padding: 5rem 1.5rem;
  text-align: center;
  max-width: 780px;
}

.about-text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #444;
}

/* ============================================================
   Reviews / Testimonials
   ============================================================ */
.reviews-section {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: #fff;
}

.reviews-track {
  position: relative;
  min-height: 9rem;
}

.review-slide {
  display: none;
  animation: reviewFadeIn 0.7s ease;
}

.review-slide.active {
  display: block;
}

@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.review-quote {
  margin: 0 auto;
  max-width: 700px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  color: #222;
}

.review-quote p {
  margin: 0 0 1rem;
}

.review-author {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
  text-transform: uppercase;
}

.review-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.review-dot.active {
  background: #555;
}

/* ============================================================
   Masonry Grid (CSS Columns)
   ============================================================ */
.photos-section {
  padding: 3rem 1.5rem 5rem;
}

.masonry-grid {
  columns: 4;
  column-gap: 0.375rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 0.375rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.masonry-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  aspect-ratio: var(--img-aspect-ratio, auto);
}

.masonry-item:hover .masonry-img {
  transform: scale(1.04);
}

/* Gallery link styling - hide status bar display */
.glightbox {
  text-decoration: none;
}

.glightbox:hover {
  text-decoration: none;
}

/* ============================================================
   Album Grid (Category Page)
   ============================================================ */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0 5rem;
}

.album-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.album-tile__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.album-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0.92;
}

.album-tile:hover .album-tile__img {
  transform: scale(1.06);
  opacity: 1;
}

.album-tile__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}

.album-tile__name {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.album-tile__count {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs {
  padding: 1.25rem 1.5rem 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: #ccc;
}

/* ============================================================
   Content Pages (About, Pricing, Contact, 404)
   ============================================================ */
.content-page {
  padding: 4rem 1.5rem 6rem;
  max-width: 800px;
}

.content-page--center {
  text-align: center;
  margin: 0 auto;
  padding-top: 8rem;
}

.page-title {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.75rem;
  line-height: 1.2;
}

.content-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.content-body a {
  color: var(--accent);
  text-decoration: underline;
}

.content-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-body ul li {
  margin-bottom: 0.4rem;
  color: #444;
}

/* ============================================================
   Pricing Cards
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  transition: box-shadow var(--transition);
}

.pricing-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card h3 {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table td {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-amount {
  text-align: right;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--accent);
  text-decoration: underline;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
}

.pricing-card ul li {
  padding: 0.3rem 0;
  color: #555;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form {
  max-width: 520px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 2.25rem;
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* ============================================================
   Misc Utilities
   ============================================================ */
.no-photos {
  text-align: center;
  color: var(--text-muted);
  padding: 4rem 1rem;
  font-style: italic;
}

/* ============================================================
   Responsive — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .masonry-grid {
    columns: 3;
    column-gap: 0.375rem;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav a {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }
}

/* ============================================================
   Responsive — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 99;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 1.5rem;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 0.7rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
  }

  .lang-toggle {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .masonry-grid {
    columns: 2;
    column-gap: 0.375rem;
  }

  .album-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero--full {
    min-height: 420px;
  }

  .hero__title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    columns: 1;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }
}

/* Compacte headerbalk */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  height: auto;
  min-height: 44px;
}

.header-inner {
  padding: 0.5rem 2rem 0.5rem 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-name {
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  flex-shrink: 0;
  line-height: 1.1;
  padding: 0.1em 0;
}

/* Compacte variant voor subpagina's */
.site-header--compact .header-inner {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.site-header--compact .site-name {
  font-size: 1.25rem;
  line-height: 1.1;
  padding: 0.05em 0;
}
.cat-title {
  padding: 1.25rem 1.5rem 0;
  text-align: center;
}
.cat-title__text {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
  line-height: 1.2;
}

/* Responsive: op mobiel altijd compact */
@media (max-width: 600px) {
  .site-name {
    font-size: 1.1rem;
  }
  .site-header--compact .site-name {
    font-size: 0.98rem;
  }
}
