/* ==========================================
   Greenane House Golf Page - Namespaced CSS
   Namespace root: .gh-golf-page
   ========================================== */
.gh-golf-page {
  --gh-green:   rgba(119,136,153,1);
  --gh-green-dark: #07140e;
  --gh-green-soft: #183522;
  --gh-gold: #c6a04f;
  --gh-gold-dark: #a9873e;
  --gh-cream:  #f8f5ed;  /* LIGHT BLUE */
  --gh-text: #1f1f1f;
  --gh-muted: #6d6a60;
  --gh-white: #ffffff;

  color: var(--gh-text);
  background: var(--gh-cream);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.gh-golf-page *,
.gh-golf-page *::before,
.gh-golf-page *::after {
  box-sizing: border-box;
}

.gh-golf-page h1,
.gh-golf-page h2,
.gh-golf-page h3,
.gh-golf-page p,
.gh-golf-page blockquote {
  margin-top: 0;
}

.gh-golf-page h1,
.gh-golf-page h2,
.gh-golf-page h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

.gh-golf-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  margin-top:50px;
}

.gh-golf-eyebrow {
  color: var(--gh-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-golf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.25s ease;
}

.gh-golf-btn--gold {
  background: var(--gh-gold);
  color: var(--gh-white);
  border: 1px solid var(--gh-gold);
}

.gh-golf-btn--gold:hover {
  background: var(--gh-gold-dark);
  border-color: var(--gh-gold-dark);
}

.gh-golf-btn--outline {
  color: var(--gh-white);
  border: 1px solid rgba(255,255,255,0.75);
}

.gh-golf-btn--outline:hover {
  background: rgba(255,255,255,0.12);
}

.gh-golf-btn--outline-gold {
  color: var(--gh-gold-dark);
  border: 1px solid var(--gh-gold);
  background: transparent;
}

.gh-golf-btn--outline-gold:hover {
  background: var(--gh-gold);
  color: var(--gh-white);
}

.gh-golf-btn--small {
  min-height: 40px;
  padding: 0 22px;
  font-size: 11px;
}

/* HERO */

.gh-golf-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--gh-white);
  background:
    linear-gradient(90deg, rgba(5,18,13,0.94) 0%, rgba(5,18,13,0.72) 38%, rgba(5,18,13,0.25) 72%),
    url("../pictures/tees-1.jpg") center / cover no-repeat;
}

.gh-golf-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--gh-cream);
  clip-path: polygon(0 56%, 16% 72%, 34% 60%, 52% 74%, 70% 58%, 86% 70%, 100% 54%, 100% 100%, 0 100%);
  z-index: 3;
}

.gh-golf-hero__content {
  position: relative;
  z-index: 4;
  padding: 105px 0 135px;
}

.gh-golf-hero h1 {
  margin: 14px 0 22px;
  max-width: 740px;
  font-size: clamp(48px, 7vw, 82px);
}

.gh-golf-hero__intro {
  max-width: 520px;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.55;
}

.gh-golf-hero__features {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 30px;
  margin-bottom: 42px;
}

.gh-golf-hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gh-golf-hero__icon {
  color: var(--gh-gold);
  font-size: 27px;
  line-height: 1;
}

.gh-golf-hero__feature p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.gh-golf-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* COURSES */

.gh-golf-courses {
  padding: 58px 0 70px;
  text-align: center;
  background: var(--gh-cream);
}

.gh-golf-section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.gh-golf-section-kicker span {
  width: 40px;
  height: 1px;
  background: var(--gh-gold);
}

.gh-golf-section-kicker p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gh-golf-courses h2,
.gh-golf-itinerary h2,
.gh-golf-testimonials h2 {
  margin-bottom: 34px;
  font-size: clamp(30px, 4vw, 43px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gh-golf-course-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: left;
}

.gh-golf-course-card {
  background: var(--gh-white);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.gh-golf-course-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.gh-golf-course-card__body {
  padding: 20px 22px 24px;
}

.gh-golf-course-card h3 {
  min-height: 48px;
  margin-bottom: 15px;
  font-size: 22px;
}

.gh-golf-course-card p {
  margin: 0;
  color: var(--gh-muted);
  font-size: 13px;
  line-height: 1.45;
}

.gh-golf-course-card__drive-time {
  margin-bottom: 10px !important;
  color: var(--gh-text) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gh-golf-courses__map-btn {
  margin-top: 28px;
}

/* STAY TOGETHER */

.gh-golf-stay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gh-green);
  color: var(--gh-white);
}

.gh-golf-stay__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.gh-golf-stay__content {
  display: flex;
  align-items: center;
  padding: 70px 9vw 70px 60px;
  background: rgba(0,0,0,.40);
}

.gh-golf-stay h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gh-golf-stay__intro {
  max-width: 610px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.7;
}

.gh-golf-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 38px;
}

