/* ===== Norse Media — shared styles ===== */

:root {
  --bg: #0d1117;
  --bg-alt: #141b24;
  --surface: #1a2230;
  --border: #2a3546;
  --text: #e6edf3;
  --text-muted: #9fb0c3;
  --accent: #7fb4d9;      /* ice blue */
  --accent-strong: #4a90c2;
  --gold: #c9a45c;        /* nordic gold */
  --max-width: 1100px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, .logo {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

img, video, iframe { max-width: 100%; }

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

/* ===== Header / nav ===== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.35rem;
  color: var(--text);
}

.logo .rune { color: var(--gold); margin-right: 0.4rem; }

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav ul a:hover, .nav ul a.active {
  color: var(--text);
  border-bottom-color: var(--gold);
}

/* Portfolio dropdown */
.dropdown { position: relative; }

.dropdown > a::after { content: " ▾"; font-size: 0.7em; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 190px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.1rem;
  border-bottom: none !important;
}

.dropdown-menu a:hover { background: var(--bg-alt); }

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  background: var(--accent-strong);
  color: #fff !important;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

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

.btn.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
}

.btn.ghost:hover { background: rgba(127, 180, 217, 0.1); }

/* ===== Hero ===== */

.hero {
  padding: 7rem 1.5rem 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(74, 144, 194, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
}

.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-bottom: 1rem; }

.hero .tagline {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 2.2rem;
}

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

/* ===== Page hero (inner pages) ===== */

.page-hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0.8rem auto 0; }

/* ===== Sections ===== */

section.block { padding: 4rem 0; }

section.block h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

section.block h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* ===== Cards / grids ===== */

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent); }

.card .thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #1c2a3a, #10161f);
  color: var(--accent);
}

.card .body { padding: 1.3rem; }

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

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

/* ===== Gallery ===== */

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

.gallery figure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery .ph {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--accent);
  background: linear-gradient(135deg, #1c2a3a, #10161f);
}

.gallery figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: #000;
}

/* ===== About ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1c2a3a, #10161f);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
}

.about-text p { margin-bottom: 1rem; color: var(--text-muted); }

.about-text p strong { color: var(--text); }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list { list-style: none; }

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.contact-list .icon { color: var(--gold); width: 1.5rem; text-align: center; }

.booking-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.booking-embed iframe { width: 100%; height: 640px; border: none; display: block; }

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer .rune { color: var(--gold); }
