/* Horatio House For Sale - Custom Styles */
/* Keep this file small — most styling is via Tailwind CDN */

:root {
  --brand-green: #2f4f3f;
  --brand-wood: #b36b3e;
  --bg-cream: #f8f5f0;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Navbar */
.nav-link {
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--brand-wood);
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

/* Stats pills */
.stat-pill {
  background: white;
  border: 1px solid #e5e0d8;
}

/* Feature icons */
.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--brand-green);
}

/* Gallery */
.gallery-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  object-fit: cover;
}
.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Lightbox Modal */
#lightbox {
  animation: fadeIn 0.2s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-img {
  max-height: 85vh;
  object-fit: contain;
}

/* Map */
#map {
  border-radius: 0.75rem;
  border: 1px solid #e5e0d8;
}

/* Contact form */
input, textarea, select {
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(47, 79, 63, 0.1);
  outline: none;
}

/* Success state */
.success-box {
  background-color: #ecfdf5;
  border: 1px solid #10b981;
}

/* Footer */
footer {
  background: #2f4f3f;
  color: #e5e0d8;
}

/* Print styles for flyer */
@media print {
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  .hero {
    min-height: auto;
    page-break-after: always;
  }
  #gallery, #map, form {
    page-break-inside: avoid;
  }
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .price {
    font-size: 2rem;
  }
}