/*
Theme Name: Call Plumbers Now
Theme URI: https://callplumbersnow.com/
Author: Antigravity AI
Description: A custom, lightweight, ultra-performance WordPress theme for CallPlumbersNow.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: callplumbersnow
*/

/* Transparent Header on Load (Overlay Hero) */
body:not(.scrolled) header.site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
@media (min-width: 768px) {
  body:not(.scrolled) header.site-header {
    top: 36px !important; /* height of the top utility bar */
  }
}

/* Scrolled Sticky Header (Solid White) */
body.scrolled header.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Smooth transition styles for header elements */
header.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease !important;
}

/* Toggle Logo Elements */
body:not(.scrolled) header.site-header .logo-white {
  display: block !important;
}
body:not(.scrolled) header.site-header .logo-color {
  display: none !important;
}
body.scrolled header.site-header .logo-white {
  display: none !important;
}
body.scrolled header.site-header .logo-color {
  display: block !important;
}
header.site-header .logo-main {
  display: block !important;
}

/* Toggle Text Colors on Scroll */
body.scrolled header.site-header .logo-text-main {
  color: #0b1f3a !important;
}
body.scrolled header.site-header .logo-text-accent {
  color: #0066cc !important;
}
body.scrolled header.site-header .logo-text-sub {
  color: #4b5563 !important;
}

/* Mobile Toggle Hamburger button color on Scroll */
body.scrolled header.site-header #mobile-menu-btn {
  color: #0b1f3a !important;
}

/* Primary Desktop Navigation Links */
body.scrolled header.site-header nav a {
  color: #4b5563 !important;
}
body.scrolled header.site-header nav a:hover {
  color: #0066cc !important;
  background-color: rgba(0, 102, 204, 0.05) !important;
}
body.scrolled header.site-header nav a.current-menu-item {
  color: #0066cc !important;
  background-color: rgba(0, 102, 204, 0.1) !important;
}

/* Mobile Navigation Drawer on Scroll */
body.scrolled #mobile-menu {
  background-color: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}
body.scrolled #mobile-menu a {
  color: #4b5563 !important;
}
body.scrolled #mobile-menu a:hover {
  color: #0066cc !important;
  background-color: rgba(0, 102, 204, 0.05) !important;
}
body.scrolled #mobile-menu a.current-menu-item {
  color: #0066cc !important;
  background-color: rgba(0, 102, 204, 0.1) !important;
}
body.scrolled #mobile-menu .border-t {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Standard Gutenberg Content Styling */
.standard-editor-content .prose h2,
.standard-content-section .prose h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.875rem;
  font-weight: 900;
  color: #0b1f3a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.standard-editor-content .prose h3,
.standard-content-section .prose h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b1f3a;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.standard-editor-content .prose p,
.standard-content-section .prose p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}
.standard-editor-content .prose ul,
.standard-content-section .prose ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: #4b5563;
}
.standard-editor-content .prose ol,
.standard-content-section .prose ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: #4b5563;
}
.standard-editor-content .prose li,
.standard-content-section .prose li {
  margin-bottom: 0.5rem;
}
.standard-editor-content .prose a,
.standard-content-section .prose a {
  color: #0066cc;
  text-decoration: underline;
}
.standard-editor-content .prose a:hover,
.standard-content-section .prose a:hover {
  color: #004d99;
}

