/*
Theme Name: Au Engineering
Theme URI: https://auengineering.com
Description: Custom theme for Au Engineering - Solar Generator Design Consulting
Version: 1.0
Author: Au Engineering
*/

:root {
  --midnight-blue: #191970;
  --emerald-green: #008B45;
  --silver-steel: #C0C0C0;
  --misted-yellow: #E2C044;
  --midnight-blue-light: #2a2a8a;
  --emerald-green-light: #00a555;
  --silver-steel-light: #d4d4d4;
  --misted-yellow-light: #e8cc5a;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--midnight-blue);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--midnight-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--midnight-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 25, 112, 0.3);
}

.btn-secondary {
  background: var(--emerald-green);
  color: white;
}

.btn-secondary:hover {
  background: var(--emerald-green-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 139, 69, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--midnight-blue);
  color: var(--midnight-blue);
}

.btn-outline:hover {
  background: var(--midnight-blue);
  color: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--midnight-blue);
  color: white;
}

.section-dark h2, .section-dark h3 {
  color: white;
}

.section-light {
  background: #f8f9fa;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--midnight-blue);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--silver-steel);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  color: #555;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--misted-yellow);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--midnight-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--midnight-blue);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--midnight-blue);
  transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Footer Styles */
.footer {
  background: var(--midnight-blue);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 45px;
  width: auto;
}

.footer-logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  color: var(--misted-yellow);
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--misted-yellow);
}

.footer-links li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--misted-yellow);
}

.footer-cta {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 14px;
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-tagline-bottom {
  margin-top: 8px !important;
  color: var(--misted-yellow) !important;
  font-style: italic;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--midnight-blue);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--midnight-blue);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Text utilities */
.text-center { text-align: center; }
.text-primary { color: var(--midnight-blue); }
.text-emerald { color: var(--emerald-green); }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}
