/* CaribouCamp — sameiginlegir stílar fyrir allar síður */

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

  :root {
    --sky:        #3d7fa0;
    --sky-mid:    #2d6782;
    --sky-dark:   #1a4a60;
    --sky-pale:   #d8edf6;
    --sky-light:  #edf5fa;
    --green:      #3a6848;
    --green-mid:  #2b5038;
    --green-dark: #1a3325;
    --green-pale: #d3e5da;
    --white:      #ffffff;
    --off-white:  #f5f9f7;
    --cream:      #eef4f0;
    --dark:       #111d16;
    --text:       #1e2e24;
    --text-mid:   #3d5548;
    --text-light: #607870;
  }

  html { scroll-behavior: smooth; background: #0e1e15; }
  body {
    font-family: 'Outfit', sans-serif;
    background: var(--off-white);
    color: var(--text);
    overflow-x: clip;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 4rem;
    transition: background 0.4s, backdrop-filter 0.4s;
  }
  nav.scrolled {
    background: rgba(17,29,22,0.93);
    backdrop-filter: blur(10px);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem; font-weight: 600;
    color: white; letter-spacing: 0.06em; text-decoration: none;
  }
  .nav-logo span { color: #7dc4e0; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.82); text-decoration: none;
    font-size: 0.82rem; font-weight: 400;
    letter-spacing: 0.09em; text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: #7dc4e0; }
  .nav-cta {
    background: var(--sky); color: white !important;
    padding: 0.5rem 1.3rem; border-radius: 2px;
  }
  .nav-cta:hover { background: var(--sky-mid); color: white !important; }
  .nav-right { display: flex; align-items: center; gap: 1.2rem; }

  /* flag toggle */
  .lang-toggle { display: flex; align-items: center; gap: 0.5rem; }
  .lang-toggle button {
    background: none; border: none; cursor: pointer;
    font-size: 0.72rem; font-family: 'Outfit', sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 0; transition: color 0.2s;
  }
  .lang-toggle button.active { color: white; }
  .lang-toggle button:hover { color: rgba(255,255,255,0.8); }
  .lang-toggle .sep { color: rgba(255,255,255,0.2); font-size: 0.7rem; }

  /* ── HERO ── */
  .hero {
    position: relative; height: 100vh; min-height: 620px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background:
      linear-gradient(to bottom,
        rgba(10,20,14,0.25) 0%,
        rgba(10,20,14,0.45) 55%,
        rgba(10,20,14,0.80) 100%),
      url('myndir/hero-hreindyr.jpg') center/contain no-repeat;
    transform: scale(1.03);
    animation: slowZoom 18s ease-in-out infinite alternate;
  }
  @keyframes slowZoom {
    from { transform: scale(1.03); }
    to   { transform: scale(1.10); }
  }
  .hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 2rem; }
  .hero-eyebrow {
    font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: #7dc4e0; margin-bottom: 1.4rem; font-weight: 500;
  }
  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 7.5vw, 6.2rem);
    font-weight: 300; color: white; line-height: 1.04; margin-bottom: 1.4rem;
  }
  .hero h1 em { font-style: italic; color: #9dd8f0; }
  .hero p {
    font-size: 1.05rem; color: rgba(255,255,255,0.72); font-weight: 300;
    line-height: 1.75; max-width: 530px; margin: 0 auto 2.8rem;
  }
  .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  .btn-primary {
    background: var(--sky); color: white;
    padding: 0.9rem 2.2rem; border: none; border-radius: 2px;
    font-family: 'Outfit', sans-serif; font-size: 0.82rem;
    font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-primary:hover { background: var(--sky-mid); transform: translateY(-1px); }
  .btn-outline {
    background: transparent; color: white;
    padding: 0.9rem 2.2rem; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 2px;
    font-family: 'Outfit', sans-serif; font-size: 0.82rem;
    font-weight: 400; letter-spacing: 0.07em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

  .hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.45); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  }
  .scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, #7dc4e0, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%,100% { opacity: 1; } 50% { opacity: 0.3; }
  }

  /* ── SERVICE CARDS (hero bottom overlay) ── */
  .services-strip {
    background: var(--green-dark);
    display: grid; grid-template-columns: repeat(3, 1fr);
  }
  .service-card {
    padding: 2.4rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: flex-start; gap: 1.2rem;
    transition: background 0.25s;
    cursor: default;
  }
  .service-card:last-child { border-right: none; }
  .service-card:hover { background: rgba(255,255,255,0.05); }
  .service-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(125,196,224,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .service-icon svg {
    width: 22px; height: 22px;
    stroke: #7dc4e0; fill: none; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 400;
    color: white; margin-bottom: 0.35rem;
  }
  .service-desc {
    font-size: 0.82rem; color: rgba(255,255,255,0.5);
    font-weight: 300; line-height: 1.6;
  }

  /* ── STAT STRIP ── */
  .stat-strip {
    background: var(--sky-dark);
    display: flex; justify-content: center; flex-wrap: wrap;
  }
  .stat-item {
    flex: 1; min-width: 140px; text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 300; color: #9dd8f0;
    line-height: 1; margin-bottom: 0.35rem;
  }
  .stat-label {
    font-size: 0.7rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(255,255,255,0.45);
  }

  /* ── SECTIONS ── */
  section { padding: 6rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-eyebrow {
    font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--sky); margin-bottom: 0.9rem; font-weight: 500;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300;
    line-height: 1.15; color: var(--green-dark); margin-bottom: 1.4rem;
  }
  .section-title em { font-style: italic; color: var(--sky-mid); }

  /* ── ABOUT ── */
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center;
  }
  .about-img { position: relative; }
  .about-img img {
    width: 100%; aspect-ratio: 4/5;
    object-fit: cover; border-radius: 2px; display: block;
  }
  .about-badge {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--sky-dark); color: white;
    width: 118px; height: 118px; border-radius: 50%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
  }
  .about-badge .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem; font-weight: 300; line-height: 1;
    color: #9dd8f0;
  }
  .about-badge .lbl {
    font-size: 0.62rem; letter-spacing: 0.1em;
    text-transform: uppercase; opacity: 0.7; margin-top: 3px;
  }
  .about-text p {
    color: var(--text-light); line-height: 1.85;
    margin-bottom: 1.2rem; font-weight: 300;
  }
  .about-features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.8rem; margin-top: 2rem;
  }
  .feature-item { display: flex; gap: 0.7rem; align-items: flex-start; }
  .feature-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sky); margin-top: 0.5rem; flex-shrink: 0;
  }
  .feature-item p {
    font-size: 0.875rem; color: var(--text);
    margin: 0 !important; font-weight: 400;
  }

  /* ── TOURS ── */
  .tours-section { background: var(--cream); }
  .tours-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
  }
  .tours-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .tour-card {
    background: white; border-radius: 2px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(30,60,40,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(30,60,40,0.13);
  }
  .tour-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
  .tour-body { padding: 1.5rem; }
  .tour-tag {
    display: inline-block; background: var(--sky-pale); color: var(--sky-dark);
    font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
    padding: 0.28rem 0.7rem; border-radius: 1px; margin-bottom: 0.7rem; font-weight: 500;
  }
  .tour-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.38rem; font-weight: 400;
    color: var(--green-dark); margin-bottom: 0.45rem; line-height: 1.25;
  }
  .tour-desc {
    font-size: 0.855rem; color: var(--text-light);
    line-height: 1.7; margin-bottom: 1.25rem; font-weight: 300;
  }
  .tour-meta {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--cream); padding-top: 1rem; font-size: 0.78rem;
  }
  .tour-meta-item { display: flex; align-items: center; gap: 0.35rem; color: var(--text-light); }
  .tour-meta-item svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
  .tour-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; color: var(--sky-mid); font-weight: 600;
  }

  /* ── GALLERY ── */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0.65rem;
  }
  .gallery-item { overflow: hidden; border-radius: 2px; }
  .gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.55s;
  }
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
  .gallery-item:not(:nth-child(1)) { aspect-ratio: 4/3; }

  /* ── TESTIMONIALS ── */
  .testimonials-section { background: var(--green-dark); }
  .testimonials-section .section-title { color: white; }
  .testimonials-section .section-eyebrow { color: #7dc4e0; }
  .testimonials-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.5rem; margin-top: 3rem;
  }
  .testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 2px; padding: 2rem;
  }
  .testimonial-stars { color: #7dc4e0; font-size: 0.85rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
  .testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.12rem; font-weight: 300;
    color: rgba(255,255,255,0.82); line-height: 1.75;
    font-style: italic; margin-bottom: 1.5rem;
  }
  .testimonial-author { font-size: 0.78rem; font-weight: 500; color: #9dd8f0; letter-spacing: 0.1em; text-transform: uppercase; }
  .testimonial-origin { font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-top: 0.2rem; }

  /* ── CTA BAND ── */
  .cta-band {
    background: var(--sky-dark); text-align: center; padding: 5rem 2rem;
  }
  .cta-band h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: white; margin-bottom: 1rem;
  }
  .cta-band p { color: rgba(255,255,255,0.7); font-weight: 300; margin-bottom: 2rem; font-size: 1rem; }
  .btn-white {
    background: white; color: var(--sky-dark);
    padding: 0.9rem 2.4rem; border: none; border-radius: 2px;
    font-family: 'Outfit', sans-serif; font-size: 0.82rem;
    font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
  }
  .btn-white:hover { transform: translateY(-1px); opacity: 0.92; }

  /* ── CONTACT ── */
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 5rem; align-items: start;
  }
  .contact-info p {
    color: var(--text-light); font-weight: 300; line-height: 1.85; margin-bottom: 2rem;
  }
  .contact-detail { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
  .contact-icon {
    width: 40px; height: 40px; background: var(--sky-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .contact-icon svg { width: 17px; height: 17px; stroke: var(--sky-mid); fill: none; stroke-width: 1.6; }
  .contact-detail-text { font-size: 0.88rem; color: var(--text); }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-light); font-weight: 500;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: white; border: 1.5px solid var(--cream); border-radius: 2px;
    padding: 0.75rem 1rem; font-family: 'Outfit', sans-serif;
    font-size: 0.88rem; color: var(--text); outline: none;
    transition: border-color 0.2s; width: 100%;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--sky); }
  .form-group textarea { resize: vertical; min-height: 120px; }

  /* ── FOOTER ── */
  footer { background: var(--dark); padding: 3rem 2rem; }
  .footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; color: white; font-weight: 400; letter-spacing: 0.05em;
  }
  .footer-logo span { color: #7dc4e0; }
  footer p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a {
    color: rgba(255,255,255,0.38); font-size: 0.78rem;
    text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: #7dc4e0; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem 0.85rem; flex-wrap: wrap; }
    .nav-links {
      display: flex;
      order: 3;
      width: 100%;
      justify-content: center;
      gap: 2rem;
      margin-top: 0.7rem;
      padding-top: 0.7rem;
      border-top: 1px solid rgba(255,255,255,0.12);
    }
    .nav-links a { font-size: 0.72rem; }

    /* Mynd af Birki og Áslaugu — raðast undir texta */
    #leidsogumadr .section-photo-flex {
      flex-direction: column !important;
    }
    #leidsogumadr .section-photo-flex img {
      width: 160px !important;
      align-self: flex-start;
    }

    /* Hero — nota flex í stað absolute */
    .hero-quote-pos {
      position: relative !important;
      top: auto !important;
      padding: 2.5rem 1.5rem 0 !important;
    }
    .hero-btn-pos {
      position: relative !important;
      top: auto !important;
      padding: 1.5rem 1.5rem 0 !important;
    }
    .hero-inner-flex {
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-start !important;
      align-items: center !important;
      height: 100% !important;
    }
  }

  @media (max-width: 600px) {
    section { padding: 4rem 1.25rem; }
    /* Mynd raðast undir texta á síma */
    #leidsogumadr .section-photo-flex {
      flex-direction: column !important;
    }
    #leidsogumadr .section-photo-flex img {
      width: 140px !important;
      align-self: flex-start;
    }

    /* Hero texti og hnappur á síma */
    .hero-quote-pos {
      position: relative !important;
      top: auto !important;
      margin-top: -1rem !important;   /* lyftir tilvitnun örlítið, en tarfurinn helst neðan myndar */
      padding: 2rem 1.25rem 0 !important;
    }
    .hero-btn-pos {
      position: relative !important;
      top: auto !important;
      padding: 1.25rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom)) !important;
    }
    .hero-btn-pos a {
      width: 220px !important;
      font-size: 0.85rem !important;
      padding: 0.9rem 1.5rem !important;
    }

    /* Fótur */
    footer .footer-inner {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 1rem !important;
    }
    .footer-links { flex-direction: column !important; gap: 0.75rem !important; }
  }

  /* ── FADE IN ── */
  .fade-in {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  /* Divider scroll zoom */
  .scroll-divider { position: relative; }
  .divider-img { transition: transform 0.1s linear; transform: scale(1.08); }


  /* Virkur tengill í nav (undirsíður) */
  .nav-links a.active { color: #7dc4e0; }
