/* ==================== */
/* CORE STYLES */
/* ==================== */
:root {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeSpeed;
  

body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

html {
    overflow-x: hidden;
    touch-action: manipulation;
	height: 100%; 
}

button, a {
    touch-action: manipulation;
    transform: translateZ(0); /* Hardware versnelling */
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

/* ==================== */
/* LAYOUT COMPONENTS */
/* ==================== */
 .text-shadow-sm { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); }
 .text-shadow-md { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
 .text-shadow-lg { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); }
        
 .animate-wave {
    animation: wave 2s ease-in-out infinite;
}
        
        @keyframes wave {
            0% { transform: rotate(0deg); }
            10% { transform: rotate(14deg); }
            20% { transform: rotate(-8deg); }
            30% { transform: rotate(14deg); }
            40% { transform: rotate(-4deg); }
            50% { transform: rotate(10deg); }
            60% { transform: rotate(0deg); }
            100% { transform: rotate(0deg); }
        }
        
.hover-scale:hover { transform: scale(1.05); }
.transition-all { transition: all 0.3s ease; }

.hero-section {
  min-height: 70vh;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  z-index: -1;
}

.hero-section .bg-cover {
  background-position: center center;
  background-size: cover;
}

#schedule-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

/* ==================== */
/* TYPOGRAPHY & EFFECTS */
/* ==================== */
.text-shadow-lg { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }
.text-shadow-md { text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); }
.text-shadow-sm { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== */
/* UI COMPONENTS */
/* ==================== */
.co2-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  transform: translateZ(0);
}

.co2-badge:hover {
  transform: scale(1.05);
}

.category-badge {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.fish-icon {
  transition: transform 0.3s ease;
}

a:hover .fish-icon {
  transform: rotate(-15deg) scale(1.1);
}

.backdrop-blur-md {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==================== */
/* MOBILE MENU */
/* ==================== */
@media (max-width: 768px) {
    #mobile-menu {
        display: none;
        position: fixed;
        top: 80px; /* Pas aan naar je header hoogte */
        left: 0;
        right: 0;
        z-index: var(--z-menu);
        background: white; /* Achtergrondkleur aanpassen */
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    #mobile-menu.block {
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed; /* Voorkom scrollen */
    }
}

/* Responsive background image positioning */
@media (max-width: 768px) {
    .hero-section .absolute.inset-0.bg-cover {
        background-position: center center;
        background-size: cover;
    }
}

@media (min-width: 769px) {
    .hero-section .absolute.inset-0.bg-cover {
        background-position: center center;
        background-size: cover;
        background-attachment: fixed; /* Parallax effect on desktop */
    }
}

/* Fallback background color in case image doesn't load */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    z-index: -1;
}
/* ==================== */
/* UTILITY CLASSES */
/* ==================== */
.fixed-container {
  left: 0;
  right: 0;
}

.special-offer {
    margin-bottom: 1rem;
}
.offer-badge {
    background-color: #fef2f2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.original-price {
    text-decoration: line-through;
    color: #6b7280;
}
.special-price {
    color: #dc2626;
    font-weight: 600;
}
.offer-label {
    font-size: 0.75rem;
    color: #b45309;
    margin-top: 0.25rem;
}
.offer-valid {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}