:root{
  --green-dark:#0b6b30;   /* primary buttons */
  --green-hover:#45b16c;  /* button hover */
  --green-accent:#50c522; /* underline accent */
  --text-dark:#2F2F2F;
  --text-muted:#535353;
}

/* Mapleton Village - Consolidated Styles */
/* Brand colors: green accent var(--green-accent), dark green var(--green-dark), hover var(--green-hover) */

/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  line-height: 1.6;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 2rem;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 1rem;
  flex: 1;
}

.header-center {
  justify-content: center;
  flex: 1;
}

.header-right {
  gap: 1rem;
  justify-content: flex-end;
  flex: 1;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 70px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.phone-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.phone-link:hover {
  color: var(--green-dark);
}

.cta-button {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--green-dark);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--green-hover);
}

.lang-toggle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lang-toggle a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.25rem;
  transition: color 0.3s;
}

.lang-toggle a:hover {
  color: var(--green-dark);
}

.lang-toggle .active {
  font-weight: 700;
  color: var(--green-dark);
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dark);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a,
.mobile-menu .cta-button {
  width: 100%;
  text-align: center;
  padding: 0.8rem;
}

/* Hero Carousel */
.hero-carousel {
  width: 100%;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 85vh;
  max-height: 800px;
  min-height: 500px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.carousel-slide.prev {
  transform: translateX(-100%);
}

.carousel-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.carousel-content {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
  right: 50%;
  text-align: left;
  color: white;
  z-index: 2;
  max-width: 700px;
}

.carousel-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.carousel-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  opacity: 0.98;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.carousel-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--green-accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(80, 197, 34, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.carousel-cta:hover {
  background-color: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(80, 197, 34, 0.6);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: white;
  font-size: 3.5rem;
  font-weight: 300;
  width: auto;
  height: auto;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  padding: 0.5rem;
}

.carousel-arrow:hover {
  color: var(--green-accent);
  transform: translateY(-50%) scale(1.15);
}

.carousel-prev {
  left: 1.5rem;
}

.carousel-next {
  right: 1.5rem;
}

/* Carousel Navigation Dots */
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 3;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--green-accent);
  border-color: var(--green-accent);
  width: 40px;
  border-radius: 6px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About section */
.about-section {
  padding: 5rem 2rem;
  background-color: #FFFFFF;
}

.about-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 12px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333333;
  border-left: 5px solid var(--green-accent);
  padding-left: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  color: #444;
}

.about-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-features li {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 600;
  color: #555555;
  font-size: 1.05rem;
}

.about-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-accent);
  font-weight: 900;
  font-size: 1.3rem;
}

/* Amenities cards section */
.amenities-section {
  padding: 4rem 2rem;
  background-color: #F9FAFB;
}

.amenities-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #333333;
  text-align: center;
  position: relative;
}

.amenities-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green-accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.amenities-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.amenity-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 250px;
  max-width: 350px;
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.amenity-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: brightness(0) saturate(100%) invert(23%) sepia(77%) saturate(1349%) hue-rotate(109deg) brightness(93%) contrast(97%);
  transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
  filter: brightness(0) saturate(100%) invert(66%) sepia(52%) saturate(656%) hue-rotate(72deg) brightness(98%) contrast(87%);
  transform: scale(1.1);
}

.amenity-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #222;
  font-weight: 700;
}

.amenity-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Amenity highlight bands */
.amenity-highlight {
  width: 100%;
  padding: 0;
  margin: 3rem 0;
}

.amenity-highlight-wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  min-height: 400px;
}

.amenity-highlight.reverse .amenity-highlight-wrapper {
  flex-direction: row-reverse;
}

.amenity-highlight-image {
  flex: 1;
  overflow: hidden;
}

.amenity-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenity-highlight-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background-color: #F9FAFB;
  text-align: center;
}

.amenity-highlight-text h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
}

.amenity-highlight-text h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green-accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.amenity-highlight-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Location section */
.location-section {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
}

.location-wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.location-text {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background-color: #F9FAFB;
  border-radius: 12px;
}

.location-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  position: relative;
}

.location-text h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: var(--green-accent);
  display: block;
  margin-top: 0.5rem;
  border-radius: 2px;
}

.location-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.75;
}

