/* CSS VARIABLES FOR CONSISTENCY */
:root {
  --color-primary: #FFD700;
  --color-black: #000;
  --color-white: #fff;
  --color-dark-gray: #111;
  --color-gray: #222;
  --color-text: #333;
  --font-primary: 'Montserrat', sans-serif;
  --navbar-height: 70px;
  --transition-default: 0.3s ease;
  
  /* CONSISTENT SPACING VARIABLES */
  --section-padding: 40px 20px;  /* Tighter desktop spacing */
  --section-margin: 0 auto;
  --container-padding: 20px;
  --element-margin: 20px;
  --mobile-padding: 30px 15px;
}

/* MODAL SCROLL LOCK STYLING */
body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

html.modal-open {
  overflow: hidden !important;
}

/* GLOBAL CUSTOM SCROLLBAR */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #333 #000;
}

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 6px;
  border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

::-webkit-scrollbar-thumb:active {
  background: var(--color-primary);
}

/* Custom scrollbar for specific containers */
body, html {
  scrollbar-width: thin;
  scrollbar-color: #333 #000;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
}

body {
  background: var(--color-black);
  font-family: var(--font-primary);
  color: var(--color-text);
  font-weight: 400;
  width: 100%;
  max-width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

/* MOBILE-FIRST RESPONSIVE FIXES */
.container {
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Prevent horizontal scrolling on all elements */
*, *::before, *::after {
  max-width: 100%;
  box-sizing: border-box;
}

/* MOBILE VIEWPORT AND OVERFLOW FIXES */
.hero-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Fix for mobile video scaling */
@media (max-width: 768px) {
  .hero-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    z-index: -1 !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Mobile hero improvements */
  .hero-content {
    padding: 40px 20px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
  
  /* Mobile section padding */
  .intro-section,
  .gallery-section,
  .amenities-section,
  .schedule-section {
    padding: 50px 20px;
  }
  
  /* Better intro section on mobile */
  .intro-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .intro-left h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  
  .intro-left p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .intro-right p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }
  
  /* Mobile intro layout */
  .intro-container {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
  }
  
  .intro-left,
  .intro-right {
    padding: 0;
  }
  
  .intro-left h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  
  .intro-left p {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .intro-right p {
    font-size: 1rem;
    text-align: left;
  }
  
  /* Mobile schedule layout */
  .schedule-container {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
  }
  
  .schedule-left,
  .schedule-right {
    padding: 0;
  }
  
  .schedule-left h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  
  .schedule-left p {
    font-size: 1rem;
  }
  
  .schedule-right button {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
  
  /* Mobile footer layout */
  .stay-updated-section {
    padding: var(--mobile-padding);
  }
  
  .stay-updated-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stay-updated-top-left,
  .stay-updated-top-right {
    padding: 0;
    text-align: center;
  }
  
  .stay-updated-top-left h2 {
    font-size: 1.6rem;
  }
  
  .stay-updated-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .bottom-left,
  .bottom-middle,
  .bottom-right {
    text-align: center;
    padding: 0;
  }
  
  /* Mobile services */
  .services-section {
    padding: var(--mobile-padding);
  }
  
  .services-container {
    padding: 0 16px;
  }
  
  /* Mobile services section */
  .services-section {
    padding: 60px 20px;
  }
  
  .services-header {
    margin-bottom: 50px;
  }
  
  .services-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  
  .services-header p {
    font-size: 1.2rem;
    max-width: 100%;
    padding: 0;
    line-height: 1.6;
  }
  
  .featured-services {
    margin-bottom: 80px;
  }
  
  /* Better featured services mobile */
  .featured-service {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .featured-service-reverse {
    grid-template-columns: 1fr;
  }
  
  .featured-service-reverse .service-content,
  .featured-service-reverse .service-image {
    order: unset;
  }
  
  .service-image img {
    height: 240px;
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
  }
  
  .service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  
  .service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .service-btn {
    padding: 14px 24px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  
  .service-content h3 {
    font-size: 1.75rem;
  }
  
  .service-content p {
    font-size: 1rem;
  }
  
  /* Much better grid services */
  .grid-services {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .grid-service {
    padding: 32px 24px;
    height: auto;
    min-height: 180px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: all 0.3s ease;
  }
  
  .grid-service:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.12);
  }
  
  /* Better mobile CTA */
  .services-cta {
    padding: 40px 20px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  .services-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  
  .services-cta p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  
  .cta-btn {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
  
  .calendar-header-section h2 {
    font-size: 2rem;
  }
  
  .calendar-header-section p {
    font-size: 1.1rem;
  }
  
  /* Better mobile grid service content */
  .grid-service .service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px auto;
    display: flex;
  }
  
  .grid-service h4 {
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    text-align: center;
    color: var(--color-white);
  }
  
  .grid-service p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* Enhanced mobile text readability */
  strong {
    font-weight: 700;
    color: inherit;
  }
  
  em {
    font-style: italic;
    color: inherit;
  }
  
  .services-header p strong,
  .services-cta p strong {
    font-weight: 800;
  }
  
  .intro-right p strong {
    font-weight: 700;
  }
  
  /* Better gallery spacing mobile */
  .gallery-section {
    padding: 40px 20px;
  }
  
  .gallery-container {
    gap: 16px;
  }
  
  /* Better workshop calendar mobile */
  .workshop-calendar-section {
    padding: 50px 20px;
  }
  
  .calendar-header-section {
    margin-bottom: 40px;
  }
  
  /* Newsletter section mobile */
  .newsletter-section {
    padding: 50px 20px;
  }
  
  /* Footer mobile improvements */
  footer {
    padding: 40px 20px 20px;
  }
}

/* KEYFRAME ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes growWidth {
  from { width: 0; }
  to { width: 80%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Algemeen fade-in voor secties */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  transition: background-color var(--transition-default);
}

.navbar a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-default), transform var(--transition-default);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.navbar a:hover,
.navbar a:focus,
.navbar a.active {
  color: var(--color-primary);
  transform: translateY(-2px);
  outline: none;
}

.navbar a.active {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
}

.nav-left .logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-white);
  text-decoration: none;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.socials a {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--transition-default);
}

.socials a:hover img,
.socials a:focus img {
  opacity: 0.7;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
  margin-left: 15px;
  transition: transform var(--transition-default);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 3px;
  transition: transform var(--transition-default), opacity var(--transition-default);
}

.hamburger:focus {
  outline: 2px solid var(--color-primary);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-left: 5%;
  color: var(--color-white);
  max-width: 500px;
  animation: fadeInUp 1s ease-out forwards;
}

/* hero-subtitle is now defined in page-specific CSS files */
body.home-page .hero-subtitle {
  font-size: 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: var(--color-white);
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.noWrapLine {
  white-space: nowrap;
}

.accent {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.worden {
  color: var(--color-white);
  margin-left: 0.4rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* SCROLL INDICATOR - Global styles for all pages */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  font-size: 2rem;
  animation: bounce 1.5s infinite;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  transition: opacity 0.5s ease-out, transform 0.3s ease;
  opacity: 1;
}

/* Global scroll indicator fade behavior - consistent across all pages */
.scroll-indicator.fade-smooth {
  transition: opacity 0.5s ease-out;
}

.scroll-indicator:hover {
  transform: translateX(-50%) scale(1.1);
  color: var(--color-white);
}

.scroll-indicator .scroll-text {
  font-size: 1rem;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 700;
}

/* INTRO SECTION - IMPROVED LAYOUT */
.intro-section {
  background: var(--color-black);
  padding: var(--section-padding);
  color: var(--color-white);
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-left {
  padding-right: 30px;
}

.intro-right {
  padding-left: 30px;
}

.intro-left h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--element-margin);
  text-transform: uppercase;
  font-weight: 900;
  color: var(--color-white);
  max-width: 100%;
  word-spacing: 0.1em;
}

.intro-left p {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  max-width: 100%;
  margin: 0;
}

.intro-right p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-white);
  font-weight: 400;
  margin: 0;
  text-align: left;
}

/* GALLERY SECTION */
.gallery-section {
  position: relative;
  padding: var(--section-padding);
  background: var(--color-black);
}

.gallery-container {
  display: grid;
  gap: var(--element-margin);
  margin: var(--section-margin);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
}

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform var(--transition-default);
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* YELLOW DIVIDER - ALIGNED WITH INTRO CONTAINER */
.section-divider {
  height: 2px;
  background: var(--color-primary);
  margin: var(--element-margin) auto;  /* Reduced from *2 to *1 for tighter spacing */
  max-width: 1200px;
  width: 80%;
  animation: growWidth 1s ease-out forwards;
}

/* SERVICES SECTION - MINIMALIST DESIGN */
.services-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--section-padding);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.services-header {
  text-align: center;
  margin-bottom: 100px;
}

