/* ==========================================
   Teri Henkelman - Lake Conroe Real Estate
   McKellar Group Brand Styles
   ========================================== */

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

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

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #000000;
  background-color: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
  color: #333333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #000000;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-heading {
  text-align: center;
  margin-bottom: 8px;
}

.section-subheading {
  text-align: center;
  color: #666666;
  font-size: 1.1rem;
  margin-bottom: 48px;
  font-weight: 300;
}

/* --- Demo Banner --- */
.demo-banner {
  background: #111111;
  color: #FFFFFF;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
}

.demo-banner .banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px 8px;
  line-height: 1;
}

.demo-banner .banner-close:hover {
  color: #BFBFBF;
}

/* --- Navigation --- */
.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-logo span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
}

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

.nav-links a {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #333333;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #000000;
  border-bottom-color: #000000;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
  white-space: nowrap;
}

.nav-phone-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000000;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  color: #F5F5F5;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.btn-primary:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-dark {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-dark:hover {
  background: #333333;
  border-color: #333333;
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: #000000;
}

.btn-outline-dark {
  background: transparent;
  color: #000000;
  border-color: #000000;
}

.btn-outline-dark:hover {
  background: #000000;
  color: #FFFFFF;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.75rem;
}

/* --- Quick Search --- */
.quick-search {
  background: #FFFFFF;
  padding: 40px 0;
  border-bottom: 1px solid #E0E0E0;
}

.quick-search .search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.search-group label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #666666;
}

.search-group select,
.search-group input {
  padding: 12px 16px;
  border: 1px solid #E0E0E0;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #000000;
  background: #FFFFFF;
  min-width: 140px;
  transition: border-color 0.3s ease;
}

.search-group select:focus,
.search-group input:focus {
  outline: none;
  border-color: #333333;
}

.search-btn {
  padding: 12px 32px;
  height: 44px;
  align-self: flex-end;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-light {
  background: #F5F5F5;
}

.section-dark {
  background: #111111;
  color: #FFFFFF;
}

.section-dark h2,
.section-dark h3,
.section-dark .section-subheading {
  color: #FFFFFF;
}

.section-dark .section-subheading {
  color: #BFBFBF;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.property-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.property-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card-image img {
  transform: scale(1.05);
}

.property-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #111111;
  color: #FFFFFF;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-card-body {
  padding: 24px;
}

.property-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.property-card-address {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 16px;
}

.property-card-features {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #666666;
  border-top: 1px solid #E0E0E0;
  padding-top: 16px;
}

.property-card-features span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Lifestyle Cards --- */
.lifestyle-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lifestyle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.lifestyle-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 24px;
}

.lifestyle-card h3 {
  margin-bottom: 12px;
}

.lifestyle-card p {
  color: #666666;
  font-size: 0.95rem;
}

/* --- Market Snapshot --- */
.market-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid #E0E0E0;
}

.market-stat {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid #E0E0E0;
}

.market-stat:last-child {
  border-right: none;
}

.market-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.market-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666666;
}

/* --- Neighborhood Cards --- */
.neighborhood-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #E0E0E0;
  margin-bottom: 32px;
  background: #FFFFFF;
  overflow: hidden;
}

.neighborhood-card-image {
  height: 350px;
  overflow: hidden;
}

.neighborhood-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.neighborhood-card:hover .neighborhood-card-image img {
  transform: scale(1.05);
}

.neighborhood-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.neighborhood-card-body h3 {
  margin-bottom: 8px;
}

.neighborhood-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #333333;
  margin-bottom: 16px;
}

.neighborhood-card-body p {
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.neighborhood-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.neighborhood-features li {
  background: #F5F5F5;
  padding: 6px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333333;
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  padding: 32px;
}

.testimonial-card .quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid #BFBFBF;
}

.testimonial-card .author {
  font-weight: 600;
  font-size: 0.85rem;
  color: #000000;
}

