/*
Theme Name: AssetTestAndTag
Description: A clean, professional WordPress theme for Asset Test and Tag - Adelaide's electrical testing and tagging service. This theme replicates the original assettestandtag.com.au website design with modern WordPress functionality.
Author: Claude Code
Version: 2.1
Text Domain: assettestandtag
Domain Path: /languages
Tags: business, electrical, testing, adelaide, responsive, clean, professional
*/

/* ==========================================================================
   CSS Custom Properties (Variables) - Updated Modern Palette
   ========================================================================== */
:root {
  /* Brand Colors - Modern Professional Palette */
  --brand-primary: #1e40af;    /* Deep professional blue */
  --brand-secondary: #0ea5e9;  /* Bright sky blue */
  --brand-accent: #f59e0b;     /* Warm amber for highlights */
  --brand-success: #10b981;    /* Success green */
  --brand-warning: #f59e0b;    /* Warning amber */
  --brand-danger: #ef4444;     /* Error red */
  
  /* Text Colors */
  --text-primary: #1f2937;     /* Dark gray-blue for better readability */
  --text-secondary: #4b5563;   /* Medium gray */
  --text-light: #ffffff;
  --text-muted: #6b7280;       /* Light gray */
  --text-inverse: #f9fafb;     /* Off-white for dark backgrounds */
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;         /* Very light blue-gray */
  --bg-gray: #e5e7eb;          /* Light gray */
  --bg-dark: #374151;          /* Dark blue-gray */
  --bg-darker: #1f2937;        /* Darker blue-gray */
  
  /* Border Colors */
  --border-light: #d1d5db;     /* Light gray border */
  --border-medium: #9ca3af;    /* Medium gray border */
  --border-dark: #4b5563;      /* Dark gray border */
  
  /* Shadow Colors */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --font-size-base: 16px;
  --font-size-small: 13px;
  --font-size-medium: 20px;
  --font-size-large: 36px;
  --font-size-x-large: 42px;
  --font-size-huge: 42px;
  --line-height-base: 1.6;
  
  /* Layout - Bootstrap Compatible */
  --container-max-width: 1200px;
  --content-max-width: 800px;
  --border-radius: 4px;
  --border-radius-rounded: 9999px;
  --border-radius-file: 2em;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.25rem;
  --spacing-xxl: 3.38rem;
  --spacing-xxxl: 5.06rem;
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--bg-white);
  margin: 0;
  padding: 0;
  min-width: 240px;
  font-weight: 400;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--spacing-md) 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 var(--spacing-md) 0;
}

ul, ol {
  margin: 0 0 var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

/* ==========================================================================
   Header Width Consistency Fix
   ========================================================================== */
   
/* Override Bootstrap container width to match theme's container width */
.container {
    max-width: 1200px !important; /* Match .art-sheet width */
}

/* Ensure header containers specifically match content width */
header .container,
.site-header .container,
.art-header-contact .container,
.site-header-desktop .container {
    max-width: 1200px !important;
    width: 100% !important;
}

/* Bootstrap responsive container overrides */
@media (min-width: 576px) {
    .container { max-width: 1200px !important; }
}
@media (min-width: 768px) {
    .container { max-width: 1200px !important; }
}
@media (min-width: 992px) {
    .container { max-width: 1200px !important; }
}
@media (min-width: 1200px) {
    .container { max-width: 1200px !important; }
}
@media (min-width: 1400px) {
    .container { max-width: 1200px !important; }
}

/* ==========================================================================
   Menu and Header Alignment Fixes
   ========================================================================== */

/* 1. Right-align main navigation menu */
.site-menu {
    justify-content: space-between !important;
}

.site-navigation {
    margin-left: auto !important;
}

.custom-menu-links {
    justify-content: flex-end !important;
    margin-left: auto !important;
}

/* 2. Fix doubled chevron issue - hide CSS-generated chevrons */
.custom-menu-links .menu-item-has-children > a::after {
    display: none !important; /* Hide CSS chevrons since HTML has FontAwesome chevrons */
}

/* Keep the FontAwesome dropdown arrows */
.dropdown-arrow {
    margin-left: 0.5rem !important;
    font-size: 0.8rem !important;
    transition: transform 0.3s ease !important;
}

.menu-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg) !important;
}

