/*
Theme Name: Manuputty Electrics
Theme URI: https://example.com/manuputty-electrics
Author: Mediayard
Author URI: https://www.mediayard.nl
Description: Maatwerk WordPress theme voor Manuputty Electrics BV, ontwikkeld voor een professionele presentatie van industriële elektrotechniek, zakelijke dienstverlening, leadgeneratie, bedrijfsprofilering en SEO-geoptimaliseerde online zichtbaarheid in Flevoland en heel Nederland.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: manuputty-electrics
*/

:root {
    --logo-red: #ed1c24;
    --logo-yellow: #fff200;
    --logo-green: #00a651;
    --logo-blue: #00aeef;
    --corporate-dark: #1a1d20;
    --corporate-gray: #f8f9fa;
    --text-main: #343a40;
    --white: #ffffff;
    --surface-main: #ffffff;
    --surface-muted: #f8f9fa;
    --surface-strong: #0f1418;
    --border-soft: rgba(26, 29, 32, 0.14);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.05);
    --topbar-bg: #000000;
    --header-bg: #000000;
    --header-text: #ffffff;
    --header-muted: #ffffff;
    --hero-overlay-start: rgba(0, 0, 0, 0.55);
    --hero-overlay-end: rgba(0, 0, 0, 0.75);
    --hero-base-start: #1d232a;
    --hero-base-end: #111417;
}

body[data-theme="dark"] {
    --text-main: #d6dde6;
    --surface-main: #12181d;
    --surface-muted: #192128;
    --surface-strong: #090d10;
    --border-soft: rgba(255, 255, 255, 0.12);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
    --topbar-bg: #000000;
    --header-bg: #000000;
    --header-text: #f5f7fa;
    --header-muted: #ffffff;
    --hero-overlay-start: rgba(0, 0, 0, 0.42);
    --hero-overlay-end: rgba(0, 0, 0, 0.72);
    --hero-base-start: #10171d;
    --hero-base-end: #090d10;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--surface-main);
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
}

.topbar {
    background-color: var(--topbar-bg);
    color: var(--header-text);
    font-size: 0.8rem;
    padding: 10px 0;
    font-weight: 600;
}

.topbar a {
    color: var(--header-muted);
    transition: color 0.3s ease;
}

.topbar a:hover,
.topbar a:focus {
    color: var(--white);
}

.site-navbar {
    background-color: var(--header-bg);
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.4rem;
    color: var(--header-text);
    text-transform: uppercase;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--header-text);
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

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

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

.navbar-nav {
    gap: 0.75rem;
}