.testimonial-card .author-role {
  font-size: 0.8rem;
  color: #666666;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: #666666;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Page --- */
.about-hero {
  background: #F5F5F5;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image-placeholder {
  background: #E0E0E0;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h1 {
  margin-bottom: 8px;
}

.about-title {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.about-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 32px;
}

.credentials-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.credentials-list li {
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  padding: 8px 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.value-prop {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid #E0E0E0;
  transition: transform 0.3s ease;
}

.value-prop:hover {
  transform: translateY(-4px);
}

.value-prop-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #BFBFBF;
  margin-bottom: 8px;
}

.value-prop h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.value-prop p {
  color: #666666;
  font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}

.contact-form {
  background: #FFFFFF;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E0E0E0;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #000000;
  background: #FFFFFF;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #333333;
}

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

.form-success {
  display: none;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  padding: 32px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  margin-bottom: 8px;
}

.contact-sidebar {
  background: #F5F5F5;
  padding: 40px;
}

.contact-sidebar h3 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.contact-info-item {
  margin-bottom: 20px;
}

.contact-info-item .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #666666;
  margin-bottom: 4px;
}

.contact-info-item .value {
  font-size: 0.95rem;
  color: #000000;
}

.contact-info-item .value a {
  color: #000000;
}

.service-areas {
  margin-top: 32px;
}

.service-areas h4 {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.service-areas ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-areas ul li {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  padding: 6px 14px;
  font-size: 0.8rem;
}

.map-placeholder {
  background: #E0E0E0;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 32px;
}

/* --- Lake Life Page --- */
.lake-hero {
  height: 60vh;
  min-height: 400px;
}

.lake-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.lake-stat {
  text-align: center;
  padding: 48px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.lake-stat:last-child {
  border-right: none;
}

.lake-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.lake-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.lake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.lake-grid:last-child {
  margin-bottom: 0;
}

.lake-grid-image {
  height: 400px;
  overflow: hidden;
}

.lake-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lake-grid-content h2 {
  margin-bottom: 16px;
}

.lake-grid-content p {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.lake-grid-content ul {
  list-style: none;
}

.lake-grid-content ul li {
  padding: 8px 0;
  border-bottom: 1px solid #E0E0E0;
  font-size: 0.95rem;
  color: #333333;
}

.lake-grid-content ul li:last-child {
  border-bottom: none;
}

.lake-grid-content ul li strong {
  color: #000000;
}

.lake-full-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 80px 0 0;
}

/* --- Listings Page --- */
.listings-header {
  background: #F5F5F5;
  padding: 48px 0;
  text-align: center;
}

.listings-header h1 {
  margin-bottom: 8px;
}

.listings-header p {
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
}

.listings-content {
  padding: 40px 0;
}

.listings-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
}

.listings-sidebar {
  background: #F5F5F5;
  padding: 32px;
  height: fit-content;
}

.listings-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.listings-sidebar .form-group {
  margin-bottom: 16px;
}

.listings-iframe-wrapper {
  border: 1px solid #E0E0E0;
  min-height: 700px;
  position: relative;
}

.listings-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: none;
}

.listings-direct-link {
  text-align: center;
  margin-top: 16px;
  padding: 16px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
}