.services-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.services-header p {
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
  font-family: var(--font-primary);
}

/* Featured Services */
.featured-services {
  margin-bottom: 120px;
}

.featured-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
  min-height: 300px;
}

.featured-service-reverse {
  grid-template-columns: 1fr 1fr;
}

.featured-service-reverse .service-content {
  order: 1;
}

.featured-service-reverse .service-image {
  order: 2;
}

.service-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #333;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.service-image:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

.service-content {
  padding: 0;
}

.service-content h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.service-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
  font-family: var(--font-primary);
}

.service-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-black);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-default);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.service-btn:hover {
  background: var(--color-primary);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Grid Services */
.grid-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 0;
}

.grid-service {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.grid-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
}

.grid-service .service-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: 50%;
  color: var(--color-black);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.grid-service .service-icon i {
  font-size: 1.8rem !important;
  color: var(--color-black) !important;
  display: inline-block !important;
  line-height: 1 !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.grid-service:hover .service-icon {
  background: var(--color-white);
  color: var(--color-black);
  transform: scale(1.1);
}

.grid-service:hover .service-icon i {
  color: var(--color-black) !important;
}

.grid-service h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  font-family: var(--font-primary);
  flex-shrink: 0;
}

.grid-service p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
  font-family: var(--font-primary);
  margin: 0;
  flex-grow: 1;
}

