/* Advocate Realty Group - Global Styles
   Navy primary + hot pink accent palette */

:root {
  --navy: #0f2a44;
  --navy-dark: #081a2d;
  --navy-light: #1e4168;
  --pink: #e91e63;
  --pink-light: #f06292;
  --pink-dark: #c2185b;
  --cream: #fdf7f9;
  --gray: #5a6470;
  --gray-light: #e8ebef;
  --gray-dark: #2c3440;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(15, 42, 68, 0.08);
  --shadow-lg: 0 10px 40px rgba(15, 42, 68, 0.15);
  --shadow-pink: 0 10px 30px rgba(233, 30, 99, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--navy-dark);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink); }

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

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

/* Skip to content */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: white;
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 10px; top: 10px; color: white; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.logo span { color: var(--pink); }
.logo:hover { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
}
.nav-links a.active { color: var(--pink); }

.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}
.nav-cta:hover {
  background: var(--pink-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background: var(--pink);
  color: var(--white) !important;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(233, 30, 99, 0.35);
  color: var(--white) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(15, 42, 68, 0.7), rgba(8, 26, 45, 0.8)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover;
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent { color: var(--pink-light); }

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto 36px;
  opacity: 0.95;
}

.hero-compact {
  min-height: 45vh;
  padding: 100px 24px 80px;
}

/* Sections */
section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.eyebrow {
  display: inline-block;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-alt { background: var(--cream); }

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

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid var(--pink);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p { color: var(--gray); }

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

.listing-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.listing-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.listing-body { padding: 24px; }

.listing-badge {
  display: inline-block;
  background: var(--pink);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.listing-price {
  color: var(--pink);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.listing-address {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.listing-meta {
  display: flex;
  gap: 18px;
  color: var(--gray);
  font-size: 0.9rem;
  padding-top: 14px;
  border-top: 1px solid var(--gray-light);
}

/* About / content sections */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.two-col h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.two-col p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-number {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--pink);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.testimonial {
  background: var(--cream);
  padding: 32px;
  border-radius: 8px;
  position: relative;
  border-left: 4px solid var(--pink);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 5rem;
  color: var(--pink);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.2;
}

.testimonial-text {
  color: var(--navy-dark);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Contact */
.contact {
  background: var(--navy);
  color: var(--white);
}

.contact h2, .contact .section-title h2 { color: var(--white); }
.contact .section-title p { color: rgba(255,255,255,0.8); }
.contact .eyebrow { color: var(--pink-light); }

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

.contact-info h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item-icon {
  color: var(--pink-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item a { color: rgba(255,255,255,0.9); }
.contact-item a:hover { color: var(--pink-light); }

.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink-light);
}

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

/* Article / blog */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.article-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.article-body p {
  margin-bottom: 18px;
  color: var(--gray-dark);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  color: var(--gray-dark);
}

.article-body li { margin-bottom: 8px; }

.article-meta {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.article-meta span { color: var(--pink); font-weight: 600; }

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

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card img { width: 100%; height: 200px; object-fit: cover; }

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-card-tag {
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }

.blog-card-link {
  color: var(--pink);
  font-weight: 600;
  font-size: 0.95rem;
}
.blog-card-link:hover { color: var(--pink-dark); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--pink) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.cta-banner .btn-primary:hover {
  background: var(--navy);
  color: var(--white) !important;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: inherit;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: var(--pink-light); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }

  .two-col, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col img { height: 300px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-number { font-size: 1.6rem; }
  section { padding: 60px 0; }

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

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