/* ===== HERO ===== */

.hero {
  height: 62vh;
  /*background: url('/images/stephanie-schrimsher.jpg') center/cover no-repeat;*/
  position: relative;
}

.hero-overlay {
  background: rgba(0,0,0,0.45);
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 25px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #d4af37;
  color: #111;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary:hover {
  background: #f0cf68;
}

.btn-secondary {
  background: transparent;
  color: #111;
  padding: 12px 22px;
  border: 1px solid #d4af37;
  border-radius: 999px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #fff;
  color: #111;
}

/* ===== SECTIONS ===== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.intro h2,
.areas h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #111;
}

.intro p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
  line-height: 1.6;
}

/* ===== AREAS GRID ===== */

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.area-card {
  background: #fff;
  padding: 40px 20px;
  text-decoration: none;
  color: #111;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.area-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .area-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ===== CONTACT PAGE ===== */

.contact-hero {
  height: 62vh;
}

.contact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-card {
  text-align: left;
}

.contact-card h3 {
  margin-top: 0;
  color: #111;
}

.contact-card p {
  color: #555;
  line-height: 1.6;
}

.contact-card a {
  color: #111;
  font-weight: 600;
}

.contact-form-section {
  background: #fff;
}

.contact-form {
  max-width: 850px;
  margin: 30px auto 0;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT PAGE ===== */

.about-hero {
  height: 62vh;
}

.about-grid {
  grid-template-columns: repeat(4, 1fr);
}

.about-card {
  text-align: left;
}

.about-card h3 {
  margin-top: 0;
  color: #111;
}

.about-card p {
  color: #555;
  line-height: 1.6;
}

.about-profile {
  background: #fff;
}

.about-profile-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.about-profile-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

.about-profile-content h2 {
  margin-top: 0;
}

.about-profile-content p {
  color: #555;
  line-height: 1.7;
}

.about-profile-content a {
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-profile-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TEAM PAGE ===== */

.team-hero {
  height: 62vh;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 35px;
}

.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.team-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.team-card-content {
  padding: 26px;
}

.team-card h3 {
  margin: 0 0 6px;
  color: #111;
  font-size: 22px;
}

.team-title {
  color: #b9962f !important;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  font-weight: 700;
}

.team-card p {
  color: #555;
  line-height: 1.6;
}

.team-card a {
  color: #111;
  font-weight: 600;
}

.team-values {
  background: #fff;
}

.team-values .area-card {
  text-align: left;
}

.team-values .area-card h3 {
  margin-top: 0;
}

.team-values .area-card p {
  color: #555;
  line-height: 1.6;
}

@media (max-width: 950px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 320px;
  }
}

/* ===== LISTINGS PAGE ===== */

.listings-hero {
  height: 62vh;
}

.listings-grid {
  grid-template-columns: repeat(4, 1fr);
}

.listings-card {
  text-align: left;
}

.listings-card h3 {
  margin-top: 0;
  color: #111;
}

.listings-card p {
  color: #555;
  line-height: 1.6;
}

.listings-help {
  background: #fff;
}

.center-buttons {
  justify-content: center;
  margin-top: 28px;
}

.dark-secondary {
  color: #111;
  border-color: #111;
}

.dark-secondary:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 900px) {
  .listings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LUXURY HERO OPTIMIZATION ===== */

.hero {
  min-height: 64vh;
  height: auto;
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  min-height: 64vh;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.48) 45%,
      rgba(0,0,0,0.22) 100%
    );
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 110px 20px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #fff;
}

