/*
Theme Name: Electrician Contractor
Theme URI: https://www.theclassictemplates.com/products/electrician-contractor/
Author: classictemplate
Author URI: https://www.theclassictemplates.com/
Description: Electrician Contractor is a clean and practical WordPress theme designed for electrical service providers who need a professional online presence. It offers a structured layout to display services, project details, certifications, and contact information in a clear and organized manner. With simple customization options for colors, typography, and page sections, users can easily align the website with their brand identity. The responsive design ensures smooth performance across desktops, tablets, and mobile devices. Built with a lightweight and optimized code structure, Electrician Contractor helps maintain fast loading speeds and a seamless browsing experience. It is compatible with popular WordPress plugins, allowing additional functionality such as contact forms and service management. The theme follows WordPress coding standards, making it easy to set up and manage for both beginners and experienced users. Electrician Contractor is suitable for independent electricians, service agencies, and small businesses looking for a reliable and straightforward website solution.
Template: perfect-electrician
Version: 0.0.1
Tested up to: 6.9
Requires PHP: 5.6
Requires at least: 5.0
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Text Domain: electrician-contractor
Tags: blog, e-commerce, portfolio, one-column, two-columns, three-columns, four-columns, grid-layout, left-sidebar, right-sidebar, custom-logo, post-formats, featured-images, full-width-template, custom-colors, editor-style, wide-blocks, custom-header, custom-background, custom-menu, sticky-post, threaded-comments, theme-options

Electrician Contractor WordPress Theme has been created by classictemplate (theclassictemplates.com), 2026.
Electrician Contractor WordPress Theme is released under the terms of GNU GPL

Electrician Contractor WordPress Theme is child theme of Perfect Electrician WordPress Theme, Copyright 2021 classictemplate (theclassictemplates.com)
Electrician Contractor WordPress Theme is distributed under the terms of the GNU GPL
*/

:root {
  --first-theme-color: #001b42;
  --second-theme-color: #db1414;
}
#services .service-icon {
  top: -50px;
}
#services .content p {
  color: var(--first-theme-color) !important;
  opacity: 0.6;
  line-height: 1.7 !important;
}
#services .content a {
  display: inline-block;
  margin-top: 10px;
}
#footer input.search-submit {
  color: #fff;
}
#footer ul li {
  font-size: 15px;
}
.copywrap .copywrap-info p {
  margin: 0;
}
#services .services .service-icon {
  box-shadow: none !important;
}
#services {
  position: relative;
}
#services:after {
  content: "";
  width: 100%;
  height: 300px;
  background: var(--first-theme-color);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
#services .services {
  position: relative;
  z-index: 99;
}
#services .services .box {
  background: #fff;
}
#services .image {
  height: 250px;
}
#services .title p {
  margin-bottom: 5px;
}
.footer-widget {
  padding: 25px 0;
}
#catsliderarea .catwrapslider .big-title a {
  font-size: 40px;
}
#catsliderarea .catwrapslider p.slider-text {
  word-spacing: 0;
}
.sliderbtn a:hover {
  background: #ffffff !important;
  color: #000 !important;
}
#catsliderarea .slidesection {
  background: var(--first-theme-color);
}
.sliderbtn a {
  font-size: 16px !important;
}
.social-icons {
  text-align: right;
}
.social-icons a:last-child i {
  margin-right: 0;
}
.main-nav .menu-item-has-children > a::after {
  width: auto;
  height: auto;
  top: 50%;
  margin-left: 5px;
}
.menus {
  margin-bottom: 0;
}
.header .site-mail p,
.social-icons i,
.social-icons svg,
h4.site-title {
  color: #918f90;
}
.email-text {
  display: flex;
  gap: 50px;
  justify-content: end;
  align-items: center;
}
h4.site-title {
  font-weight: normal;
  font-size: 18px;
}
.header .right-mob a.h-phone .header-call-icon i {
  transform: rotateY(180deg);
}
.topbar-text p {
  color: var(--first-theme-color);
  text-transform: uppercase;
  font-size: 16px;
}

@media screen and (max-width: 1023px) {
  .email-text {
    gap: 15px;
  }
  .perfect-electrician-logo {
    margin: 20px 0;
  }
  .email-text {
    justify-content: space-between;
  }
}

