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

:root {
    --dark: #3b454d;
    --text: #4c515c;
    --muted-bg: #e6ebf0;
    --accent: #22a5e9;
    --accent-dark: #1684bd;
    --nav-hover: #597087;
    --white: #ffffff;
    --max-width: 1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--white);
}

h1,
h2 {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

h2 {
    color: var(--dark);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 15px;
}

h3 {
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    margin-bottom: 18px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

.highlight-list {
    max-width: 720px;
    margin-left: 0;
    padding: 20px 22px 14px 42px;
    background: #f1f3f5;
    border-radius: 10px;
}

a {
    color: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background-color: var(--dark);
    border-bottom: 2px solid var(--white);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    padding: 0 12px;
    gap: 12px;
}

.logo {
    color: var(--white);
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 8px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a,
.quote-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Roboto', Arial, sans-serif;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background-color: var(--nav-hover);
}

.quote-button {
    background-color: var(--accent);
    border: none;
    cursor: pointer;
    margin-right: 5px;
    font-weight: 700;
    white-space: nowrap;
}

.quote-button:hover,
.quote-button:focus-visible {
    background-color: var(--accent-dark);
}

#burger-menu {
    display: none;
    cursor: pointer;
    color: var(--white);
    background: transparent;
    border: 0;
    font-size: 34px;
    line-height: 1;
    padding: 10px 14px;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(59, 69, 77, 0.25), rgba(59, 69, 77, 0.25)), var(--hero-image, url('images/placeholder-hero.jpg')) no-repeat center center / cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-home {
    --hero-image: url('images/hero-home.jpg');
}

.hero-about {
    --hero-image: url('images/hero-about.jpg');
}

.hero-domestic {
    --hero-image: url('images/hero-domestic.jpg');
}

.hero-commercial {
    --hero-image: url('images/hero-commercial.jpg');
}

.hero-faqs {
    --hero-image: url('images/hero-faqs.jpg');
}

.hero-contact {
    --hero-image: url('images/hero-contact.jpg');
}

.hero-text {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: clamp(24px, 4vw, 42px);
    max-width: 560px;
}

.hero-text p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Sections */
.content-section {
    padding: 48px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.card {
    background: var(--muted-bg);
    padding: 24px;
    border-radius: 6px;
}

.card p:last-child {
    margin-bottom: 0;
}

.testimonials-section {
    background: #f6f2ed;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.testimonial-grid blockquote {
    background: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 20px;
}

.testimonial-grid p {
    margin-bottom: 0;
    color: var(--dark);
    font-style: italic;
}

/* Gallery */
.gallery-section {
    background: #f6f2ed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 190px;
    gap: 16px;
    margin-top: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background: var(--muted-bg);
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-button:focus-visible {
    outline: 3px solid rgba(232, 143, 35, 0.55);
    outline-offset: -3px;
}

.gallery-item img,
.lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 24, 28, 0.9);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-image {
    width: auto;
    height: auto;
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: #fff3e6;
    outline: 3px solid rgba(232, 143, 35, 0.55);
}

.cta-strip {
    background: var(--dark);
    color: var(--white);
    padding: 36px 0;
}

.cta-strip h2 {
    color: var(--white);
}

.cta-strip p {
    max-width: 720px;
}

.button-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--accent);
    border: 0;
    color: var(--white);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
}

.button-link:hover,
.button-link:focus-visible {
    background: var(--accent-dark);
}

/* Enquiry Form */
.enquiry-form {
    max-width: 760px;
    margin: 24px 0;
    padding: 22px;
    background: #e8f3f8;
    border-radius: 10px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field-check {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--dark);
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #b8c2cb;
    border-radius: 4px;
    padding: 12px 13px;
    color: var(--text);
    font: inherit;
    background: var(--white);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 3px solid rgba(232, 143, 35, 0.28);
    border-color: var(--accent-dark);
}

.form-note {
    max-width: 720px;
    margin: 16px 0 18px;
    color: var(--text);
}

.contact-details {
    margin-top: 24px;
}

.form-status {
    max-width: 760px;
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 4px;
    font-weight: 700;
}

.form-status-success {
    background: #dcefe3;
    color: #28583a;
}

.form-status-error {
    background: #f7e0d9;
    color: #7a331f;
}

/* Contact Section */
.contact-section {
    background-color: var(--muted-bg);
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.contact-grid .column {
    min-width: 0;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #ccd4dc;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background-color: #555;
    padding: 20px 15px;
    color: var(--white);
    text-align: center;
}

footer p {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar-inner {
        flex-wrap: wrap;
        padding: 0;
    }

    .logo {
        flex: 1;
        padding-left: 16px;
    }

    #burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0;
        order: 3;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        justify-content: center;
        min-height: 42px;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 0;
        padding: 0 12px;
    }

    .quote-button {
        order: 2;
        min-height: 40px;
        margin-right: 5px;
        padding: 0 12px;
    }

    .hero {
        background-image: none;
        display: block;
        min-height: 0;
    }

    .hero::after {
        content: '';
        display: block;
        min-height: 260px;
        background: linear-gradient(rgba(59, 69, 77, 0.15), rgba(59, 69, 77, 0.15)), var(--hero-image, url('images/placeholder-hero.jpg')) no-repeat center center / cover;
    }

    .hero-text {
        max-width: none;
        width: 100%;
        text-align: center;
        background-color: var(--white);
        padding: 28px 24px;
    }

    .content-grid,
    .form-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .gallery-item,
    .gallery-item-wide,
    .gallery-item-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item img,
    .gallery-button {
        height: auto;
    }

    .content-section,
    .contact-section {
        padding: 34px 0;
    }
}