/* Final CTA */
.services-cta {
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
}

/* Workshop Calendar Header */
.calendar-header-section h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: var(--font-primary);
  text-align: center;
}

.calendar-header-section p {
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
  font-family: var(--font-primary);
}

.services-cta h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.services-cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-family: var(--font-primary);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-black);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all var(--transition-default);
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.cta-btn:hover {
  background: var(--color-primary);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .amenities-stats {
    gap: calc(var(--element-margin) * 2);
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--element-margin);
  }
  
  .amenity-card {
    padding: var(--element-margin) calc(var(--element-margin) * 0.75);
  }
}

/* Extra small screens - keep 2 columns but adjust further */
@media (max-width: 480px) {
  .amenities-grid {
    gap: calc(var(--element-margin) * 0.5);
  }
  
  .amenity-card {
    padding: calc(var(--element-margin) * 0.75) calc(var(--element-margin) * 0.5);
  }
  
  /* Extra mobile adjustments */
  .intro-left,
  .intro-right {
    margin: calc(var(--element-margin) * 0.5);
  }
  
  .amenity-card h3 {
    font-size: 1rem;
  }
}

/* SCHEDULE SECTION (Plan een Bezoek) - IMPROVED LAYOUT */
.schedule-section {
  background: var(--color-white);
  color: var(--color-black);
  padding: var(--section-padding);
  font-weight: 400;
}

.schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.schedule-left {
  padding-right: 30px;
}

.schedule-right {
  padding-left: 30px;
}

.schedule-left h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--element-margin);
  text-transform: uppercase;
  font-weight: 900;
  color: var(--color-black);
  max-width: 100%;
  word-spacing: 0.1em;
}

.schedule-left p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: var(--element-margin);
  text-align: left;
}

