/* Hydraulic illustrations gallery */
.dbh-repair-gallery{border-top:1px solid #ffffff15}.dbh-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.dbh-gallery-grid figure{margin:0;overflow:hidden;border:1px solid #ffffff25;border-radius:10px;background:#20252b}.dbh-gallery-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.dbh-gallery-grid figcaption{padding:16px 20px;color:#c9cfd6;font-size:14px}.dbh-gallery-grid figcaption strong{display:block;color:#fff;font-size:18px}.dbh-gallery-grid figcaption span{font-size:12px}@media(max-width:700px){.dbh-gallery-grid{grid-template-columns:1fr;gap:20px}}
/*
Theme Name: DB Hydraulics
Author: Tawanda Goredema
Author URI: https://darkcloudhost.co.za/
Description: Custom theme for hydraulic repairs and installation.
Version: 1.1.0
Text Domain: db-hydraulics
*/

:root {
    --dbh-red: #d71920;
    --dbh-dark: #14171b;
    --dbh-panel: #20252b;
    --dbh-silver: #c9cfd6;
    --dbh-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--dbh-dark);
    color: var(--dbh-white);
    font-family: "Segoe UI", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

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

.dbh-container {
    width: min(1160px, 92%);
    margin-inline: auto;
}

.dbh-header {
    padding: 22px 0;
    border-bottom: 1px solid #ffffff20;
}

.dbh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.dbh-brand {
    color: white;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.dbh-brand span {
    color: var(--dbh-red);
}

.custom-logo {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 80px;
}

.dbh-main {
    min-height: 65vh;
    padding: 80px 0;
}

.dbh-eyebrow {
    color: var(--dbh-silver);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    max-width: 850px;
    margin: 16px 0 24px;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.1;
}

.dbh-lead {
    max-width: 720px;
    color: var(--dbh-silver);
    font-size: 19px;
}

.dbh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.dbh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--dbh-red);
    border-radius: 6px;
    background: var(--dbh-red);
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.dbh-button:hover {
    border-color: #b8141a;
    background: #b8141a;
}

.dbh-button-outline {
    border-color: var(--dbh-silver);
    background: transparent;
}

.dbh-button-outline:hover {
    border-color: white;
    background: var(--dbh-panel);
}

.dbh-footer {
    padding: 28px 0;
    border-top: 1px solid #ffffff20;
    color: var(--dbh-silver);
}

.dbh-footer p {
    margin: 6px 0;
}

:focus-visible {
    outline: 3px solid #ffcf66;
    outline-offset: 5px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.screen-reader-text:focus {
    top: 10px;
    left: 10px;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 12px;
    clip-path: none;
    background: white;
    color: black;
}

@media (max-width: 600px) {
    .dbh-main {
        padding: 50px 0;
    }

    .dbh-lead {
        font-size: 17px;
    }
}
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 24px;
}

.dbh-topbar {
    padding: 8px 0;
    background: #090b0e;
    color: var(--dbh-silver);
    font-size: 13px;
}

.dbh-topbar-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.dbh-topbar a {
    text-decoration: none;
}

.dbh-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.dbh-navigation a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dbh-navigation a:hover {
    color: #ff6970;
}

.dbh-hero {
    padding: 95px 0;
    background:
        radial-gradient(
            ellipse at 85% 20%,
            #d719201a,
            transparent 55%
        ),
        var(--dbh-dark);
}

.dbh-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
}

.dbh-accent {
    color: #f0444b;
}

.dbh-hero-note {
    margin-top: 25px;
    color: var(--dbh-silver);
    font-size: 13px;
}

