/* Fiskakallinn – stylesheet recreating the Astra + Elementor look of the old site */
:root {
  --font: 'Montserrat', sans-serif;
  --text: #625f5f;
  --heading: #000f2b;
  --accent: #1a6c7a;
  --link: #7a7a7a;
  --muted: #7a7a7a;
  --container: 1140px;
  --gutter: 10px;
  --header-grad: linear-gradient(135deg, rgb(6, 147, 227) 0%, rgb(195, 248, 179) 59%);
  --overlay: #153243;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 400; line-height: 1.5; margin: 0 0 20px; }
h1 { font-size: 65px; font-weight: 500; }
h2 { font-size: 28px; letter-spacing: 2.5px; }
h3 { font-size: 22px; letter-spacing: 2.5px; }
h4 { font-size: 18px; }
p { margin: 0 0 20px; }
strong { font-weight: 600; }
.center { text-align: center; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.btn {
  display: inline-block; padding: 16px 40px; border: 2px solid var(--accent); border-radius: 0;
  color: var(--accent); background: transparent; font-weight: 500; line-height: 1; transition: all .2s;
}
.btn:hover { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 20;
  background-image: var(--header-grad);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.site-header.transparent {
  position: absolute; left: 0; right: 0; top: 0;
  background: transparent; border-bottom: 0;
}
.header-inner, .footer-inner, .footer-bottom .container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 110px; padding-top: 10px; padding-bottom: 10px;
}
.logo img { display: block; width: 136px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav a {
  display: block; padding: 0 16px; line-height: 3; color: rgba(255, 255, 255, .75);
  font-size: 16px; font-weight: 400; transition: color .2s, transform .2s;
}
.site-nav a:hover { color: #fff; transform: scale(1.06); }
.site-nav .current a { color: #fff; }
.site-header:not(.transparent) .site-nav a { color: rgba(255, 255, 255, .9); }
.menu-toggle {
  display: none; width: 44px; height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .2s, opacity .2s; }

/* ---------- content ---------- */
main { min-height: 50vh; }
.content { padding: 18px 0 40px; }
.content p { text-align: center; }
.content h2, .content h3 { text-align: center; }
.content h2 { font-weight: 600; letter-spacing: 1px; text-transform: capitalize; }
.content ul, .content ol { display: table; margin: 0 auto 20px; text-align: left; }
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; line-height: 1.4; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { margin: 0 8px; }
.crumbs .here { color: var(--heading); }

.figure { margin: 0 0 20px; text-align: center; }
.figure img { display: block; width: 100%; height: auto; }
.figure.half { width: calc(50% - var(--gutter)); margin-right: auto; }
.figure a.lightbox { display: block; cursor: zoom-in; }
.row { display: flex; gap: calc(var(--gutter) * 2); margin: 0 0 20px; }
.row .figure { flex: 1 1 0; min-width: 0; margin: 0; }
.row .figure img { width: 100%; }
.video { margin: 0 0 20px; }
.video video { display: block; width: 100%; background: #000; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.cols { display: flex; gap: calc(var(--gutter) * 2); margin: 0 0 20px; }
.cols .col { flex: 1 1 100%; min-width: 0; }
.cols .col > :last-child { margin-bottom: 0; }

/* ---------- hero pages (Um, Verslunin, Hafa samband) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 200px 20px 100px; text-align: center; background: #494949;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img) bottom center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--overlay) 0%, var(--accent) 100%);
  opacity: var(--hero-overlay, .6);
}
.hero h1 { color: #fff; letter-spacing: 2.5px; margin: 0; font-size: 50px; text-transform: capitalize; }
.hero-content { padding-top: 60px; }
.hero-content .cols { align-items: center; }
.hero-content .cols .col > p:first-child:last-child { margin: 0; }

/* ---------- home ---------- */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px;
}
.home-hero::before {
  content: ""; position: absolute; inset: -20px; z-index: -2;
  background: var(--hero-img) top center / cover no-repeat;
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at center, #c84429 0%, #1a2b7a 100%);
  opacity: .32;
}
.home-hero h1 { color: #fff; margin: 0; }

.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 20px;
  max-width: 1600px; margin: 0 auto; padding: 20px 10px;
}
.tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 150px 20px; text-align: center; background: #b8c0c8;
}
.tile .tile-bg {
  position: absolute; inset: -20px; z-index: -2;
  background: var(--tile-img, none) center / cover no-repeat;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--overlay); opacity: .3; transition: background .3s, opacity .3s;
}
.tile:hover::after { background: var(--accent); opacity: .4; }
.tile h2 { color: #fff; margin: 0; text-transform: capitalize; font-weight: 600; font-size: 30px; letter-spacing: 2.5px; text-shadow: 0 0 10px rgba(0, 0, 0, .3); }

.promo {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 200px 20px;
  background: var(--promo-img) center / cover fixed no-repeat;
}
.promo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at center, var(--overlay) 0%, var(--accent) 100%); opacity: .15;
}
.promo h2 { color: #fff; font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 32px; letter-spacing: 3px; margin-bottom: 20px; }
.promo p { color: #fff; margin: 0 0 30px; text-transform: uppercase; letter-spacing: 1px; }
.promo .btn { color: #fff; border-color: #fff; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.promo .btn:hover { background: #fff; color: var(--accent); }
.intro { padding: 40px 0 20px; }
.intro p { text-align: center; }

/* ---------- about / shop ---------- */
.split { display: flex; gap: 0; margin: 0 0 20px; }
.split .col { flex: 1 1 100%; min-width: 0; }
.text-left p, .text-left h3, .text-left h2 { text-align: left; }
.about-intro { padding: 40px 0 80px; }
.about-intro h2 { text-align: left; margin: 0; }
.about-intro h3 { font-weight: 600; text-transform: capitalize; letter-spacing: 1px; margin: 40px 0 0; }
.band {
  background: #f3f9fb; margin: 0 calc(50% - 50vw); padding: 70px calc(50vw - 50%);
}
.band .cols { margin: 0; align-items: flex-start; }
.about-intro h2, .band h2 { font-weight: 400; letter-spacing: 2.5px; }
.band .col { padding: 0 20px; }
.band h2 { text-transform: capitalize; }
.band p { font-size: 14px; }
.band ul { display: block; list-style: none; padding: 0; margin: 0; font-size: 14px; }
.band ul li::before { content: "\25B8"; color: var(--muted); margin-right: 8px; font-size: 12px; }
.page-verslunin .hero-content { padding-top: 100px; }
.page-verslunin .cols { margin-bottom: 100px; align-items: center; }
.page-verslunin .cols .col:has(p) { padding: 0 50px; }
.page-verslunin .figure { margin: 0; }

/* ---------- contact ---------- */
.contact h3 { text-align: left; margin: 50px 0 15px; font-weight: 600; text-transform: capitalize; }
.contact .icon-list { list-style: none; margin: 0; padding: 0; display: block; }
.contact .icon-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 7px; }
.contact .icon-list svg { color: #252525; flex: none; }
.contact .icon-list a { color: var(--muted); }
.contact .icon-list a:hover { color: var(--accent); }
.contact .cols { margin-bottom: 40px; }
.map { width: 100%; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; filter: saturate(0); }

/* ---------- news ---------- */
.news .meta { font-size: 13px; color: var(--muted); }
.news-item { padding: 20px 0; border-bottom: 1px solid #eee; }
.news-item h2 a { color: var(--heading); }
.news-item h2 a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { margin-top: 20px; }
.footer-inner { padding: 50px var(--gutter) 40px; }
.footer-logo { display: block; width: 200px; height: auto; margin: 0 0 20px; }
.address { color: var(--accent); margin: 0 0 20px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 3px;
  background: #d7e4e7; color: var(--accent); font-size: 14px;
}
.social-btn:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid #eee; padding: 18px 0; }
.footer-bottom p { margin: 0; text-align: center; color: var(--accent); font-size: 14px; }

/* ---------- scroll to top ---------- */
.to-top {
  position: fixed; right: 30px; bottom: 30px; width: 36px; height: 36px; z-index: 30;
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
  background: var(--accent); color: #fff; opacity: .9;
}
.to-top:hover { color: #fff; opacity: 1; }
.to-top[hidden] { display: none; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .88);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 40px rgba(0, 0, 0, .5); }
.lb button {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px;
  border: 0; background: transparent; color: #fff; font-size: 48px; line-height: 1; cursor: pointer; opacity: .7;
}
.lb button:hover { opacity: 1; }
.lb .lb-prev { left: 6px; }
.lb .lb-next { right: 6px; }
.lb .lb-close { top: 4px; right: 10px; transform: none; height: 48px; font-size: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 50px; }
  h2 { font-size: 26px; }
  .hero { padding: 140px 40px 80px; }
  .hero h1 { font-size: 40px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { padding: 100px 20px; }
}
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; letter-spacing: 1.5px; }
  .hero h1 { font-size: 30px; }
  .site-header { border-bottom: 0; }
  .header-inner { min-height: 70px; flex-wrap: wrap; }
  .logo img { width: 110px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; flex-basis: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 6px 0 10px; }
  .site-nav a { line-height: 2.6; border-top: 1px solid rgba(255, 255, 255, .25); }
  .site-header.transparent .site-nav.open { background: rgba(0, 15, 43, .85); margin: 0 -10px; padding: 0 10px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .row, .cols { flex-direction: column; }
  .figure.half { width: 100%; }
  .tiles { grid-template-columns: 1fr; padding: 20px; }
  .tile { padding: 70px 20px; }
  .home-hero { min-height: 70vh; }
  .promo { padding: 80px 20px; background-attachment: scroll; }
  .hero { padding: 120px 20px 60px; }
  .contact h3 { margin-top: 30px; }
  .map iframe { height: 250px; }
  .to-top { right: 16px; bottom: 16px; }
  .lb { padding: 10px; }
}
