/*
Theme Name: AJH Electrical
Theme URI: 
Author: Antigravity
Author URI: 
Description: A premium, dark-mode custom theme for AJH Electrical & Air. Features electric blue branding, responsive design, and smooth animations.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Text Domain: ajh-electrical
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;700;800&display=swap');

:root {
  /* Colors from Logo */
  --primary-blue: #0044cc;
  --electric-blue: #00aaff;
  --gold: #ffdd00;
  --silver: #e0e0e0;
  
  /* Backgrounds */
  --bg-dark: #050505;
  --bg-card: rgba(20, 20, 25, 0.7);
  --bg-card-hover: rgba(30, 30, 40, 0.9);
  
  /* Accents */
  --glow-blue: rgba(0, 170, 255, 0.3);
  --border-light: rgba(255, 255, 255, 0.1);
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;

  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
  background: #000;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-bar-contact a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-contact a:hover {
  color: var(--electric-blue);
}

.site-header {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding .custom-logo {
  height: 60px;
  width: auto;
}

.site-branding h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--silver);
}

.site-branding h1 span {
  color: var(--electric-blue);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.main-navigation a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--electric-blue);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric-blue), var(--primary-blue));
  color: #fff;
  box-shadow: 0 4px 15px var(--glow-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  background: linear-gradient(to right, var(--electric-blue), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--electric-blue);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: var(--electric-blue);
  box-shadow: 0 10px 30px rgba(0, 170, 255, 0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--electric-blue);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content h2 span {
  color: var(--electric-blue);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--electric-blue);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--silver);
  margin: 0;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */

.contact-cta {
  background: linear-gradient(135deg, rgba(0, 68, 204, 0.1), rgba(0, 170, 255, 0.05));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--electric-blue), var(--gold));
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-details-large {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
}

.contact-item i {
  color: var(--electric-blue);
}

.contact-item a {
  color: var(--text-main);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--electric-blue);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #000;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--silver);
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--electric-blue);
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-credentials p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-credentials strong {
  color: var(--silver);
}

.footer-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--silver);
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 0.8rem;
}

.footer-widget ul li a {
  color: var(--text-muted);
}

.footer-widget ul li a:hover {
  color: var(--electric-blue);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
