/* ==========================================================================
Janet Glaude Realtor - Shared Stylesheet
Palette: Howard Hanna Forest #0E3A32, Harvest Gold #B88128, Linen #ECE9D3, White #FFFFFF
========================================================================== */

:root {
--navy: #0e3a32;
--navy-light: #1a5347;
--navy-deep: #081f1a;
--gold: #b88128;
--gold-light: #dbcfa7;
--gold-deep: #96691c;
--cream: #ece9d3;
--white: #ffffff;
--text: #2b2b2b;
--text-light: #6b6b6b;
--border: #dcd0b8;
--shadow: 0 10px 30px rgba(14, 58, 50, 0.1);
--shadow-lg: 0 24px 60px rgba(14, 58, 50, 0.16);
--shadow-gold: 0 14px 30px rgba(184, 129, 40, 0.28);
--radius: 14px;
--radius-sm: 8px;
}

* { box-sizing: border-box; }

body {
margin: 0;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
color: var(--text);
background: var(--white);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
font-family: 'Playfair Display', Georgia, serif;
color: var(--navy);
line-height: 1.18;
margin-top: 0;
letter-spacing: 0.2px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Reveal-on-scroll (progressive enhancement, safe without JS) ---------- */
.reveal {
opacity: 0;
transform: translateY(18px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header / Nav ---------- */
header.site-header {
background: var(--navy);
padding: 18px 0;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 12px rgba(0,0,0,0.15);
transition: box-shadow 0.3s ease, padding 0.3s ease;
border-bottom: 1px solid rgba(219, 207, 167, 0.15);
}
header.site-header.is-scrolled {
box-shadow: 0 8px 26px rgba(0,0,0,0.28);
padding: 12px 0;
}

.nav-wrap {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}

.logo {
color: var(--white);
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
letter-spacing: 0.5px;
white-space: nowrap;
}
.logo span { color: var(--gold-light); }

nav.main-nav ul {
list-style: none;
display: flex;
gap: 28px;
margin: 0;
padding: 0;
align-items: center;
}

nav.main-nav a {
color: var(--white);
font-size: 0.95rem;
font-weight: 500;
letter-spacing: 0.3px;
position: relative;
transition: color 0.2s;
padding-bottom: 4px;
}
nav.main-nav a:not(.nav-cta)::after {
content: '';
position: absolute;
left: 0; right: 100%;
bottom: 0;
height: 2px;
background: var(--gold);
transition: right 0.25s ease;
}
nav.main-nav a:not(.nav-cta):hover::after { right: 0; }
nav.main-nav a:hover { color: var(--gold-light); }

.nav-cta {
background: var(--gold);
color: var(--navy) !important;
padding: 10px 22px;
border-radius: 30px;
font-weight: 600;
box-shadow: 0 6px 16px rgba(184, 129, 40, 0.35);
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(184, 129, 40, 0.4); }

/* Hamburger toggle (mobile) */
.menu-toggle {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 5px;
width: 38px;
height: 38px;
background: none;
border: none;
cursor: pointer;
padding: 0;
z-index: 20;
}
.menu-toggle span {
display: block;
width: 24px;
height: 2px;
background: var(--white);
border-radius: 2px;
transition: transform 0.28s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
display: inline-block;
padding: 15px 32px;
border-radius: 30px;
font-weight: 600;
letter-spacing: 0.3px;
transition: all 0.25s ease;
cursor: pointer;
border: 2px solid transparent;
}
.btn-primary {
background: var(--gold);
color: var(--navy);
box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(184, 129, 40, 0.38); }

.btn-outline {
border-color: rgba(255,255,255,0.7);
color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-3px); }

.btn-outline-navy {
border-color: var(--navy);
color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero {
position: relative;
background: linear-gradient(165deg, #fdfcf8 0%, var(--cream) 55%, #f3ecd9 100%);
color: var(--text);
padding: 120px 0 90px;
text-align: center;
overflow: hidden;
border-bottom: 1px solid var(--border);
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 12% 15%, rgba(184, 129, 40, 0.12) 0%, transparent 45%),
radial-gradient(circle at 88% 85%, rgba(14, 58, 50, 0.08) 0%, transparent 50%);
pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
color: var(--navy);
font-size: 3.3rem;
max-width: 820px;
margin: 0 auto 20px;
font-weight: 700;
}
.hero p.subtitle {
font-size: 1.22rem;
color: var(--text-light);
max-width: 620px;
margin: 0 auto 40px;
}
.hero-buttons {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}

/* Trust bar (stats / social proof strip) */
.trust-bar {
position: relative;
z-index: 1;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 14px;
margin-top: 46px;
}
.trust-chip {
display: flex;
align-items: baseline;
gap: 8px;
background: var(--white);
border: 1px solid var(--border);
box-shadow: var(--shadow);
padding: 12px 22px;
border-radius: 30px;
font-size: 0.9rem;
color: var(--text-light);
}
.trust-chip strong {
font-family: 'Playfair Display', serif;
color: var(--gold-deep);
font-size: 1.15rem;
}

.page-hero {
position: relative;
background: linear-gradient(165deg, #fdfcf8 0%, var(--cream) 100%);
color: var(--text);
padding: 68px 0;
text-align: center;
overflow: hidden;
border-bottom: 1px solid var(--border);
}
.page-hero::before {
content: '';
position: absolute;
inset: 0;
background-image: radial-gradient(circle at 80% 20%, rgba(184, 129, 40, 0.1) 0%, transparent 45%);
pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--navy); font-size: 2.5rem; }
.page-hero p { color: var(--text-light); max-width: 600px; margin: 10px auto 0; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--cream); }
.section-title {
text-align: center;
margin-bottom: 54px;
}
.section-title h2 { font-size: 2.3rem; margin-bottom: 14px; }
.section-title p { color: var(--text-light); max-width: 560px; margin: 0 auto; }
.eyebrow {
color: var(--gold-deep);
font-weight: 700;
letter-spacing: 2.5px;
text-transform: uppercase;
font-size: 0.78rem;
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
}
.eyebrow::before {
content: '';
width: 26px;
height: 2px;
background: var(--gold);
display: inline-block;
}
.cta-band .eyebrow::before { background: var(--gold-light); }
.cta-band .eyebrow { color: var(--gold-light); }

/* ---------- Cards ---------- */
.grid {
display: grid;
gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
background: var(--white);
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow);
border: 1px solid var(--border);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img {
width: 100%;
height: 230px;
background: linear-gradient(135deg, var(--border), var(--cream));
display: flex;
align-items: center;
justify-content: center;
color: var(--text-light);
font-size: 0.9rem;
transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body .price {
color: var(--gold-deep);
font-weight: 700;
font-size: 1.15rem;
margin-bottom: 10px;
display: inline-block;
padding-bottom: 3px;
border-bottom: 2px solid var(--gold-light);
}
.card-body .meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 18px; }
.card-body .tag {
display: inline-block;
background: var(--navy);
color: var(--gold-light);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.6px;
text-transform: uppercase;
padding: 5px 12px;
border-radius: 20px;
margin-bottom: 14px;
}

/* ---------- Testimonials ---------- */
.testimonial {
position: relative;
background: var(--white);
border-radius: var(--radius);
padding: 32px 28px 28px;
box-shadow: var(--shadow);
border: 1px solid var(--border);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial::before {
content: '\201C';
position: absolute;
top: 6px;
right: 20px;
font-family: 'Playfair Display', serif;
font-size: 3.4rem;
color: var(--gold-light);
line-height: 1;
opacity: 0.8;
}
.testimonial .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p.quote { font-style: italic; color: var(--text); margin-bottom: 16px; position: relative; z-index: 1; }
.testimonial .author { font-weight: 700; color: var(--navy); }
.testimonial .source { color: var(--text-light); font-size: 0.85rem; }

/* ---------- Video embed ---------- */
.video-wrap {
position: relative;
padding-bottom: 56.25%;
height: 0;
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow);
}
.video-wrap iframe {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
border: 0;
}

/* ---------- Forms ---------- */
form.contact-form {
display: grid;
gap: 18px;
max-width: 600px;
}
form.contact-form label {
font-weight: 600;
font-size: 0.9rem;
color: var(--navy);
margin-bottom: 6px;
display: block;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
width: 100%;
padding: 13px 16px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
font-family: inherit;
font-size: 1rem;
background: var(--white);
transition: border-color 0.2s, box-shadow 0.2s;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
outline: none;
border-color: var(--gold);
box-shadow: 0 0 0 4px rgba(184, 129, 40, 0.14);
}
form.contact-form button { justify-self: start; }

/* ---------- Socials ---------- */
.social-row {
display: flex;
gap: 14px;
flex-wrap: wrap;
}
.social-pill {
display: flex;
align-items: center;
gap: 8px;
background: var(--navy);
color: var(--white);
padding: 12px 22px;
border-radius: 30px;
font-weight: 600;
font-size: 0.9rem;
transition: background 0.2s, transform 0.2s;
}
.social-pill:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ---------- Blog ---------- */
.blog-card .card-body .date { color: var(--text-light); font-size: 0.85rem; margin-bottom: 8px; }
.post-body {
max-width: 720px;
margin: 0 auto;
}
.post-body p { margin-bottom: 20px; font-size: 1.05rem; }
.post-body h2 { margin-top: 40px; margin-bottom: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
position: relative;
background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
color: var(--white);
text-align: center;
padding: 78px 0;
overflow: hidden;
}
.cta-band::before {
content: '';
position: absolute;
inset: 0;
background-image: radial-gradient(circle at 20% 30%, rgba(184, 129, 40, 0.16) 0%, transparent 45%);
pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gold-light); margin-bottom: 32px; }

/* ---------- Footer ---------- */
footer.site-footer {
position: relative;
background: var(--navy-deep);
color: rgba(255,255,255,0.75);
padding: 64px 0 30px;
font-size: 0.9rem;
}
footer.site-footer::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
}
footer.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.3px; }
footer.site-footer a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 30px;
margin-bottom: 40px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 24px;
font-size: 0.8rem;
color: rgba(255,255,255,0.5);
text-align: center;
line-height: 1.7;
}
.footer-bottom strong { color: rgba(255,255,255,0.7); }

