/* ============================================================
   assets/css/style.css – VAMACNC egyedi stílusok
   Tailwind kiegészítések + SVG elválasztók + animációk
   ============================================================ */

/* --- Google Fonts fallback ha CDN lassú --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --brand:        #E85D04;
  --brand-dark:   #C44D00;
  --brand-light:  #FF7723;
  --brand-glow:   rgba(232, 93, 4, 0.15);

  --steel-900: #0A0F1E;
  --steel-800: #111827;
  --steel-700: #1A2236;
  --steel-600: #243049;
  --steel-500: #2E3D5C;

  --text-primary:   #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted:     #6B7280;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--steel-900);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--steel-800); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--steel-700);
  border-top: 1px solid rgba(232, 93, 4, 0.3);
  padding: 1rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }

/* ============================================================
   NAVIGÁCIÓ
   ============================================================ */
#siteHeader {
  background: transparent;
  border-bottom: 1px solid transparent;
}
#siteHeader.scrolled {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(232, 93, 4, 0.2);
}

.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.nav-active {
  color: #fff;
}
.nav-link:hover::after,
.nav-link.nav-active::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 93, 4, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--brand);
  background: rgba(232, 93, 4, 0.08);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu.open { max-height: 400px; }

.mobile-nav-link {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.nav-active {
  color: #fff;
  background: rgba(232, 93, 4, 0.12);
}

/* ============================================================
   HERO SZEKCIÓ
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10,15,30,0.97) 0%, rgba(26,34,54,0.95) 100%),
    url('/assets/images/hero-bg.jpg') center/cover no-repeat;
}

/* Animated grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,93,4,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,93,4,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.3);
  color: var(--brand-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  font-size: clamp(2.8rem, 8vw, 6rem);
}

.hero-title .accent { color: var(--brand); }

/* Gépi cursor animáció a hero szöveg mögött */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.cursor-blink {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--brand);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}

/* Stat boxes */
.stat-box {
  background: rgba(26, 34, 54, 0.7);
  border: 1px solid rgba(232, 93, 4, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-box:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

/* ============================================================
   SVG ELVÁLASZTÓK (ASZIMMETRIKUS)
   ============================================================ */
.divider-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.divider-wrap svg {
  display: block;
  width: 100%;
}

/* ============================================================
   SZEKCIÓ ALAP
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ============================================================
   SZOLGÁLTATÁS KÁRTYÁK
   ============================================================ */
.service-card {
  position: relative;
  background: var(--steel-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: rgba(232, 93, 4, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

/* ============================================================
   GÉPPARK / SPEC TÁBLA
   ============================================================ */
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-secondary); }
.spec-value { font-weight: 600; color: var(--text-primary); }

/* ============================================================
   IPARÁGAK (REFERENCIÁK)
   ============================================================ */
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 93, 4, 0.08);
  border: 1px solid rgba(232, 93, 4, 0.2);
  color: var(--brand-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.industry-pill:hover {
  background: rgba(232, 93, 4, 0.15);
  border-color: var(--brand);
}

/* ============================================================
   KAPCSOLAT / FORM
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: rgba(26, 34, 54, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.12);
}
.form-input.error { border-color: #ef4444; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-color: rgba(26, 34, 54, 0.8);
  padding-right: 2.5rem;
}

/* Drag & drop file zone */
.file-drop-zone {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--brand);
  background: rgba(232, 93, 4, 0.05);
}

/* ============================================================
   KONTAKT INFO KÁRTYÁK
   ============================================================ */
.contact-card {
  background: var(--steel-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color var(--transition);
}
.contact-card:hover { border-color: rgba(232, 93, 4, 0.3); }

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(232, 93, 4, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--brand-light); }

/* ============================================================
   ANIMÁCIÓ SEGÉDOSZTÁLYOK (GSAP-hoz)
   ============================================================ */
.reveal-up   { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right{ opacity: 0; transform: translateX(40px); }
.reveal-fade { opacity: 0; }

/* ============================================================
   PAGE HERO (belső oldalakhoz)
   ============================================================ */
.page-hero {
  padding: 8rem 0 4rem;
  background:
    linear-gradient(180deg, var(--steel-900) 0%, var(--steel-800) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,93,4,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(26, 34, 54, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}

/* ============================================================
   RESZPONZÍV – max-width konténer
   ============================================================ */
.container {
  width: 100%;
  max-width: 1400px;  /* 4K-ra is jó */
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
@media (min-width: 1536px) { .container { padding: 0 3rem; } }

/* ============================================================
   ADMIN STÍLUSOK (csak admin oldalakra töltődik be)
   Ezeket az admin saját CSS-e tölti be, ide komment marad
   ============================================================ */