/* ============================================
   100 River Street — Website Styles
   Springfield, Vermont
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A3D;
  --navy-light: #2C3E54;
  --slate: #4A5568;
  --river-blue: #3B7A9E;
  --river-light: #5BA4C9;
  --gold: #C8A951;
  --gold-light: #DCC574;
  --forest: #2A5D3C;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --medium-gray: #6C757D;
  --dark: #212529;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--river-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* --- Navigation --- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27, 42, 61, 0.97);
  backdrop-filter: blur(10px);
  height: var(--nav-height);
  display: flex; align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 90%; max-width: var(--max-width); margin: 0 auto;
}

.nav-logo a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-logo a:hover { color: var(--gold); }
.nav-logo .logo-accent { color: var(--gold); }

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 0.25rem 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 6px 0; transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
  margin-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--river-blue) 100%);
  opacity: 1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.3;
}
.hero-pattern {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(200, 169, 81, 0.03) 40px, rgba(200, 169, 81, 0.03) 80px
  );
}
.hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: rgba(200, 169, 81, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p {
  font-size: 1.15rem; line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-stats {
  display: flex; gap: 3rem; margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
}
.hero-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 169, 81, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--off-white);
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-header .section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--medium-gray);
  font-size: 1.05rem;
}

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.card-image {
  height: 220px;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--medium-gray);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-badge.leased { background: var(--medium-gray); }
.card-badge.coming-soon { background: var(--river-blue); }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.card-body p { color: var(--slate); font-size: 0.95rem; margin-bottom: 1rem; }
.card-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
  font-size: 0.85rem;
  color: var(--medium-gray);
}
.card-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* --- Feature Blocks --- */
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(59, 122, 158, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.feature h4 { margin-bottom: 0.5rem; }
.feature p { color: var(--slate); font-size: 0.95rem; }

/* --- Split Content (text + image side by side) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-gray);
  min-height: 350px;
  display: flex; align-items: center; justify-content: center;
  color: var(--medium-gray);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 1rem; }
.split-content p { color: var(--slate); margin-bottom: 1.25rem; }
.split-content ul {
  list-style: none; padding: 0; margin-bottom: 1.5rem;
}
.split-content li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--slate);
}
.split-content li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--forest);
  font-weight: 700;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--light-gray);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-dot.active { background: var(--forest); box-shadow: 0 0 0 2px var(--forest); }
.timeline-dot.future { background: var(--light-gray); box-shadow: 0 0 0 2px var(--light-gray); }
.timeline-item h4 { margin-bottom: 0.25rem; }
.timeline-item .timeline-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-item p { color: var(--slate); margin-top: 0.5rem; }

/* --- Map embed --- */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--river-blue);
  box-shadow: 0 0 0 3px rgba(59, 122, 158, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-gray);
  height: 250px;
  display: flex; align-items: center; justify-content: center;
  color: var(--medium-gray);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 2rem 1rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--river-blue) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* --- Placeholder Image Styles --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--light-gray) 0%, #ddd 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--medium-gray);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  min-height: 200px;
}
.placeholder-img .placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}
.placeholder-img .placeholder-text {
  font-weight: 500;
}

/* --- Page Header (interior pages) --- */
.page-header {
  background: var(--navy);
  padding: 6rem 0 3rem;
  margin-top: var(--nav-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(200, 169, 81, 0.03) 40px, rgba(200, 169, 81, 0.03) 80px
  );
}
.page-header .section-label { color: var(--gold); }
.page-header h1 { color: var(--white); margin-bottom: 1rem; position: relative; }
.page-header p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  position: relative;
}

/* --- Info Box --- */
.info-box {
  background: rgba(59, 122, 158, 0.08);
  border-left: 4px solid var(--river-blue);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
}
.info-box p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* --- Amenity Tags --- */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  background: rgba(59, 122, 158, 0.1);
  color: var(--river-blue);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .hero { min-height: 70vh; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .grid-2, .split { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split.reverse .split-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
  .card-image { height: 180px; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-river { color: var(--river-blue); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
