/*
Theme Name: GenZ Technology
Theme URI: https://genz-technology.com
Author: GenZ Technology
Author URI: https://genz-technology.com
Description: Modern technology company theme for GenZ Technology — featuring animated circuit board hero, services grid, and full contact form.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genz-technology
Tags: business, technology, one-page, responsive, custom-colors
*/

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

:root {
  --charcoal: #2D3748;
  --blue: #0099E6;
  --cyan: #00C8FF;
  --white: #F8FAFC;
  --gray: #64748B;
  --dark-bg: #1A2333;
  --card-bg: #243044;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(26, 35, 51, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,153,230,0.15);
}

.site-branding {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.3rem;
  color: var(--white); text-decoration: none;
}
.site-branding .accent { color: var(--cyan); }
.site-branding svg { width: 36px; height: 36px; }

.main-navigation ul {
  list-style: none; display: flex; gap: 36px; margin: 0; padding: 0;
}
.main-navigation ul li a {
  color: rgba(248,250,252,0.75); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  transition: color 0.2s;
}
.main-navigation ul li a:hover { color: var(--cyan); }
.main-navigation ul li.nav-cta a {
  background: var(--blue); color: var(--white) !important;
  padding: 9px 22px; border-radius: 6px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.main-navigation ul li.nav-cta a:hover { background: var(--cyan) !important; color: var(--dark-bg) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 1.5rem; cursor: pointer;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  background: var(--dark-bg);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 6vw 80px;
}

.circuit-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.12; pointer-events: none;
}

.circuit-path {
  stroke: var(--cyan); stroke-width: 1.5; fill: none;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: traceCircuit 3s ease-in-out forwards;
}
.circuit-path:nth-child(2) { animation-delay: 0.4s; stroke: var(--blue); }
.circuit-path:nth-child(3) { animation-delay: 0.8s; }
.circuit-path:nth-child(4) { animation-delay: 1.2s; stroke: var(--blue); }
.circuit-path:nth-child(5) { animation-delay: 1.6s; }

.circuit-dot {
  fill: var(--cyan); opacity: 0;
  animation: dotAppear 0.3s ease-out forwards;
}
.circuit-dot:nth-child(even) { fill: var(--blue); animation-delay: 1s; }
.circuit-dot:nth-child(3n) { animation-delay: 1.5s; }
.circuit-dot:nth-child(4n) { animation-delay: 2s; }

@keyframes traceCircuit { to { stroke-dashoffset: 0; } }
@keyframes dotAppear { to { opacity: 1; } }

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-eyebrow {
  font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--cyan);
}

.hero-section h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.hero-section h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-section .hero-desc {
  font-size: 1.1rem; line-height: 1.7;
  color: rgba(248,250,252,0.65);
  max-width: 520px; margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--dark-bg); padding: 14px 32px; border-radius: 7px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,153,230,0.35); display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,153,230,0.5); }

.btn-secondary {
  background: transparent; color: var(--white); padding: 14px 32px;
  border-radius: 7px; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 1rem; text-decoration: none;
  border: 1.5px solid rgba(248,250,252,0.3);
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--card-bg); padding: 40px 6vw;
  display: flex; gap: 0; justify-content: space-around; flex-wrap: wrap;
  border-bottom: 1px solid rgba(0,153,230,0.1);
}
.stat {
  text-align: center; padding: 12px 24px;
  border-right: 1px solid rgba(248,250,252,0.08);
  flex: 1; min-width: 140px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.2rem;
  color: var(--cyan); display: block; line-height: 1;
}
.stat-label {
  font-size: 0.8rem; color: rgba(248,250,252,0.5);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 6px; display: block;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section { padding: 100px 6vw; background: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px; display: block;
}
.section-header h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--charcoal); line-height: 1.2;
}
.section-header p {
  color: var(--gray); margin-top: 16px; font-size: 1.05rem;
  max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}

.service-card {
  background: var(--white); border: 1.5px solid #E2E8F0;
  border-radius: 12px; padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--blue); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,99,186,0.1);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0,153,230,0.1), rgba(0,200,255,0.15));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; font-size: 1.5rem;
}
.service-card h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.15rem; color: var(--charcoal); margin-bottom: 10px;
}
.service-card p { color: var(--gray); font-size: 0.93rem; line-height: 1.65; }

/* =============================================
   WHY US SECTION
   ============================================= */
.why-section {
  background: var(--dark-bg); padding: 100px 6vw;
  position: relative; overflow: hidden;
}
.why-section .section-header h2 { color: var(--white); }
.why-section .section-header p { color: rgba(248,250,252,0.55); }
.why-section .section-eyebrow { color: var(--cyan); }

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; max-width: 1000px; margin: 0 auto;
}

.why-item {
  background: var(--card-bg); border: 1px solid rgba(0,153,230,0.12);
  border-radius: 10px; padding: 28px 28px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color 0.2s;
}
.why-item:hover { border-color: rgba(0,200,255,0.35); }

.why-check {
  width: 32px; height: 32px; min-width: 32px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.85rem; font-weight: 700;
}
.why-item h4 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  color: var(--white); margin-bottom: 6px; font-size: 1rem;
}
.why-item p { color: rgba(248,250,252,0.5); font-size: 0.88rem; line-height: 1.6; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section { padding: 100px 6vw; background: var(--white); }

.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-inner h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--charcoal); margin-bottom: 16px;
}
.contact-inner > p {
  color: var(--gray); font-size: 1.05rem; line-height: 1.7; margin-bottom: 48px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray);
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid #E2E8F0; border-radius: 8px; padding: 12px 16px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--charcoal);
  background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,153,230,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--dark-bg); border: none; cursor: pointer;
  padding: 15px 40px; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem;
  width: 100%; margin-top: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,153,230,0.3);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,153,230,0.4); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111922; padding: 48px 6vw 28px;
  border-top: 1px solid rgba(0,153,230,0.1);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; margin-bottom: 32px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--white);
}
.footer-logo .accent { color: var(--cyan); }

.footer-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.footer-nav ul li a {
  color: rgba(248,250,252,0.4); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-nav ul li a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(248,250,252,0.06); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(248,250,252,0.25); font-size: 0.82rem; margin: 0; }

/* =============================================
   WORDPRESS DEFAULT CLASSES
   ============================================= */
.wp-block-image img { max-width: 100%; height: auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1em; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .main-navigation.toggled { display: block; position: absolute; top: 100%; left: 0; right: 0; background: rgba(26,35,51,0.98); padding: 20px 6vw; }
  .main-navigation.toggled ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: block; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { gap: 8px; }
  .stat { border-right: none; border-bottom: 1px solid rgba(248,250,252,0.08); }
  .stat:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav ul { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .circuit-path, .circuit-dot { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