.hero p {
  max-width: 620px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

/* Small gold luxury accent above hero title */
.hero-content::before {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-bottom: 24px;
  background: linear-gradient(to right, #d4af37, transparent);
}

/* Mobile */
@media (max-width: 650px) {
  .hero,
  .hero-overlay {
    min-height: 68vh;
  }

  .hero-content {
    padding: 90px 20px;
  }

  .hero h1 {
    line-height: 1.12;
  }

  .hero-buttons a {
    width: 100%;
  }
}

/* ===== AREA SEO PAGE TEMPLATE ===== */

.huntsville-hero {
  min-height: 64vh;
}

.content-narrow {
  max-width: 900px;
  text-align: left;
}

.area-content {
  background: #fff;
}

.area-content h2,
.faq-section h2 {
  margin-top: 36px;
}

.area-content h2:first-child,
.faq-section h2:first-child {
  margin-top: 0;
}

.area-content p,
.area-seo-intro p,
.area-cta p {
  line-height: 1.75;
}

.area-card h3 {
  margin-top: 0;
  color: #111;
}

.area-card p {
  color: #555;
  line-height: 1.6;
}

.faq-section {
  background: #f8f6f1;
}

.faq-list {
  margin-top: 35px;
}

.faq-item {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

.faq-item h3 {
  margin-top: 0;
  color: #111;
}

.faq-item p {
  color: #555;
  line-height: 1.7;
}

.area-cta {
  background: #fff;
}

.relocation-hero {
  min-height: 64vh;
}

.content-narrow {
  max-width: 900px;
  text-align: left;
}

.area-content,
.area-cta {
  background: #fff;
}

.faq-section {
  background: #f8f6f1;
}

.faq-list {
  margin-top: 35px;
}

.faq-item {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

.relocation-hero {
  min-height: 64vh;
}

.content-narrow {
  max-width: 900px;
  text-align: left;
}

.area-content,
.area-cta {
  background: #fff;
}

.faq-section {
  background: #f8f6f1;
}

.faq-list {
  margin-top: 35px;
}

.faq-item {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

/* ===== SEO AREA TEMPLATE ===== */

.area-hero {
  min-height: 64vh;
}

.content-narrow {
  max-width: 900px;
  text-align: left;
}

.area-content,
.area-cta {
  background: #fff;
}

.area-content h2 {
  margin-top: 38px;
}

.area-content h2:first-child {
  margin-top: 0;
}

.area-content p,
.area-seo-intro p,
.area-cta p {
  line-height: 1.75;
}

.faq-section {
  background: #f8f6f1;
}

.faq-list {
  margin-top: 35px;
}

.faq-item {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

.faq-item h3 {
  margin-top: 0;
  color: #111;
}

.faq-item p {
  color: #555;
  line-height: 1.7;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 30px;
  border-radius: 14px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  background: #111;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-table a {
  color: #111;
  font-weight: 600;
}


/* ===== ADMIN DASHBOARD ===== */

.admin-header {
  margin-bottom: 20px;
}

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

/* DASHBOARD CARDS */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.admin-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}

.admin-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #b9962f;
}

.admin-card p {
  font-size: 26px;
  font-weight: 500;
  color: #111;
}

/* QUICK LINKS */
.admin-links a {
  display: inline-block;
  margin-top: 8px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.admin-links a:hover {
  color: #d4af37;
}

/* TABLE IMPROVEMENTS */
.admin-table {
  margin-top: 30px;
}

.admin-table td a {
  text-decoration: none;
}

.admin-table td a:hover {
  color: #d4af37;
}

/* STATUS BADGES */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
}

.status-published {
  background: rgba(0,0,0,0.08);
  color: #111;
}

.status-draft {
  background: rgba(212,175,55,0.2);
  color: #111;
}

.status-noindex {
  background: rgba(200,0,0,0.1);
  color: #900;
}

/* FORM IMPROVEMENTS */
.contact-form h2 {
  margin-top: 40px;
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 14px;
}

/* MOBILE */
@media (max-width: 950px) {
  .admin-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .admin-cards {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   EXPLORE COMMUNITIES
======================================== */

.explore-communities {
    padding: 100px 20px;
    background: #f7f5ee;
}

.explore-communities .section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.explore-communities .section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.explore-communities .eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4af37;
}

.explore-communities h2 {
    font-size: 3rem;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.explore-communities .section-heading p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.community-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.community-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.community-card-content {
    padding: 35px;
}

.community-card h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 18px;
    font-weight: 700;
}

.community-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.community-card-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.community-card:hover .community-card-cta {
    color: #d4af37;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .explore-communities {
        padding: 80px 20px;
    }

    .explore-communities h2 {
        font-size: 2.3rem;
    }

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

    .community-card-content {
        padding: 28px;
    }

}


/* ===== FULL WIDTH IDX MAP PAGE ===== */

.idx-fullwidth-section {
  background: #fff;
  padding: 0;
  margin: 0;
}

.idx-map-topbar {
  width: 100%;
  padding: 24px 32px;
  background: #f8f6f1;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.idx-map-topbar h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #111;
}

.idx-map-topbar p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.idx-back-link {
  white-space: nowrap;
  text-decoration: none;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.idx-back-link:hover {
  background: #111;
  color: #fff;
}

.idx-widget-fullwidth {
  width: 100%;
  min-height: 1200px;
  background: #fff;
  overflow: hidden;
}

.idx-widget-fullwidth iframe {
    width: 100% !important;
    height: 1200px !important;
    min-height: 1200px !important;
    border: 0;
}

@media (max-width: 800px) {
  .idx-map-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .idx-back-link {
    width: 100%;
    text-align: center;
  }

  .idx-widget-fullwidth {
    min-height: 620px;
  }
}

.idx-widget-fullwidth {
    width: 100%;
    min-height: calc(100vh - 120px);
}

.idx-widget-fullwidth iframe {
    width: 100% !important;
    height: calc(100vh - 120px) !important;
    min-height: calc(100vh - 120px) !important;
}