/* ---------- Placeholder highlight ---------- */
.placeholder {
background: #fff3cd;
color: #7a5c00;
padding: 1px 6px;
border-radius: 4px;
font-size: 0.85em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: 2.3rem; }
}
@media (max-width: 860px) {
.menu-toggle { display: flex; }
nav.main-nav {
position: absolute;
top: calc(100% + 18px);
left: -24px;
right: -24px;
background: var(--navy);
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease;
box-shadow: 0 18px 30px rgba(0,0,0,0.25);
border-top: 1px solid rgba(219, 207, 167, 0.15);
}
nav.main-nav.is-open { max-height: 640px; }
nav.main-nav ul {
flex-direction: column;
align-items: stretch;
gap: 0;
padding: 8px 24px 22px;
}
nav.main-nav li { border-top: 1px solid rgba(255,255,255,0.08); }
nav.main-nav li:first-child { border-top: none; }
nav.main-nav a { display: block; padding: 15px 2px; }
nav.main-nav a:not(.nav-cta)::after { display: none; }
.nav-cta { display: inline-block; margin: 14px 2px 4px; text-align: center; }
}
@media (max-width: 700px) {
.footer-grid { grid-template-columns: 1fr; }
.hero { padding: 90px 0 70px; }
.trust-bar { gap: 10px; }
.trust-chip { padding: 10px 16px; font-size: 0.82rem; }
}
