/*
Theme Name: Aurora Optronics
Theme URI: https://www.auroptix.com
Author: Aurora Optronics
Author URI: https://www.auroptix.com
Description: Professional LED Display, Lighting & HybridPower Solutions Theme
Version: 6.0.0
License: Proprietary
Text Domain: aurora-optronics
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary:       #1a6e6e;
  --color-primary-dark:  #0f4f4f;
  --color-green:         #00c896;
  --color-green-dark:    #00a87d;
  --color-orange:        #f5a623;
  --color-orange-dark:   #e09000;
  --color-white:         #ffffff;
  --color-bg:            #f8f9fa;
  --color-bg-card:       #ffffff;
  --color-text:          #1a2332;
  --color-text-muted:    #6b7280;
  --color-text-light:    #9ca3af;
  --color-border:        #e5e7eb;
  --color-footer-bg:     #0f1923;
  --color-footer-text:   #9ca3af;
  --gradient-hero:       linear-gradient(135deg, #0f2744 0%, #0f4f4f 50%, #00c896 100%);
  --gradient-header:     linear-gradient(135deg, #0f2744 0%, #0f4f4f 100%);
  --gradient-green:      linear-gradient(135deg, #00c896 0%, #00a87d 100%);
  --gradient-orange:     linear-gradient(135deg, #f5a623 0%, #e09000 100%);
  --shadow-card:         0 4px 20px rgba(0,0,0,0.08);
  --shadow-card-hover:   0 8px 40px rgba(0,0,0,0.15);
  --radius-card:         12px;
  --radius-btn:          6px;
  --font-main:           'Inter', 'Helvetica Neue', Arial, sans-serif;
  --transition:          all 0.3s ease;
  --container-width:     1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-green);
  color: var(--color-white);
  border-color: var(--color-green);
}
.btn-primary:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,150,0.4);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}
.btn-outline:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.btn-orange {
  background: var(--gradient-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.btn-orange:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tag-blue   { background: #dbeafe; color: #1d4ed8; }
.tag-green  { background: #d1fae5; color: #065f46; }
.tag-orange { background: #fef3c7; color: #92400e; }
.tag-purple { background: #ede9fe; color: #5b21b6; }
.tag-red    { background: #fee2e2; color: #991b1b; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-body { padding: 28px; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ============================================================
   GRID SYSTEMS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 39, 68, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(15, 39, 68, 0.99);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.3px;
}
.logo-tagline {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }

.primary-nav a,
.primary-nav .nav-item {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.primary-nav a:hover,
.primary-nav .nav-item:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.primary-nav a.active,
.primary-nav .nav-item.active {
  color: var(--color-green);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
}

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

.nav-dropdown-menu a {
  display: block;
  color: var(--color-text) !important;
  padding: 10px 16px !important;
  border-radius: 6px;
  font-size: 0.88rem;
  background: transparent !important;
}

.nav-dropdown-menu a:hover {
  background: var(--color-bg) !important;
  color: var(--color-primary) !important;
}

/* Nav CTA */
.nav-hybridpower {
  color: var(--color-green) !important;
  font-weight: 700 !important;
}

.nav-cta {
  background: var(--gradient-green) !important;
  color: var(--color-white) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,200,150,0.4);
}

/* Lang switcher */
.lang-switcher {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  cursor: pointer;
  margin-left: 8px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 120px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--color-border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--color-green); }

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-name { color: var(--color-white); font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: var(--color-footer-text); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-footer-text);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--color-footer-text);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--color-green); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-footer-text);
}
.footer-contact-item .icon {
  color: var(--color-green);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */
.elementor-section,
.elementor-container {
  max-width: 100% !important;
}

.elementor-page .page-hero,
.elementor-page #site-header,
.elementor-page #site-footer {
  display: block;
}

body.elementor-editor-active #site-header {
  position: relative !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat-item:nth-child(2) { border-right: none; }
  .stats-row .stat-item:nth-child(3) { border-right: 1px solid var(--color-border); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .primary-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
