/* =========================================================
   EcoLite Holdings — style.css
   ========================================================= */

/* ---------------------------------------------------------
   CSS Custom Properties
   --------------------------------------------------------- */
:root {
  --primary:        #0B1929;
  --secondary:      #132D4A;
  --accent:         #C9A84C;
  --accent-blue:    #2196F3;
  --light:          #F8FAFC;
  --text-primary:   #FFFFFF;
  --text-secondary: #B0BEC5;
  --text-dark:      #1A2332;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-card: 8px;
  --radius-btn:  6px;
  --radius-pill: 100px;

  --shadow-card-dark:  0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover-dark: 0 8px 48px rgba(0, 0, 0, 0.56);
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--primary);
  color: var(--text-secondary);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ---------------------------------------------------------
   Focus styles
   --------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--accent);
  color: var(--primary);
}

.btn-gold:hover {
  background: #d4b055;
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: white;
  color: var(--primary);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* ---------------------------------------------------------
   Site Header — minimal transparent floating bar
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(11, 25, 41, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.site-nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: all;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.logo-dot {
  font-size: 8px;
  color: var(--accent);
  line-height: 1;
  margin-top: -6px;
}

.panel-contact-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  transition: color 0.2s ease;
}

.panel-contact-link:hover {
  color: #ffffff;
}

/* ---------------------------------------------------------
   Section labels
   --------------------------------------------------------- */
.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   3-Panel Brand Hero
   --------------------------------------------------------- */
.brand-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.brand-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.3s ease, border-top-width 0.3s ease;
  border-top: 4px solid transparent;
}

.brand-panel--led  { border-top-color: #1E88E5; }
.brand-panel--sport { border-top-color: #00E676; }
.brand-panel--exp  { border-top-color: #FFB300; }

.brand-panel:hover {
  transform: scale(1.02);
  z-index: 2;
}

.brand-panel--led:hover  { border-top-width: 8px; }
.brand-panel--sport:hover { border-top-width: 8px; }
.brand-panel--exp:hover  { border-top-width: 8px; }

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.7));
  transition: background 0.3s ease;
}

.brand-panel:hover .panel-overlay {
  background: rgba(0,0,0,0.2);
}

.panel-content {
  position: relative;
  z-index: 1;
  padding: 40px 36px;
  width: 100%;
}

.panel-accent-bar {
  height: 4px;
  width: 36px;
  margin-bottom: 20px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.brand-panel--led  .panel-accent-bar { background: #1E88E5; }
.brand-panel--sport .panel-accent-bar { background: #00E676; }
.brand-panel--exp  .panel-accent-bar { background: #FFB300; }

.brand-panel:hover .panel-accent-bar {
  width: 56px;
}

.panel-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.panel-descriptor {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1;
}

.brand-panel--led  .panel-descriptor { color: #64B5F6; }
.brand-panel--sport .panel-descriptor { color: #00E676; }
.brand-panel--exp  .panel-descriptor { color: #FFB300; }

.panel-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 280px;
}

.panel-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.panel-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.brand-panel:hover .panel-cta-arrow {
  transform: translateX(6px);
}

/* Mobile: stack panels vertically */
@media (max-width: 767px) {
  .brand-panels {
    grid-template-columns: 1fr;
    height: auto;
  }
  .brand-panel {
    min-height: 260px;
    transform: none !important;
  }
  .brand-panel:hover {
    transform: none;
  }
  .panel-name { font-size: 32px; }
  .panel-content { padding: 28px 24px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .panel-name { font-size: 32px; }
  .panel-content { padding: 32px 28px; }
}

/* ---------------------------------------------------------
   Brands Section
   --------------------------------------------------------- */
.brands-section {
  background: var(--secondary);
  padding: 100px 24px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 48px;
  line-height: 1.2;
}

.brand-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.brand-card {
  background: var(--primary);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover-dark);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.card-icon i {
  font-size: 40px;
}

.brand-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.card-descriptor {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.card-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .brand-cards {
    grid-template-columns: 1fr 1fr;
  }
  .section-headline {
    font-size: 36px;
  }
}

@media (min-width: 1280px) {
  .brand-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .section-headline {
    font-size: 40px;
  }
}

/* ---------------------------------------------------------
   Overview / About Section
   --------------------------------------------------------- */
.overview-section {
  background: var(--light);
  padding: 100px 24px;
}

.overview-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 1.3;
}

.overview-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: #546E7A;
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
  line-height: 1.7;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: #003366;
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: #546E7A;
  display: block;
  margin-top: 8px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .overview-headline { font-size: 32px; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 48px; }
}

@media (min-width: 1280px) {
  .overview-headline { font-size: 36px; }
}

/* ---------------------------------------------------------
   CTA Banner Section
   --------------------------------------------------------- */
.cta-banner {
  background: var(--primary);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .cta-headline { font-size: 32px; }
}

/* ---------------------------------------------------------
   CTA Contact Form
   --------------------------------------------------------- */
.cta-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

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

@media (min-width: 600px) {
  .cta-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.cta-field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-field input,
.cta-field select,
.cta-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.cta-field input::placeholder,
.cta-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cta-field select option {
  background: var(--secondary);
  color: #ffffff;
}

.cta-field input:focus,
.cta-field select:focus,
.cta-field textarea:focus {
  border-color: var(--accent);
}

.cta-field textarea {
  resize: vertical;
  min-height: 88px;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: #0D1F33;
  padding: 64px 24px 0;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: #546E7A;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