.dbh-technical-panel {
    padding: 30px;
    border: 1px solid #ffffff26;
    border-top: 4px solid var(--dbh-red);
    border-radius: 12px;
    background:
        linear-gradient(#ffffff04 1px, transparent 1px),
        linear-gradient(90deg, #ffffff04 1px, transparent 1px),
        var(--dbh-panel);
    background-size: 24px 24px;
}

.dbh-panel-label {
    color: var(--dbh-silver);
    font-size: 12px;
    letter-spacing: 3px;
}

.dbh-cylinder {
    display: block;
    width: 100%;
    margin: 15px 0;
    color: var(--dbh-silver);
}

.dbh-technical-panel h2 {
    font-size: 23px;
    line-height: 1.3;
}

.dbh-technical-panel p {
    color: var(--dbh-silver);
}

.dbh-panel-status {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #ffffff20;
    color: var(--dbh-silver);
    font-size: 11px;
    letter-spacing: 2px;
}

.dbh-section {
    padding: 80px 0;
}

.dbh-section-alt {
    background: #1a1e23;
}

.dbh-section-title {
    max-width: 750px;
    margin: 10px 0 35px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
}

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

.dbh-service-card {
    padding: 35px;
    border: 1px solid #ffffff20;
    border-radius: 10px;
    background: var(--dbh-panel);
}

.dbh-service-number {
    color: #f0444b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.dbh-service-card h3 {
    margin: 15px 0;
    font-size: 26px;
}

.dbh-service-card p,
.dbh-steps-grid p {
    color: var(--dbh-silver);
}

.dbh-service-card a {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    text-underline-offset: 5px;
}

.dbh-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

.dbh-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dbh-red);
    font-weight: 800;
}

.dbh-coverage-grid,
.dbh-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
}

.dbh-provinces {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.dbh-provinces span {
    padding: 7px 12px;
    border: 1px solid #ffffff25;
    border-radius: 4px;
    color: var(--dbh-silver);
    font-size: 13px;
}

.dbh-address-card {
    align-self: start;
    padding: 30px;
    border-left: 4px solid var(--dbh-red);
    background: var(--dbh-panel);
}

.dbh-address-card h3 {
    margin-top: 0;
}

.dbh-address-card address {
    margin-bottom: 20px;
    color: var(--dbh-silver);
    font-style: normal;
}

.dbh-address-card a {
    text-underline-offset: 5px;
}

.dbh-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 35px;
}

.dbh-footer-heading {
    color: white;
    font-size: 17px;
}

.dbh-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ffffff20;
    font-size: 13px;
}

@media (max-width: 960px) {
    .dbh-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dbh-technical-panel {
        max-width: 650px;
    }

    .dbh-header-inner {
        justify-content: flex-start;
    }

    .dbh-navigation {
        flex: 1 1 100%;
        order: 3;
    }
}

