/*
Theme Name: Tråkka Mat & Vinhus 2 (Breevia Child)
Theme URI: https://trakkamat.no
Author: Emergent
Description: A lightweight child theme of Breevia for Tråkka Mat & Vinhus. All homepage sections are editable via the Customizer. No plugins required.
Version: 1.2.0
Template: breevia
Text Domain: trakka-mat-vinhus-2
*/

/* Brand palette */
:root {
  --trakka-accent: #d9b24c; /* gold */
  --trakka-deep: #0f2d26;   /* deep green */
  --trakka-light: #f7f3e7;  /* light background */
}

/* Typography */
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #1f2937; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }

/* Layout helpers */
.trakka-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; position: relative; }
.section-title { font-size: 2.125rem; margin-bottom: 1rem; color: var(--trakka-deep); letter-spacing: .2px; }
.section-subtitle { color: #4b5563; margin-bottom: 2rem; line-height: 1.7; }
.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 9999px; text-decoration: none; transition: all .2s ease; font-weight: 600; }
.btn-primary { background: var(--trakka-accent); color: #0b1520; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(195,169,91,.25); }
.btn-secondary { border: 2px solid var(--trakka-accent); color: var(--trakka-accent); background: transparent; }
.btn-secondary:hover { background: var(--trakka-accent); color: #0b1520; }

/* Hero */
.hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(15,45,38,.70), rgba(15,45,38,.85)); }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { font-size: 3.2rem; margin-bottom: 16px; color: var(--trakka-accent); }
.hero p { font-size: 1.125rem; color: #f3f4f6; max-width: 820px; margin: 0 auto 24px; line-height: 1.8; }

/* Cards */
.card { background: #ffffff; border-radius: 14px; padding: 20px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.card img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }

.muted { color: #6b7280; font-size: .95rem; }

.footer-note { text-align: center; padding: 30px 0; color: #6b7280; }

/* Fixed top navigation */
.trakka-fixed-nav { position: sticky; top: 0; z-index: 50; background: rgba(15,45,38,.9); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.06); }
.trakka-fixed-nav .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.trakka-fixed-nav .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: .3px; }
.trakka-fixed-nav .brand .custom-logo { max-height: 36px; width: auto; }
.trakka-fixed-nav .brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--trakka-accent); display: inline-block; }
.trakka-fixed-nav .menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trakka-fixed-nav a { color: #f3f4f6; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.trakka-fixed-nav a:hover { background: rgba(217,178,76,.15); color: #fff; }
.trakka-fixed-nav a.active { background: rgba(217,178,76,.28); color: #fff; }
.trakka-fixed-nav .btn-primary { padding: 8px 14px; }