/* ============================================================
   Ball & Chaney Honey-Do Services — styles.css
   ============================================================ */

:root {
    /* Old Glory red/white/blue */
    --navy-950: #071d3a;
    --navy-900: #0a2a52;
    --navy-800: #0a3161;
    --navy-700: #14498c;
    --navy-600: #1e5cad;
    --navy-100: #e3ebf5;
    --navy-50:  #eef3f9;
    --cream:     #f8f9fb;
    --red:       #c8102e;
    --red-dark:  #9e0c24;
    --red-light: #f4586e;
    --ink:       #1c2330;
    --muted:     #5a6472;
    --line:      #dbe2ea;
    --white:     #ffffff;
    --radius:    12px;
    --shadow-sm: 0 1px 3px rgba(7, 29, 58, 0.08);
    --shadow-md: 0 6px 20px rgba(7, 29, 58, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Bitter', Georgia, serif;
    line-height: 1.2;
    color: var(--navy-900);
}

img, svg {
    max-width: 100%;
}

.container {
    width: min(92%, 1120px);
    margin: 0 auto;
}

/* ---------- Header ---------- */

.header {
    background-color: var(--navy-950);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--red);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
}

.logo-mark {
    flex-shrink: 0;
    width: auto;
    height: 52px;
}

.logo h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
}

.tagline {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red-light);
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.navbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.navbar a:hover {
    color: var(--white);
}

.navbar a.active {
    color: var(--white);
    border-bottom-color: var(--red-light);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: var(--navy-800);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: background-color 0.2s;
}

.header-phone:hover {
    background-color: var(--navy-700);
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

.header-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    transition: color 0.2s, border-color 0.2s;
}

.header-email:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.header-email svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    /* keep the header to one tidy row on mid-size screens */
    .header-email {
        display: none;
    }
}

@media (max-width: 720px) {
    /* stacked mobile header has room again */
    .header-email {
        display: inline-flex;
    }
}

/* ---------- Hero ---------- */

.hero {
    background-color: var(--navy-900);
    background-image:
        radial-gradient(ellipse at 20% -20%, rgba(200, 16, 46, 0.25), transparent 55%),
        radial-gradient(ellipse at 90% 110%, rgba(30, 92, 173, 0.45), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    padding: 5.5rem 0 6.5rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    /* subtle grass silhouette along the bottom edge */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 38 Q30 20 45 40 Q60 12 80 38 Q95 22 110 42 Q130 8 150 40 Q165 25 180 42 Q200 14 220 40 Q238 24 255 43 Q275 10 295 40 Q310 26 325 43 Q345 15 365 41 Q382 24 400 43 Q420 9 440 40 Q455 25 470 42 Q490 13 510 40 Q527 23 545 42 Q565 11 585 40 Q600 26 615 43 Q635 16 655 41 Q672 24 690 42 Q710 10 730 40 Q745 25 760 43 Q780 14 800 40 Q818 23 835 42 Q855 12 875 40 Q890 26 905 43 Q925 15 945 41 Q962 24 980 42 Q1000 9 1020 40 Q1035 25 1050 43 Q1070 13 1090 40 Q1107 22 1125 42 Q1145 11 1165 40 Q1180 24 1200 38 L1200 60 Z' fill='%23f8f9fb'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

.hero-content {
    max-width: 640px;
}

.kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-content > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    background-color: var(--red-dark);
}

.btn-secondary {
    background-color: var(--navy-700);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--navy-600);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Trust bar ---------- */

.trust-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0;
}

.trust-bar .container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-800);
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--red-dark);
    flex-shrink: 0;
}

/* ---------- Section scaffolding ---------- */

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background-color: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.section-head h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.section-head p {
    color: var(--muted);
}

/* ---------- Service cards ---------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.25rem 1.9rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--navy-100);
    color: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.text-center {
    text-align: center;
}

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item figcaption {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-800);
}

/* ---------- Why choose us ---------- */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-item svg {
    width: 26px;
    height: 26px;
    color: var(--navy-700);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.why-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.why-item p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.9rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.testimonial-stars {
    color: var(--red);
    display: flex;
    gap: 0.2rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1rem;
    color: var(--ink);
    flex: 1;
}

.testimonial-card blockquote::before {
    content: "\201C";
}

.testimonial-card blockquote::after {
    content: "\201D";
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--navy-800);
    font-size: 0.95rem;
}

.testimonial-card cite span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 0.85rem;
}

.testimonial-invite {
    flex: 1;
    color: var(--ink);
}

/* ---------- About owners ---------- */

.about-owners {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.about-owners img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--red);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.about-owners h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.about-owners p {
    color: var(--muted);
}

@media (max-width: 640px) {
    .about-owners {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ---------- CTA section ---------- */

.cta-section {
    background-color: var(--navy-900);
    background-image: linear-gradient(150deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.footer {
    background-color: var(--navy-950);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer a:hover {
    color: var(--red-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
}

.footer-logo p {
    font-size: 0.9rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
}

.footer-list svg {
    width: 16px;
    height: 16px;
    color: var(--red-light);
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Inner-page header ---------- */

.page-header {
    background-color: var(--navy-900);
    background-image: linear-gradient(150deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    text-align: center;
    padding: 3.5rem 0;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: 0.6rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- Services page ---------- */

.service-detail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.service-panel {
    background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    min-height: 220px;
    position: relative;
    overflow: hidden;
    align-self: stretch;
}

.service-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-panel svg {
    width: 88px;
    height: 88px;
    opacity: 0.95;
}

.service-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-content > p {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.service-content ul {
    list-style: none;
    margin-top: 0.5rem;
}

.service-content li {
    padding-left: 1.7rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ---------- Contact page ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.25rem 1.9rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card .service-icon {
    margin: 0 auto 1.25rem;
}

.contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.contact-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
}

.contact-link {
    font-weight: 600;
    color: var(--navy-700);
    text-decoration: none;
    font-size: 1.05rem;
    word-break: break-word;
}

.contact-link:hover {
    color: var(--navy-900);
    text-decoration: underline;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .service-detail {
        grid-template-columns: 1fr;
        padding: 1.75rem;
    }

    .service-panel {
        min-height: 150px;
    }

    .service-panel svg {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 720px) {
    .header .container {
        flex-direction: column;
        text-align: center;
        padding: 0.9rem 0 1.1rem;
    }

    .header-right {
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 3.5rem 0 5rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-bar .container {
        gap: 1rem 2rem;
    }

    .section {
        padding: 3rem 0;
    }
}
