﻿*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(17, 24, 39, 0.98);
    color: #f9fafb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #f9fafb;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.tagline {
    font-size: 0.8rem;
    color: #d1d5db;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: #e5e7eb;
    padding: 0.35rem 0.1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

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

.nav-cta {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 0.4);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-weight: 600;
    margin-left: 0.5rem;
}

.hero {
    padding: 4.5rem 0 4rem;
    background: radial-gradient(circle at top left, #e0f2fe 0, #eff6ff 26%, #f9fafb 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 3.2vw, 2.9rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #0f172a;
}

.hero-text {
    max-width: 35rem;
    color: #4b5563;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #f9fafb;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.4);
}

.btn.ghost {
    background-color: transparent;
    border: 1px solid #cbd5f5;
    color: #1d4ed8;
}

.btn.ghost:hover {
    background-color: #e0edff;
}

.btn.secondary {
    background-color: #111827;
    color: #f9fafb;
}

.btn.secondary:hover {
    background-color: #020617;
}

.btn.full-width {
    width: 100%;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-meta span {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image-card {
    width: 100%;
    max-width: 380px;
    border-radius: 1.5rem;
    background-color: #0f172a;
    color: #f9fafb;
    padding: 0.9rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.hero-img-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 1.2rem;
    background-size: cover;
    background-position: center;
}

.hero-img-driveway {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.1)),
        url("assets/images/driveway.jpg");
}

.hero-stats {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 0.85rem;
}

.rating {
    font-size: 1.6rem;
    font-weight: 700;
}

.rating span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #9ca3af;
}

.rating-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.rating-sub {
    font-size: 0.75rem;
    color: #6b7280;
}

.section {
    padding: 4rem 0;
}

.section-header {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.section-header p {
    font-size: 0.98rem;
    color: #4b5563;
}

.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    border-radius: 1.1rem;
    background-color: #f9fafb;
    padding: 1.4rem 1.3rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #111827;
}

.service-card p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.7rem;
}

.service-card ul {
    padding-left: 0.2rem;
}

.service-card li {
    font-size: 0.88rem;
    color: #4b5563;
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
}

.gallery {
    background-color: #f3f4f6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 200px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent 55%);
}

.gallery-item figcaption {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.7rem;
    color: #f9fafb;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-item-driveway {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1)),
        url("assets/images/driveway.jpg");
}

.gallery-item-roof {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1)),
        url("assets/images/roofing.jpg");
}

.gallery-item-brickwork {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1)),
        url("assets/images/brickwork.jpg");
}

.gallery-item-garden {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1)),
        url("assets/images/garden.jpg");
}

.reviews {
    background-color: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.review-card {
    border-radius: 1.1rem;
    padding: 1.4rem 1.3rem;
    border: 1px solid #e5e7eb;
    background: radial-gradient(circle at top left, #eff6ff, #ffffff 60%);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.review-text {
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 0.9rem;
}

.review-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

.reviews-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.link {
    font-size: 0.9rem;
    color: #2563eb;
    text-decoration: underline;
}

.about {
    background-color: #f9fafb;
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.about-copy h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.about-copy p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.7rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.highlight {
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
    background-color: #ffffff;
    text-align: left;
}

.highlight-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: #4b5563;
}

.contact {
    background-color: #ffffff;
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-details h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.contact-details p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.9rem;
}

.contact-block {
    margin-top: 1.3rem;
}

.contact-block h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.contact-block p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-block a {
    color: #2563eb;
}

.contact-form-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #111827;
}

.contact-form {
    padding: 1.5rem 1.4rem;
    border-radius: 1.1rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-field {
    margin-bottom: 0.9rem;
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.55rem 0.6rem;
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.5);
}

.form-field textarea {
    resize: vertical;
}

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

.site-footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 1.75rem 0;
    margin-top: 1rem;
    font-size: 0.82rem;
}

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

.footer-tagline {
    display: block;
    color: #6b7280;
    margin-top: 0.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.footer-links a {
    color: #e5e7eb;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: right;
}

@media (max-width: 960px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.8rem;
    }

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

    .hero-image {
        justify-content: flex-start;
    }

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

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

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

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

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

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: static;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .header-inner {
        padding-inline: 1rem;
    }

    .container {
        padding-inline: 1rem;
    }

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

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

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

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