/* =========================================
   Brenda Bushey Beer – Real Estate Website
   optF — "Warm Editorial" Design Variant
   ========================================= */

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

:root {
  --teal:        #1a4d4a;
  --teal-light:  #2a6d6a;
  --teal-dark:   #0f3533;
  --copper:      #c87f5f;
  --copper-light:#d9a088;
  --copper-dark: #a66040;
  --cream:       #f7f3ee;
  --cream-dark:  #ede6db;
  --gray-100:    #f2eee8;
  --gray-200:    #e4ddd3;
  --gray-400:    #9a9088;
  --gray-500:    #7a7268;
  --gray-700:    #3a3833;
  --white:       #FFFFFF;
  --charcoal:    #222020;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --section-py: 110px;
  --container-max: 1200px;
  --nav-h: 76px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 30px rgba(26,77,74,0.08);
  --shadow-hover: 0 12px 50px rgba(26,77,74,0.15);
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.04);
  --transition: 0.4s cubic-bezier(0.25,0.4,0.25,1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.25; }
em { font-style: italic; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 34px; border: 2px solid transparent;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-primary:hover { background: var(--copper-dark); border-color: var(--copper-dark); box-shadow: 0 8px 24px rgba(200,127,95,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-light:hover { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================== NAVIGATION ============================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.navbar.scrolled {
  background: rgba(247,243,238,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06); height: 64px;
}
.navbar.scrolled .logo-name { color: var(--teal); }
.navbar.scrolled .logo-tagline { color: var(--copper); }
.navbar.scrolled .nav-link { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover { color: var(--copper); }
.navbar.scrolled .nav-cta { color: var(--copper); border-color: var(--copper); }
.navbar.scrolled .nav-cta:hover { background: var(--copper); color: var(--white); }
.navbar.scrolled .nav-toggle span { background: var(--teal); }

.nav-container { max-width: var(--container-max); width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-serif); font-size: 21px; color: var(--white); letter-spacing: 0.02em; transition: color var(--transition); }
.logo-tagline { font-family: var(--font-sans); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper-light); transition: color var(--transition); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); transition: color var(--transition);
  position: relative;
}
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--copper); border-radius: 2px; transition: width var(--transition); }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta { color: var(--copper-light) !important; border: 1px solid var(--copper-light); padding: 8px 20px; border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition), border-color var(--transition) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--copper) !important; color: var(--white) !important; border-color: var(--copper) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all var(--transition); }

/* ============================== HERO (split-screen) ============================== */
.hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--teal-dark);
}
.hero-visual {
  position: relative; overflow: hidden;
  background: url('img/hero-bg.jpg') center center / cover no-repeat;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,53,51,0.3) 0%, rgba(15,53,51,0) 50%);
}
.hero-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 64px 80px;
  background: var(--teal-dark);
  position: relative;
}
.hero-panel::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 100%);
}
.hero-content { position: relative; z-index: 2; animation: fadeRight 1s ease both; }
@keyframes fadeRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.hero-eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--copper-light); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--copper-light); }
.hero-title {
  font-family: var(--font-serif); font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400; color: var(--white); margin-bottom: 28px; line-height: 1.15;
}
.hero-title em { color: var(--copper-light); font-style: italic; }
.hero-subtitle {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.7);
  margin-bottom: 44px; line-height: 1.9; max-width: 460px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 64px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.4); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  animation: float 2.5s infinite ease-in-out;
}
.hero-scroll-hint i { font-size: 12px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ============================== STATS BANNER ============================== */
.stats-banner { background: var(--teal); padding: 44px 32px; }
.stats-container { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 16px 48px; position: relative; }
.stat-value { display: inline-flex; align-items: baseline; line-height: 1; }
.stat-number { font-family: var(--font-serif); font-size: 50px; font-weight: 400; color: var(--copper-light); line-height: 1; }
.stat-prefix, .stat-suffix { font-family: var(--font-serif); font-size: 28px; color: var(--copper-light); }
.stat-prefix { margin-right: 2px; }
.stat-suffix { margin-left: 2px; }
.stat-label { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 8px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.12); }

/* ============================== SECTIONS SHARED ============================== */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--gray-100); }

.section-eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--copper); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px);
  font-weight: 400; color: var(--teal); margin-bottom: 20px;
}
.section-desc { font-size: 16px; font-weight: 300; color: var(--gray-500); max-width: 560px; margin: 0 auto; }
.section-header.center { text-align: center; margin-bottom: 64px; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ============================== ABOUT ============================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.about-image-frame::before {
  content: ''; position: absolute; top: -12px; left: -12px;
  right: 12px; bottom: 12px; border: 2px solid var(--copper);
  border-radius: var(--radius); z-index: -1;
}
.about-photo { width: 100%; height: 560px; object-fit: cover; object-position: top; }
.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--teal); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; box-shadow: var(--shadow-card);
}
.about-badge i { font-size: 26px; color: var(--copper-light); }
.about-content .section-title { margin-bottom: 24px; }
.about-text { font-size: 15px; color: var(--gray-500); margin-bottom: 18px; font-weight: 300; line-height: 1.85; }
.about-highlights { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.about-highlights li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-700); }
.about-highlights li i {
  color: var(--copper); font-size: 13px; flex-shrink: 0;
  width: 22px; height: 22px; background: rgba(200,127,95,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ============================== SERVICES ============================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--copper-light); }