.schedule-right form {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.schedule-right label {
  margin: calc(var(--element-margin) * 0.5) 0 calc(var(--element-margin) * 0.25);
  font-weight: 700;
  color: var(--color-black);
}

.schedule-right input {
  padding: 12px 16px;
  margin-bottom: calc(var(--element-margin) * 0.75);
  border: 2px solid #ddd;
  border-radius: 8px;
  font-weight: 400;
  font-size: 1rem;
  transition: border-color var(--transition-default), box-shadow var(--transition-default);
  background: #fafafa;
}

.schedule-right input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  background: var(--color-white);
}

.schedule-right button {
  background: var(--color-black);
  color: var(--color-white);
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  margin-top: var(--element-margin);
  transition: all var(--transition-default);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.schedule-right button:hover {
  background: var(--color-primary);
  color: var(--color-black);
}

/* TESTIMONIAL SECTION */
.testimonial-section {
  position: relative;
  min-height: 40vh;
  overflow: hidden;
  text-align: center;
  padding: 20px 0;
  --bg-scale: 1;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/crew-photo.png') center center no-repeat;
  background-size: cover;
  transform: scale(var(--bg-scale, 1));
  transform-origin: center center;
  transition: transform var(--transition-default);
  z-index: 0;
}

.stoked-crew-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--color-white);
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  transition: transform var(--transition-default);
  z-index: 1;
}

/* LOCATIONS SECTION */
.locations-section {
  background: var(--color-black);
  padding: 60px 20px;
  color: var(--color-white);
  text-align: center;
}

.locations-heading {
  margin-bottom: 40px;
}

.find-us-heading {
  font-size: 2rem;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.heading-underline {
  width: 80px;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto;
}

.locations-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.location-text {
  flex: 0 0 40%;
  background: var(--color-dark-gray);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.location-label {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-black);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.location-text h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-transform: uppercase;
}

.location-text .workplace-line {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 0.8rem;
}

.location-text .under-construction {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-white);
}

.location-map {
  flex: 0 0 60%;
  background: var(--color-dark-gray);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.map-ratio {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.map-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* STAY UPDATED SECTION */
.stay-updated-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--section-padding);
  text-align: left;
}

.stay-updated-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stay-updated-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: calc(var(--element-margin) * 2);
}

.stay-updated-top-left {
  padding-right: 30px;
}

.stay-updated-top-left h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--element-margin);
  line-height: 1.2;
  word-spacing: 0.1em;
}

.stay-updated-top-left p {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
}

.stay-updated-top-right {
  padding-left: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.stay-updated-top-right form {
  display: flex;
  gap: 10px;
  width: 100%;
}

.stay-updated-top-right input[type="email"] {
  flex: 1;
  padding: 12px;
  font-size: 1.1rem;
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  border-radius: 4px;
  font-weight: 400;
}

.stay-updated-top-right input::placeholder {
  color: #ccc;
}

.stay-updated-top-right button {
  background: var(--color-white);
  border: none;
  color: var(--color-black);
  padding: 12px 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition-default), color var(--transition-default);
}

.stay-updated-top-right button:hover,
.stay-updated-top-right button:focus {
  background: var(--color-primary);
  color: var(--color-black);
}

.stay-updated-line {
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  margin: calc(var(--element-margin) * 2) 0;
}

.stay-updated-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.bottom-column {
  /* Grid handles layout now */
}

.bottom-left {
  text-align: left;
  padding-right: 20px;
}

.bottom-middle {
  text-align: center;
  padding: 0 20px;
}

.bottom-right {
  text-align: right;
  padding-left: 20px;
}

.bottom-column h3 {
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--element-margin);
  color: var(--color-white);
  line-height: 1.2;
}

.bottom-column p {
  margin-bottom: calc(var(--element-margin) * 0.5);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

.white-link {
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-default);
}

.white-link:hover,
.white-link:focus {
  color: var(--color-primary);
}

/* FOOTER - CONSISTENT STYLING */
footer {
  text-align: center;
  padding: var(--element-margin);
  background: var(--color-gray);
  color: var(--color-white);
  font-weight: 400;
}