.gh-golf-benefit {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 12px;
}

.gh-golf-benefit span {
  color: var(--gh-gold);
  font-size: 24px;
  line-height: 1;
}

.gh-golf-benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

/* ITINERARY */

.gh-golf-itinerary {
  padding: 54px 0 58px;
  text-align: center;
  background: var(--gh-cream);
}

.gh-golf-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.gh-golf-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 6%;
  right: 6%;
  border-top: 1px dashed rgba(198,160,79,0.65);
}

.gh-golf-timeline-card {
  position: relative;
  padding-top: 38px;
  background: var(--gh-white);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.gh-golf-timeline-card__dot {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gh-gold);
  color: var(--gh-white);
  font-size: 11px;
  font-weight: 800;
}

.gh-golf-timeline-card__day {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--gh-green);
  color: var(--gh-white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.gh-golf-timeline-card img {
  display: block;
  width: calc(100% - 22px);
  height: 104px;
  margin: 0 auto;
  object-fit: cover;
}

.gh-golf-timeline-card__body {
  padding: 18px 22px 26px;
}

.gh-golf-timeline-card h3 {
  position: relative;
  margin-bottom: 14px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.gh-golf-timeline-card h3::before,
.gh-golf-timeline-card h3::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 48px;
  height: 1px;
  background: var(--gh-gold);
}

.gh-golf-timeline-card h3::before {
  left: 50%;
  transform: translateX(-118%);
}

.gh-golf-timeline-card h3::after {
  right: 50%;
  transform: translateX(118%);
}

.gh-golf-timeline-card p {
  margin: 0;
  color: var(--gh-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* TESTIMONIALS */

.gh-golf-testimonials {
  position: relative;
  padding: 0 0 120px;
  text-align: center;
  background:
    linear-gradient(to bottom, var(--gh-cream) 0%, rgba(248,245,237,0.88) 36%, rgba(248,245,237,0.1) 100%),
    url("../pictures/outside8.jpg") center bottom / cover no-repeat;
}

.gh-golf-testimonials h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.gh-golf-testimonials h2::before,
.gh-golf-testimonials h2::after {
  content: "";
  width: 115px;
  height: 1px;
  background: rgba(198,160,79,0.7);
}

.gh-golf-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.gh-golf-testimonial {
  position: relative;
  margin: 0;
  padding: 34px 38px 32px;
  background: rgba(255,255,255,0.94);
  text-align: left;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.gh-golf-testimonial__quote {
  position: absolute;
  top: 16px;
  left: 24px;
  color: rgba(198,160,79,0.28);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
}

.gh-golf-testimonial p {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.gh-golf-testimonial cite {
  position: relative;
  z-index: 1;
  color: var(--gh-muted);
  font-size: 13px;
  font-style: normal;
}

/* CTA */

.gh-golf-cta {
  background: rgba(0,0,0,.40);
  color: var(--gh-white);
}

.gh-golf-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 42px 0;
}

.gh-golf-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.5vw, 40px);
  text-transform: uppercase;
}

.gh-golf-cta p {
  margin: 0;
  font-size: 15px;
}

.gh-golf-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .gh-golf-course-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gh-golf-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .gh-golf-timeline::before {
    display: none;
  }

  .gh-golf-stay {
    grid-template-columns: 1fr;
  }

  .gh-golf-stay__content {
    padding: 60px 48px;
  }
}

@media (max-width: 800px) {
  .gh-golf-container {
    width: min(100% - 32px, 1180px);
  }

  .gh-golf-hero {
    min-height: 620px;
    background:
      linear-gradient(90deg, rgba(5,18,13,0.94) 0%, rgba(5,18,13,0.78) 58%, rgba(5,18,13,0.45) 100%),
      url("../pictures/tees-1.jpg") center / cover no-repeat;
  }

  .gh-golf-hero__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .gh-golf-course-grid,
  .gh-golf-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .gh-golf-course-card img {
    height: 210px;
  }

  .gh-golf-benefit-grid {
    grid-template-columns: 1fr;
  }

  .gh-golf-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gh-golf-testimonials h2::before,
  .gh-golf-testimonials h2::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .gh-golf-hero h1 {
    font-size: 46px;
  }

  .gh-golf-hero__intro {
    font-size: 16px;
  }

  .gh-golf-hero__features {
    grid-template-columns: 1fr;
  }

  .gh-golf-hero__buttons,
  .gh-golf-cta__buttons {
    width: 100%;
  }

  .gh-golf-btn {
    width: 100%;
  }

  .gh-golf-section-kicker span {
    display: none;
  }

  .gh-golf-timeline {
    grid-template-columns: 1fr;
  }

  .gh-golf-stay__content {
    padding: 48px 24px;
  }

  .gh-golf-testimonials {
    padding-bottom: 80px;
  }
}