@media (max-width: 700px) {
    .dbh-hero {
        padding: 55px 0;
    }

    .dbh-section {
        padding: 55px 0;
    }

    .dbh-services-grid,
    .dbh-steps-grid,
    .dbh-coverage-grid,
    .dbh-contact-grid,
    .dbh-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dbh-service-card,
    .dbh-technical-panel {
        padding: 24px;
    }

    .dbh-navigation {
        gap: 12px 18px;
    }

    .dbh-navigation a {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.dbh-page-content {
    max-width: 900px;
    margin-inline: auto;
}

.dbh-page-body {
    color: var(--dbh-silver);
    overflow-wrap: anywhere;
}

.dbh-page-body h2,
.dbh-page-body h3,
.dbh-page-body strong {
    color: var(--dbh-white);
}

.dbh-page-body h2 {
    margin-top: 40px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.3;
}

.dbh-page-body a {
    text-underline-offset: 4px;
}
[hidden] { display: none !important; }
.dbh-menu-toggle { display:none; padding:10px 16px; border:1px solid #c9cfd6; border-radius:5px; background:#20252b; color:white; font:inherit; cursor:pointer; }
.dbh-floating { position:fixed; right:18px; bottom:18px; z-index:50; background:#17683c; color:white; padding:12px 18px; border:1px solid #ffffff60; border-radius:30px; font-weight:700; text-decoration:none; box-shadow:0 4px 20px #0005; }
.dbh-footer { padding-bottom:90px; }
label { display:block; font-weight:600; margin:16px 0 8px; }
input,select,textarea { display:block; width:100%; padding:12px 14px; border:1px solid #6f7782; border-radius:5px; background:#101419; color:white; font:inherit; }
input[type=search] { max-width:600px; }
textarea { resize:vertical; }
form .dbh-button { margin-top:20px; cursor:pointer; font:inherit; font-weight:700; }
details { margin:14px 0; padding:18px 22px; border:1px solid #ffffff30; border-radius:6px; }
summary { cursor:pointer; font-weight:700; }
.dbh-directory-region { margin-top:45px; }
.dbh-directory-region h2 { border-left:4px solid #d71920; padding-left:16px; }
.dbh-location-card h3 { margin-top:0; }
.dbh-location-card ul { padding-left:20px; }
.dbh-location-card li { margin-bottom:8px; }
.dbh-page-body { margin-top:35px; }
@media(max-width:960px){
.dbh-menu-toggle:not([hidden]) { display:block; margin-left:auto; }
.dbh-navigation.dbh-enhanced { display:none; }
.dbh-navigation.dbh-enhanced.is-open { display:flex; }
.dbh-header-inner>.dbh-button { display:none; }
}

/* Compact hero enquiry form */
.dbh-hero { padding:55px 0; }
.dbh-hero-grid { align-items:start; }
.dbh-hero .dbh-technical-panel { padding:24px; }
.dbh-hero .dbh-technical-panel h2 { margin:8px 0; }
.dbh-hero .dbh-technical-panel p { margin:8px 0; font-size:14px; line-height:1.5; }
.dbh-hero #dbh-quote label { margin:10px 0 5px; font-size:14px; }
.dbh-hero #dbh-quote input,.dbh-hero #dbh-quote select,.dbh-hero #dbh-quote textarea { padding:8px 12px; line-height:1.5; }
.dbh-hero #dbh-quote .dbh-button { width:100%; margin-top:14px; }

/* Location redesign */
.dbh-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;color:#aeb7c2;font-size:12px;margin-bottom:30px}.dbh-breadcrumbs a{text-decoration:none}.dbh-location-hero{background:radial-gradient(ellipse at 12% 0%,#d7192020,transparent 65%),linear-gradient(120deg,#101418,#1b1e24)}.dbh-location-hero h1{font-size:clamp(34px,4.1vw,57px);letter-spacing:-1.7px;max-width:700px;margin-top:20px}.dbh-location-hero .dbh-hero-grid{grid-template-columns:1.2fr 1fr;gap:56px}.dbh-location-intro{padding-top:18px}.dbh-location-badges{display:flex;gap:9px;flex-wrap:wrap;margin-top:32px}.dbh-location-badges span{border:1px solid #ffffff30;border-radius:30px;padding:6px 13px;font-size:12px;color:#d9dfe6}.dbh-location-form{box-shadow:0 24px 65px #0004;background:#20252b}.dbh-location-strip{border-top:1px solid #ffffff15;border-bottom:1px solid #ffffff15;background:#0d1014;padding:22px 0}.dbh-location-strip>.dbh-container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px;color:#b9c2cc}.dbh-location-strip strong{color:white;margin-right:10px}.dbh-location-strip a{color:#f16a70;text-decoration:none;font-weight:700}.dbh-location-page .dbh-service-card{border-top:3px solid #d71920;padding:32px;background:linear-gradient(135deg,#242a32,#1b2026)}.dbh-location-page .dbh-service-card h3{font-size:28px;line-height:1.2}.dbh-location-page .dbh-service-card p{font-size:15px}.dbh-location-details{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:65px;align-items:start}.dbh-location-details .dbh-page-body{margin-top:0}.dbh-location-details .dbh-page-body h2:first-child{margin-top:0}.dbh-location-details .dbh-address-card{position:sticky;top:25px;border:1px solid #ffffff25;border-top:4px solid #d71920;border-radius:8px}.dbh-location-details .dbh-page-body ul{list-style:none;display:flex;flex-wrap:wrap;padding:0;gap:10px}.dbh-location-details .dbh-page-body li a{display:block;padding:9px 14px;border:1px solid #ffffff30;border-radius:5px;font-size:14px;text-decoration:none}.dbh-location-details details{background:#20252b}.dbh-location-final{padding:50px 0;background:linear-gradient(100deg,#2c171b,#171c22);border-top:1px solid #d7192050}.dbh-location-final>.dbh-container{display:flex;align-items:center;justify-content:space-between;gap:35px}.dbh-location-final h2{font-size:clamp(26px,3vw,36px);max-width:650px;line-height:1.2}.dbh-location-final p{color:#c9cfd6}.dbh-directory-region .dbh-location-card{border-top:3px solid #d71920;background:linear-gradient(120deg,#252b33,#1b2026)}.dbh-directory-region .dbh-location-card ul{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:8px}.dbh-directory-region .dbh-location-card li{margin:0}.dbh-directory-region .dbh-location-card li a{padding:5px 10px;border:1px solid #ffffff30;border-radius:4px;font-size:13px;text-decoration:none;margin-top:0}.dbh-directory-region .dbh-location-card h3{font-size:25px}.dbh-directory-region .dbh-location-card>p>a{color:#f06a70}
@media(max-width:960px){.dbh-location-hero .dbh-hero-grid{grid-template-columns:1fr;gap:30px}.dbh-location-form{max-width:100%}.dbh-location-details{grid-template-columns:1fr;gap:30px}.dbh-location-details .dbh-address-card{position:static}.dbh-location-final>.dbh-container{flex-direction:column;align-items:flex-start}}@media(max-width:600px){.dbh-location-hero h1{letter-spacing:-1px}.dbh-location-strip>.dbh-container{flex-direction:column;gap:12px}.dbh-location-page .dbh-service-card{padding:24px}.dbh-location-intro{padding-top:0}}

/* Header logo visibility */
.dbh-header .custom-logo-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;background:#fff;border-radius:8px;border:1px solid #e2e5e8;line-height:0}.dbh-header .custom-logo{width:180px;height:auto;max-width:100%;max-height:none}@media(max-width:600px){.dbh-header .custom-logo{width:150px}.dbh-header .custom-logo-link{padding:8px 12px}.dbh-header{padding:16px 0}}

/* White navigation panel */
.dbh-header{background:#fff;color:#14171b;border-bottom:1px solid #e2e5e8}.dbh-header .dbh-navigation a{color:#14171b}.dbh-header .dbh-navigation a:hover,.dbh-header .dbh-navigation a[aria-current="page"]{color:#d71920}.dbh-header .dbh-menu-toggle{background:#fff;color:#14171b;border-color:#707780}.dbh-header .dbh-menu-toggle:hover{background:#f2f3f5}.dbh-header .dbh-brand{color:#14171b}.dbh-header .custom-logo-link{border-color:transparent}.dbh-header>.dbh-container>.dbh-button{color:#fff}

/* Expanded footer */
.dbh-footer{background:#0d1014;padding-top:48px}.dbh-footer-grid{grid-template-columns:1.3fr .8fr .9fr 1.2fr;gap:35px}.dbh-footer-grid p{font-size:14px}.dbh-footer-grid a{text-underline-offset:4px}.dbh-footer-grid a:hover,.dbh-copyright a:hover{color:#f16a70}.dbh-footer-heading{margin:0 0 16px}.dbh-footer .dbh-brand{margin-top:0}.dbh-copyright p{margin-top:12px}.dbh-copyright a{color:#fff;text-underline-offset:4px}@media(max-width:960px){.dbh-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dbh-footer-grid{grid-template-columns:1fr}}