:root {
  --ink: #1a1a1e;
  --sumi: #2d2d32;
  --slate: #5c5c66;
  --ash: #8e8e99;
  --fog: #c8c8d0;
  --mist: #e8e8ed;
  --shoji: #f4f3f0;
  --washi: #faf9f7;
  --copper: #b07856;
  --copper-light: #c99a7d;
  --copper-deep: #8f5e3f;
  --tint: #f0eeea;
}

body {
  background: var(--washi);
  color: var(--sumi);
  line-height: 1.75;
}

#pageholder {
  margin: 0 auto;
}

.header {
  background: var(--washi);
  border-bottom: 2px solid var(--ink);
  padding: 0.6rem 0;
}

.wp-block-table .has-fixed-layout th {
  text-align: center;
  color: var(--copper);
  font-size: inherit;
}

.wp-block-table td.has-text-align-center {
  text-align: center;
}

.menus {
  background: transparent !important;
}

.menus .row {
  background: transparent !important;
}

.main-nav ul {
  background: unset;
}

.main-nav a:hover {
  background: unset;
}

#menu-menu-1 li a {
  color: var(--slate) !important;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

#menu-menu-1 li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.4s;
}

#menu-menu-1 li a:hover::after,
#menu-menu-1 li.current-menu-item a::after {
  width: 100%;
}

#menu-menu-1 li a:hover {
  color: var(--ink) !important;
}

.toggle-nav button {
  background: none;
  border: 1px solid var(--fog);
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  cursor: pointer;
}

.contentsecwrap {
  padding: 0;
}

.page-header {
  padding: 1.5rem 0 1.5rem;
  border-bottom: 1px solid var(--fog);
  margin-bottom: 1.5rem;
  position: relative;
}

.page-header::before {
  content: "◯";
  position: absolute;
  top: 1.2rem;
  right: 0;
  font-size: 3.5rem;
  color: var(--mist);
  line-height: 1;
  opacity: 0.6;
}

.page-header h1 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  max-width: 75%;
}

.entry-content {
  max-width: 100%;
}

.entry-content > p:first-of-type {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.entry-content p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--sumi);
  margin-bottom: 0.9rem;
}

.entry-content a {
  color: var(--copper);
  text-decoration: none;
  transition: color 0.3s;
}

.entry-content a:hover {
  color: var(--copper-deep);
}

h2.wp-block-heading {
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
  position: relative;
}

h2.wp-block-heading::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--fog);
  border-radius: 50%;
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--washi);
}

.rest-info-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 2rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--fog);
}

.rest-info-block > .wp-block-column {
  padding: 1.2rem 1rem;
  border-right: 1px solid var(--mist);
  position: relative;
}

.rest-info-block > .wp-block-column:last-child {
  border-right: none;
}

.rest-info-block > .wp-block-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.rest-info-block > .wp-block-column:hover::before {
  transform: scaleX(1);
}

.rest-info-block .big-num {
  font-size: 2.8rem;
  font-weight: 200;
  color: var(--copper);
  line-height: 1;
  margin: 0 0 0.2rem;
  letter-spacing: -0.03em;
}

.rest-info-block p:not(.big-num) {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  color: var(--ash) !important;
  margin-bottom: 0.15rem !important;
}

.rest-info-block p:not(.big-num) strong {
  color: var(--sumi);
  font-weight: 500;
  font-size: 0.82rem;
}

.first-rest {
  margin: 2rem 0;
  gap: 2rem;
  align-items: flex-start;
}

.first-rest > .wp-block-column:first-child {
  flex: 1.3;
  padding-right: 1.5rem;
  border-right: 1px solid var(--mist);
}

.first-rest > .wp-block-column:last-child {
  position: relative;
}

.first-rest > .wp-block-column:last-child::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -8px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--fog);
  z-index: 0;
}

.first-rest figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.first-rest figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.5s;
}

.first-rest figure img:hover {
  filter: saturate(1) contrast(1);
}

.sec-rest {
  margin: 2.5rem 0;
  position: relative;
  padding: 3rem 2rem !important;
  min-height: auto;
}

