/* =======================================================================
   DESIGN SYSTEM
   ======================================================================= */
:root {
  --color-bg: #f3f4f6;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafb;

  --color-primary: #22c55e;
  --color-primary-dark: #16a34a;
  --color-accent: #f97316;

  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 8px 22px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* =======================================================================
   BASE STYLING
   ======================================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* =======================================================================
   TOPBAR
   ======================================================================= */
.topbar {
  background: #020617;
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(148,163,184,0.4);
}

.topbar-content {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

/* =======================================================================
   HEADER (Compact & Professioneel)
   ======================================================================= */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.25rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center !important;
  flex-direction: row !important;
  gap: 1rem;
  padding: 0.4rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* NAV */
.main-nav ul {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.main-nav a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: 0.2s ease;
}

.main-nav a:hover {
  background: rgba(34,197,94,0.08);
  color: var(--color-primary);
}

.main-nav a.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(34,197,94,0.4);
}

/* =======================================================================
   HERO SECTION
   ======================================================================= */
.hero {
  background: linear-gradient(130deg, rgba(15,23,42,0.85), rgba(34,197,94,0.55)),
    url("https://via.placeholder.com/1600x500?text=Pvamontage");
  background-size: cover;
  background-position: center;
}

.hero-content {
  padding: 3.5rem 0 3rem;
  color: #fff;
  max-width: 650px;
}

.hero-content h1 {
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
}

.hero-content p {
  color: #e5e7eb;
  margin-bottom: 1.3rem;
}

/* =======================================================================
   BUTTONS
   ======================================================================= */
.btn-primary {
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  box-shadow: var(--shadow-strong);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-link {
  color: var(--color-primary);
  font-weight: 500;
}

/* =======================================================================
   MAIN CONTENT LAYOUT
   ======================================================================= */
.main-layout {
  display: flex;
  gap: 2rem;
  padding: 2.4rem 0 2.8rem;
}

.content {
  flex: 2;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.content ul {
  margin-left: 1.2rem;
}

.content ul li {
  list-style: disc;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

/* =======================================================================
   SIDEBAR
   ======================================================================= */
.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-block {
  background: #fff;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

/* =======================================================================
   SLIDESHOW SIDEBAR
   ======================================================================= */
.slideshow-frame {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.slideshow-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =======================================================================
   PROJECTEN GRID
   ======================================================================= */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}

.album-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: 0.16s ease;
}

.album-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.album-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.album-item figcaption {
  padding: 1rem;
}

.album-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.album-desc {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* =======================================================================
   LIGHTBOX
   ======================================================================= */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 3000;
}

.lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.lightbox-image {
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  background: #1e293b;
  color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* =======================================================================
   CONTACTPAGE STRUCTURE
   ======================================================================= */
.contact-section {
  padding: 2rem 0 2.5rem;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-text {
  flex: 1;
  min-width: 320px;
}

.contact-form {
  flex: 1.2;
  min-width: 350px;
  background: var(--color-surface);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row input,
.form-row textarea {
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid #d1d5db;
  background: #f9fafb;
}

.form-row input:focus,
.form-row textarea:focus {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
}

/* =======================================================================
   FOOTER
   ======================================================================= */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 2rem 0 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column a:hover {
  color: #fff;
}

/* =======================================================================
   RESPONSIVE FIXES
   ======================================================================= */
@media (max-width: 900px) {
  .main-layout,
  .contact-inner {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
