/* ========================================
   Buttlekalk AB – Style
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #1a1d21;
  --bg-white: #ffffff;
  --bg-card: #f5f5f7;
  --bg-cta: #2c3e50;
  --text-dark: #1a1d21;
  --text-muted: #5c5c5c;
  --text-white: #ffffff;
  --link-color: #4a6fa5;
  --link-hover: #3a5a8a;
  --btn-primary-bg: #4169E1;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #1a1d21;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--bg-white);
}

a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

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

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 16px;
}
h3 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.375;
  color: var(--text-dark);
  margin-bottom: 12px;
}
h4 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.636;
  color: var(--text-dark);
  margin-bottom: 8px;
}
h5 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.778;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.9;
  text-decoration: none;
}
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-brand img {
  height: 110px;
  width: auto;
}
.header-brand-text {
  color: var(--text-white);
  font-size: 18px;
  font-weight: 500;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-white);
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
}
.nav-links a:hover {
  text-decoration: underline;
  color: var(--text-white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: transform 0.3s;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: 60px 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-tagline {
  color: var(--text-white);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header p {
  max-width: 700px;
  margin: 0 auto;
}

/* Verksamhet – 3 columns */
.verksamhet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.verksamhet-item h4 {
  margin-bottom: 8px;
}

/* Tradition – image + text */
.tradition {
  display: flex;
  gap: 48px;
  align-items: center;
}
.tradition-image {
  flex: 1;
  min-width: 0;
}
.tradition-image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}
.tradition-text {
  flex: 1;
  min-width: 0;
}

/* Kontakt */
.kontakt-content {
  max-width: 600px;
}
.kontakt-email {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 18px;
}
.kontakt-email svg {
  flex-shrink: 0;
}
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-dark);
  transition: background 0.2s;
}
.social-icons a:hover {
  background: #e0e0e3;
}
.social-icons svg {
  width: 20px;
  height: 20px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.faq-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px;
}
.faq-card h5 {
  margin-bottom: 12px;
}
.faq-card p {
  font-size: 15px;
  line-height: 1.7;
}

/* CTA */
.cta-section {
  background: var(--bg-cta);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  color: var(--text-white);
}
.cta-section p {
  color: var(--text-white);
  max-width: 650px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  padding: 32px 0;
  text-align: center;
}
.site-footer p {
  color: var(--text-white);
  opacity: 0.6;
  font-size: 14px;
}

/* ========================================
   Film page
   ======================================== */
.film-section {
  padding: 120px 0 80px;
}
.film-section .section-header {
  margin-bottom: 40px;
}
.video-wrapper {
  max-width: 800px;
  margin: 0 auto 48px;
  aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  h2 { font-size: 32px; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h2 { font-size: 28px; }
  h3 { font-size: 26px; }
  .hero { min-height: 70vh; }
  .hero-tagline { font-size: 20px; }

  /* Hamburger toggle */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 24px;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    padding: 20px 32px;
    border-radius: 8px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }

  .verksamhet-grid { grid-template-columns: 1fr; }
  .tradition { flex-direction: column; }
  .faq-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