.sec-rest .wp-block-cover__background {
  opacity: 0.82 !important;
}

.sec-rest .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

.sec-rest h2.wp-block-heading {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.25);
  margin-top: 0;
}

.sec-rest h2.wp-block-heading::before {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

.sec-rest p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.92rem !important;
}

.sec-rest .wp-block-quote {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  margin: 1.2rem 0;
  padding: 1rem 0;
}

.sec-rest .wp-block-quote p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.sec-rest .wp-block-quote .has-text-align-right {
  color: var(--copper-light) !important;
}

.third-rest {
  margin: 2.5rem 0;
  gap: 2rem;
  align-items: flex-start;
}

.third-rest > .wp-block-column:first-child {
  flex: 0.7;
  position: relative;
}

.third-rest > .wp-block-column:first-child::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 50%;
  height: 50%;
  border: 1px solid var(--fog);
  z-index: 0;
}

.third-rest > .wp-block-column:last-child {
  flex: 1.3;
  padding-left: 1.5rem;
  border-left: 1px solid var(--mist);
}

.third-rest figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.third-rest figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.5s;
}

.third-rest figure img:hover {
  filter: saturate(1) contrast(1);
}

.top-restaurants {
  margin: 2.5rem 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.top-restaurants .wp-block-columns {
  width: 100%;
}

.top-restaurants > .wp-block-group__inner-container > h2 {
  padding: 0;
  border: none;
  position: relative;
}

.top-restaurants > .wp-block-group__inner-container > h2::before {
  display: none;
}

.top-restaurants > .wp-block-group__inner-container > h2::after {
  content: "◎";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--fog);
  font-weight: 200;
}

.top-1,
.top-2,
.top-3 {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--mist);
  position: relative;
}

.top-3 {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.top-1 > h3,
.top-2 > h3,
.top-3 > h3 {
  color: var(--ink);
  margin: 0 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--fog);
  position: relative;
}

.top-1 > h3::before {
  content: "Ⅰ";
  margin-right: 0.6rem;
  color: var(--copper);
  font-weight: 300;
}

.top-2 > h3::before {
  content: "Ⅱ";
  margin-right: 0.6rem;
  color: var(--copper);
  font-weight: 300;
}

.top-3 > h3::before {
  content: "Ⅲ";
  margin-right: 0.6rem;
  color: var(--copper);
  font-weight: 300;
}

.top-1 > figure.wp-block-image,
.top-2 > figure.wp-block-image,
.top-3 > figure.wp-block-image {
  margin: 0 0 0.8rem;
  position: relative;
}

.top-1 > figure.wp-block-image::after,
.top-2 > figure.wp-block-image::after,
.top-3 > figure.wp-block-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(26, 26, 30, 0.15), transparent);
  pointer-events: none;
}

.top-1 > figure.wp-block-image img,
.top-2 > figure.wp-block-image img,
.top-3 > figure.wp-block-image img {
  filter: saturate(0.8) contrast(1.05);
  transition:
    filter 0.5s,
    transform 0.6s;
}

.top-1 > figure.wp-block-image:hover img,
.top-2 > figure.wp-block-image:hover img,
.top-3 > figure.wp-block-image:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.015);
}

.top-1 > .wp-block-columns .number p,
.top-2 > .wp-block-columns .number p,
.top-3 > .wp-block-columns .number p {
  font-size: 2rem !important;
  font-weight: 200 !important;
  color: var(--copper) !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.top-1 > .wp-block-columns .info p,
.top-2 > .wp-block-columns .info p,
.top-3 > .wp-block-columns .info p {
  margin: 0 !important;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mist);
}

.top-1 figure.wp-block-table table,
.top-2 figure.wp-block-table table,
.top-3 figure.wp-block-table table {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--fog);
}

.top-1 figure.wp-block-table td strong,
.top-2 figure.wp-block-table td strong,
.top-3 figure.wp-block-table td strong {
  display: block;
  font-size: 0.92rem;
  color: var(--copper);
  margin-bottom: 0.1rem;
}

.theme-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.theme-list li {
  padding: 0.7rem 0 0.7rem 2.2rem;
  border-bottom: 1px solid var(--mist);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--sumi);
  position: relative;
}

