/*
Theme Name: Greater Dayton Realty
Theme URI: 
Author: Greater Dayton Realty LLC
Author URI: 
Description: Custom theme for Greater Dayton Realty, built from scratch (no Astra or third-party base) to match the branded property listing system — an aviator-navy and brass identity with a masonry-inspired slab serif, drawn from Dayton's brick neighborhoods and aviation heritage.
Version: 1.0.0
License: GPL v2 or later
Text Domain: gdr-theme
*/

/* -------------------- Reset & base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:root {
    --gdr-navy: #1C2B39;
    --gdr-navy-light: #2E4257;
    --gdr-brass: #A9762F;
    --gdr-brass-dark: #8B5F22;
    --gdr-paper: #F6F3EC;
    --gdr-ink: #2A2A28;
    --gdr-ink-soft: #5B5B56;
    --gdr-line: #DCD5C7;
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gdr-ink);
    background: #fff;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: var(--gdr-navy);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

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

/* -------------------- Header / nav -------------------- */
.gdr-site-header {
    background: var(--gdr-navy);
    border-bottom: 3px solid var(--gdr-brass);
}
.gdr-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gdr-logo { text-decoration: none; display: flex; align-items: center; }
.gdr-logo-text {
    font-family: 'Zilla Slab', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}
.gdr-logo img { max-height: 48px; width: auto; }

.gdr-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.gdr-nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

.gdr-nav-list {
    display: flex;
    gap: 28px;
}
.gdr-nav-list a {
    text-decoration: none;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}
.gdr-nav-list a:hover,
.gdr-nav-list a:focus-visible {
    border-color: var(--gdr-brass);
    color: var(--gdr-brass);
}

@media (max-width: 780px) {
    .gdr-nav-toggle { display: flex; }
    .gdr-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    .gdr-nav.is-open { display: block; }
    .gdr-header-inner { flex-wrap: wrap; }
    .gdr-nav-list { flex-direction: column; gap: 4px; padding: 16px 0; }
}

/* -------------------- Hero (homepage) -------------------- */
.gdr-hero {
    background: linear-gradient(160deg, var(--gdr-navy) 0%, var(--gdr-navy-light) 100%);
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}
.gdr-hero-inner { max-width: 720px; margin: 0 auto; }
.gdr-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gdr-brass);
    margin-bottom: 16px;
}
.gdr-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 16px;
}
.gdr-hero-sub {
    font-size: 1.1rem;
    color: #D8DEE4;
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.gdr-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Reuses .gdr-btn base rules from the plugin stylesheet; a couple of hero-specific size tweaks: */
.gdr-hero-actions .gdr-btn { padding: 14px 30px; font-size: 0.95rem; }

/* -------------------- Sections -------------------- */
.gdr-section { padding: 64px 0; }
.gdr-section-title {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 8px;
}
.gdr-section-sub {
    text-align: center;
    color: var(--gdr-ink-soft);
    margin-bottom: 8px;
}

.gdr-sell-cta {
    background: var(--gdr-paper);
    border-top: 1px solid var(--gdr-line);
    border-bottom: 1px solid var(--gdr-line);
    padding: 56px 0;
}
.gdr-sell-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.gdr-sell-cta h2 { margin-bottom: 6px; }
.gdr-sell-cta p { margin: 0; color: var(--gdr-ink-soft); }

/* -------------------- Generic page content -------------------- */
.gdr-page-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 24px;
}
.gdr-page-article h1 {
    font-size: 2.1rem;
    margin-bottom: 24px;
    border-bottom: 3px solid var(--gdr-brass);
    padding-bottom: 12px;
    display: inline-block;
}
.gdr-page-content { line-height: 1.75; }
.gdr-page-content p { margin: 0 0 1.2em; }

/* Wide variant for pages holding the property grid shortcode. */
.gdr-page-article.gdr-page-wide { max-width: 1100px; }

/* -------------------- Single property page -------------------- */
.gdr-single-property { max-width: 900px; margin: 0 auto; padding: 0 24px 64px; }
.gdr-hero-photo { margin: 0 -24px 24px; }
.gdr-hero-photo img { width: 100%; max-height: 480px; object-fit: cover; }

/* -------------------- Footer -------------------- */
.gdr-site-footer {
    background: var(--gdr-navy);
    color: #C7CDD3;
    margin-top: 64px;
}
.gdr-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.gdr-footer-brand {
    font-family: 'Zilla Slab', serif;
    font-size: 1.15rem;
    color: #fff;
}
.gdr-footer-tagline {
    display: block;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.85rem;
    color: #A8B0B8;
    margin-top: 4px;
}
.gdr-footer-nav-list { display: flex; gap: 20px; flex-wrap: wrap; }
.gdr-footer-nav-list a { text-decoration: none; color: #C7CDD3; font-size: 0.88rem; }
.gdr-footer-nav-list a:hover { color: var(--gdr-brass); }
.gdr-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: #8B939B;
}