/* 3. Fix email alignment in top header */
.art-header-contact .text-end {
    text-align: right !important;
}

.art-header-contact .col-lg-6.text-end,
.art-header-contact .col-lg-6:last-child {
    display: flex !important;
    justify-content: flex-end !important;
}

.art-header-contact .contact-item.text-end {
    margin-left: auto !important;
}

/* ==========================================================================
   Logo Fix - Making logo visually appealing
   ========================================================================== */
   
/* Override the logo dimensions for better visual appeal */
.custom-logo {
    max-width: 200px !important;
    height: auto !important;
    width: auto !important;
}

/* More specific selectors to override inline styles and WordPress defaults */
img.custom-logo,
.custom-logo-link img.custom-logo,
.site-branding img.custom-logo,
header img.custom-logo {
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
}

/* Ensure the logo link container doesn't interfere */
.custom-logo-link {
    display: inline-block;
    max-width: 200px;
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
    .custom-logo,
    img.custom-logo,
    .custom-logo-link img.custom-logo,
    .site-branding img.custom-logo,
    header img.custom-logo {
        max-width: 150px !important;
    }
    
    .custom-logo-link {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .custom-logo,
    img.custom-logo,
    .custom-logo-link img.custom-logo,
    .site-branding img.custom-logo,
    header img.custom-logo {
        max-width: 120px !important;
    }
    
    .custom-logo-link {
        max-width: 120px;
    }
}

/* ==========================================================================
   Layout Structure (Artisteer-inspired)
   ========================================================================== */
.art-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.art-header-contact {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  padding: var(--spacing-sm) 0;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.art-header-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.art-header-contact .container {
  position: relative;
  z-index: 1;
}

/* Logo styling in navigation */
.art-nav .site-title {
  margin-bottom: 0;
}

.art-nav .site-title a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.art-nav .site-title a:hover {
  color: var(--brand-secondary);
  transform: translateY(-1px);
}

.art-nav .site-description {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Custom Logo Styling in Navigation */
.art-nav .site-logo {
  text-align: left;
}

.art-nav .site-logo img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.art-nav .site-logo img:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.art-nav .site-logo a {
  display: inline-block;
  text-decoration: none;
}

/* Ensure logo looks good on mobile in nav */
@media (max-width: 768px) {
  .art-nav .site-logo img {
    max-height: 50px;
  }
  
  .art-nav .site-title a {
    font-size: 1.5rem;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  opacity: 0.95;
  justify-content: flex-start;
}

.art-header-contact .contact-item {
  margin-bottom: 0;
}

.contact-item i {
  margin-right: var(--spacing-sm);
  color: var(--brand-accent);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.contact-item strong {
  margin-right: var(--spacing-sm);
  color: var(--text-inverse);
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--brand-accent);
  text-decoration: none;
}

/* Site Header - Matching Original Design */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header-desktop {
  padding: var(--spacing-sm) 0;
}

.site-menu {
  flex: 1;
  gap: var(--spacing-xl);
}

/* Custom Menu Links - Enhanced Active States */
.custom-menu-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: var(--spacing-md) !important;
  align-items: center !important;
}

.custom-menu-links li {
  margin: 0 !important;
  position: relative !important;
}

.custom-menu-links a {
  display: block !important;
  padding: var(--spacing-md) var(--spacing-lg) !important;
  color: var(--text-primary) !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  border-radius: 4px 4px 0 0 !important; /* Rounded top, flat bottom for underline */
  position: relative !important;
}

/* Hover State - Subtle highlight with amber underline */
.custom-menu-links a:hover:not(.current-menu-item a):not(.active a) {
  color: var(--brand-primary) !important;
  background-color: rgba(30, 64, 175, 0.05) !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}

.custom-menu-links a:hover:not(.current-menu-item a):not(.active a)::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: var(--brand-accent) !important;
  opacity: 1 !important;
  animation: slideInUnderline 0.3s ease-out !important;
}

/* Active/Current Menu Item - Distinctive styling */
.custom-menu-links .current-menu-item a,
.custom-menu-links .current-menu-item > a,
.custom-menu-links .active a {
  color: var(--brand-primary) !important;
  background-color: transparent !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  position: relative !important;
}

/* Active menu item underline - Thick blue underline */
.custom-menu-links .current-menu-item a::after,
.custom-menu-links .current-menu-item > a::after,
.custom-menu-links .active a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important; /* Thick underline */
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)) !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.3) !important; /* Subtle shadow for depth */
  animation: slideInUnderline 0.3s ease-out !important;
}