.listings-direct-link a {
  color: #000000;
  text-decoration: underline;
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  background: #111111;
  color: #FFFFFF;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer h4 {
  color: #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer p,
.footer a,
.footer li {
  color: #BFBFBF;
  font-size: 0.9rem;
  line-height: 2;
}

.footer a:hover {
  color: #FFFFFF;
}

.footer ul {
  list-style: none;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  color: #BFBFBF;
  font-size: 0.85rem;
}

.footer-social a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  color: #666666;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

.footer-disclaimer {
  margin-top: 16px;
  font-size: 0.7rem;
  color: #555555;
  line-height: 1.6;
}

/* --- IABS / Consumer Protection --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #333333;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: #333333;
}

.legal-effective-date {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #E0E0E0;
  font-size: 0.85rem;
  color: #666666;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #111111;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #333333;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: #F5F5F5;
  padding: 56px 0;
  text-align: center;
  border-bottom: 1px solid #E0E0E0;
}

.page-header h1 {
  margin-bottom: 8px;
}

.page-header p {
  color: #666666;
  font-size: 1.05rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lake-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lake-grid:nth-child(even) .lake-grid-image {
    order: -1;
  }

  .listings-layout {
    grid-template-columns: 1fr;
  }

  .neighborhood-card {
    grid-template-columns: 1fr;
  }

  .neighborhood-card-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid #E0E0E0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    border-bottom: none;
  }

  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .market-snapshot {
    grid-template-columns: 1fr 1fr;
  }

  .market-stat {
    border-right: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
  }

  .market-stat:nth-child(even) {
    border-right: none;
  }

  .market-stat:nth-child(n+3) {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }

  .quick-search .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-group {
    min-width: 100%;
  }

  .search-group select,
  .search-group input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .card-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .market-snapshot {
    grid-template-columns: 1fr;
  }

  .market-stat {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lake-stats {
    grid-template-columns: 1fr;
  }

  .lake-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 32px;
  }

  .lake-stat:last-child {
    border-bottom: none;
  }

  .neighborhood-card-image {
    height: 200px;
  }

  .neighborhood-card-body {
    padding: 24px;
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* --- About Page Bio Additions --- */
.about-bio + .about-bio {
  margin-top: 16px;
}
.about-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #333333;
  border-left: 3px solid #BFBFBF;
  padding-left: 20px;
  margin-top: 24px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.property-card-detail {
  font-size: 0.85rem;
  color: #666;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #E0E0E0;
}

/* --- IDX Tabs --- */
.idx-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  border-bottom: 2px solid #E0E0E0;
  padding-bottom: 0;
}
.idx-tab {
  padding: 12px 24px;
  background: #F5F5F5;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}
.idx-tab:hover {
  color: #000;
  background: #EDEDED;
}
.idx-tab.active {
  color: #000;
  background: #fff;
  border-bottom-color: #000;
}
.idx-panel {
  display: none;
}
.idx-panel.active {
  display: block;
}
@media (max-width: 768px) {
  .idx-tabs {
    flex-wrap: wrap;
  }
  .idx-tab {
    flex: 1;
    min-width: calc(50% - 4px);
    text-align: center;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* ============================================
   LAKE LIFE PAGE
   ============================================ */

/* Stats Bar */
.stats-bar {
  background: #111111;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}
.stat-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #BFBFBF;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* Image + Content Row */
.section-image-left {
  padding: 0;
}
.lake-life-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.lake-life-image {
  overflow: hidden;
}
.lake-life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lake-life-content {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lake-life-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}
.lake-life-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 16px;
}

/* Full-Bleed Image Sections */
.section-image-full {
  position: relative;
  overflow: hidden;
}
.full-bleed-image-wrap {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.full-bleed-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.full-bleed-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.full-bleed-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  width: 90%;
  max-width: 600px;
}
.full-bleed-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #FFFFFF;
}
.full-bleed-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
}

/* Fishing Cards */
.fishing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fishing-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fishing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.fishing-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}
.fishing-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

/* Marina Cards */
.marinas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.marina-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.marina-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.marina-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}
.marina-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

/* Dining Cards */
.dining-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dining-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dining-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.dining-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}
.dining-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

/* Attraction Cards */
.attractions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.attraction-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.attraction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.attraction-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.attraction-body {
  padding: 28px 24px;
}
.attraction-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}
.attraction-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 12px;
}

/* Event Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.event-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.event-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}
.event-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
}
.section-dark {
  background: #111111;
  color: #FFFFFF;
}
.section-dark h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.section-dark p {
  font-size: 1.1rem;
  color: #CCCCCC;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.btn-primary {
  background: #FFFFFF;
  color: #111111;
  border: 2px solid #FFFFFF;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: transparent;
  color: #FFFFFF;
}

/* Hero full-bleed variant */
.hero-full {
  min-height: 500px;
}

/* Responsive - Lake Life */
@media (max-width: 1024px) {
  .fishing-grid,
  .marinas-grid,
  .dining-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .lake-life-row {
    grid-template-columns: 1fr;
  }
  .lake-life-image {
    height: 300px;
  }
  .lake-life-content {
    padding: 32px 20px;
  }
  .attractions-grid {
    grid-template-columns: 1fr;
  }
  .full-bleed-image-wrap {
    height: 250px;
  }
  .stat-value {
    font-size: 1.8rem;
  }
}
@media (max-width: 480px) {
  .fishing-grid,
  .marinas-grid,
  .dining-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
