/* ===============
   Wohlstand Enterprises
   Responsive static site styles
   =============== */

:root {
  --bg: #ffffff;
  --panel: #f8fafc;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --secondary: #059669;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #f59e0b;
  --light: #ffffff;
  --dark: #111827;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
p { line-height: 1.7; color: var(--muted); margin: 0 0 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.nav-wrap { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  padding: .75rem 0; 
  justify-content: space-between;
  flex-wrap: nowrap;
}
.logo { color: var(--dark); text-decoration: none; font-weight: 700; letter-spacing: .2px; display: flex; align-items: center; }
.logo img { height: 60px; width: auto; max-width: 250px; background: transparent; }

/* Dropdown Menu Styles */
.nav-item { 
  position: relative; 
  display: flex; 
  align-items: center;
  white-space: nowrap;
}
.nav-item > a {
  color: var(--muted); 
  text-decoration: none; 
  padding: .5rem .4rem; 
  border-radius: 6px; 
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.nav-item > a::after { 
  content: ' ▼'; 
  font-size: 10px; 
  margin-left: 4px; 
}
.dropdown-content { 
  display: none; 
  position: absolute; 
  background-color: var(--light); 
  min-width: 220px; 
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15); 
  z-index: 1000; 
  border-radius: 6px; 
  border: 1px solid var(--border);
  top: 100%;
  left: 0;
}
.dropdown-content a { 
  color: var(--text); 
  padding: 12px 16px; 
  text-decoration: none; 
  display: block; 
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: var(--panel); color: var(--primary); }
.nav-item:hover .dropdown-content { display: block; }
.nav-item:hover > a { color: var(--primary); background: var(--panel); }

/* Image Slider Styles */
.hero-slider { 
  position: relative; 
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
}
.slider-track { 
  display: flex; 
  width: 500%; 
  height: 100%; 
  animation: slide 15s infinite; 
}
.slide { 
  width: 20%; 
  height: 100%; 
  background-size: cover; 
  background-position: center; 
}
@keyframes slide {
  0% { transform: translateX(0); }
  20% { transform: translateX(0); }
  25% { transform: translateX(-20%); }
  45% { transform: translateX(-20%); }
  50% { transform: translateX(-40%); }
  70% { transform: translateX(-40%); }
  75% { transform: translateX(-60%); }
  95% { transform: translateX(-60%); }
  100% { transform: translateX(-80%); }
}

/* Product Image Grid */
.product-images { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
  gap: 1rem; 
  margin: 2rem 0; 
}
.product-image { 
  text-align: center; 
  padding: 1rem; 
  background: var(--panel); 
  border-radius: 8px; 
  border: 1px solid var(--border); 
}
.product-image img { 
  width: 100%; 
  height: 80px; 
  object-fit: contain; 
  margin-bottom: 0.5rem; 
}
.product-image h4 { 
  font-size: 14px; 
  margin: 0; 
  color: var(--text); 
}


/* ISO Certification Badge */
.iso-badge {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: var(--light);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.iso-badge::before {
  content: '✓';
  margin-right: 8px;
  font-weight: bold;
}
.nav { display: flex; gap: 0.5rem; margin-left: auto; align-items: center; flex-wrap: nowrap; }
.nav a { color: var(--text); text-decoration: none; padding: .5rem .4rem; border-radius: 6px; white-space: nowrap; }
.nav a:hover { color: var(--primary); background: var(--panel); }
.nav a.active, .nav a[aria-current="page"] { color: var(--primary); background: var(--panel); border: 1px solid var(--primary); }
.nav-cta { display: flex; gap: .5rem; margin-left: .5rem; }

.nav-toggle { display: none; background: transparent; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: .2s; }
.nav-toggle span:nth-child(1){ top: 12px; }
.nav-toggle span:nth-child(2){ top: 19px; }
.nav-toggle span:nth-child(3){ top: 26px; }

/* Buttons */
.btn { display: inline-flex; gap: .5rem; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: .15s ease-in-out; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary-700); }
.btn-primary:hover { background: var(--primary-600); }
.btn-secondary { background: var(--secondary); color: var(--light); border-color: #16a34a; }
.btn-secondary:hover { filter: brightness(0.95); }
.btn-dark { background: #111827; color: #fff; border-color: #1f2937; }
.btn-dark:hover { background: #0f172a; }
.btn-light { background: #e2e8f0; color: var(--dark); border-color: #cbd5e1; }
.btn-light:hover { background: #cbd5e1; }
.btn-wa { background: #25D366; color: var(--light); border-color: #128C7E; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(13,110,253,0.18) 0%, rgba(13,110,253,0) 60%),
    radial-gradient(50% 50% at 80% 20%, rgba(34,197,94,0.18) 0%, rgba(34,197,94,0) 60%);
}
.hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(1.05) contrast(1.05); }
.hero:after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1000px 400px at 50% -10%, rgba(255,255,255,0.06), rgba(255,255,255,0));
}
.hero-content { text-align: center; }
.hero h1 { 
  font-size: clamp(1.8rem, 3.5vw, 3rem); 
  color: var(--light);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 4px 24px rgba(0,0,0,0.2);
}
.hero p { 
  font-size: clamp(1rem, 2vw, 1.125rem); 
  margin-inline: auto; 
  max-width: 62ch; 
  color: var(--light);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-cta { margin-top: 1.5rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.seo-hints { font-size: .85rem; color: #93a4bd; opacity: .75; margin-top: .75rem; }

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Page Hero */
.page-hero { 
  padding: 8rem 0 6rem; 
  min-height: 500px; 
  display: flex; 
  align-items: center; 
  background: radial-gradient(60% 80% at 50% -10%, rgba(255,255,255,0.06), rgba(255,255,255,0)); 
  border-bottom: 1px solid var(--border); 
}
.page-hero h1 { 
  font-size: clamp(1.6rem, 3vw, 2.4rem); 
  margin-bottom: .5rem; 
  color: var(--light);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 4px 24px rgba(0,0,0,0.3);
}
.page-hero p { 
  margin: 0; 
  color: var(--light);
  font-size: 1.125rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.grid { display: grid; gap: 1rem; }
.grid.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three-col { grid-template-columns: repeat(3, minmax(0,1fr)); }

.cards .card { background: var(--panel); border: 1px solid var(--border); padding: 1rem; border-radius: 14px; }
.card.highlight { border-color: rgba(255,183,3,0.35); box-shadow: 0 0 0 1px rgba(255,183,3,0.2) inset; }
.card.quote { border-left: 4px solid var(--primary); }

.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { padding-left: 1.5rem; position: relative; margin: .35rem 0; }
.checklist li:before { content: "✓"; color: var(--secondary); position: absolute; left: 0; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tags li { background: rgba(37,99,235,0.10); color: var(--primary); border: 1px solid rgba(37,99,235,0.25); padding: .4rem .6rem; border-radius: 999px; }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.gallery .ph { aspect-ratio: 4/3; display: grid; place-content: center; color: #dbeafe; font-weight: 600; border-radius: 12px; background:
  linear-gradient(135deg, rgba(13,110,253,0.35), rgba(34,197,94,0.35));
  border: 1px solid var(--border);
}
.gallery li { aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; border: 1px solid var(--border); }

.center { text-align: center; }
.mt { margin-top: 1rem; }

/* CTA Banner */
.cta-banner { padding: 3rem 0; background: linear-gradient(90deg, rgba(13,110,253,0.20), rgba(34,197,94,0.18)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner { text-align: center; }

/* Footer */
.site-footer { background: var(--dark); padding: 3rem 0 2rem; border-top: 1px solid var(--border); color: var(--light); }
.quick-links { list-style: none; padding: 0; margin: .5rem 0 0; }
.quick-links li { margin: .25rem 0; }
.quick-links a { color: var(--muted); text-decoration: none; }
.quick-links a:hover { color: var(--light); }
.map-embed iframe { width: 100%; height: 180px; border: 0; border-radius: 10px; }
.social { list-style: none; display: flex; gap: .75rem; padding: 0; margin: .75rem 0 0; }
.social a { color: var(--muted); text-decoration: none; }
.social a:hover { color: var(--light); }
.newsletter { display: flex; gap: .5rem; }
.newsletter input { flex: 1; padding: .65rem .75rem; border-radius: 10px; border: 1px solid #374151; background: var(--light); color: var(--text); }
.newsletter button { white-space: nowrap; }
.stack { display: grid; gap: .6rem; }
.stack-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.stack input, .stack textarea, .stack select { width: 100%; padding: .7rem .75rem; border-radius: 10px; border: 1px solid var(--border); background: var(--light); color: var(--text); }
.stack textarea { resize: vertical; }
.legal { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.small { color: #94a3b8; font-size: .85rem; }

/* WhatsApp Floating */
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25D366 url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22><path fill=%22%23090%22 d=%22M0 0h32v32H0z" fill-opacity="0"/><path fill=%22%230a0e17%22 d="M19.741 17.133c-.327-.163-1.936-.957-2.235-1.068-.3-.111-.518-.163-.736.163-.218.327-.846 1.068-1.038 1.296-.191.218-.382.245-.709.082-.327-.163-1.38-.509-2.63-1.624-.972-.866-1.629-1.937-1.82-2.264-.191-.327-.02-.503.144-.666.148-.148.327-.382.491-.573.163-.191.218-.327.327-.545.109-.218.054-.409-.027-.573-.082-.163-.736-1.78-1.009-2.438-.266-.64-.537-.555-.736-.564l-.628-.01c-.2 0-.519.073-.79.355-.273.282-1.041 1.017-1.041 2.48 0 1.463 1.065 2.876 1.213 3.074.148.2 2.097 3.2 5.077 4.487.71.306 1.263.489 1.693.626.711.226 1.358.194 1.87.118.57-.085 1.936-.791 2.21-1.556.273-.764.273-1.418.191-1.556-.082-.136-.3-.218-.627-.381z"/><path fill=%22%230a0e17%22 d="M27.6 4.4C24.7 1.6 20.9 0 16.9 0 8 0 0.9 7.1 0.9 15.9c0 2.8 0.7 5.5 2 7.9L0 32l8.4-2.2c2.3 1.3 5 2 7.8 2 8.8 0 15.9-7.1 15.9-15.9 0-4-1.6-7.8-4.5-10.6zM16.2 28.8c-2.5 0-4.9-.7-7-2L7.9 26 3.2 27.3l1.3-4.6-.3-.6c-1.2-2-1.8-4.4-1.8-6.8C2.4 8.7 8.7 2.4 16 2.4 19.2 2.4 22.5 3.6 25 6c2.8 2.6 4.3 6.3 4.3 10.1 0 7.5-6.1 12.7-12.9 12.7z"/></svg>') center/60% no-repeat; box-shadow: 0 10px 25px rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.35); }
.wa-float:hover { transform: translateY(-1px); }

/* A11y */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Responsive */
@media (max-width: 980px) {
  .grid.two-col { grid-template-columns: 1fr; }
  .grid.three-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 60px; right: 0; left: 0; flex-direction: column; gap: 0; background: var(--light); border-top: 1px solid var(--border); padding: .5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
  .nav a { padding: .9rem 1rem; border-radius: 8px; }
  .site-header .nav.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .grid.three-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
