:root {
  /* Premium Light Theme Colors */
  --bg-main: #ffffff;
  --bg-secondary: #f9f9f9;
  --text-main: #141413;
  --text-muted: #555555;
  --accent-color: #00793e; /* Smolenaars Green */
  --accent-gradient: linear-gradient(135deg, #00793e 0%, #84b195 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-blur: blur(16px);

  /* Geometry - Clean and Rectangular */
  --radius-sharp: 0px;
  --radius-subtle: 2px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Typography */
  --font-family: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Nav */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--accent-color);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mega Menu Styles */
.nav-links li.has-dropdown {
  position: static; /* Let mega menu position absolute to the header instead */
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 95vw;
  max-width: 1300px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: var(--space-md) 0 var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-title {
  font-weight: 600 !important;
  color: var(--accent-color) !important;
  font-size: 1.1rem !important;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 5px;
}

.mega-col a {
  font-size: 0.95rem !important;
  text-transform: none !important;
  color: var(--text-main) !important;
  letter-spacing: normal !important;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mega-col a:hover {
  background: rgba(0, 121, 62, 0.05);
  color: var(--accent-color) !important;
  transform: translateX(4px);
}

.mega-col a::after {
  display: none !important; /* Remove underline animation in mega menu */
}

.mt-4 {
  margin-top: 1.5rem;
}

/* Main Content Area */
#main-content {
  padding-top: 80px; /* Offset for fixed header */
  min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/public/images/showroom-hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.1rem 2.5rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--accent-color);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  border: none;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 121, 62, 0.25);
}
.btn-primary::before {
  background: rgba(0, 0, 0, 0.15);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
}
.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(0, 121, 62, 0.4);
}
.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(5px);
}

/* Cards (Rectangular & Glassmorphism) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sharp);
  padding: var(--space-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 121, 62, 0.3); /* Accent tint */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
  margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md) calc(var(--space-md) * -1);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: transform 0.5s ease;
}

.glass-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  width: 100%;
  height: 100%;
}

.placeholder-image span {
  position: absolute;
  transform: rotate(-25deg);
  color: #cccccc;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 2px;
  white-space: nowrap;
  pointer-events: none;
  font-style: italic;
  text-transform: lowercase;
}

/* Section styling */
.section {
  padding: var(--space-lg) 0;
}

.section-bg-dark {
  background: var(--bg-secondary);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: var(--space-md) 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.breadcrumbs a {
  color: var(--text-main);
}
.breadcrumbs a:hover {
  color: var(--accent-color);
}
.breadcrumbs span {
  margin: 0 0.5rem;
}

/* Product Detail Page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.product-media {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-image {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sharp);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
}

.product-specs {
  margin: var(--space-md) 0;
  background: var(--bg-secondary);
  padding: var(--space-md);
  border: 1px solid var(--glass-border);
}

.product-specs li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
}
.product-specs li::before {
  content: '■';
  color: var(--accent-color);
  font-size: 0.6rem;
  margin-right: 10px;
}
.product-specs li:last-child {
  border-bottom: none;
}

/* New Footer Styles */
.site-footer {
  background: #ffffff;
  color: var(--text-main);
  border-top: 1px solid var(--glass-border);
  padding-top: 4rem;
}

.site-footer .container {
  max-width: 1300px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-legal-left, .footer-legal-right {
  display: flex;
  gap: 2rem;
}

.footer-middle a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-middle a:hover {
  color: var(--accent-color);
}

.footer-logo img {
  display: block;
}

.footer-bottom-bar {
  background: #f8f9fa;
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations */
.animate-on-load {
  opacity: 0;
  visibility: hidden;
}

.animate-on-load.animate-fade-up {
  visibility: visible;
}

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

.animate-fade-up {
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive */
/* Responsive Adjustments */
.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .mobile-only {
    display: flex;
  }

  .header-content {
    height: 70px;
  }

  .logo img {
    height: 35px !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  :root {
    --space-lg: 2.5rem;
    --space-xl: 4rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    height: auto;
    padding: var(--space-lg) 0;
    min-height: 80vh;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  /* Hide less critical footer columns on mobile for a concise look */
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    display: none;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-middle {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal-left, .footer-legal-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .btn {
    width: 100%;
    padding: 1rem;
  }

  .glass-header {
    background: rgba(255, 255, 255, 0.98);
  }
}

/* Mobile Menu Overlay Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav {
  padding: 2rem 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
}

.mobile-nav a:hover {
  color: var(--accent-color);
}

/* Header Cart Styles */
.btn-icon { background: none; border: none; cursor: pointer; color: var(--text-main); position: relative; display: flex; align-items: center; justify-content: center; padding: 8px; transition: transform 0.2s ease; }
.btn-icon:hover { transform: scale(1.1); }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--accent-color); color: white; font-size: 0.75rem; font-weight: bold; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: translate(25%, -25%); }
/* Slide-out Cart Styles */
.cart-sidebar { position: fixed; top: 0; right: -450px; width: 400px; max-width: 100vw; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 10000; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 1.5rem; margin: 0; color: var(--text-main); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--glass-border); background: #fafafa; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.cart-overlay.open { opacity: 1; visibility: visible; }

/* Stats Section */
.stats-section { background: var(--accent-gradient); color: white; padding: 4rem 0; position: relative; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.stats-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.stats-section .container { position: relative; z-index: 1; }
.stats-title { font-size: 1.3rem; font-weight: 500; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 4rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; color: #ffffff; }
.stat-label { font-size: 1rem; color: rgba(255,255,255,0.8); font-weight: 400; }

/* Product Grid Card Styling */
.product-grid-card { display: flex; flex-direction: column; background: white; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); }
.product-grid-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.1); }
.product-image-container { aspect-ratio: 3/4; background: #f8f9fa; padding: 10%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-image-container img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.product-grid-card:hover .product-image-container img { transform: scale(1.08); }
.product-card-footer { display: flex; justify-content: space-between; align-items: flex-end; padding: 1.2rem; background: white; }
.product-card-info h4 { margin: 0 0 0.3rem 0; font-size: 1.1rem; font-weight: 600; color: var(--text-main); }
.plus-icon { display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: #f0f0f0; border-radius: 50%; width: 36px; height: 36px; }
.product-grid-card:hover .plus-icon { color: white; background: var(--accent-gradient); transform: rotate(90deg) scale(1.1); box-shadow: 0 4px 10px rgba(0,121,62,0.3); }
