/* ========================================
   EPOXY GARASJE TRONDHEIM
   Clean, professional, minimal
   Inspired by world-class design
   ======================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #0f172a;
  --accent-light: #1e293b;
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  --radius: 8px;
  --radius-lg: 12px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --container-padding: 2rem;
  --space: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========================================
   NAV
   ======================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-cta:hover { background: var(--accent-light); }

/* ========================================
   HERO
   ======================================== */

.hero {
  padding: calc(64px + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.hero-inner {
  max-width: 680px;
}

.hero-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-light); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--text); }

/* ========================================
   SECTIONS
   ======================================== */

section { padding: var(--space-2xl) 0; }

section + section { border-top: 1px solid var(--border-light); }

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ========================================
   TRUST
   ======================================== */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.trust-item {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.gallery-item img,
.gallery-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

/* ========================================
   PROCESS
   ======================================== */

.process-steps {
  display: grid;
  gap: var(--space-xl);
  max-width: 700px;
}

.process-step {
  display: flex;
  gap: 1.5rem;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   AREAS
   ======================================== */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.area-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.area-card:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.area-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.area-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.area-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   PRICING (CTA)
   ======================================== */

.pricing-section {
  background: var(--bg-alt);
}

.pricing-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.pricing-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.pricing-features {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ========================================
   CONTENT
   ======================================== */

.content-block {
  max-width: 680px;
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-block ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content-block li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
  max-width: 700px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:hover { color: var(--text-secondary); }

.faq-icon {
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */

.contact-section { background: var(--bg-alt); }

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px; /* Prevent zoom on iOS */
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
  font-size: 1rem;
  color: var(--text);
}

.info-item a:hover { text-decoration: underline; }

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

.footer-links a:hover { color: var(--text); }

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }
  
  .nav .container {
    padding: 0 var(--container-padding);
  }
  
  .nav-links { display: none; }
  
  .hero {
    padding: calc(64px + var(--space-xl)) 0 var(--space-xl);
  }
  
  .hero h1 { font-size: 2rem; }
  
  .hero p { font-size: 1rem; }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .areas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .area-card {
    padding: 1rem;
  }
  
  .area-card h3 {
    font-size: 1rem;
  }
  
  .area-card p {
    font-size: 0.875rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .step-num {
    font-size: 1.75rem;
    width: auto;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  section { padding: var(--space-xl) 0; }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
