/* ==========================================================================
   Variables & Theme Configuration
   ========================================================================== */
:root {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --plate-yellow: #f59e0b;
  --plate-bg: #facc15;
  --plate-text: #111827;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  background-color: var(--primary);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background-color: var(--accent-light);
}

.btn-header-cta {
  background-color: var(--primary);
  color: #fff !important;
}

.btn-header-cta:hover {
  background-color: var(--primary-hover) !important;
}

/* ==========================================================================
   License Plate Component (Dutch NL Plate)
   ========================================================================== */
.nl-plate {
  display: inline-flex;
  align-items: center;
  background-color: var(--plate-bg);
  color: var(--plate-text);
  border: 2px solid #1f2937;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-family: "Impact", "Arial Black", sans-serif;
  letter-spacing: 2px;
  font-size: 1.25rem;
  padding: 0 10px 0 0;
  user-select: all;
  height: 42px;
}

.nl-plate .eu-flag {
  background-color: #1d4ed8;
  color: #fff;
  width: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-family: var(--font-family);
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 12px;
  border-radius: 3px 0 0 3px;
  padding: 2px 0;
}

.nl-plate .eu-stars {
  color: #fbbf24;
  font-size: 0.65rem;
  line-height: 1;
}

.nl-plate .plate-code {
  font-weight: 800;
  text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-top-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-success {
  background-color: #065f46;
  color: #a7f3d0;
  border: 1px solid #059669;
}

.badge-info {
  background-color: #1e3a8a;
  color: #bfdbfe;
  border: 1px solid #3b82f6;
}

.badge-warning {
  background-color: #78350f;
  color: #fde68a;
  border: 1px solid #d97706;
}

.badge-premium {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid #f59e0b;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.hero-title-group h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 780px;
}

/* Hero Key Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.stat-sub {
  font-size: 0.75rem;
  color: #38bdf8;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Highlights Section
   ========================================================================== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-description {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.35rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.highlight-icon {
  background-color: var(--accent-light);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.highlight-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Photo Gallery & Filters
   ========================================================================== */
.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f1f5f9;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-tag-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: capitalize;
}

.gallery-caption {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-caption h4 {
  font-size: 0.98rem;
  font-weight: 700;
}

.gallery-caption p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Placeholder for Missing/Unuploaded Photos */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--text-muted);
  padding: 1.5rem;
  text-align: center;
}

.photo-placeholder svg {
  width: 44px;
  height: 44px;
  stroke: var(--text-light);
  margin-bottom: 0.5rem;
}

.photo-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.photo-placeholder small {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.2rem;
  font-family: monospace;
}

/* ==========================================================================
   Specifications & Options Section
   ========================================================================== */
.specs-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.spec-category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.spec-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 0.65rem 0;
  font-size: 0.92rem;
}

.spec-key {
  color: var(--text-muted);
  width: 45%;
}

.spec-val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* Options Pill Grid */
.lease-plus-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.lease-plus-banner::after {
  content: "LEASE PLUS";
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  letter-spacing: 2px;
}

.lease-plus-banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.lease-plus-tag {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lease-plus-banner-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.lease-plus-banner-text {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

.options-category-block {
  margin-bottom: 1.5rem;
}

.options-category-block.lease-plus-highlight {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.options-category-block.lease-plus-highlight h4 {
  color: #166534;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.options-category-block.lease-plus-highlight .options-list li {
  background: #ffffff;
  border-color: #bbf7d0;
  font-weight: 500;
}

.options-category-block.lease-plus-highlight .options-list li::before {
  content: "★";
  color: #16a34a;
}

.options-category-block h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.options-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.6rem;
}

.options-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-main);
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.options-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

/* ==========================================================================
   History & Transparency Section
   ========================================================================== */
.transparency-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.transparency-card.warning {
  border-left-color: var(--warning);
  background-color: #fffdf5;
}

.transparency-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.transparency-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.transparency-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

.transparency-points {
  margin-top: 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.transparency-points li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Contact / Dealership CTA Section
   ========================================================================== */
.contact-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.contact-buttons-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #22c55e;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox-prev-btn {
  left: 20px;
}

.lightbox-next-btn {
  right: 20px;
}

.lightbox-footer {
  margin-top: 1rem;
  text-align: center;
  color: #cbd5e1;
}

.lightbox-counter {
  font-size: 0.85rem;
  color: #94a3b8;
}

.lightbox-caption-text {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.2rem;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 2.5rem 0;
  font-size: 0.88rem;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

/* Print Optimization */
@media print {
  .site-header,
  .gallery-controls,
  .contact-buttons-group,
  .lightbox-modal {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title-group h2 {
    font-size: 1.85rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card {
    padding: 2rem 1.25rem;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