.nav-link {
    color: var(--header-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
}

.nav-link:hover,
.nav-link:focus,
.current-menu-item > .nav-link,
.current_page_item > .nav-link {
    color: var(--white);
}

.dropdown-menu {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.5rem 0;
    min-width: 14rem;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    padding: 0.8rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dropdown-toggle::after {
    margin-left: 0.55rem;
    vertical-align: 0.2em;
}

.hero-section {
    min-height: 85vh;
    padding: 120px 0 80px;
    background:
        linear-gradient(var(--hero-overlay-start), var(--hero-overlay-end)),
        radial-gradient(circle at top right, rgba(0, 174, 239, 0.35), transparent 30%),
        linear-gradient(135deg, var(--hero-base-start) 0%, var(--hero-base-end) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    border-left: 6px solid var(--logo-red);
    padding-left: 30px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--logo-yellow);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

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

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--logo-red);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.professional-card {
    background: var(--surface-main);
    border: 0;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--logo-blue);
    height: 100%;
}

.expertise-item {
    padding: 35px;
    background: var(--surface-muted);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.expertise-item:hover,
.expertise-item:focus-within {
    background: var(--surface-main);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.expertise-item.ind:hover,
.expertise-item.ind:focus-within {
    border-color: var(--logo-red);
}

.expertise-item.zak:hover,
.expertise-item.zak:focus-within {
    border-color: var(--logo-blue);
}

.expertise-item.ond:hover,
.expertise-item.ond:focus-within {
    border-color: var(--logo-green);
}

.expertise-icon-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-icon {
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.contact-wrapper {
    background: var(--surface-strong);
    color: var(--white);
    padding: 60px;
    border-radius: 4px;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 15px;
    margin-bottom: 20px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--logo-blue);
    color: var(--white);
    box-shadow: none;
}

.contact-feedback {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid;
    background: rgba(255, 255, 255, 0.08);
}

.contact-feedback.is-success {
    border-color: var(--logo-green);
}

.contact-feedback.is-error {
    border-color: var(--logo-red);
}

.floating-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    width: 65px;
    height: 65px;
    background-color: var(--logo-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.floating-call:hover,
.floating-call:focus {
    transform: scale(1.1);
    color: var(--white);
}

#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    background: var(--surface-main);
    color: var(--text-main);
    border: 2px solid var(--border-soft);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#goTopBtn:hover,
#goTopBtn:focus {
    background: var(--surface-strong);
    color: var(--white);
}

.site-footer {
    background: var(--surface-strong);
    color: #888;
    padding: 80px 0 30px;
    border-top: 4px solid var(--logo-red);
}

.site-footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-brand .custom-logo-link,
.footer-brand .navbar-brand {
    color: var(--white);
}

.footer-brand .custom-logo {
    max-height: 72px;
}

.social-link {
    color: var(--white);
}

.social-link:hover,
.social-link:focus {
    color: var(--logo-blue);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-menu li + li {
    margin-top: 0;
}

.footer-menu a {
    display: inline-block;
    color: #bcbcbc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: var(--white);
}

.eyebrow {
    color: var(--logo-red);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.archive-hero,
.page-header,
.empty-state {
    max-width: 820px;
}

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

.content-card,
.content-single {
    background: var(--surface-main);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--logo-red);
}

.content-card__body,
.content-single {
    padding: 32px;
}

.content-card h2 a,
.content-single h1,
.content-single h2,
.content-single h3 {
    color: var(--corporate-dark);
}

body[data-theme="dark"] .content-card h2 a,
body[data-theme="dark"] .content-single h1,
body[data-theme="dark"] .content-single h2,
body[data-theme="dark"] .content-single h3,
body[data-theme="dark"] .archive-description,
body[data-theme="dark"] .text-muted {
    color: #b8c2cc !important;
}

.entry-content > *:last-child,
.entry-summary > *:last-child {
    margin-bottom: 0;
}

.wp-block-image img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

.posts-navigation,
.post-navigation,
.pagination,
.comments-area {
    margin-top: 2rem;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
    background: var(--logo-red);
    border-color: var(--logo-red);
    color: var(--white);
}

.comment-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.comment-respond input:not([type="submit"]),
.comment-respond textarea,
.search-form .form-control {
    color: var(--text-main);
    background: var(--surface-main);
    border: 1px solid var(--border-soft);
}

.comment-respond input:not([type="submit"]):focus,
.comment-respond textarea:focus,
.search-form .form-control:focus {
    color: var(--text-main);
    background: var(--surface-main);
}

.site-navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.site-menu-toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--header-text);
}

.site-menu-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--header-text);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus {
    color: var(--header-text);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.theme-toggle__icon--sun {
    display: none;
}

body[data-theme="dark"] .theme-toggle__icon--sun {
    display: inline-flex;
}

body[data-theme="dark"] .theme-toggle__icon--moon {
    display: none;
}

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

body[data-theme="dark"] .bg-light {
    background-color: var(--surface-muted) !important;
}

body[data-theme="dark"] .professional-card,
body[data-theme="dark"] .expertise-item:hover,
body[data-theme="dark"] .expertise-item:focus-within {
    background: #161d24;
}

.search-form {
    max-width: 640px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    margin: 0;
    width: auto;
    background: #f1f1f1;
    color: #000;
    left: 5px;
    top: 5px;
    padding: 15px 23px 14px;
    z-index: 100000;
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        padding: 30px;
    }

    .site-navbar .custom-logo {
        max-height: 64px;
    }

    .navbar-collapse {
        padding-top: 1rem;
        display: none;
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-item + .nav-item {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: 0;
        background: transparent;
        padding: 0 0 0 1rem;
        min-width: 0;
        box-shadow: none;
    }

    .dropdown-item {
        padding: 0.8rem 0;
    }
}

@media (max-width: 767px) {
    .topbar {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 70px;
    }

    .hero-content {
        padding-left: 20px;
    }

    .hero-tagline {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

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

    .content-grid {
        grid-template-columns: 1fr;
    }

    .floating-call,
    #goTopBtn {
        bottom: 20px;
    }

    .floating-call {
        left: 20px;
    }

    #goTopBtn {
        right: 20px;
    }
}
