/**
 * KrijgDomein.nl - Minimal Stylesheet (MPA version)
 * Enchanted Forest Glow colors, <200 lines, no heavy animations
 */

/* Enchanted Forest Glow Color Palette */
:root {
  --color-primary: #133356;     /* Deep ocean - headings/text */
  --color-accent: #638A75;      /* Moss - CTA/links */
  --color-secondary: #4C6787;   /* Slate - badges/accents */
  --color-muted: #C0C4B3;       /* Sage smoke - borders/subtle */
  --color-light: #A9ACB1;       /* Silver mist - backgrounds */
  --color-bg-light: #DBC6AC;    /* Sand fog - light sections */
}

/* Base Styles */
body { color: var(--color-primary); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { color: var(--color-primary); font-weight: 600; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-primary); }

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute; top: -40px; left: 6px; background: var(--color-accent);
  color: white; padding: 8px; border-radius: 4px; z-index: 10000;
}
.skip-link:focus { top: 6px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-muted); height: 70px;
}
.header-content {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 1rem;
}
.site-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.5rem; font-weight: 700; color: var(--color-primary);
}
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  color: var(--color-primary); padding: 0.5rem 1rem; border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-link:hover { background: rgba(99,138,117,0.1); color: var(--color-accent); }

/* Mobile Toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 3px; background: none;
  border: none; padding: 8px; cursor: pointer;
}
.mobile-toggle span {
  width: 25px; height: 3px; background: var(--color-primary);
  transition: 0.3s;
}

/* Main Content */
main { padding-top: 70px; }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white; padding: 4rem 0; text-align: center;
}
.hero-content { max-width: 600px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero .lead { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }

/* Search Form */
.search-form { max-width: 500px; margin: 0 auto; }
.search-group {
  display: flex; gap: 0.5rem; background: white; padding: 0.5rem;
  border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.search-input {
  flex: 1; border: none; padding: 0.75rem 1rem; font-size: 1rem;
  outline: none; border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 500;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--color-accent); color: white; border-color: var(--color-accent); }
.btn-primary:hover { background: #557a64; border-color: #557a64; color: white; }
.btn-outline { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn-outline:hover { background: var(--color-accent); color: white; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Domain Cards */
.domains-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}
.domain-card {
  background: white; border: 1px solid var(--color-muted); border-radius: 12px;
  padding: 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.domain-card:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
}
.domain-name {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.domain-price {
  font-size: 1.75rem; font-weight: 700; color: var(--color-accent);
  margin-bottom: 1rem;
}
.domain-actions { display: flex; gap: 0.5rem; }
.domain-actions .btn { flex: 1; }

/* Sections */
.py-5 { padding: 3rem 0; }
.bg-light { background-color: #f8f9fa; }

/* FAQ Items */
.faq-item {
  background: white; border: 1px solid var(--color-muted); border-radius: 8px;
  padding: 1.5rem; margin-bottom: 1rem;
}
.faq-item h4 { margin-bottom: 0.5rem; color: var(--color-primary); }

/* Footer */
.site-footer {
  background: var(--color-primary); color: white; padding: 2rem 0 1rem;
  margin-top: 3rem;
}
.site-footer h5, .site-footer h6 { color: white; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: white; }
.site-footer hr { border-color: rgba(255,255,255,0.2); margin: 2rem 0 1rem; }

/* Toast Container */
#toast-container {
  position: fixed; top: 1rem; right: 1rem; z-index: 9999;
  pointer-events: none;
}
.toast {
  background: white; border-left: 4px solid var(--color-accent);
  padding: 1rem; margin-bottom: 0.5rem; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); pointer-events: auto;
  animation: slideIn 0.3s ease-out;
}
.toast-error { border-left-color: #dc3545; }
.toast-success { border-left-color: var(--color-accent); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; } /* Simplified - no mobile menu for now */
  .mobile-toggle { display: flex; }
  .hero { padding: 2rem 0; }
  .search-group { flex-direction: column; }
  .domains-grid { grid-template-columns: 1fr; gap: 1rem; }
  .domain-actions { flex-direction: column; }
  .faq-item { padding: 1rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
button:focus, a:focus, input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}