.theme-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s;
}

.theme-list li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: calc(1.05rem + 3.5px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0;
  transition: opacity 0.3s;
}

.theme-list li:hover::after {
  opacity: 1;
}

.theme-list li:hover::before {
  background: rgba(176, 120, 86, 0.08);
}

.theme-list li:last-child {
  border-bottom: none;
}

.theme-list li strong {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .top-restaurants > .wp-block-group__inner-container > h2::after {
    display: none;
  }
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
  border-color: var(--fog);
}

.wp-block-quote {
  margin: 1.5rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  position: relative;
}

.wp-block-quote::before {
  content: "❝";
  position: absolute;
  top: -0.6rem;
  left: 0;
  font-size: 1.8rem;
  color: var(--copper);
  background: var(--washi);
  padding-right: 0.5rem;
  line-height: 1;
}

.wp-block-quote p em {
  font-size: 0.92rem;
  line-height: 1.7;
}

.wp-block-quote .has-text-align-right {
  font-size: 0.75rem !important;
  color: var(--copper) !important;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

.wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-image figcaption {
  font-size: 0.72rem;
  color: var(--ash);
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

#rank-math-faq {
  margin: 2rem 0;
  border-top: 2px solid var(--ink);
}

.rank-math-list-item {
  border-bottom: 1px solid var(--mist);
  padding: 1rem 0;
  position: relative;
}

.rank-math-list-item::before {
  content: "Q";
  position: absolute;
  top: 1rem;
  left: -1.8rem;
  font-size: 0.7rem;
  color: var(--copper);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.rank-math-question strong {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.rank-math-answer {
  margin-top: 0.5rem;
}

.rank-math-answer p {
  font-size: 0.88rem !important;
  color: var(--slate) !important;
  line-height: 1.75 !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}

table thead {
  border-bottom: 2px solid var(--ink);
}

table th {
  padding: 0.5rem 0.8rem;
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--mist);
  color: var(--sumi);
}

table tbody tr:hover {
  background: var(--tint);
}

.entry-meta {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mist);
  font-size: 0.75rem;
}

.entry-meta a {
  color: var(--ash);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

#footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 2px solid var(--ink);
  background: var(--washi);
}

.footer-bottom {
  background: var(--washi);
}

#footer p {
  font-size: 0.72rem;
  color: var(--ash);
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0;
}

#button {
  display: flex !important;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  color: var(--washi) !important;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  border: none;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  text-transform: uppercase;
}

#wpadminbar {
  opacity: 0.3;
  transition: opacity 0.3s;
}

#wpadminbar:hover {
  opacity: 1;
}

@media screen and (max-width: 1000px) {
  .sidenav {
    background: #000 !important;
    opacity: 1;
  }
  #menu-menu-1 li a {
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
    max-width: 100%;
  }

  .page-header::before {
    display: none;
  }

  h2.wp-block-heading {
    font-size: 26px;
  }

  h3.wp-block-heading {
    font-size: 22px;
  }

  .rest-info-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .rest-info-block > .wp-block-column:nth-child(2) {
    border-right: none;
  }

  .rest-info-block > .wp-block-column:nth-child(1),
  .rest-info-block > .wp-block-column:nth-child(2) {
    border-bottom: 1px solid var(--mist);
  }

  .rest-info-block .big-num {
    font-size: 2rem;
  }

  .first-rest,
  .third-rest {
    flex-direction: column;
  }

  .first-rest > .wp-block-column:first-child {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--mist);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .first-rest > .wp-block-column:last-child::before {
    display: none;
  }

  .third-rest > .wp-block-column:last-child {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--mist);
    padding-top: 1rem;
  }

  .third-rest > .wp-block-column:first-child::after {
    display: none;
  }

  .sec-rest {
    padding: 2rem 1rem !important;
  }

  .rank-math-list-item::before {
    display: none;
  }

  h2.wp-block-heading::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .rest-info-block {
    grid-template-columns: 1fr;
  }

  .rest-info-block > .wp-block-column {
    border-right: none;
    border-bottom: 1px solid var(--mist);
  }

  .rest-info-block > .wp-block-column:last-child {
    border-bottom: none;
  }
}
