/*
Theme Name: James Base Theme
Theme URI: https://example.com/
Author: James Shingleton
Author URI: https://example.com/
Description: Minimal base theme for small business one-page sites. Clean one-page layout ideal for local service businesses.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: james-base-theme
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background-color: #f9fafb;
    line-height: 1.6;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: #0f172a;
    color: #f9fafb;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.site-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.site-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

.hero {
    padding: 2.5rem 0 2rem;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 34rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.hero-highlight {
    background: #0f172a;
    color: #e5e7eb;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    font-size: 0.9rem;
}

.hero-highlight strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.hero-contact-card {
    background: #111827;
    color: #e5e7eb;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.35);
}

.hero-contact-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-contact-line {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.hero-contact-label {
    font-weight: 600;
}

.hero-contact-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.75rem;
}

.section {
    margin-top: 2.75rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #111827;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 2rem;
    align-items: start;
}

.card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.card p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.35rem;
}

.features-list li::before {
    content: "•";
    margin-right: 0.4rem;
    color: #2563eb;
}

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 1.75rem 1.5rem 2rem;
    margin-top: 2rem;
}

.site-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .site-main {
        padding: 1.75rem 1.25rem 2.25rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-contact-card {
        order: -1;
    }
}
