/* ---------- VARIABLES ---------- */
:root {
  /* Blues */
  --blue-1: #4f5378;
  --blue-2: #4e529c;
  --blue-3: #6e7fb9;
  --blue-4: #1c2180;

  /* Greens */
  --green-1: #30886C;
  --green-2: #9FC464;

  --white: #ffffff;
}

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

body {
  font-family: "Karla", "Inter", "Istok Web", sans-serif;
  font-size: clamp(0.95rem, 0.9vw + 0.8rem, 1.1rem);
  line-height: 1.5;
  color: var(--blue-1);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

.img-top {
  object-position: center top;
}

.img-50-20 {
  object-position: 50% 20%;
}


/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("images/golf-course-hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(76, 86, 185, 0.95) 0%, rgba(76, 86, 185, 0.85) 20%, rgba(76, 86, 185, 0) 60%);
}

.hero__logo {
  width: min(40vw, 300px);
  transition: all .35s ease;
  z-index: 1;
}

.hero__title {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  z-index: 1;
}

.logo--top {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 120px !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .4));
  z-index: 1000;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 2rem 10vw;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(61, 64, 87, 0.85) 0%, rgb(15, 19, 56) 100%);
  align-items: center;
}

.featureRow {
  color: white;
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
}

.featureRow:nth-child(even) {
  flex-direction: row-reverse;
}

.featureRow h2 {
  font-size: 2.0rem;
  width: 350px;
  text-align: center;
}

.featureRow img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.featureRow--last {
  width: 35%;
  height: 100px;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 20px;
}
.featureRow--last h2 {
  margin-top: 0 !important;
}

@media (max-width: 800px) {
  .featureRow {
    flex-direction: column !important;
    text-align: center;
    width: 100%;
  }
  
  .featureRow img {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }
  
  .features {
    padding: 3rem 2rem;
  }
}

/* ---------- SERVICES ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }
}

.service {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.service__bg {
  position: absolute;
  inset: 0;
}

.service--green .service__bg {
  background: linear-gradient(135deg, var(--green-1), var(--green-2));
}

.service--blue .service__bg {
  background: linear-gradient(135deg, var(--blue-3), var(--blue-4));
}

.service__content {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 700px;
  width: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service__content h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.service__img {
  margin: 1rem 0;
  border-radius: .5rem;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service__img--small {
  width: 200px;
  height: 150px;
  margin: 0;
  flex-shrink: 0;
}

.service__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service__text {
  flex: 1;
}

.service__text p {
  margin: 0;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .service__row {
    flex-direction: column !important;
    text-align: center;
    gap: 1rem;
  }
  
  .service__img--small {
    width: 100%;
    max-width: 250px;
    height: 150px;
  }
}

/* ---------- SUBSCRIPTIONS ---------- */
.subscriptions {
  padding: 4rem 5vw;
  text-align: center;
  background: linear-gradient(45deg, var(--blue-4) 0%, rgba(28, 33, 128, 0.95) 100%);
  color: var(--white);
}

.subscriptions h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: bold;
}

.subscriptions h3 {
  margin-bottom: 1rem;
}

.subsBenefits {
  list-style: disc;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  padding-left: 1.25rem;
  text-align: left;
}

.subsBenefits li {
  margin-bottom: .6rem;
}

.subs {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.subCard {
  border: 2px solid var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.price {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.price .total {
  display: block;
  font-size: .85rem;
  font-weight: 400;
  margin-top: .25rem;
}

.submits {
  margin-top: 1rem;
  font-size: .9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(61, 64, 87, 1);
  color: var(--white);
  padding: 2rem 5vw;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__inner img {
  width: 90px;
}

.footer__inner p {
  font-size: .9rem;
}

@media (max-width: 480px) {
  .logo--top {
    width: 140px !important;
  }

  .features {
    padding: 4rem 1rem;
  }

  .featureRow h2 {
    font-size: 1.8rem;
    width: 100%;
    margin-top: 5px;
  }

  .featureRow--last {
    width: 100%;
  }

  .service__content {
    min-height: 580px;
  }

  .service__img--small {
    max-width: 250px;
  }
}
