/* ==========================================================================
   VZW 'T HEEM ZONHOVEN - MOBILE APP STYLESHEET
   Geoptimaliseerd voor mobiele apparaten, touch bediening & PWA weergave
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --heem-primary: #1b326f;
  --heem-primary-dark: #0d1733;
  --heem-accent: #b91735;
  --heem-accent-hover: #960e2a;
  --heem-accent-light: #ff4d6d;
  --heem-logo-blue: #1b326f;
  --heem-logo-red: #b91735;
  --heem-cream: #f4f6fc;
  --heem-gold: #b91735;
  --heem-green: #2a9d8f;
  --heem-light-blue: #e8f0fe;
  --bg-primary: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-sub: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --bottom-bar-height: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

img, video, iframe {
  max-width: 100%;
}

html {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  padding-bottom: calc(var(--bottom-bar-height) + 24px);
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
  position: relative;
}

/* App Header */
.mobile-app-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(13, 59, 102, 0.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  display: flex;
  align-items: center;
}

.mobile-brand img {
  height: 48px;
  width: auto;
  border-radius: 0;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--heem-light-blue);
  color: var(--heem-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* Mobile Hero Banner */
.mobile-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(27, 50, 111, 0.88), rgba(13, 23, 51, 0.95)), url('../assets/images/hero_heem.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 32px 16px 36px 16px;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(27, 50, 111, 0.15);
  margin-bottom: 20px;
}

.mobile-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(185, 23, 53, 0.22);
  border: 1px solid rgba(255, 77, 109, 0.55);
  color: var(--heem-accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mobile-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 12px;
}

.mobile-hero-title span {
  color: var(--heem-accent-light);
}

.mobile-hero-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

.mobile-hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Quick Action Strip */
.mobile-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.quick-action-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
}

.quick-action-item:active {
  transform: scale(0.96);
}

.quick-action-icon {
  font-size: 1.5rem;
}

.quick-action-label {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-sub);
  color: var(--heem-primary);
}

/* Mobile Tabs / View Container */
.mobile-tab-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-container {
  padding: 0 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--heem-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.mobile-card-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  position: relative;
  display: block;
  flex-shrink: 0;
}

/* Mobile About Photo Frame */
.about-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(27, 50, 111, 0.12);
  background: #0d1733;
}

.about-frame-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: rgba(13, 23, 51, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px 4px 6px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
}

.about-frame-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-frame-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.about-frame-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.about-frame-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-frame-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px 14px 10px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 42, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.about-frame-caption-title {
  font-family: var(--font-sub);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.about-frame-caption-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-top: 2px;
}

.about-frame-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  pointer-events: auto;
}

.about-frame-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.about-frame-dot.active {
  width: 16px;
  background: var(--heem-logo-red, #b61133);
}

.mobile-card-body {
  padding: 18px;
}

.mobile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.mobile-card-title {
  font-family: var(--font-sub);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--heem-primary);
}

.mobile-card-price {
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--heem-accent);
}

.mobile-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.mobile-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.mobile-badge-pill {
  background: var(--heem-light-blue);
  color: var(--heem-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Mobile Calculator */
.mobile-calc-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 2px solid var(--heem-light-blue);
  box-shadow: 0 4px 16px rgba(13, 59, 102, 0.06);
  margin-bottom: 24px;
}

.mobile-calc-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 12px;
  background: var(--bg-primary);
}

.mobile-calc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.mobile-calc-result {
  background: var(--heem-primary);
  color: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-calc-total {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1;
}

/* Mobile Gallery Grid */
.mobile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.mobile-gallery-thumb {
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #e2e8f0;
}

.mobile-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.nav-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--text-muted);
  text-decoration: none;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-sub);
  transition: color 0.15s ease;
}

.nav-bottom-item .nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.nav-bottom-item.active, .nav-bottom-item:hover {
  color: var(--heem-primary);
}

.nav-bottom-item.active .nav-icon {
  color: var(--heem-accent);
}

/* Rules Warning Box */
.mobile-warning-box {
  background: #fff7ed;
  border-left: 4px solid #ea580c;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #7c2d12;
}

.mobile-warning-box strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Lightbox on mobile */
.mobile-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.mobile-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.mobile-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Privacy & Cookie Modal */
.theem-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 25, 45, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.theem-modal-backdrop.active {
  display: flex;
}

.theem-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: min(680px, 94vw);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(13, 59, 102, 0.3);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.theem-modal-header {
  padding: 18px 24px;
  background: var(--heem-cream);
  border-bottom: 2px solid var(--heem-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theem-modal-title {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--heem-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.theem-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--heem-primary);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.theem-modal-close:hover {
  background: rgba(13, 59, 102, 0.1);
}

.theem-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-main);
}

.theem-modal-body h4 {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heem-primary);
  margin: 18px 0 6px 0;
}

.theem-modal-body h4:first-child {
  margin-top: 0;
}

.theem-modal-body p {
  margin-bottom: 10px;
}

.theem-modal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.theem-modal-body li {
  margin-bottom: 4px;
}

.theem-modal-footer {
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
}



/* Full width on all devices - no white bars or margins */
html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

#mobileFooterCopyright,
.mobile-footer-copyright {
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}


