/* =============================================
   Dairy Hills — style.css
   Fonts: Cormorant Garamond (headings), Inter (body)
   Palette: warm cream #faf9f7, charcoal #2c2825, stone #7a6e67
   ============================================= */

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

:root {
  --cream:    #faf9f7;
  --off-white:#f2ede8;
  --stone:    #b5ada5;
  --mid:      #7a6e67;
  --dark:     #3d3530;
  --charcoal: #2c2825;
  --accent:   #8b6e52;
  --section-dark: #2c2825;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 500; margin-bottom: 0.3rem; }

p { margin-bottom: 1rem; color: var(--dark); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- SECTION SHARED ---- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.25s;
}

/* ---- HERO ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('DH_exterior_front.jpg') center center / cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,40,37,0.5) 0%, rgba(44,40,37,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--cream);
}

.hero-content h1 { color: var(--cream); max-width: 640px; }
.hero-content p   { color: rgba(250,249,247,0.82); max-width: 480px; margin-bottom: 2rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border-radius: 1px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { background: #7a5e43; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(250,249,247,0.6);
  color: var(--cream);
}

.btn-outline:hover { background: rgba(250,249,247,0.1); transform: translateY(-1px); }

.btn-light { background: var(--cream); color: var(--charcoal); }
.btn-light:hover { background: var(--off-white); }

.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: #1e1b18; }

/* ---- ABOUT ---- */
#about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-text h2 { color: var(--charcoal); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--off-white);
  border-left: 2px solid var(--stone);
}

.feature strong {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.15rem;
}

.feature span { font-size: 0.82rem; color: var(--mid); }

.about-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
}

/* ---- LOCATION ---- */
#location { background: var(--off-white); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location-address {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.location-perks {
  list-style: none;
  margin-top: 1.25rem;
}

.location-perks li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--dark);
}

.location-perks li::before { content: '→  '; color: var(--stone); }

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 2px;
}

/* ---- TENANTS ---- */
#tenants { background: var(--cream); }
#tenants h2 { margin-bottom: 0.5rem; }

.tenants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tenant-card {
  padding: 1.5rem;
  background: var(--off-white);
  border-top: 2px solid var(--stone);
}

.tenant-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.tenant-person {
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 0.75rem;
}

.tenant-links { display: flex; flex-direction: column; gap: 0.3rem; }

.tenant-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.tenant-link:hover { text-decoration: underline; }

/* ---- AVAILABILITY ---- */
#availability { background: var(--section-dark); }
#availability .section-label { color: var(--stone); }
#availability p { color: rgba(250,249,247,0.75); }
#availability h3 {
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}
#availability h3 + p { color: var(--cream); }

.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.price-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 1px;
  margin-top: 0.25rem;
}

/* Waitlist form */
.waitlist-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 2px;
}

/* ---- CONTACT ---- */
#contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info h3 { margin-top: 1.25rem; }
.contact-info a { color: var(--accent); }
.contact-info a:hover { text-decoration: underline; }

/* ---- FORMS ---- */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  border-radius: 1px;
  outline: none;
  transition: border-color 0.2s;
}

#availability .form-group input,
#availability .form-group select,
#availability .form-group textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--cream);
}

#availability .form-group input::placeholder { color: var(--stone); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group textarea { min-height: 120px; resize: vertical; }

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--stone);
}

footer a { color: var(--stone); }
footer a:hover { color: var(--cream); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    gap: 1.25rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .about-grid,
  .location-grid,
  .availability-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .photo-strip { grid-template-columns: 1fr; }

  .about-features { grid-template-columns: 1fr; }

  .about-img img { height: 280px; }

  .hero-content { padding: 3rem 1.5rem; }

  .section-inner { padding: 3.5rem 1.5rem; }

  .availability-grid .availability-info img { display: none; }
}
