/*
Theme Name: Bedrock Ohio Theme
Theme URI: https://bedrockohio.com
Author: Dane Holman
Author URI: https://bedrockohio.com
Description: Custom theme for Bedrock Technology Partners (bedrockohio.com)
Version: 1.0
Text Domain: bedrock
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1C2733;
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    color: #0f7bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */

.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.site-header > * {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header-inner {
    max-width: 1100px !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* FORCE SHRINK MAIN LOGO */
.site-header img.custom-logo {
    max-height: 30px !important;
    width: auto !important;
}

.site-branding {
	flex: 0 0 auto;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.site-nav {
    flex: 0 0 auto;
    display: flex;
	margin-left: auto;
    justify-content: flex-end;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
}

.site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1C2733;
}

.site-nav a:hover {
    color: #0f7bff;
}

.container {
    width: min(1100px, 100% - 2.5rem);
    margin: 0 auto;
}

/* Hero */

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero-subtitle {
    max-width: 640px;
    font-size: 1.02rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #0f7bff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0d6ae0;
}

.btn-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1C2733;
}

.btn-outline:hover {
    background: #f8fafc;
}

/* Sections */

.section {
    padding: 3.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.section-subtitle {
    color: #64748b;
    max-width: 620px;
}

/* Service cards */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-card p {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.service-meta {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Single service */

.service-hero {
    padding: 4rem 0 2.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #0f172a;
}

.service-hero-overlay {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.25rem;
}

.service-body {
    padding: 2.5rem 0 3rem;
}

.service-cta {
    margin-top: 2.5rem;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #0f172a;
    color: #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.service-cta h3 {
    margin: 0 0 0.4rem;
}

.service-cta p {
    margin: 0;
    max-width: 420px;
}

/* Footer */

.site-footer {
    padding: 2.5rem 1.5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

/* Responsive */

@media (max-width: 768px) {
    .site-nav ul {
        display: none; /* we can later swap to a mobile nav */
    }

    .hero {
        padding-top: 3rem;
    }

    .service-hero-overlay {
        padding: 1.5rem;
    }

    .service-cta {
        align-items: flex-start;
    }
}

/* Typography */
body {
    font-family: 'Montserrat', Arial, sans-serif;
}
.section-title,
.hero-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}
.section-subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #5f6b78;
}

/* Brand colors */
:root {
    --bedrock-blue: #0D4EF8;
    --bedrock-dark: #1C2733;
    --bedrock-light-gray: #f5f7f9;
    --bedrock-border: #dee3e8;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--bedrock-border);
    /*padding: 18px 32px;*/
}
.site-nav a {
    color: var(--bedrock-dark);
    font-weight: 600;
    transition: 0.2s;
}
.site-nav a:hover {
    color: var(--bedrock-blue);
}

/* Hero */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--bedrock-dark);
}
.hero-subtitle {
    color: #5b6571;
    font-size: 1.15rem;
    line-height: 1.55;
}

/* Buttons */
.btn-primary {
    background: var(--bedrock-blue);
    border: none;
    color: #fff;
    transition: 0.25s;
}
.btn-primary:hover {
    background: #0b43d8;
    box-shadow: 0 4px 12px rgba(13, 78, 248, 0.25);
}
.btn-outline {
    border: 1px solid var(--bedrock-border);
}
.btn-outline:hover {
    background: var(--bedrock-light-gray);
}

/* Cards */
.service-card {
    border-radius: 12px;
    border: 1px solid var(--bedrock-border);
    transition: 0.25s;
    background: #ffffff;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 16px rgba(0,0,0,0.08);
    border-color: #d0d6dc;
}
.service-card h3 {
    color: var(--bedrock-dark);
}
.service-card a {
    color: var(--bedrock-blue);
    font-weight: 600;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}
.section-title {
    font-size: 2rem;
}
.section-kicker {
    color: var(--bedrock-blue);
    font-weight: 700;
}

/* Single service hero */
.service-hero-overlay {
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* CTA block */
.service-cta {
    background: linear-gradient(120deg, #1C2733, #0F172A);
    color: #e8ecf1;
    padding: 2rem;
    border-radius: 14px;
}
.service-cta .btn-primary {
    background: var(--bedrock-blue);
}

/* Footer */
.site-footer {
    background: #ffffff;
    color: #7a8391;
    font-size: 0.9rem;
}
.footer-inner strong {
    font-weight: 700;
    color: var(--bedrock-dark);
}
/* MOBILE HEADER OPTIMIZATION */
@media (max-width: 768px) {

    /* shrink header height */
    .site-header {
        padding: 10px 16px;
    }

    /* shrink logo image itself */
    .site-header img.custom-logo {
        max-height: 36px !important;
        width: auto !important;
    }

    /* keep branding clean & tight */
    .site-branding {
        display: flex;
        align-items: center;
    }

    /* if text fallback is used instead of logo */
    .site-branding a {
        font-size: 0.85rem;
        font-weight: 700;
    }
}

@media (min-width: 769px) {
    .site-header img.custom-logo {
        max-height: 52px;
        transition: 0.2s ease;
    }

    .site-header img.custom-logo:hover {
        opacity: 0.88;
    }
}

.site-branding,
.site-nav {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}