/* ===== SouthCliffe Properties - Clean Static Site ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Roboto", sans-serif; font-weight: 400; color: #525657; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; }

/* --- Color Variables --- */
:root {
  --green: #748C76;
  --green-dark: #4B624D;
  --green-light: #78907A;
  --red: #F75C62;
  --cream: #F3F0EB;
  --cream-light: #FFF5E2;
  --dark: #1F2122;
  --gray: #525657;
  --gray-light: #999999;
  --white: #FFFFFF;
  --black: #000000;
  --max-width: 1190px;
}

/* --- Typography --- */
.font-tangerine { font-family: "Tangerine", cursive; }
.font-quattro { font-family: "Quattrocento", serif; }
.font-poppins { font-family: "Poppins", sans-serif; }
.font-baskerville { font-family: "Libre Baskerville", serif; }
.font-slab { font-family: "Roboto Slab", serif; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 50px 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo img { max-width: 240px; }
.nav-menu {
  display: flex;
  gap: 0;
}
.nav-menu a {
  display: block;
  padding: 10px 18px;
  font-family: "Quattrocento", serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  transition: background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.3);
}
.nav-menu li:last-child a { border-right: none; }
.nav-menu a:hover, .nav-menu a.active { background: var(--black); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; fill: var(--green); }

@media (max-width: 767px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .nav-toggle { display: block; }
  .nav-wrap { position: relative; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--white);
  padding: 30px 0 20px;
  text-align: center;
}
.footer-logo img {
  max-width: 300px;
  margin: 0 auto 10px;
}
.footer-copy {
  font-size: 14px;
  color: var(--gray-light);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: "Quattrocento", serif;
  font-weight: 600;
  text-align: center;
  border-radius: 15px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 14px 40px;
  font-size: 20px;
  border: 2px solid var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline {
  background: var(--white);
  color: var(--green);
  padding: 18px 50px;
  font-size: 32px;
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-sm { padding: 10px 24px; font-size: 16px; }

/* ===== Hero Section (Homepage) ===== */
.hero-video {
  max-width: 900px;
  margin: 0 auto;
  border: 8px solid var(--green-light);
  border-radius: 10px;
  overflow: hidden;
}
.hero-video .video-wrap {
  position: relative;
  padding-top: 56.25%;
}
.hero-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ===== Welcome Section ===== */
.welcome-section {
  background: var(--green-light);
  border-radius: 20px;
  padding: 50px 40px;
  color: var(--white);
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 30px;
}
.welcome-section p {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.welcome-section .phase-label {
  font-family: "Tangerine", cursive;
  font-size: 56px;
  font-weight: 600;
  margin: 20px 0 10px;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 50px 20px;
}
.cta-section h2 {
  font-family: "Quattrocento", serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== Scenic Banner ===== */
.scenic-banner {
  height: 45vh;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== View Lots Page ===== */
.lots-intro {
  text-align: center;
  padding: 40px 20px;
}
.lots-intro h2 {
  font-family: "Quattrocento", serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}
.lots-intro p {
  font-family: "Quattrocento", serif;
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 20px;
  color: var(--gray);
}

/* Interactive Map */
.map-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.map-container img.map-image {
  width: 100%;
  height: auto;
  display: block;
}
.map-container map area { cursor: pointer; }

/* Lot Modal */
.lot-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lot-modal-overlay.active { display: flex; }
.lot-modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  overflow: hidden;
  position: relative;
}
.lot-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  z-index: 10;
}
.lot-modal img {
  width: 100%;
  height: auto;
}
.lot-modal-body {
  padding: 20px;
  text-align: center;
}
.lot-modal-body h3 {
  font-family: "Quattrocento", serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--green);
}
.lot-modal-body .lot-details {
  font-size: 22px;
  color: var(--green);
  font-weight: 600;
}
.lot-modal-body .lot-sold {
  font-size: 24px;
  color: var(--red);
  font-weight: 700;
}

/* ===== Image Carousel ===== */
.carousel-section { padding: 30px 0; overflow: hidden; }
.carousel-section h2 {
  text-align: center;
  font-family: "Quattrocento", serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}
.carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 15px;
  scrollbar-width: thin;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
.carousel-slide {
  flex: 0 0 calc(25% - 8px);
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
@media (max-width: 1024px) { .carousel-slide { flex: 0 0 calc(50% - 5px); } }
@media (max-width: 767px) { .carousel-slide { flex: 0 0 85%; } }

.carousel-wrap {
  position: relative;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

/* ===== Learn More - Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  text-align: center;
}
.feature-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: "Quattrocento", serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-family: "Quattrocento", serif;
  font-size: 20px;
  color: var(--gray);
}
@media (max-width: 767px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== Get in Touch ===== */
.contact-hero {
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--cream);
}
.contact-hero h2 {
  font-family: "Quattrocento", serif;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-hero p {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: center;
}
.contact-photo img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}
.contact-info h3 {
  font-family: "Quattrocento", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
}
.contact-info .contact-line {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  margin-bottom: 6px;
}
.contact-info .contact-line a {
  color: var(--green);
}
.contact-info .contact-line a:hover { text-decoration: underline; }
.contact-divider {
  border: none;
  border-top: 2px solid var(--green-dark);
  max-width: 900px;
  margin: 20px auto;
}
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-photo img { margin: 0 auto; }
}

/* ===== Why Kennewick ===== */
.wk-hero {
  height: 40vh;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk-hero h1 {
  font-family: "Tangerine", cursive;
  font-size: 90px;
  font-weight: 800;
  color: var(--red);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
}
.wk-intro {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.wk-intro p {
  font-family: "Quattrocento", serif;
  font-size: 22px;
  margin-bottom: 14px;
}
.wk-benefits {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.wk-benefit {
  background: var(--green-light);
  color: var(--white);
  border-radius: 12px;
  padding: 30px 40px;
  margin-bottom: 20px;
}
.wk-benefit h3 {
  font-family: "Quattrocento", serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}
.wk-benefit p {
  font-family: "Quattrocento", serif;
  font-size: 18px;
  line-height: 1.7;
}
.wk-closing {
  text-align: center;
  padding: 30px 20px 50px;
  max-width: 800px;
  margin: 0 auto;
}
.wk-closing p {
  font-family: "Quattrocento", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .wk-hero h1 { font-size: 52px; }
  .wk-benefit { padding: 20px 24px; }
}
