/*
Theme Name: Kenmor Home Improvements
Theme URI: https://kenmorhomeimprovements.weofferwellness.co.uk/
Author: OpenAI
Description: Custom WordPress theme for Kenmor Home Improvements LLP.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: kenmor-home-improvements
*/

:root {
    --kenmor-blue: #5f7687;
    --kenmor-blue-dark: #354653;
    --kenmor-green: #8bb99a;
    --kenmor-light: #f3f6f8;
    --kenmor-soft: #e9eef2;
    --kenmor-text: #1f2933;
    --kenmor-muted: #607080;
    --kenmor-dark: #17212b;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--kenmor-text);
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 90px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.eyebrow {
    color: var(--kenmor-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    color: var(--kenmor-blue-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.section-copy {
    color: var(--kenmor-muted);
    font-size: 1.05rem;
    max-width: 680px;
}

.btn-kenmor {
    background: var(--kenmor-blue);
    color: #fff;
    border: 1px solid var(--kenmor-blue);
    padding: 13px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-kenmor:hover {
    background: var(--kenmor-blue-dark);
    border-color: var(--kenmor-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-kenmor-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.8);
    padding: 13px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-kenmor-outline:hover {
    background: #fff;
    color: var(--kenmor-blue-dark);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31,41,51,0.08);
}

.navbar {
    padding: 8px 0;
    min-height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.navbar-brand img {
    width: 145px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
}

.navbar-nav {
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--kenmor-text);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 10px !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--kenmor-blue);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 1px;
    height: 2px;
    background: var(--kenmor-blue);
}

.navbar .btn-kenmor {
    padding: 9px 14px;
    font-size: 0.9rem;
}

.navbar-toggler {
    border: 0;
    padding: 4px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hero {
    min-height: calc(100vh - 72px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(23,33,43,0.88) 0%, rgba(23,33,43,0.68) 45%, rgba(23,33,43,0.28) 100%),
        url("https://images.unsplash.com/photo-1556912173-3bb406ef7e77?auto=format&fit=crop&w=2400&q=85") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: linear-gradient(to bottom right, transparent 49%, #fff 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
    padding: 85px 0 135px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 6.3rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    font-weight: 700;
    margin-bottom: 26px;
}

.hero p {
    max-width: 620px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 0.92rem;
}

.trust-strip {
    margin-top: -55px;
    position: relative;
    z-index: 5;
}

.trust-card {
    background: #fff;
    border: 1px solid rgba(31,41,51,0.08);
    box-shadow: 0 18px 45px rgba(17,24,39,0.12);
    border-radius: 4px;
    overflow: hidden;
}

.trust-item {
    padding: 34px 28px;
    border-right: 1px solid rgba(31,41,51,0.08);
    height: 100%;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-number {
    display: block;
    color: var(--kenmor-blue-dark);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.trust-label {
    color: var(--kenmor-muted);
    font-size: 0.95rem;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    min-height: 580px;
    object-fit: cover;
    width: 100%;
}

.floating-note {
    position: absolute;
    left: -36px;
    bottom: 34px;
    max-width: 270px;
    background: var(--kenmor-blue-dark);
    color: #fff;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.floating-note strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 6px;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.feature-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: var(--kenmor-soft);
    color: var(--kenmor-blue);
    display: grid;
    place-items: center;
    border-radius: 4px;
}

.feature-row h3 {
    font-size: 1.08rem;
    margin-bottom: 4px;
    color: var(--kenmor-blue-dark);
}

.feature-row p {
    margin: 0;
    color: var(--kenmor-muted);
}

.services {
    background: var(--kenmor-light);
}

.service-card {
    background: #fff;
    border: 1px solid rgba(31,41,51,0.08);
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(17,24,39,0.1);
}

.service-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
}

.service-card-body {
    padding: 26px;
}

.service-card h3 {
    color: var(--kenmor-blue-dark);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--kenmor-muted);
    margin-bottom: 18px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kenmor-blue);
    font-weight: 700;
}

.service-link:hover {
    color: var(--kenmor-blue-dark);
}

.process-step {
    border-left: 2px solid var(--kenmor-soft);
    padding-left: 24px;
    position: relative;
    margin-bottom: 32px;
}

.process-step::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--kenmor-green);
    position: absolute;
    left: -8px;
    top: 6px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--kenmor-soft);
}

.process-step span {
    color: var(--kenmor-green);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.process-step h3 {
    color: var(--kenmor-blue-dark);
    margin: 6px 0 8px;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--kenmor-muted);
    margin: 0;
}

.process-image {
    min-height: 620px;
    width: 100%;
    object-fit: cover;
}

.gallery {
    background: var(--kenmor-dark);
    color: #fff;
}

.gallery .section-title {
    color: #fff;
}

.gallery .section-copy {
    color: rgba(255,255,255,0.72);
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 380px;
    border-radius: 4px;
    background: #000;
}

.project-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.76;
    transition: 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.04);
    opacity: 0.58;
}

.project-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px;
    background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
}

.project-info h3 {
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.project-info p {
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.cta-band {
    background:
        linear-gradient(90deg, rgba(53,70,83,0.94), rgba(53,70,83,0.82)),
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=85") center/cover no-repeat;
    color: #fff;
}

.cta-band h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
}

.cta-band p {
    color: rgba(255,255,255,0.82);
    max-width: 620px;
    font-size: 1.08rem;
}

.contact {
    background: var(--kenmor-light);
}

.contact-panel {
    background: #fff;
    border: 1px solid rgba(31,41,51,0.08);
    border-radius: 4px;
    padding: 38px;
    height: 100%;
}

.contact-detail {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--kenmor-soft);
    color: var(--kenmor-blue);
    border-radius: 4px;
    flex: 0 0 40px;
}

.contact-detail strong {
    display: block;
    color: var(--kenmor-blue-dark);
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
    color: var(--kenmor-muted);
}

.form-control,
.form-select {
    border-radius: 4px;
    border: 1px solid rgba(31,41,51,0.16);
    padding: 13px 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--kenmor-blue);
    box-shadow: 0 0 0 0.18rem rgba(95,118,135,0.18);
}

.form-label {
    color: var(--kenmor-blue-dark);
    font-weight: 600;
    font-size: 0.92rem;
}

.site-footer {
    background: var(--kenmor-dark);
    color: rgba(255,255,255,0.74);
    padding: 42px 0 26px;
}

.footer-logo {
    width: 145px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.footer-link {
    color: rgba(255,255,255,0.74);
    display: inline-block;
    margin: 0 10px 10px 0;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 28px;
    padding-top: 20px;
    font-size: 0.9rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 991px) {
    .navbar {
        min-height: 66px;
        padding: 7px 0;
    }

    .navbar-brand img {
        width: 128px;
        height: 48px;
    }

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid rgba(31,41,51,0.08);
        margin-top: 8px;
        padding: 10px 0;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .nav-link.active::after {
        display: none;
    }

    .navbar .btn-kenmor {
        margin-top: 8px;
        width: 100%;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0 100px;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 30px;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid rgba(31,41,51,0.08);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .section-padding {
        padding: 68px 0;
    }

    .about-image {
        min-height: 420px;
    }

    .floating-note {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .process-image {
        min-height: 420px;
        margin-bottom: 34px;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        display: grid !important;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-badges {
        display: grid;
    }

    .section-padding {
        padding: 56px 0;
    }

    .contact-panel {
        padding: 24px;
    }

    .project-card {
        height: 300px;
    }
}