.location-map {
  flex: 2;
  min-width: 400px;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Final CTA section */
.final-cta {
  padding: 4rem 2rem;
  background-color: #F9FAFB;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.final-cta .cta-button {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

.contact-info {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #7D766B;
  background-color: #FFFFFF;
  border-top: 1px solid #e0e0e0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #7D766B;
  background-color: #F0F0F0;
  border-top: 1px solid #DDDDDD;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.footer-info a {
  color: #7D766B;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info a:hover {
  color: var(--green-dark);
}

/* Gallery page styles */
.gallery-header {
  margin-top: 100px;
  padding: 3rem 2rem 2rem;
  text-align: center;
  background-color: #F9FAFB;
}

.gallery-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.gallery-header h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green-accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--green-hover);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
  background-color: #fff;
  text-align: center;
  font-weight: 600;
  color: #333;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: white;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  font-size: 3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  color: #222;
  transition: background-color 0.25s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: #ffffff;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header {
    height: 70px;
    padding: 0 1rem;
  }

  .header-center,
  .header-right {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .site-logo {
    height: 50px;
  }

  .hero-carousel {
    margin-top: 70px;
  }

  .carousel-container {
    height: 70vh;
    min-height: 500px;
  }

  .carousel-content {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 100%;
  }

  .carousel-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .carousel-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }

  .carousel-cta {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }

  .carousel-arrow {
    font-size: 2.5rem;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }

  .carousel-dots {
    bottom: 1rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 24px;
  }

  .about-section {
    padding: 3rem 1rem;
  }

  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2rem;
    border-left: none;
    border-bottom: 3px solid var(--green-accent);
    padding: 0 0 0.5rem 0;
  }

  .amenities-section {
    padding: 3rem 1rem;
  }

  .amenities-section h2 {
    font-size: 2rem;
  }

  .amenities-cards {
    flex-direction: column;
  }

  .amenity-card {
    max-width: 100%;
  }

  .amenity-highlight-wrapper {
    flex-direction: column !important;
    min-height: auto;
  }

  .amenity-highlight-text {
    padding: 2rem 1rem;
  }

  .amenity-highlight-text h3 {
    font-size: 1.8rem;
  }

  .location-wrapper {
    flex-direction: column;
  }

  .location-text {
    text-align: center;
  }

  .location-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-header {
    margin-top: 70px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 60vh;
    min-height: 450px;
  }

  .carousel-content {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }

  .carousel-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .carousel-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .carousel-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .carousel-arrow {
    font-size: 2rem;
  }

  .amenities-section h2 {
    font-size: 1.6rem;
  }

  .amenity-highlight-text h3 {
    font-size: 1.5rem;
  }

  .location-text h2 {
    font-size: 2rem;
  }
}

/* ===== Request a Viewing form ===== */
.mv-form-section{background:#f4f7f2;padding:4rem 1.5rem;}
.mv-form-wrap{max-width:680px;margin:0 auto;}
.mv-form-section h2{font-size:2rem;color:var(--text-dark);margin:0 0 .5rem;}
.mv-form-section h2::after{content:"";display:block;width:60px;height:4px;background:var(--green-accent);border-radius:2px;margin:.5rem 0;}
.mv-form-sub{color:var(--text-muted);margin:0 0 2rem;}
.mv-row{display:flex;gap:1rem;flex-wrap:wrap;}
.mv-field{flex:1;min-width:200px;margin-bottom:1.1rem;display:flex;flex-direction:column;}
.mv-field label{font-size:.8rem;font-weight:600;color:var(--text-dark);margin-bottom:.35rem;}
.mv-field input,.mv-field select,.mv-field textarea{padding:.75rem .9rem;border:1px solid #d8ddd6;border-radius:8px;font-size:1rem;font-family:inherit;background:#fff;box-sizing:border-box;}
.mv-field input:focus,.mv-field select:focus,.mv-field textarea:focus{outline:none;border-color:var(--green-dark);box-shadow:0 0 0 3px rgba(11,107,48,.12);}
.mv-submit{background:var(--green-dark);color:#fff;border:none;border-radius:8px;padding:.9rem 1.8rem;font-size:1rem;cursor:pointer;transition:background .3s;}
.mv-submit:hover{background:var(--green-hover);}
.mv-submit:disabled{opacity:.6;cursor:default;}
.mv-status{margin-top:1rem;font-size:.95rem;min-height:1.2em;}
.mv-status.ok{color:var(--green-dark);}
.mv-status.err{color:#b3261e;}
.mv-contact{margin-top:1.5rem;color:var(--text-muted);font-size:.95rem;}
.mv-contact a{color:var(--green-dark);}
@media(max-width:480px){.mv-row{flex-direction:column;gap:0;}}
