/*
Theme Name: knowca theme
Theme URI: https://knowcaelectric.com
Author: Knowca Electric LLC
Author URI: https://knowcaelectric.com
Description: Excellence in Engineering Power Safety services.
Version: 1.0
Tags: Engineering Services
*/
/* ---------- Body ---------- */
body {
  font-family: "Open Sans", sans-serif;
  color: #222;
  background-color: #fdfdfd; /* neutral default */
  margin: 0;
  padding: 0;
}

body.home,
body.home main {
  background-color: #cce6ff; /* sky blue for homepage only */
}



header, footer {
  background-color: #cce6ff; /* soft sky-light blue */
  color: #111;
  text-align: center;
  margin:0;
  padding: 0;
}

h1, h2, h3 {
  font-weight: 600;
  color: white;
}
/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  background-color: #cce6ff; /* Sky light blue */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

/* Let the container handle layout */
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header .logo img {
    height: 70px;
	width:auto;
	display:block;
	object-fit:contain;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #005fa3; /* darker blue hover */
}

/* Responsive to mobile screen*/

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  background: url('images/bg.png') no-repeat center center/cover;
  height: 100vh; /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #cce6ff;
  position: relative;
  margin: 0;
  padding: 0;
}

/* optional overlay to make text stand out */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: #007acc;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #005fa3;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #cce6ff;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #111;
  margin-top: 3rem;
}

.footer-nav .nav-menu {
  justify-content: center;
  padding-top: 0.5rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

*/

/* ---------- About Page ---------- */
.about-page {
  background-color: white;
  color: #111;
  padding: 3rem 0;
}

body.page-about main {
  background-color: transparent;
}

.about-page h1, 
.about-page h2 {
  color: #003366; /* deep blue accent for titles */
  margin-bottom: 1rem;
}

.about-page p {
  line-height: 1.6;
  font-size: 1.1rem;
  max-width: 800px;
	margin: 0 0 2rem;
  /*margin: 0 auto 2rem;*/
}
/* --- Override home page blue for About page --- */
body.page-about,
body.page-about main,
body.page-about .about-page,
body.page-about .hero,
body.page-about .hero-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

