/*
Theme Name: Nick's Handyman Service - Visual SEO
Theme URI: https://nhsindy.com
Author: Nick's Handyman Service
Author URI: https://nhsindy.com
Description: Fully designed, SEO-focused theme for Nick's Handyman Service with Residential, Commercial, Landlord, and Gallery pages.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: nhsindy
*/

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #f5f7fa;
    line-height: 1.6;
}

a {
    color: #b91c1c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & nav */
.site-header {
    background-color: #111827;
    color: #f9fafb;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f9fafb;
    text-decoration: none;
}

.logo-plate {
    min-width: 90px;
    padding: 0.3rem 0.9rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 40%, #6b7280 100%);
    border: 2px solid #4b5563;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    text-align: center;
}

.logo-nhs {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #111827;
    text-shadow: 1px 1px 0 #e5e7eb;
}

.logo-lines {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-business {
    font-weight: 700;
    font-size: 1rem;
}

.logo-subline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d1d5db;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
}

.main-nav a {
    color: #e5e7eb;
}

.main-nav a:hover {
    color: #ffffff;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.header-cta .phone {
    color: #f9fafb;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #b91c1c;
    color: #f9fafb;
}

.btn-primary:hover {
    background-color: #991b1b;
}

.btn-outline {
    border-color: #b91c1c;
    color: #b91c1c;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #fee2e2;
}

/* Hero */
.hero {
    padding: 3rem 0 2.5rem;
    background: radial-gradient(circle at top left, #fee2e2 0, #f5f7fa 45%, #e5e7eb 100%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.hero p {
    max-width: 40rem;
}

/* Sections */
section {
    padding: 2.5rem 0;
}

section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: #111827;
}

/* Layout */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Lists */
ul.service-list {
    padding-left: 1.25rem;
}

ul.service-list li {
    margin-bottom: 0.3rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.gallery-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.gallery-card img {
    width: 100%;
    display: block;
}

.gallery-card-body {
    padding: 1rem 1.1rem 1.1rem;
}

.gallery-card-body h3 {
    margin-bottom: 0.3rem;
}

/* Map */
.map-section {
    background-color: #e5e7eb;
}

.map-embed {
    margin-top: 0.75rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* Contact form */
.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 1.5rem;
}

.contact-form {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.form-row {
    margin-bottom: 0.75rem;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    font: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid #b91c1c;
    outline-offset: 1px;
}

.form-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Small text */
.small {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Footer */
.site-footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-cta {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .hero {
        padding-top: 2.25rem;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .two-col, .contact-inner {
        grid-template-columns: 1fr;
    }
    .logo {
        justify-content: center;
    }
}
