/* ============================================================
   Arctic Vela Hotel Tromsø — main stylesheet
   ============================================================ */

:root {
  --night: #0c1d29;
  --night-2: #143246;
  --aurora: #45c98f;
  --aurora-light: #7fe0b6;
  --ice: #f4f9fa;
  --ink: #1f313c;
  --grey: #5f7480;
  --line: #d9e5e9;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(12, 29, 41, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.65;
  font-size: 16.5px;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--night); line-height: 1.2; }

a { color: var(--night); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--night);
  color: #c3d2dc;
  font-size: 13.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--aurora-light); text-decoration: none; }

/* ---------- Header / nav ---------- */
header.site {
  background: rgba(12, 29, 41, 0.97);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(69, 201, 143, 0.35);
}
header.site .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 0;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .mark { width: 46px; height: auto; flex: none; }
.brand .wordmark { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand .name {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}
.brand .name span { color: var(--aurora); }
.brand .city { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #86a0af; margin-top: 5px; }

nav.main { width: 100%; }
nav.main ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; padding-bottom: 14px; }
nav.main a {
  color: #d9e4ec;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
nav.main a:hover, nav.main a.active { color: var(--aurora-light); border-bottom-color: var(--aurora); }
nav.main a.book {
  background: var(--aurora);
  color: var(--night);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  border-bottom: none;
}
nav.main a.book:hover { background: var(--aurora-light); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #3c586b;
  color: #fff;
  font-size: 22px;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,29,41,.30) 0%, rgba(12,29,41,.68) 100%);
}
.hero > .inner { position: relative; z-index: 2; max-width: 820px; padding: 90px 24px; }
.hero .eyebrow {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--aurora-light);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 62px); margin-bottom: 20px; }
.hero p { font-size: 19px; color: #e6eef3; margin-bottom: 34px; }

.hero.small { min-height: 44vh; }
.hero.small h1 { font-size: clamp(32px, 5vw, 48px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--aurora);
  color: var(--night);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 15px 34px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--aurora-light); }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
  margin-left: 12px;
}
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.dark { background: var(--night); color: #fff; }
.btn.dark:hover { background: var(--night-2); }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.block.tint { background: #e7f1f2; }
section.block.night { background: var(--night); color: #cfdbe4; }
section.block.night h2, section.block.night h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12.5px;
  color: #2ba374;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--grey); }
.night .section-head p { color: #9fb3c0; }
.night .section-head .eyebrow { color: var(--aurora-light); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { height: 230px; object-fit: cover; width: 100%; }
.card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: 15.5px; flex: 1; }
.card .meta { margin: 14px 0 18px; font-size: 14px; color: var(--ink); }
.card .meta span { display: inline-block; margin-right: 14px; }
.card .price { font-family: var(--serif); font-size: 21px; color: var(--night); margin-bottom: 16px; }
.card .price small { font-size: 13px; color: var(--grey); font-family: var(--sans); }
.card .btn { align-self: flex-start; padding: 12px 26px; font-size: 13px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split .eyebrow { letter-spacing: 4px; text-transform: uppercase; font-size: 12.5px; color: #2ba374; margin-bottom: 10px; }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.split p { color: var(--grey); margin-bottom: 14px; }
.night .split .eyebrow { color: var(--aurora-light); }
.night .split p { color: #9fb3c0; }
.split ul { margin: 6px 0 22px 20px; color: var(--grey); }
.night .split ul { color: #9fb3c0; }
.split ul li { margin-bottom: 6px; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.features .item .icon { font-size: 30px; margin-bottom: 12px; }
.features .item h3 { font-size: 18px; margin-bottom: 8px; }
.features .item p { font-size: 14.5px; color: var(--grey); }
.night .features .item p { color: #9fb3c0; }

/* ---------- Info notice ---------- */
.notice {
  background: #eef8f3;
  border: 1px solid #bfe3d2;
  border-left: 5px solid var(--aurora);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  color: #2c4a3d;
  margin-top: 40px;
}
.notice strong { color: #1d6b4a; }

/* ---------- Tables ---------- */
table.info { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.info th, table.info td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
table.info th { background: var(--night); color: #fff; font-weight: 600; letter-spacing: 1px; font-size: 13.5px; text-transform: uppercase; }
table.info tr:last-child td { border-bottom: none; }

/* ---------- Forms ---------- */
form.contact { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.contact label { display: block; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey); margin: 14px 0 6px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c9d8de;
  border-radius: 6px;
  font-size: 15.5px;
  font-family: inherit;
  background: #f9fcfc;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid var(--aurora); border-color: var(--aurora); }
form.contact .btn { margin-top: 24px; }
.form-note { font-size: 13.5px; color: var(--grey); margin-top: 14px; }

/* ---------- Contact info panel ---------- */
.info-panel { background: var(--night); color: #cfdbe4; border-radius: var(--radius); padding: 36px; }
.info-panel h3 { color: #fff; margin-bottom: 16px; }
.info-panel p { margin-bottom: 12px; font-size: 15.5px; }
.info-panel a { color: var(--aurora-light); text-decoration: none; }
.info-panel .label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #86a0af; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { border-radius: 8px; height: 220px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 26px; margin: 38px 0 12px; }
.legal p, .legal li { color: #42545f; font-size: 15.5px; }
.legal ul { margin: 10px 0 10px 22px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--night) 0%, var(--night-2) 100%); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.cta-band p { color: #aebfcc; margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer.site { background: #08141d; color: #8ba0ae; font-size: 14.5px; }
footer.site .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 60px 0 40px; }
footer.site h4 { color: #fff; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #8ba0ae; text-decoration: none; }
footer.site a:hover { color: var(--aurora-light); }
footer.site .brandline { font-family: var(--serif); font-size: 24px; color: #fff; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
footer.site .brandline span { color: var(--aurora); }
footer.site .bottom { border-top: 1px solid #16283a; padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid.cols-3, .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  footer.site .top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
/* The menu has eight items and one long label, so it collapses well before
   the layout breakpoints below. */
@media (max-width: 1000px) {
  .nav-toggle { display: block; position: absolute; right: 24px; top: 22px; }
  header.site .container { padding-bottom: 18px; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--night);
    border-bottom: 1px solid rgba(69,201,143,.35);
    padding: 18px 24px 24px;
  }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 0; }
}
@media (max-width: 720px) {
  .brand .mark { width: 38px; }
  .brand .name { font-size: 23px; letter-spacing: 2px; }
  .nav-toggle { top: 18px; right: 20px; }
  .grid.cols-3, .grid.cols-2, .features, .gallery { grid-template-columns: 1fr; }
  form.contact .row { grid-template-columns: 1fr; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
  .hero { min-height: 64vh; }
}
