/* Stílar sem eiga aðeins við veiðisvæðasíðuna.
   Sameiginlegir stílar (nav, footer, litir, letur) eru í ../stilar.css */

  

  

  /* ─── HERO BANNER ─── */
    /* Section-padding forsíðunnar á ekki við hér — svæðin eiga að ná út í jaðra */
  section { padding: 0; }

  /* Íslandskortið birtist örlítið á eftir textanum */
  .fade-in-delay { transition-delay: 0.25s; }

  .hero {
    height: auto;              /* yfirskrifar height:100vh úr stilar.css (forsíðu-hero) */
    background: #0e1e15;
    padding: 6rem 3rem 5rem;
    margin-top: 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: 360px;
    position: relative;
    overflow: hidden;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(61,127,160,0.07) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-text { position: relative; z-index: 1; }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 7vw, 6.5rem);
    font-weight: 300;
    line-height: 0.95;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }

  .hero-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--sky);
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 480px;
  }

  /* Iceland locator */
  .hero-locator {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
  }

  .locator-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
  }

  .locator-img-wrap {
    width: 90%;
    max-width: 850px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    background: #101c14;
    margin-right: -1rem;
  }

  .locator-img-wrap img {
    width: 100%;
    display: block;
  }

  /* ─── CONTENT GRID ─── */
  .content-grid {
    display: grid;
    grid-template-columns: 38% 62%;
  }

  /* ─── LEFT COLUMN ─── */
  .left-col {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    border-right: 1px solid var(--cream);
    /* sticky so text scrolls alongside the tall map column */
  }

  .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 1rem;
  }

  .body-text {
    font-size: 0.9rem;
    line-height: 1.9;
    font-weight: 300;
    color: var(--text-light);
  }

  .divider { height: 1px; background: var(--cream); }

  .facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .fact-card {
    background: white;
    border: 1px solid var(--cream);
    padding: 0.9rem 1rem;
  }

  .fact-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 0.3rem;
  }

  .fact-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: var(--green-dark);
  }

  .photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .photo-ph {
    background: var(--cream);
    border: 1px dashed #c8dbd0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    aspect-ratio: 4/3;
  }

  .photo-ph.wide { grid-column: span 2; aspect-ratio: 16/7; }

  .btn {
    display: inline-block;
    background: var(--green-dark);
    color: white;
    padding: 0.9rem 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 1.25rem;
  }

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

  /* ─── RIGHT COLUMN — MAPS ─── */
  .right-col {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
  }

  .map-thumbs {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .map-thumbs::-webkit-scrollbar { display: none; }

  .map-sheet {
    position: relative;
    background: transparent;
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: 640px;                /* föst hæð svo öll svæði séu jafnstór */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Umgjörð sem JS býr til utan um karúselluna (örvar + punktar) */
  .carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
  }
  .car-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(17,29,22,0.55);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s;
  }
  .car-arrow:hover { background: rgba(17,29,22,0.85); }
  .car-arrow.prev { left: 0.6rem; }
  .car-arrow.next { right: 0.6rem; }
  .car-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
  }
  .car-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #c8dbd0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .car-dot.active { background: var(--sky); transform: scale(1.25); }

  .map-sheet img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    box-shadow: 0 3px 14px rgba(0,0,0,0.15);
    filter: sepia(4%) contrast(1.02);
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
  }

  .map-sheet img:hover { opacity: 0.88; transform: scale(1.01); }

  .sheet-join { display: none; }

  /* ─── STICKY SVÆÐISTITILL ───
     Límist fyrir neðan navið á meðan skrollað er í gegnum svæðið;
     borði næsta svæðis ýtir honum burt. */
  .sticky-label {
    position: sticky;
    top: 60px;               /* rétt undir nav-inu (tekur örlítið undir það) */
    z-index: 90;             /* undir nav (100), yfir öðru efni */
    transform: translateZ(0);        /* eigið teiknilag — stöðvar hvíta blikk-rönd á iOS */
    -webkit-backface-visibility: hidden;
    background: #111d16;   /* ógegnsær — sami litur og navið */
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    color: #7dc4e0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.55rem 1rem;
  }
  @media (max-width: 900px) {
    .sticky-label { top: 94px; }  /* navið er tveggja lína á síma */
  }

  /* ─── MOBILE ─── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .content-grid { grid-template-columns: 1fr; }
    .right-col { order: -1; }
    .left-col { padding: 2.5rem 1.5rem; border-right: none; border-top: 1px solid var(--cream); }
    /* Á síma: kortin fylla breiddina, hæðin ræðst af myndinni sjálfri */
    .map-sheet { height: auto; }
    .map-sheet img { width: 100%; max-height: none; }
  }

  /* Símar: hero-borðinn með minna padding og letri,
     Íslandskortið fyllir breiddina */
  @media (max-width: 700px) {
    .hero { padding: 3.5rem 1.5rem 3rem; gap: 1.75rem; }
    .hero-title { font-size: clamp(2.7rem, 11vw, 4rem); }
    .hero-locator { align-items: stretch; }
    .locator-img-wrap { width: 100%; max-width: none; margin-right: 0; }
  }

  /* ─── MEDIA SECTION ─── */
  .media-section {
    background: var(--off-white);
    padding: 0 0 4rem;
    border-top: 1px solid var(--cream);
  }

  /* Full-bleed photo */
  .media-main {
    width: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
  }

  .media-main img {
    width: 100%;
    display: block;
    height: 80vh;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
    transform-origin: center center;
  }

  /* Videos below, slightly smaller */
  .video-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.4rem;
    max-width: 80vw;
    margin: 2rem auto 0;
  }

  /* Tóm pláss ("Myndband væntanlegt") falin þar til media bætist við —
     placeholder-arnir standa áfram í HTML, birtast bara ekki */
  .video-wrap:has(.video-placeholder) { display: none; }

  .video-wrap {
    background: #000;
    overflow: hidden;
    aspect-ratio: 9/16;
  }

  .video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ─── FOOTER ─── */
  


  /* ─── LIGHTBOX ─── */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8,16,11,0.93);      /* gegnsætt svo sjáist að þetta er stækkun og hægt að smella framhjá */
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
  }

  .lightbox.open {
    display: flex;
  }

  .lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    box-shadow: 0 14px 60px rgba(0,0,0,0.55);   /* skuggi hangir þétt á kortinu */
    cursor: default;
  }

  /* Fletti-örvar milli korta inni í lightbox */
  .lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    user-select: none;
  }
  .lb-nav:hover { background: rgba(255,255,255,0.28); }
  .lb-nav.prev { left: 1.2rem; }
  .lb-nav.next { right: 1.2rem; }
  .lb-nav[hidden] { display: none; }

  .lightbox-close {
    position: fixed;
    top: 1.2rem;
    right: 1.8rem;
    color: rgba(255,255,255,0.7);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    transition: color 0.15s;
    z-index: 10000;
    user-select: none;
  }

  .lightbox-close:hover { color: #fff; }

  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.45rem 0 0.45rem 0.9rem;
    border-bottom: 1px solid var(--cream);
    font-size: 0.88rem;
    gap: 1rem;
  }
  .info-key { flex-shrink: 0; font-weight: 300; color: var(--text-light); }
  .info-val { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--green-dark); }

  /* ─── MAP HERO (svæðaval) ─── */
  .map-hero {
    position: relative;
    min-height: 100vh;
    background-image:
      linear-gradient(180deg, rgba(14,30,21,0.18) 0%, rgba(14,30,21,0.06) 40%, rgba(14,30,21,0.4) 100%),
      url('../myndir/svaedakort.jpg');
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .map-hero-heading {
    position: absolute;
    top: 13%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
  }

  .map-hero-antlers {
    width: 160px;
    height: auto;
    opacity: 0.96;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.55));
  }

  .map-hero-title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.6rem, 6vw, 5rem);
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 4px 26px rgba(0,0,0,0.6), 0 2px 10px rgba(0,0,0,0.5);
  }

  .map-hero-btns {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1.5rem;
  }

  .area-btn {
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.5);
    transition: transform 0.25s, opacity 0.25s;
  }

  .area-btn-thumb {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transition: transform 0.25s;
  }

  .area-btn-thumb--empty {
    background: rgba(255,255,255,0.06);
    border: 1px dashed rgba(255,255,255,0.35);
  }

  .area-btn:hover { opacity: 0.85; }
  .area-btn:hover .area-btn-thumb { transform: scale(1.02); }

  /* Símar: svæðavalið hættir að vera absolute-staðsett (þar sem
     hnapparnir stöfluðust upp og klesstust á fyrirsögnina) og
     verður venjulegt lóðrétt flæði: fyrirsögn efst, hnappar neðst,
     tveir í röð með minni thumbnails. */
  @media (max-width: 700px) {
    .map-hero {
      min-height: 100lvh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 8rem 1rem 7rem;
    }
    /* Slæða yfir neðsta bút bakgrunnskortsins (kvarði + hvítur pappírsjaðar)
       sem sést þegar Safari-skjárinn er hár. Situr fyrir neðan hnappana. */
    .map-hero::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 6rem;
      background: linear-gradient(to bottom, rgba(210,215,211,0) 0%, #d2d7d3 32%, #d2d7d3 100%);
      pointer-events: none;
      z-index: 1;
    }
    .map-hero-heading {
      position: static;
      transform: none;
      gap: 0.9rem;
    }
    .map-hero-antlers { width: 105px; }
    .map-hero-title {
      white-space: normal;
      font-size: clamp(2rem, 9vw, 2.8rem);
      line-height: 1.1;
    }
    .map-hero-btns {
      position: relative;
      z-index: 2;
      margin-top: 2.5rem;
      gap: 0.6rem;
      padding: 0;
      flex-wrap: nowrap;
      align-items: flex-start;
    }
    .area-btn {
      width: calc(33.333% - 0.4rem);
      font-size: 0.6rem;
      letter-spacing: 0.08em;
      gap: 0.5rem;
      line-height: 1.35;
    }
    .area-btn-thumb { height: auto; }
  }



  /* Frátekið pláss fyrir Instagram-embed */
  .video-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #14261c 0%, #0e1e15 100%);
    border: 1px dashed rgba(125,196,224,0.35);
  }
  .video-placeholder span {
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.8;
  }

  /* Öryggisafrit af fade-in stílunum (einnig í stilar.css) */
  .fade-in {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  /* Instagram-embed í video-grid: öll slott byrja á sömu efstu línu
     og embed fyllir breidd dálksins. Hæðin ræðst af spilaranum sjálfum
     (data-instgrm-captioned fjarlægt úr HTML svo textinn undir
     lengi ekki embed-in mismikið). */
  .video-row { align-items: start; }
  .video-wrap--ig {
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  .video-wrap--ig .instagram-media { width: 100% !important; }
  @media (max-width: 900px) {
    .video-row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; max-width: 100%; padding: 0 1rem; }
    /* Á mjóum skjá sker cover-klipping hægri jaðarinn þar sem Birkir stendur
       hálfur — færum fókusinn til vinstri svo aðeins fjöllin og jökullinn sjáist */
    #svaedi9 .media-main img { object-position: 20% 40%; }
  }