footer p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* BACK-TO-TOP BUTTON */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--color-black);
  cursor: pointer;
  display: none;
  transition: opacity var(--transition-default), transform var(--transition-default);
  z-index: 1000;
}

#backToTop:hover,
#backToTop:focus {
  transform: scale(1.1);
  outline: none;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: modalFadeIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--color-white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

/* SERVICE MODAL - Only for pages other than diensten.php */
/* Diensten.php uses diensten-portfolio-style.css for its modal styling */
body:not(.diensten-page) .service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

body:not(.diensten-page) .service-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.service-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal.show .service-modal-overlay {
  opacity: 1;
}

.service-modal-content {
  position: relative;
  background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 2px solid var(--color-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.service-modal.show .service-modal-content {
  transform: scale(1);
}

.service-modal-header {
  position: relative;
  padding: 30px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-black);
  position: relative;
}

.service-icon i {
  display: inline-block !important;
  font-size: 2rem !important;
  color: #000000 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  text-align: center !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  z-index: 10 !important;
  position: relative !important;
}

/* Fallback voor als Font Awesome niet laadt */
.service-icon:empty::before {
  content: "🎨";
  font-size: 2rem;
  display: inline-block;
}

.service-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-modal-close:hover {
  background: rgba(255, 215, 0, 0.2);
  color: var(--color-primary);
}

.service-modal-body {
  padding: 30px;
  color: var(--color-white);
}

.service-modal-body h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
}

.service-modal-body p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
}

.service-features {
  margin-bottom: 30px;
}

.service-features h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #ccc;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.service-modal-footer {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-black);
}

.btn-primary:hover {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* MOBILE MODAL */
@media (max-width: 768px) {
  .service-modal-content {
    width: 95%;
    max-height: 90vh;
    margin: 20px;
  }
  
  .service-modal-header,
  .service-modal-body {
    padding: 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .service-modal-body h2 {
    font-size: 1.5rem;
  }
  
  .service-modal-footer {
    flex-direction: column;
  }
  
  /* Ensure touch targets are large enough */
  .grid-service {
    min-height: 180px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
  }
  
  .service-btn {
    min-height: 48px;
    padding: 16px 24px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
  }
  
  .service-modal-close {
    min-width: 48px;
    min-height: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  }
  
  .featured-service {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.1);
  }
  
  /* Remove hover effects on touch devices */
  @media (hover: none) {
    .grid-service:hover {
      transform: none;
      background: rgba(255, 255, 255, 0.08);
    }
    
    .service-btn:hover {
      transform: none;
    }
  }
}

/* Custom Scrollbar for Service Modal */
.service-modal-content {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #333 #000;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.service-modal-content::-webkit-scrollbar {
  width: 8px;
}

.service-modal-content::-webkit-scrollbar-track {
  background: #000;
  border-radius: 4px;
}

.service-modal-content::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
  border: 1px solid #000;
}

.service-modal-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.service-modal-content::-webkit-scrollbar-thumb:active {
  background: var(--color-primary);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 992px) {
  .locations-container {
    flex-direction: column;
    align-items: center;
  }
  
  .location-text,
  .location-map {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex !important;
  }
  
  .nav-center {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
    z-index: 1000;
  }
  
  .nav-center.nav-open {
    display: flex;
  }
  
  .nav-center a {
    padding: 15px 0;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-center a:last-child {
    border-bottom: none;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }

  body.home-page .hero-subtitle {
    font-size: 2rem;
  }
  
  .noWrapLine {
    white-space: normal;
  }
  
  .stay-updated-top-right {
    flex-direction: column;
    align-items: stretch;
  }
  
  .stay-updated-top-right form {
    flex-direction: column;
  }
  
  .stay-updated-top-right input[type="email"] {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  body.home-page .hero-subtitle {
    font-size: 1.6rem;
  }
  
  .stay-updated-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .bottom-column {
    text-align: center !important;
  }
}