/* Luxury Real Estate Website Styles - Chelsea Pferschy */
:root {
  --cream: #F8F5F0;
  --soft-white: #FFFFFF;
  --deep-teal: #0D4F4F;
  --gold: #C9A962;
  --soft-gold: #E8D5A3;
  --charcoal: #2C2C2C;
  --muted: #6B6B6B;
  --light-border: #E5E0D8;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(248, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light-border);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--deep-teal);
  font-weight: 500;
}

.logo span {
  color: var(--gold);
  font-weight: 400;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul li a {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--gold);
}

/* Hero */
.hero {
  height: 85vh;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.35)), url('images/hero-rainbow.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
  border-bottom: 8px solid var(--gold);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.1);
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--deep-teal);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
  margin-left: 1rem;
}

.btn-outline:hover {
  background: white;
  color: var(--deep-teal);
}

/* Sections */
section {
  padding: 6rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 3rem;
  color: var(--deep-teal);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  position: relative;
}

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

.about-text h3 {
  font-size: 2.2rem;
  color: var(--deep-teal);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: var(--charcoal);
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 2rem;
  color: var(--gold);
}

/* Luxury Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 450px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 79, 79, 0.85));
  color: white;
  padding: 2rem;
}

/* Search Section */
.search-section {
  background: var(--deep-teal);
  color: white;
  text-align: center;
}

.search-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.search-form {
  max-width: 800px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 4px;
}

.search-form select, .search-form input {
  padding: 1rem;
  border: 1px solid var(--light-border);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
}

/* Neighborhoods */
.neighborhoods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.neighborhood-card {
  background: white;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.neighborhood-card:hover {
  transform: translateY(-5px);
}

.neighborhood-card h3 {
  color: var(--deep-teal);
  margin: 1rem 0;
}

/* Footer */
footer {
  background: var(--charcoal);
  color: white;
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

footer a {
  color: var(--soft-gold);
}

.disclaimer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--light-border);
  font-family: 'Lato', sans-serif;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 3rem; }
  .about-grid, .neighborhoods { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  nav ul { display: none; } /* Simplified for mobile */
}

.mobile-menu {
  display: none;
}
