* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
    }
    body {
      line-height: 1.6;
      color: #222;
      background: #fff;
    }
    header {
      background: #fff;
      color: #111;
      border-bottom: 3px solid #222;
      padding: 20px 0;
      text-align: center;
    }
    nav {
      background: #222;
      display: flex;
      justify-content: center;
      padding: 10px;
    }
    nav a {
      color: #fff;
      text-decoration: none;
      margin: 0 15px;
      font-weight: 600;
      transition: color 0.2s;
    }
    nav a:hover {
      color: #888;
    }
.hero {
  height: 60vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  animation: slideshow 16s infinite;
}

@keyframes slideshow {
  0%    { background-image: url('golfcart1.jpg'); }
  33%   { background-image: url('golfcart2.jpg'); }
  66%   { background-image: url('golfcart3.jpg'); }
  100%  { background-image: url('golfcart1.jpg'); }
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(34, 34, 34, 0.6);
  z-index: -1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.hero-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  border: 2px solid #222;
  transition: background 0.3s, color 0.3s;
}

.hero-btn:hover {
  background-color: #222;
  color: #fff;
}

.hero h1 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}
.section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}
.services, .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  background: #fff;
  border: 2px solid #222;
  padding: 20px;
  width: 250px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(34,34,34,0.08);
  color: #222;
}
.gallery img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 2px solid #222;
  display: block;
  margin: 0 auto;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}
input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #222;
  font-size: 16px;
  background: #fff;
  color: #222;
}
button {
  padding: 10px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border 0.3s;
}
button:hover {
  background: #fff;
  color: #222;
  border: 2px solid #222;
}
footer {
  background: #fff;
  color: #222;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  border-top: 3px solid #222;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer a i {
  font-size: 2em;
  vertical-align: middle;
  margin-right: 8px;
}
footer a {
  margin: 8px 0;
  display: inline-flex;
  align-items: center;
  color: #222 !important;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: #888 !important;
}
@media (max-width: 600px) {
  footer {
    padding: 20px 5px;
  }
  footer a {
    font-size: 1.1em;
  }
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.logo-img {
  max-width: 120px;
  height: auto;
  margin-bottom: 0;
}
.header-flex h1, .header-flex p {
  text-align: left;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}
.pricing-card {
  background: #fff;
  border: 2px solid #222;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,34,34,0.06);
  padding: 28px 24px;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1em;
}
.pricing-emoji {
  font-size: 2.2em;
  margin-bottom: 10px;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
}
.gallery-item p {
  margin-top: 12px;
  font-size: 1.1em;
  color: #222;
}
.gallery img {
  width: 550px;    
  height: 375px;       
  object-fit: cover;    
  background: #fff;
  border-radius: 8px;
  border: 2px solid #222;
  display: block;
  margin: 0 auto;
}

/* Center and enlarge the Request a Golf Cart form */
#contact {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 40px;
}

#contact h2,
#contact h3 {
  text-align: center;
  margin-bottom: 12px;
}

/* target the request form specifically */
#lead-form {
  max-width: 720px;       /* bigger than before */
  width: 95%;
  margin: 18px auto;      /* center horizontally */
  padding: 22px;
  background: #fff;
  border: 2px solid #222;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(34,34,34,0.08);
  display: block;
}

/* larger fields for better touch targets */
#lead-form label {
  display: block;
  text-align: left;
  margin: 6px 0 6px 4px;
  font-weight: 600;
  color: #222;
}
#lead-form input,
#lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  resize: vertical;
}

/* bigger submit button */
#lead-form button {
  margin-top: 8px;
  padding: 12px 18px;
  font-size: 1.05rem;
  border-radius: 8px;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* button hover */
#lead-form button:hover {
  background: #fff;
  color: #222;
  border: 2px solid #222;
}

/* Rental period radio styling */
.rental-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0 14px;
}
.rental-options .radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #222;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}
.rental-options .radio input {
  display: none;
}
.rental-options .check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #222;
  background: #fff;
  display: inline-block;
  position: relative;
}
.rental-options .radio input:checked + .check {
  background: #222;
  border-color: #222;
}
.rental-options .radio input:checked + .check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* label text */
.rental-options .label-text {
  font-weight: 600;
  color: #222;
  font-size: 0.98rem;
}

/* Confirmation message */
.lead-confirm {
  margin-top: 16px;
  padding: 14px;
  background: #e9f6ee;
  border: 1px solid #2c7a44;
  color: #0b6b35;
  border-radius: 8px;
  font-size: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hidden { display: none !important; }

/* mobile tweaks */
@media (max-width:700px) {
  .rental-options { justify-content: center; }
  .rental-options .radio { width: 100%; justify-content: flex-start; }
  .rental-options .label-text { font-size: 1rem; }
  .lead-confirm { font-size: 0.98rem; }
}

/* Mobile: make gallery images fit the screen */
@media (max-width: 700px) {
  .gallery {
    padding: 0 12px;
    gap: 14px;
    justify-content: center;
    align-items: flex-start;
  }

  /* make each gallery item take full width (stack vertically) */
  .gallery-item {
    flex: 0 1 100%;
    max-width: 100%;
    width: 100%;
  }

  /* scale images to viewport width, keep aspect ratio */
  .gallery img {
    width: 100%;
    max-width: 100vw;
    height: auto;
    object-fit: cover;      /* use contain if you prefer no cropping */
    max-height: 60vh;      /* prevents extremely tall images on small screens */
    display: block;
    margin: 0 auto;
    border-radius: 8px;
  }

  /* smaller gaps for other sections */
  .pricing-cards, .services {
    gap: 16px;
  }

  /* tighten the header and form padding on small screens */
  .header-flex {
    padding: 0 12px;
    gap: 12px;
  }

  #lead-form {
    width: 96%;
    padding: 16px;
  }
}