/* ==========================================================================
   KleanFreak - Stylesheet
   Brand: Teal #009aa6 + Charcoal #222
   ========================================================================== */

:root {
    --teal: #009aa6;
    --teal-dark: #007680;
    --teal-light: #4cb8c0;
    --charcoal: #222222;
    --charcoal-light: #444444;
    --grey-bg: #f3f3f3;
    --grey-bg-2: #f1f1f1;
    --grey-border: #e3e3e3;
    --white: #ffffff;
    --max-width: 1200px;
    --radius: 10px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: Calibri, Candara, Segoe, 'Segoe UI', Optima, Arial, sans-serif;
    color: var(--charcoal);
    line-height: 1.55;
    font-size: 17px;
    background: var(--white);
}

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

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 0.5em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

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

.section {
    padding: 60px 0;
}

.section-tight {
    padding: 32px 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.logo span { color: var(--teal); }
.logo:hover { color: var(--charcoal); }

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    color: var(--charcoal);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.98rem;
}
.main-nav a:hover { background: var(--grey-bg); color: var(--teal); }
.main-nav a.active { color: var(--teal); }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}
.btn-primary {
    background: var(--teal);
    color: var(--white) !important;
    border-color: var(--teal);
}
.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--white) !important;
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--teal) !important;
}
.btn-dark {
    background: var(--charcoal);
    color: var(--white) !important;
    border-color: var(--charcoal);
}
.btn-dark:hover {
    background: #000;
    color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--charcoal);
    font-size: 26px;
    cursor: pointer;
    padding: 6px 10px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, rgba(0, 118, 128, 0.92) 0%, rgba(0, 90, 100, 0.88) 100%), url('../images/hero-kitchen.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

.hero p { opacity: 0.92; font-size: 1.08rem; }

.hero-cta {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Page banner (smaller hero for inner pages) */
.page-banner {
    background: var(--charcoal);
    color: var(--white);
    padding: 56px 0;
    background-size: cover;
    background-position: center;
}
.page-banner.banner-services {
    background: linear-gradient(rgba(34, 34, 34, 0.85), rgba(34, 34, 34, 0.85)), url('../images/services-kitchen.png') center/cover;
}
.page-banner.banner-about {
    background: linear-gradient(rgba(34, 34, 34, 0.78), rgba(34, 34, 34, 0.78)), url('../images/about-kitchen.png') center/cover;
}
.page-banner.banner-contact {
    background: linear-gradient(rgba(0, 118, 128, 0.85), rgba(0, 90, 100, 0.85)), url('../images/portishead-marina.png') center/cover;
}
.page-banner.banner-reviews {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}
.page-banner h1 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 6px;
}
.page-banner p {
    opacity: 0.85;
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   Title bars (carrying the existing brand pattern)
   ========================================================================== */

.title-bar {
    background: var(--teal);
    color: var(--white);
    padding: 14px 22px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: 0;
}
.title-bar.dark { background: var(--charcoal); }
.title-bar.center { text-align: center; }

.text-box {
    background: linear-gradient(0deg, var(--grey-bg-2), var(--grey-bg));
    padding: 24px 28px;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 24px;
}
.text-box h3 { color: var(--charcoal); font-size: 1.2rem; margin-top: 14px; }
.text-box h3:first-child { margin-top: 0; }
.text-box ul { margin-left: 22px; margin-bottom: 1em; }
.text-box li { margin-bottom: 6px; }

/* ==========================================================================
   Card grids
   ========================================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.card {
    background: linear-gradient(0deg, var(--grey-bg-2), var(--grey-bg));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.card-title {
    padding: 14px 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}
.card-title.teal { background: var(--teal); }
.card-title.dark { background: var(--charcoal); }
.card-body {
    padding: 22px 22px 26px;
    flex: 1;
    text-align: center;
    color: var(--charcoal-light);
}

/* Two-column split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.split-img {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    background-color: var(--grey-bg);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading h2 {
    font-size: 2.2rem;
    color: var(--charcoal);
}
.section-heading .accent {
    width: 60px;
    height: 4px;
    background: var(--teal);
    margin: 14px auto 18px;
    border-radius: 2px;
}
.section-heading p {
    color: var(--charcoal-light);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ==========================================================================
   CTA strip
   ========================================================================== */

.cta-strip {
    background: var(--teal);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { opacity: 0.95; margin-bottom: 22px; font-size: 1.1rem; }

/* Twin CTA boxes (Reviews + Contact) */
.cta-twin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.cta-box {
    padding: 50px 30px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}
.cta-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--white); }
.cta-box.dark { background: var(--charcoal); }
.cta-box.teal { background: var(--teal); }
.cta-box h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.cta-box p { color: var(--white); opacity: 0.92; margin: 0; }

/* ==========================================================================
   Reviews
   ========================================================================== */

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.review {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.review::before {
    content: '\201C';
    position: absolute;
    top: 6px;
    left: 18px;
    font-size: 70px;
    color: var(--teal);
    opacity: 0.18;
    line-height: 1;
    font-family: Georgia, serif;
}
.review p {
    font-style: italic;
    color: var(--charcoal-light);
    position: relative;
    padding-top: 12px;
}
.review .author {
    font-weight: 700;
    color: var(--charcoal);
    margin-top: 10px;
    font-style: normal;
}
.stars {
    color: #f5b400;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 36px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(0deg, var(--grey-bg-2), var(--grey-bg));
    border-radius: var(--radius);
    overflow: hidden;
}
.contact-info .title-bar { border-radius: 0; }
.contact-info-body { padding: 26px 28px; }
.contact-info-body h4 {
    color: var(--teal);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    margin-top: 18px;
}
.contact-info-body h4:first-child { margin-top: 0; }
.contact-info-body p, .contact-info-body a { font-size: 1.05rem; color: var(--charcoal); }
.contact-info-body a:hover { color: var(--teal); }

.enquiry-form {
    background: linear-gradient(0deg, var(--grey-bg-2), var(--grey-bg));
    border-radius: var(--radius);
    overflow: hidden;
}
.enquiry-form .title-bar { border-radius: 0; }
.enquiry-form-body { padding: 26px 28px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--charcoal);
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    font: inherit;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 154, 166, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
    font-size: 0.88rem;
    color: var(--charcoal-light);
    margin-top: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col p, .footer-col a {
    color: var(--white);
    opacity: 0.9;
    font-size: 0.96rem;
    line-height: 1.6;
}
.footer-col a { display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--teal-light); opacity: 1; }
.footer-col .strong { font-weight: 700; opacity: 1; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 40px;
    padding-top: 22px;
    font-size: 0.88rem;
    opacity: 0.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.3rem; }
    .hero { padding: 60px 0; }
    .section { padding: 44px 0; }

    .split, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .split-img { height: 240px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-twin { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 16px;
        box-shadow: var(--shadow-md);
        gap: 0;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px 14px; border-radius: 0; border-bottom: 1px solid var(--grey-bg); }
    .main-nav a:last-child { border-bottom: none; }
    .main-nav .btn { margin-top: 10px; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero h1 { font-size: 1.9rem; }
    .hero { padding: 48px 0; }
    .page-banner h1 { font-size: 1.8rem; }
    .container { padding: 0 18px; }
}