.service-icon {
  width: 54px; height: 54px; background: rgba(200,127,95,0.1);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--copper); margin-bottom: 24px;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon { background: var(--copper); color: var(--white); }
.service-card h3 { font-family: var(--font-serif); font-size: 22px; color: var(--teal); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.8; margin-bottom: 24px; font-weight: 300; }
.service-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--copper); display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 14px; }

/* ============================== LISTINGS ============================== */
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 52px; }
.listing-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.listing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.listing-image { position: relative; }
.listing-img-placeholder { height: 240px; background: var(--gray-200); }
.listing-img-1 { background: linear-gradient(135deg, #1a4d4a 0%, #2a6d6a 100%); }
.listing-img-2 { background: linear-gradient(135deg, #c87f5f 0%, #d9a088 100%); }
.listing-img-3 { background: linear-gradient(135deg, #3a3833 0%, #7a7268 100%); }

.listing-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--copper); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
}
.listing-badge-new { background: #2d8a4e; }
.listing-badge-sold { background: var(--teal); }

.listing-body { padding: 28px; }
.listing-price { font-family: var(--font-serif); font-size: 26px; color: var(--teal); margin-bottom: 6px; }
.listing-address { font-family: var(--font-serif); font-size: 18px; color: var(--teal); margin-bottom: 6px; font-weight: 400; }
.listing-location { font-size: 13px; color: var(--gray-500); margin-bottom: 18px; display: flex; align-items: center; gap: 6px; }
.listing-location i { color: var(--copper); }
.listing-specs { display: flex; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.listing-specs span { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
.listing-specs i { color: var(--copper); font-size: 12px; }
.listing-card .btn-outline { color: var(--teal); border-color: var(--teal); }
.listing-card .btn-outline:hover { background: var(--teal); color: var(--white); }
.listings-cta { text-align: center; }

/* ============================== TESTIMONIALS ============================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 32px; border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"'; font-family: var(--font-serif); font-size: 90px;
  color: rgba(200,127,95,0.12); position: absolute; top: 10px; left: 20px; line-height: 1;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.testimonial-stars { color: var(--copper); font-size: 13px; letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-card blockquote {
  font-family: var(--font-serif); font-size: 17px; font-style: italic;
  color: var(--gray-700); line-height: 1.7; margin-bottom: 28px; font-weight: 400;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--teal); font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--gray-500); }

/* ============================== CTA STRIP ============================== */
.cta-strip { background: var(--teal-dark); padding: 72px 32px; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 40px); color: var(--white); margin-bottom: 8px; }
.cta-strip p { font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300; }

/* ============================== CONTACT ============================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.contact-info .section-title { margin-bottom: 20px; }
.contact-text { font-size: 15px; color: var(--gray-500); line-height: 1.85; font-weight: 300; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.contact-details li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; background: rgba(200,127,95,0.1);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: var(--copper); font-size: 16px; flex-shrink: 0;
}
.contact-details strong { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; }
.contact-details a, .contact-details span { font-size: 15px; color: var(--teal); font-weight: 500; }
.contact-details a:hover { color: var(--copper); }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 42px; height: 42px; border: 1px solid var(--gray-200);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--gray-500); transition: all var(--transition);
}
.social-link:hover { background: var(--copper); color: var(--white); border-color: var(--copper); }

.contact-form {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 48px 40px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-soft);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-sans); font-size: 14px; color: var(--teal);
  background: var(--cream); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 14px 18px;
  transition: border-color var(--transition), box-shadow var(--transition); outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--copper); box-shadow: 0 0 0 3px rgba(200,127,95,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  color: #2d8a4e; font-size: 14px; font-weight: 500; padding: 16px;
  background: #f0fdf4; border-radius: var(--radius-sm); border: 1px solid #bbf7d0;
}

/* ============================== FOOTER ============================== */
.footer { background: var(--charcoal); padding: 52px 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand .logo-name { color: var(--white); font-size: 18px; }
.footer-brand .logo-tagline { color: var(--copper-light); }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 10px; line-height: 1.7; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-nav a:hover { color: var(--copper-light); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.45); transition: all var(--transition);
}
.footer-social a:hover { background: var(--copper); color: var(--white); border-color: var(--copper); }

/* ============================== SCROLL ANIMATIONS ============================== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-panel { padding: 120px 48px 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image-frame { max-width: 480px; margin: 0 auto; }
  .about-photo { height: 400px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 768px) {
  :root { --section-py: 68px; }
  .navbar { padding: 0 20px; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--teal-dark); flex-direction: column;
    justify-content: center; align-items: center; gap: 32px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 16px; color: var(--white); }
  .nav-link::after { background: var(--copper); }
  .nav-cta { color: var(--copper-light); border-color: var(--copper-light); }
  .nav-toggle { display: flex; flex-direction: column; z-index: 1001; }
  .stat-item { padding: 12px 24px; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .cta-strip-inner { text-align: center; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-social { justify-content: center; }
  .hero-panel { padding: 110px 24px 60px; }
  .hero-scroll-hint { left: 24px; }
  .about-badge { bottom: -10px; right: 10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
