/* ===== Golfferðir ===== */


/* Forsíðuhluti */
.trips-home { background: #fff; }

/* Spjöld */
.trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 8px 0 28px; }
.trip-card { background: #fff; border: 1px solid #e5eade; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 5px 25px rgba(0,0,0,.05); transition: transform .25s, box-shadow .25s; color: inherit; }
a.trip-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,60,0,.10); }
a.trip-card:hover .trip-more { color: var(--green); }
.trip-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #eef2ea; }
.trip-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.trip-body h3 { color: var(--green); font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; }
.trip-text { color: #555; margin-bottom: 16px; line-height: 1.6; }
.trip-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 0; }
.trip-facts li { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-size: .8rem; letter-spacing: .8px; text-transform: uppercase; background: #eef6ec; color: var(--green); padding: 5px 12px; border-radius: 30px; }
.trip-foot { margin-top: auto; border-top: 1px solid #e5eade; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.trip-price { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-size: 1.6rem; font-weight: 500; color: var(--green); line-height: 1.1; }
.trip-price span { font-size: .8rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: #5d6b62; margin-right: 4px; }
.trip-price-note { color: #5d6b62; font-size: .86rem; margin-top: 4px; }
.trip-more { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: var(--light-green); font-size: .9rem; white-space: nowrap; }
.trip-img-link { display: block; }
.trip-card-belek h3 a { color: inherit; }
.trip-card-belek h3 a:hover { text-decoration: underline; }
.trip-card-belek .trip-foot { align-items: center; }
.btn.trip-offer-btn { padding: 11px 26px; }
.trip-disclaimer a { color: var(--light-green); font-weight: 600; }
.trip-card-custom { background: var(--green); border-color: var(--green); justify-content: center; }
.trip-card-custom .card-country { color: #bfe5bf !important; }
.trip-card-custom h3 { color: #fff; font-size: 1.6rem; }
.trip-card-custom .trip-text { color: #e3f3e3; }
.trip-card-custom .trip-body { justify-content: center; padding: 32px; }
.btn.trip-custom-btn { background: #fff; color: var(--green); align-self: flex-start; margin-top: 8px; }
.trip-disclaimer { color: #5d6b62; font-size: .88rem; max-width: 800px; }

/* Yfirlitssíða */
.trips-page-head { margin: 24px 0 36px; }
.trips-page-head h1 { color: var(--green); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin-bottom: 18px; }
.trips-page-head .eyebrow { color: var(--light-green); margin-bottom: 10px; }

/* Ferðasíða */
.trip-hero { position: relative; margin: 22px 0 36px; border-radius: 20px; min-height: 440px; background-size: cover; background-position: center; display: flex; align-items: flex-end; overflow: hidden; background-color: #dfe8dc; }
.trip-hero > div { width: 100%; padding: 120px 44px 38px; background: linear-gradient(transparent, rgba(5,25,10,.82)); color: #fff; }
.trip-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.1; }
.trip-hero .eyebrow { color: #fff; margin-bottom: 10px; }
.trip-hero-sub { margin-top: 10px; font-size: 1.02rem; opacity: .92; }
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 8px; }
.trip-lead { font-size: 1.15rem !important; line-height: 1.7; color: #2b3a31; }
.trip-sec { margin: 0 0 44px !important; padding: 0 !important; }
.trip-sec h2 { color: var(--green); font-size: 1.7rem; line-height: 1.2; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.trip-sec-num { font-size: .85rem; color: var(--light-green); letter-spacing: 2px; font-weight: 400; }
.trip-sec p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; color: #33433a; }
.trip-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #e5eade; border: 1px solid #e5eade; border-radius: 14px; overflow: hidden; margin: 0 0 22px; }
.trip-stats > div { background: #fff; padding: 14px 16px; }
.trip-stats dt, .trip-dist dt, .trip-incl dt { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-size: .74rem; letter-spacing: 1.2px; text-transform: uppercase; color: #5d6b62; }
.trip-stats dd { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; color: var(--green); font-size: 1.12rem; line-height: 1.25; margin-top: 2px; }
.trip-points { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.trip-points li { font-size: 1rem; position: relative; padding-left: 28px; color: #33433a; }
.trip-points li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--light-green); border-bottom: 2.5px solid var(--light-green); transform: rotate(-45deg); transform-origin: left; }
.trip-dist { margin: 8px 0 16px; border-top: 1px solid #e5eade; }
.trip-dist > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e5eade; }
.trip-dist dd { color: #2b3a31; font-weight: 600; text-align: right; }
.trip-aside { position: sticky; top: 24px; }
.trip-pricebox { background: #fff; border: 1px solid #e5eade; border-radius: 18px; padding: 28px; box-shadow: 0 10px 40px rgba(0,60,0,.07); }
.trip-pricebox-label { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; color: #5d6b62; }
.trip-pricebox-price { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-size: 2.4rem; font-weight: 500; color: var(--green); line-height: 1.1; }
.trip-incl { margin: 20px 0 22px; border-top: 1px solid #e5eade; }
.trip-incl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e5eade; }
.trip-incl dd { text-align: right; font-weight: 600; color: #2b3a31; }
.btn.trip-book { display: block; text-align: center; }
.trip-pricebox-small { font-size: .82rem; color: #5d6b62; margin-top: 14px; line-height: 1.5; }
.trip-others { margin: 24px 0 40px; padding-top: 40px; border-top: 1px solid #e5eade; }
.trip-others h2 { color: var(--green); font-size: 1.7rem; margin-bottom: 22px; }
.trip-grid-small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trip-grid-small .trip-body { padding: 18px; }
.trip-grid-small .trip-body h3 { font-size: 1.1rem; }
.trip-grid-small .trip-text, .trip-grid-small .trip-facts, .trip-grid-small .trip-more { display: none; }
.trip-grid-small .trip-price { font-size: 1.3rem; }

@media (max-width: 1100px) {
  .trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-grid-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .trip-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .trip-grid { grid-template-columns: 1fr; gap: 22px; }
  .trip-grid-small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .trip-body { padding: 20px; }
  .trip-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .trip-aside { position: static; order: -1; margin: 0 0 32px; }
  .trip-hero { min-height: 300px; border-radius: 16px; }
  .trip-hero > div { padding: 90px 22px 24px; }
  .trip-sec h2 { font-size: 1.45rem; }
}
@media (max-width: 480px) {
  .trip-grid-small { grid-template-columns: 1fr; }
}

/* Flug */
.trip-flight-note { color: var(--light-green); font-size: .84rem; font-weight: 600; margin-top: 2px; }
.trip-flight-note::before { content: '✈ '; }

/* Breiður reitur: sérsniðin ferð */
.custom-band { background: var(--green); color: #fff; }
.custom-band-inner { padding: 26px 6%; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.custom-band-title { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-size: 1.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; line-height: 1.2; }
.custom-band-text p:not(.custom-band-title) { color: #d9f2d9; margin-top: 2px; }
.custom-band-btn { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; background: #fff; color: var(--green); padding: 14px 28px; border-radius: 30px; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.custom-band-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
@media (max-width: 600px) { .custom-band-inner { padding: 24px 22px; } .custom-band-btn { white-space: normal; text-align: center; width: 100%; } .custom-band-title { font-size: 1.25rem; } }

/* Allur bakgrunnur hvítur */
body, .page-shell, .detail-view, .trips-home, section, .why, .testimonial, .cta, .name-story, .newsletter, footer, .coming-soon { background-color: #fff !important; }

/* Sérsniðin ferð: mjór reitur yfir alla breiddina */
.trip-card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px 40px; padding: 22px 32px; }
.trip-wide-text { flex: 1 1 0; min-width: 0; }
.trip-card-wide h3 { color: var(--green); font-size: 1.3rem; line-height: 1.2; margin-bottom: 4px; }
.trip-card-wide .trip-text { margin: 0; }
.trip-card-wide .trip-facts { margin: 0; }
.trip-card-wide .trip-offer-btn { white-space: nowrap; }
@media (max-width: 800px) { .trip-card-wide { padding: 22px 20px; flex-direction: column; align-items: stretch; } .trip-card-wide .trip-offer-btn { width: 100%; text-align: center; white-space: normal; } }

/* Myndasafn: ein röð með örvum báðum megin */
.gallery { position: relative; margin: 4px 0 52px; }
.g-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; padding: 2px 0; }
.g-track::-webkit-scrollbar { display: none; }
.g-track:focus-visible { box-shadow: 0 0 0 3px #e0a732; border-radius: 12px; }
.g-slide { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; margin: 0; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #eef2ea; }
.g-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.g-slide:hover img { transform: scale(1.04); }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--green); font-size: 1.8rem; line-height: 1; padding-bottom: 4px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.10); transition: opacity .2s, background .2s; z-index: 1; }
.g-nav:hover:not(:disabled) { background: var(--green); color: #fff; }
.g-nav:disabled { opacity: 0; pointer-events: none; }
.g-prev { left: 16px; } .g-next { right: 16px; }
@media (max-width: 1100px) { .g-slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .g-nav { width: 38px; height: 38px; font-size: 1.5rem; } .g-prev { left: 10px; } .g-next { right: 10px; } .g-slide { flex-basis: 100%; border-radius: 12px; } .gallery { margin-bottom: 36px; } }

/* Stækkuð mynd */
.g-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,16,10,.94); display: none; align-items: center; justify-content: center; }
.g-lightbox.is-open { display: flex; }
.g-lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); object-fit: contain; border-radius: 6px; }
.g-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.g-lightbox button:hover { background: rgba(255,255,255,.25); }
.g-lb-close { top: 18px; right: 18px; }
.g-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.g-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.g-lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-family: 'Oswald','Arial Narrow',Arial,sans-serif; letter-spacing: 1px; }
@media (max-width: 700px) { .g-lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; } .g-lb-prev, .g-lb-next { top: auto; bottom: 10px; transform: none; } }
.trip-main, .gallery { min-width: 0; }

/* Texti undir myndasafni: sama breidd og meginmálið */
.trip-col { max-width: calc(100% - 388px); }
.trip-layout + .gallery { margin-top: 36px; }
@media (max-width: 1100px) { .trip-col { max-width: calc(100% - 332px); } }
@media (max-width: 800px) { .trip-col { max-width: none; } }

/* Sérsníða: athugasemd í verðboxi */
.trip-custom-note { background: #eef6ec; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: .9rem; line-height: 1.55; color: #2b3a31; }
.trip-custom-note strong { color: var(--green); display: block; margin-bottom: 2px; }
.trip-disclaimer strong { color: #2b3a31; }

.section-heading .trips-intro, .trips-intro { color: #4a5a50; max-width: 760px; }
.trips-home .section-heading { margin-bottom: 36px; }

/* Minna bil á milli golfferða og „Þú spilar golfið“ */
.trips-home { padding-bottom: 24px; }
.trips-home .trip-grid { margin-bottom: 0; }
.trips-home + .why { padding-top: 56px; }
@media (max-width: 850px) { .trips-home { padding-bottom: 16px; } .trips-home + .why { padding-top: 40px; } }

/* Inngangstexti golfferða yfir alla breiddina */
#golfferdir .section-heading, #golfferdir .trips-page-head { max-width: none; }
.section-heading .trips-intro, .trips-intro { max-width: none !important; }
.trips-intro br.br-desk { display: inline; }
@media (max-width: 1000px) { .trips-intro br.br-desk { display: none; } }

/* Merki á ferðaspjöldum, t.d. Ryder Cup */
.trip-card { position: relative; }
.trip-badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1; padding: 8px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.trip-hero .trip-badge { position: static; margin-bottom: 14px; box-shadow: none; }

/* Valmynd í síma: fjórir hlekkir */
@media (max-width: 550px) {
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 0 16px; }
  .nav-links a { font-size: .74rem; letter-spacing: .6px; padding: 6px 2px; }
}
