/* ============================================
   RaadselKamer — White (#fafaf8) + Orange (#ea580c)
   Fonts: DM Sans + DM Serif Display
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #fafaf8;
  --cream-dark: #f0efe8;
  --cream-mid: #e8e6dc;
  --orange: #ea580c;
  --orange-light: #f97316;
  --orange-dark: #c2410c;
  --dark: #1c1917;
  --text-dark: #292524;
  --text-muted: #78716c;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 0.92rem;
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-light); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 400;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}
.accent { color: var(--orange); }

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.active { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
  font-weight: 400;
}
.logo span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  letter-spacing: 0.3px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 24px rgba(234, 88, 12, 0.3);
}
.nav-cta::after { display: none !important; }

/* Mobile Nav Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.nav-toggle span { width: 26px; height: 2px; background: var(--dark); transition: var(--transition); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  filter: brightness(0.3) saturate(0.7);
  transform: scale(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,250,248,0.95) 0%, rgba(250,250,248,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234,88,12,0.08);
  border: 1px solid rgba(234,88,12,0.25);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--orange);
}
.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 16px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234,88,12,0.3);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Scroll Video (Canvas) ---------- */
.scroll-video-section {
  position: relative;
  background: var(--cream-dark);
}
.scroll-video-section .pin-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.scroll-video-section canvas {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.1);
  border: 1px solid rgba(234,88,12,0.1);
}
.scroll-video-overlay {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
}
.scroll-video-overlay p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- Services ---------- */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(234,88,12,0.08);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(234,88,12,0.2);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(234,88,12,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: #fff;
  transform: scale(1.1);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 400;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ---------- Before / After ---------- */
.ba-section {
  padding: 120px 0;
  background: var(--cream-dark);
}
.ba-header { text-align: center; margin-bottom: 56px; }
.ba-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.12);
  border: 1px solid rgba(234,88,12,0.15);
  aspect-ratio: 16/10;
}
.ba-after, .ba-before {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 0 0 0); }
.ba-label {
  position: absolute; bottom: 24px; left: 24px;
  z-index: 10;
  background: var(--orange);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--dark);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 400;
}
.stat-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream-dark); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(234,88,12,0.06);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(234,88,12,0.15);
}
.testimonial-stars {
  color: var(--orange);
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(234,88,12,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-author strong { color: var(--dark); font-size: 0.88rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.78rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream-dark); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(234,88,12,0.12);
  padding: 24px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-question h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 400;
}
.faq-question .faq-icon {
  color: var(--orange);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/cta-bg.jpg') center/cover no-repeat;
  filter: brightness(0.2) saturate(0.6);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,0.92), rgba(234,88,12,0.1));
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 400;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 64px 0 24px;
  border-top: 1px solid rgba(234,88,12,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-block; color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; max-width: 300px; }
.footer h4 {
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 400;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer ul a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.78rem; }

/* ---------- StudioLee Badge ---------- */
.studiolee-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(234,88,12,0.15);
  border-radius: 6px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.studiolee-badge:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.studiolee-badge svg { width: 14px; height: 14px; }

/* ---------- Blog Page ---------- */
.blog-hero {
  padding: 140px 0 60px;
  background: var(--cream-dark);
  text-align: center;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 400;
}
.blog-hero p { color: var(--text-muted); font-size: 0.95rem; }
.blog-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.blog-cat {
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid rgba(234,88,12,0.15);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
}
.blog-cat:hover, .blog-cat.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 60px 0 100px;
}
.blog-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: rgba(234,88,12,0.15);
}
.blog-card-img {
  height: 220px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-body { padding: 28px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.blog-card-meta .blog-tag {
  background: rgba(234,88,12,0.08);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 400;
}
.blog-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.blog-read-more {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-read-more:hover { gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250,250,248,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-grid { grid-template-columns: 1fr !important; }
  .ba-container { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
