/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: #000;
  background: rgba(0,0,0,0.05);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h2 { font-size: 24px; margin-bottom: 20px; }
h3 { font-size: 20px; margin-bottom: 16px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.content-section {
  background: #fff;
  padding: 60px 40px;
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}

.site-header.affix {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  max-width: 200px;
  max-height: 40px;
  object-fit: contain;
}

.logo .logo-dark { display: none; }
.site-header.affix .logo .logo-light { display: none; }
.site-header.affix .logo .logo-dark { display: block; }

/* ===== NAV ===== */
.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav a, .dropdown > .nav-label {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  color: #fff;
  transition: color 0.3s, border-color 0.3s;
  display: block;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover, .dropdown:hover > .nav-label {
  border-bottom-color: currentColor;
}

.main-nav .active > a,
.main-nav .active > .nav-label {
  border-bottom-color: currentColor;
}

.site-header.affix .main-nav a,
.site-header.affix .dropdown > .nav-label {
  color: #000;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 180px;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: #000 !important;
  padding: 10px 20px;
  font-size: 12px;
  white-space: nowrap;
  border-bottom: none !important;
}

.dropdown-menu a:hover {
  background: rgba(0,0,0,0.05);
  border-bottom: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: background 0.3s;
}

.site-header.affix .hamburger span {
  background: #000;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 40px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(168,46,46,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 60px;
  font-weight: 100;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  line-height: 1.1;
  color: #fff;
}

.hero p {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.15s;
}

.btn:hover { opacity: 0.9; }

.btn-primary {
  background: #a82e2e;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ===== AGENT SECTION ===== */
.agent-section {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  padding: 60px 0;
}

.agent-photo {
  flex: 0 0 300px;
}

.agent-photo img {
  width: 300px;
  border-radius: 0;
}

.agent-info {
  flex: 1;
}

.agent-info h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.agent-info .subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 20px;
}

.agent-info .phone {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
}

.agent-info .phone a { color: #a82e2e; }

/* ===== DARK SECTION (bg image) ===== */
.dark-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 80px 40px;
}

.dark-section .dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.dark-section .content-inner {
  position: relative;
  z-index: 1;
}

.dark-section h2 {
  color: #fff;
  margin-bottom: 24px;
}

/* ===== CUSTOM BUILDS BOX ===== */
.builds-box {
  background: rgba(244,247,248,0.9);
  padding: 60px 40px;
  text-align: center;
}

.builds-box p {
  max-width: 700px;
  margin: 0 auto 24px;
}

/* ===== SIGN PHOTO ===== */
.sign-photo {
  text-align: center;
  padding: 40px;
  background: #fff;
}

.sign-photo img {
  max-width: 500px;
  margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.about-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 12px;
}

.gallery-item p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 20px 0;
}

.testimonial .attribution {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  margin-top: 16px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 8px; }

.contact-info p {
  font-size: 15px;
  margin-bottom: 8px;
}

.contact-info .license {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  margin-top: 16px;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a82e2e;
}

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

.contact-form .btn {
  margin-top: 20px;
  width: 100%;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand img {
  max-width: 180px;
  max-height: 40px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links { display: flex; gap: 40px; }

.footer-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255,255,255,0.2); }

.footer-social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: #666;
}

.fair-housing img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(0.6);
}

/* ===== MJ HOLMES BAR ===== */
.mj-holmes-bar {
  background: #2c1810;
  padding: 14px 40px;
  text-align: center;
}

.mj-holmes-bar a {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #c9a96e;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.mj-holmes-bar a:hover { opacity: 0.8; }

.mj-holmes-bar svg {
  width: 16px;
  height: 16px;
  fill: #c9a96e;
}

/* ===== PW FOOTER ===== */
.pw-footer {
  background: #111;
  padding: 16px 40px;
  text-align: center;
}

.pw-footer a {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #888;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.pw-footer a:hover { color: #bbb; }

.pw-footer img {
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.6;
}

/* ===== PLACEHOLDER PAGE ===== */
.placeholder-content {
  text-align: center;
  padding: 100px 40px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h2 { font-size: 40px; }
  
  .agent-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .agent-photo { flex: none; }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
  }
  
  .main-nav.open { display: flex; }
  
  .main-nav a,
  .dropdown > .nav-label {
    color: #000 !important;
    padding: 12px 24px;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }
  
  .dropdown.open .dropdown-menu { display: block; }
  
  .hamburger { display: block; }
  
  .content-section { padding: 40px 20px; }
  .hero { padding: 100px 20px 60px; min-height: 400px; }
  .hero h2 { font-size: 32px; }
  .container { padding: 0 20px; }
}
