/* ==========================================================================
   VICTORIOUS ELECTRICALS (VictoriousElectricals.shop) - LUXURY ELECTRICIAN DESIGN SYSTEM
   Theme: Midnight Obsidian & Champagne Gold Electrical Glow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #080A0E;
  --bg-surface: #0E121A;
  --bg-card: rgba(16, 22, 32, 0.75);
  --bg-card-hover: rgba(24, 32, 48, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  /* Luxury Gold & Amber Accents */
  --gold-primary: #E5C158;
  --gold-light: #FFF0BD;
  --gold-dark: #B88E28;
  --gold-gradient: linear-gradient(135deg, #FFF0BD 0%, #E5C158 50%, #B88E28 100%);
  --gold-glow: rgba(229, 193, 88, 0.25);
  
  --amber-glow: rgba(255, 159, 28, 0.2);
  --electric-blue: rgba(56, 189, 248, 0.15);
  
  /* WhatsApp Brand Color */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.45);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  /* Neutral Colors */
  --text-main: #F1F5F9;
  --text-body: #CBD5E1;
  --text-muted: #64748B;
  --text-dark: #090D14;
  
  /* Borders & Shadows */
  --border-subtle: rgba(229, 193, 88, 0.12);
  --border-highlight: rgba(229, 193, 88, 0.35);
  --border-glass: rgba(255, 255, 255, 0.07);
  
  --shadow-lux: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 30px rgba(229, 193, 88, 0.15);
  --shadow-wa: 0 12px 35px rgba(37, 211, 102, 0.3);
  
  /* Layout Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting Canvas Glow */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.08) 0%, rgba(255, 159, 28, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -300px;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle Animated Grid Background Pattern */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container Utility */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-serif {
  font-family: var(--font-serif);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.subhead-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subhead-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* HERO SECTION - NO NAVBAR, FULL 100VH FIRST FRAME CENTERING */
.hero-section {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 1.5rem 1.5rem;
  z-index: 2;
  box-sizing: border-box;
}

.hero-brand-header {
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-domain {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.9;
}

.brand-domain::before,
.brand-domain::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary));
}
.brand-domain::after {
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.hero-title-main {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-title-sub {
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 0.35rem;
  opacity: 0.85;
}

.footer-title-main {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.footer-title-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 0.1rem;
  opacity: 0.8;
}

.hero-subtitle {
  max-width: 580px;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-body);
  margin: 0 auto 1.8rem auto;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.88;
}

/* HERO WHATSAPP CENTERED BUTTON - PRIMARY VISUAL FOCUS */
.hero-whatsapp-container {
  margin: 1.2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.hero-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 5;
}

/* Tasteful Pulsing aura ring around centered Hero WhatsApp button */
.hero-wa-btn::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.5), rgba(18, 140, 126, 0.2));
  z-index: -1;
  opacity: 0.6;
  animation: waPulseRing 2.2s infinite ease-out;
}

.hero-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55), 0 6px 18px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #28E06C 0%, #159C8C 100%);
}

.hero-wa-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.wa-btn-subtext {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.online-dot {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--whatsapp-green);
  animation: blinkFast 1.5s infinite alternate;
}

/* Hero VIP Feature Badges Bar */
.hero-badges-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
  transition: border-color 0.3s ease;
}

.badge-pill:hover {
  border-color: var(--border-subtle);
  background: rgba(229, 193, 88, 0.05);
}

.badge-pill svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
}

/* SECTION STYLING */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* GLASSMORPHISM CARD GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.lux-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.lux-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lux-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lux), var(--shadow-gold);
}

.lux-card:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  color: var(--gold-primary);
  transition: all 0.3s ease;
}

.lux-card:hover .card-icon-box {
  background: var(--gold-gradient);
  color: var(--bg-dark);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(229, 193, 88, 0.3);
}

.card-icon-box svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-list {
  list-style: none;
  margin-bottom: 1.8rem;
}

.card-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.card-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.card-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.card-wa-link:hover {
  color: var(--whatsapp-green);
  gap: 12px;
}

.card-wa-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* VALUE PROPOSITION & STANDARDS SECTION */
.value-card-highlight {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.value-card-highlight:hover {
  border-color: var(--border-subtle);
  background: rgba(18, 24, 36, 0.9);
}

.val-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  opacity: 0.85;
}

.val-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.val-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* INTERACTIVE WHATSAPP CONSULTATION BUILDER */
.quote-builder-box {
  background: linear-gradient(145deg, rgba(16, 22, 32, 0.9), rgba(10, 14, 20, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lux);
  position: relative;
  overflow: hidden;
}

.quote-builder-box::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-select, .form-input {
  background: rgba(8, 11, 16, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-select:focus, .form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.2);
}

.form-select option {
  background-color: #0E121A;
  color: #F1F5F9;
}

.builder-action-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-wa);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.builder-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #28E06C 0%, #159C8C 100%);
}

.builder-action-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* COVERAGE TOWNS & LOCATIONS */
.locations-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 2rem;
}

.location-chip {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-body);
}

.location-chip.highlight {
  border-color: var(--border-subtle);
  color: var(--gold-primary);
  background: rgba(229, 193, 88, 0.06);
}

/* FOOTER & DIRECT CONTACT */
.footer-section {
  background: #05070A;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-contact-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-btn-wa {
  background: var(--whatsapp-green);
  color: white;
}
.footer-btn-wa:hover {
  background: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.footer-btn-call {
  background: rgba(229, 193, 88, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
}
.footer-btn-call:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FLOATING QUICK WHATSAPP FAB BUTTON FOR MOBILE & QUICK ACCESS */
.floating-wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa);
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-wa-fab:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.floating-wa-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ANIMATIONS */
@keyframes waPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

@keyframes blinkFast {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0.8rem;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
  }
  .hero-brand-header {
    margin-bottom: 0.5rem;
  }
  .brand-domain {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
  }
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
  .hero-whatsapp-container {
    margin: 0.8rem 0 1.2rem;
  }
  .hero-wa-btn {
    padding: 14px 24px;
    font-size: 1rem;
    width: 100%;
    max-width: 310px;
  }
  .hero-badges-bar {
    display: none !important;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .quote-builder-box {
    padding: 2rem 1.25rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
