/* ============================================================
   Angela Pohl Realty — Main Stylesheet
   Colors derived from AngieLogo.png
   ============================================================ */

:root {
  --sage:        #c8dcb4;
  --sage-deep:   #8aab78;
  --sage-dark:   #5a7a52;
  --mauve:       #b4788c;
  --mauve-dark:  #8c5068;
  --mauve-light: #d4a0b0;
  --off-white:   #f7f5f0;
  --cream:       #faf8f4;
  --dark-text:   #2e2e2e;
  --mid-text:    #555555;
  --light-text:  #888888;
  --white:       #ffffff;
  --border:      #ddd8d0;
  --shadow:      rgba(90,122,82,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--dark-text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Georgia', serif;
  color: var(--sage-dark);
  line-height: 1.3;
}

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

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

p { margin-bottom: 1rem; }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--off-white); }

/* ── Navigation ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--sage);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px var(--shadow);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  color: var(--sage-dark);
  font-weight: bold;
  line-height: 1.2;
}

.nav-logo-tag {
  font-size: 0.72rem;
  color: var(--mauve);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--dark-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mauve);
  border-bottom-color: var(--mauve);
}

.nav-cta {
  background: var(--mauve) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 24px !important;
  border-bottom: none !important;
}

.nav-cta:hover { background: var(--mauve-dark) !important; }

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--sage-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--off-white) 60%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(180,120,140,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mauve);
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--sage-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 em {
  color: var(--mauve);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--mid-text);
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(90,122,82,0.22);
  object-fit: cover;
  aspect-ratio: 3/4;
  margin: 0 auto;
}

.hero-photo-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 4px 16px var(--shadow);
  font-size: 0.82rem;
  color: var(--mid-text);
  font-family: 'Arial', sans-serif;
}

.hero-photo-badge strong {
  display: block;
  color: var(--sage-dark);
  font-size: 0.95rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--mauve);
  color: var(--white);
  border-color: var(--mauve);
}

.btn-primary:hover {
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.btn-outline:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.btn-sage {
  background: var(--sage-deep);
  color: var(--white);
  border-color: var(--sage-deep);
}

.btn-sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

/* ── Section Headings ── */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--mid-text);
  max-width: 560px;
  margin: 0 auto;
}

.section-heading .eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mauve);
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px var(--shadow);
}

.card-body { padding: 24px; }

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

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

.blog-card .card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.blog-card .post-date {
  font-size: 0.78rem;
  color: var(--mauve);
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--mid-text);
  margin-bottom: 16px;
}

.blog-card .read-more {
  font-size: 0.85rem;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: var(--mauve);
}

/* ── Single Post ── */
.post-header-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--light-text);
  font-family: 'Arial', sans-serif;
  margin-bottom: 24px;
}

.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { font-size: 1.5rem; margin: 28px 0 12px; }
.post-body h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.post-body ul, .post-body ol { margin: 0 0 1rem 1.5rem; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote {
  border-left: 4px solid var(--sage-deep);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--off-white);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--mid-text);
}

/* ── Feature Strip ── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-item .icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--mid-text); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.85rem;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(138,171,120,0.2);
}

textarea { resize: vertical; min-height: 120px; }

/* ── Pill / Badge ── */
.pill {
  display: inline-block;
  background: var(--sage);
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pill-mauve {
  background: var(--mauve-light);
  color: var(--mauve-dark);
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--mauve);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Footer ── */
.site-footer {
  background: var(--sage-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}

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

.footer-brand img { height: 64px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.footer-col h4 {
  color: var(--sage);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: 'Arial', sans-serif;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--sage); }

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

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}
.footer-bottom a:hover { color: var(--sage); }

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  line-height: 1.6;
}

/* ── Testimonial Cards ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px var(--shadow);
  border-top: 4px solid var(--mauve);
}

.testimonial-stars {
  color: var(--mauve);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-style: italic;
  color: var(--mid-text);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-author {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage-dark);
}

/* ── Contact Layout ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { font-size: 1.4rem; margin-bottom: 20px; }

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

.contact-detail .icon {
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail p { margin: 0; font-size: 0.95rem; }
.contact-detail strong { display: block; color: var(--sage-dark); font-family: 'Arial', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--off-white) 100%);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 { font-size: 2.2rem; margin-bottom: 12px; }
.page-hero p { color: var(--mid-text); max-width: 560px; margin: 0 auto; }

/* ── Admin Panel ── */
.admin-wrap {
  max-width: 800px;
  margin: 48px auto;
  padding: 0 24px;
}

.admin-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 6px 28px var(--shadow);
  border-top: 5px solid var(--sage-deep);
}

.admin-card h2 { margin-bottom: 28px; }

.admin-post-list { list-style: none; margin-top: 32px; }
.admin-post-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.admin-post-list .post-actions { display: flex; gap: 10px; }
.admin-post-list .post-actions a {
  font-size: 0.8rem;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  border: 1.5px solid;
}

.btn-edit { color: var(--sage-dark); border-color: var(--sage-deep); }
.btn-edit:hover { background: var(--sage-deep); color: var(--white); }
.btn-delete { color: var(--mauve-dark); border-color: var(--mauve); }
.btn-delete:hover { background: var(--mauve); color: var(--white); }

.alert {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
}
.alert-success { background: #e8f5e2; color: #3a6e30; border: 1px solid #b8d9a8; }
.alert-error   { background: #fde8ee; color: #8c2040; border: 1px solid #f0b0c0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .feature-strip { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px 24px; border-bottom: 2px solid var(--sage); box-shadow: 0 8px 24px var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