/* Animation for the underline */
@keyframes slideInUnderline {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Hide entry-title elements */
.entry-title,
h1.entry-title,
h2.entry-title {
  display: none !important;
}

/* Page Header Section */
.page-header-section {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(14, 165, 233, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-content {
  text-align: center;
  color: white;
  width: 100%;
  max-width: none;
  padding: var(--spacing-xl) var(--spacing-md);
}

.page-header-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.page-header-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  width: 100%;
}

.page-header-subtitle p {
  margin-bottom: var(--spacing-sm);
}

.page-header-subtitle p:last-child {
  margin-bottom: 0;
}

/* Page header without background image */
.page-header-section:not([style*="background-image"]) {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.page-header-section:not([style*="background-image"]) .page-header-overlay {
  background: none;
}

/* Hide edit links for logged-in users to maintain clean theme appearance */
.post-edit-link,
.edit-link,
.edit-post-link {
  display: none !important;
}

/* Bootstrap Card Block Styling */
.bootstrap-card-block .card {
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.375rem;
}

.bootstrap-card-block .card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  transform: translateY(-2px);
}

.bootstrap-card-block .card-img-top {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.bootstrap-card-block .card-body {
  padding: 1.25rem;
}

.bootstrap-card-block .card-title {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.bootstrap-card-block .card-text {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bootstrap-card-block .btn {
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

/* Ensure card maintains consistent height in grid layouts */
.bootstrap-card-block .card.h-100 {
  height: 100% !important;
}

.bootstrap-card-block .card-body.d-flex.flex-column {
  display: flex !important;
  flex-direction: column !important;
}

.bootstrap-card-block .flex-grow-1 {
  flex-grow: 1 !important;
}

.bootstrap-card-block .mt-auto {
  margin-top: auto !important;
}

/* Force equal heights for cards in WordPress columns */
.wp-block-columns .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}

.wp-block-columns .wp-block-column .bootstrap-card-block {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.wp-block-columns .wp-block-column .bootstrap-card-block .card {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Override WordPress column flex settings for card alignment */
.wp-block-columns {
  align-items: stretch !important;
}

.wp-block-columns .wp-block-column {
  align-items: stretch !important;
}

/* Alternative targeting for better browser support */
.is-layout-flex .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}

.is-layout-flex .bootstrap-card-block {
  flex: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header-section {
    min-height: 150px;
  }
  
  .page-header-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
}

/* Enhanced hover effect for non-active items */
.custom-menu-links li:not(.current-menu-item):not(.active) a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px; /* Thinner hover underline */
  background: var(--brand-accent); /* Amber accent color */
  transition: all 0.3s ease;
  border-radius: 0 0 2px 2px;
}

.custom-menu-links li:not(.current-menu-item):not(.active) a:hover::after {
  left: 0;
  right: 0;
}

/* Special Quote Button Style */
.menu-button-get-qoute a,
.menu-item-has-children.cta-button a {
  background-color: var(--brand-primary);
  color: var(--text-light) !important;
  border-radius: 25px;
  padding: calc(var(--spacing-sm) + 2px) calc(var(--spacing-lg) + 4px);
  font-weight: 600;
  transition: all 0.3s ease;
}

.menu-button-get-qoute a:hover,
.menu-item-has-children.cta-button a:hover {
  background-color: var(--brand-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Dropdown Menu Styles - Matching Original */
.custom-menu-links .menu-item-has-children {
  position: relative;
}

.custom-menu-links .menu-item-has-children > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  margin-left: var(--spacing-xs);
  transition: transform 0.3s ease;
}

.custom-menu-links .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--bg-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  padding: var(--spacing-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  display: none;
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.sub-menu li {
  width: 100%;
  margin: 0;
}

.sub-menu a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-lg);
  color: var(--text-primary);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  border-radius: 0;
}

.sub-menu a:hover {
  background-color: var(--bg-light);
  color: var(--brand-primary);
  border-left-color: var(--brand-primary);
  padding-left: calc(var(--spacing-lg) + var(--spacing-xs));
}

/* Mobile Menu Styling - Matching Original */
.menu-toggle {
  border: 2px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background-color: var(--brand-primary);
  color: var(--text-light);
}

.mobile-menu-wrapper {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding: var(--spacing-md) 0;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-links li {
  margin-bottom: var(--spacing-xs);
}

.mobile-menu-links a {
  display: block;
  padding: var(--spacing-md);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: var(--bg-white);
  transition: all 0.3s ease;
}

.mobile-menu-links a:hover {
  background-color: var(--brand-primary);
  color: var(--text-light);
  border-color: var(--brand-primary);
}

.nav-mobile-logo-menu-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.site-branding-logo-mobile img {
  max-height: 40px;
  width: auto;
}

/* Mobile Navigation - Responsive Design */
@media (max-width: 991px) {
  .site-navigation {
    display: none !important;
  }
  
  .site-menu {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .mobile-menu-links .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
    margin: var(--spacing-xs) 0 0 var(--spacing-lg);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block;
  }
  
  .mobile-menu-links .menu-item-has-children:hover .sub-menu,
  .mobile-menu-links .menu-item-has-children.active .sub-menu {
    max-height: 200px;
  }
  
  .mobile-menu-links .sub-menu a {
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    border-left: 2px solid var(--brand-primary);
  }
}

/* Mobile Contact Header */
@media (max-width: 767px) {
  .art-header-contact .row {
    text-align: left !important;
  }
  
  .art-header-contact .col-lg-6 {
    margin-bottom: var(--spacing-sm);
    display: block !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  
  .art-header-contact .col-lg-6:last-child {
    margin-bottom: 0;
    display: block !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  
  .art-header-contact .text-end,
  .art-header-contact .col-lg-6.text-end,
  .art-header-contact .col-lg-6:last-child {
    text-align: left !important;
    display: block !important;
    justify-content: flex-start !important;
  }
  
  .art-header-contact .contact-item {
    justify-content: flex-start !important;
    font-size: 0.9rem;
    text-align: left !important;
  }
}
  
  /* Mobile Dropdown Styles */
  .art-hmenu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
    margin: var(--spacing-xs) 0 0 var(--spacing-lg);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .art-hmenu .menu-item-has-children:hover .sub-menu,
  .art-hmenu .menu-item-has-children.active .sub-menu {
    max-height: 200px;
  }
  
  .art-hmenu .sub-menu a {
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    border-left: 2px solid var(--brand-primary);
  }
  
}

/* Desktop Navigation - Always Visible */
@media (min-width: 992px) {
  .site-navigation {
    display: block !important;
  }
  
  .nav-mobile-logo-menu-section {
    display: none !important;
  }
  
  .mobile-menu-wrapper {
    display: none !important;
  }
}

/* Main Content Area */
.art-sheet {
  flex: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.art-layout-wrapper {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
}

.art-content-layout {
  flex: 1;
}

.art-content {
  background-color: var(--bg-white);
}

/* Modern Card Styling */
.hero-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: var(--text-light);
  padding: var(--spacing-xl) var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner > * {
  position: relative;
  z-index: 1;
}

.hero-banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

.hero-banner .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  font-weight: 300;
  margin-bottom: 0;
}

/* Services Overview Styling */
.services-overview {
  margin: var(--spacing-xl) 0;
}

.services-overview h2 {
  text-align: center;
  color: var(--brand-primary);
  margin-bottom: var(--spacing-xl);
  font-size: 2.5rem;
  font-weight: 600;
}

.service-highlight {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.service-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 4px 0 0 4px;
}

.service-highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.service-highlight h3 {
  color: var(--brand-primary);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.service-highlight p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.service-highlight .button {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: var(--text-light);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.service-highlight .button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* About Preview Styling */
.about-preview {
  background: var(--bg-light);
  border-radius: 12px;
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.about-preview h2 {
  color: var(--brand-primary);
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
  font-weight: 600;
}

.about-preview p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.about-preview a {
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.about-preview a:hover {
  border-bottom-color: var(--brand-primary);
}

/* Post Content */
.art-post {
  margin-bottom: var(--spacing-xl);
}

.art-postcontent {
  line-height: var(--line-height-base);
}

.art-article img[align="right"] {
  float: right;
  margin: 0 0 var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
}

.art-article img[align="left"] {
  float: left;
  margin: 0 var(--spacing-lg) var(--spacing-md) 0;
  border-radius: var(--border-radius);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-xl);
  text-align: center;
  border-radius: var(--border-radius);
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg) auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.service-card {
  background-color: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
  color: var(--brand-primary);
  margin-bottom: var(--spacing-md);
}

.service-card .service-icon {
  font-size: 3rem;
  color: var(--brand-secondary);
  margin-bottom: var(--spacing-md);
}

/* About Section */
.about-intro {
  background-color: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  margin: var(--spacing-xl) 0;
}

.about-intro h2 {
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-item h3 {
  color: var(--brand-primary);
  font-size: 1.2rem;
}

/* Contact Info */
.contact-info {
  background-color: var(--brand-primary);
  color: var(--text-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  text-align: center;
  margin: var(--spacing-xl) 0;
}

.contact-info h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.contact-info a {
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
.art-footer {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  padding: var(--spacing-xl) 0;
  margin-top: auto;
  color: var(--text-inverse);
  position: relative;
}

.art-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-accent));
}

.art-footer-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  text-align: left;
}

.footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-nav-menu a {
  color: var(--text-inverse);
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-nav-menu a:hover {
  color: var(--brand-accent);
  opacity: 1;
}

.footer-copyright {
  text-align: right;
}

.footer-copyright p {
  font-size: 0.9rem;
  color: var(--text-inverse);
  opacity: 0.8;
  margin: var(--spacing-xs) 0;
}

.footer-copyright a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-copyright a:hover {
  color: var(--text-light);
}

/* Business Info Section */
.business-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
}

.business-info h5 {
  color: var(--brand-accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.business-info p,
.business-info ul {
  color: var(--text-inverse);
  opacity: 0.9;
  line-height: 1.6;
}

.business-info ul {
  list-style: none;
  padding: 0;
}

.business-info ul li {
  margin-bottom: var(--spacing-xs);
}

.business-info i {
  color: var(--brand-accent);
  margin-right: var(--spacing-sm);
}

/* Quick Contact */
.quick-contact {
  text-align: center;
  padding-top: var(--spacing-lg);
}

.quick-contact h5 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.contact-buttons .btn {
  border-radius: 8px;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.contact-buttons .btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border: none;
}

.contact-buttons .btn-outline-primary {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.contact-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-buttons .btn-outline-primary:hover {
  background: var(--text-light);
  color: var(--brand-primary);
}

/* Testimonials Carousel */
.testimonials-carousel {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: calc(var(--spacing-xl) / 2);
  margin: var(--spacing-xl) 0;
}

.testimonials-carousel .carousel-item {
  text-align: center;
  padding: calc(var(--spacing-xl) / 2) var(--spacing-md);
}

.testimonial-content {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  margin: 0 auto;
  max-width: 800px;
  position: relative;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.testimonial-client {
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: var(--spacing-sm);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: var(--spacing-md);
  font-size: 3em;
}

/* Hide carousel navigation arrows */
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
  display: none;
}

.testimonials-carousel .carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

.testimonials-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  border: 2px solid transparent;
  opacity: 0.5;
}

.testimonials-carousel .carousel-indicators button.active {
  opacity: 1;
  background-color: var(--brand-secondary);
}

/* Responsive testimonials */
@media (max-width: 768px) {
  .testimonial-content {
    margin: 0 var(--spacing-sm);
    padding: var(--spacing-lg);
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .testimonials-carousel .carousel-control-prev,
  .testimonials-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

/* Theme Attribution */
.theme-attribution {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-attribution p {
  margin: 0;
  color: var(--text-inverse);
  opacity: 0.7;
  font-size: 0.85rem;
}

.theme-attribution a {
  color: var(--brand-accent);
  text-decoration: none;
}

.theme-attribution a:hover {
  color: var(--text-light);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: 1px solid var(--border-medium);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 400px;
}

/* WordPress Block Buttons - Matching Original Theme */
.wp-block-button .wp-block-button__link {
  border-radius: var(--border-radius-rounded);
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  color: var(--text-light);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
  opacity: 0.85;
}

.wp-block-file .wp-block-file__button {
  border-radius: var(--border-radius-file);
  padding: .5em 1em;
}

.btn,
input[type="submit"] {
  background-color: var(--brand-primary);
  color: var(--text-light);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn:hover,
input[type="submit"]:hover {
  background-color: var(--brand-accent);
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  color: var(--text-light);
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* WordPress Blocks */
.wp-block-image {
  margin: var(--spacing-lg) 0;
}

.wp-block-quote {
  border-left: 4px solid var(--brand-primary);
  padding-left: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .art-hmenu {
    flex-direction: column;
    align-items: center;
  }
  
  .art-hmenu a {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    text-align: center;
  }
  
  .art-layout-wrapper {
    flex-direction: column;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-copyright {
    text-align: center;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .art-sheet {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .art-article img[align="right"],
  .art-article img[align="left"] {
    float: none;
    display: block;
    margin: var(--spacing-md) auto;
  }
}

/* Print Styles */
@media print {
  .art-nav,
  .art-footer {
    display: none;
  }
  
  .art-sheet {
    padding: 0;
    max-width: none;
  }
  
  body {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: var(--bg-white);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: var(--text-primary);
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   WordPress Media Library Image Placeholders
   ========================================================================== */

/* Service Category Icons as CSS */
.service-icon-placeholder {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  margin: 0 auto var(--spacing-md);
}

.service-icon-office::before {
  content: "\f1ad"; /* fa-building */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.service-icon-retail::before {
  content: "\f07a"; /* fa-shopping-cart */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.service-icon-industrial::before {
  content: "\f275"; /* fa-industry */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.service-icon-medical::before {
  content: "\f0fa"; /* fa-stethoscope */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Profile Image Placeholder */
.profile-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-light);
}

.profile-placeholder::before {
  content: "\f007"; /* fa-user */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Service Image Placeholders */
.service-image-placeholder {
  background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 48px;
  min-height: 200px;
}

.service-fire::before {
  content: "\f06d"; /* fa-fire */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ff6b35;
}

.service-emergency::before {
  content: "\f0eb"; /* fa-lightbulb */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffd23f;
}

.service-testing::before {
  content: "\f0e7"; /* fa-bolt */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--brand-primary);
}

h2.wp-block-heading, h3.wp-block-heading {
  margin-top: 3rem;
  margin-bottom: 0.3rem;
  padding-bottom: 0.1rem;
  line-height: 2.3rem;
}

/* ==========================================================================
   Footer Menu Navigation Styles
   ========================================================================== */

/* Footer Menu Wrapper */
.footer-menu-wrapper {
  margin: var(--spacing-md) 0;
}

/* Footer Menu Navigation */
.footer-menu-nav {
  display: block !important;
  visibility: visible !important;
}

.footer-menu-nav ul,
#footer-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  align-items: center;
}

.footer-menu-nav li,
#footer-menu li {
  margin: 0 !important;
  display: inline-block !important;
}

.footer-menu-nav a,
#footer-menu a {
  color: var(--text-inverse) !important;
  text-decoration: none;
  font-size: 0.9rem;
  padding: var(--spacing-xs) 0;
  transition: all 0.3s ease;
  opacity: 0.9;
  font-weight: 400;
}

.footer-menu-nav a:hover,
#footer-menu a:hover {
  color: var(--brand-accent) !important;
  text-decoration: underline;
  opacity: 1;
}

/* Responsive Footer Menu */
@media (max-width: 768px) {
  .footer-menu-nav ul,
  #footer-menu {
    gap: var(--spacing-sm);
    font-size: 0.85rem;
  }

  .footer-menu-nav a,
  #footer-menu a {
    font-size: 0.85rem;
    padding: var(--spacing-xs) var(--spacing-xs);
  }
}

/* Ensure footer menu shows even with theme conflicts */
.footer-copyright .footer-menu-nav {
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
}