/*
  HelarisDrone Solutions – Shared Stylesheet
  ==========================================
  Ez a fájl minden oldalon be van linkelve. Egyszer szerkeszd, mindenhol érvényes.
*/

:root {
  --black:    #000000;
  --grey:     #d0cece;
  --teal:     #5ce1e6;
  --teal-dim: rgba(92,225,230,0.15);
  --teal-glow:rgba(92,225,230,0.35);
  --white:    #ffffff;
  --card-bg:  #111111;
  --border:   rgba(92,225,230,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 100px;
}


body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 100px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════
   LOGÓ – hogyan lehet cserélni
   ════════════════════════════════════════════════════
   Cseréld le a src="logo.png" értéket minden HTML fájl <nav> részében
   a saját fájlnevedre vagy a WordPress Médiatár teljes URL-jére.
   A főoldal hero logóját is frissítsd az index.html fájlban.
   ════════════════════════════════════════════════════ */
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 250px; width: 250px; display: block; object-fit: contain; }

/* Navigációs linkek elválasztókkal*/
.nav-links { display: flex; align-items: center; list-style: none; }

.nav-links li { display: flex; align-items: center; }

/* Elválasztó minden navigációs elem között */
.nav-links li + li::before {
  content: '';
  display: block;
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.18);
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey); text-decoration: none;
  padding: 8px 24px; position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 3px; left: 24px; right: 24px;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover        { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active       { color: var(--white); }

/* Nincs elválasztó a Facebook ikon előtt */
.nav-links li:last-child::before { display: none; }

.nav-fb {
  width: 36px; height: 36px; margin-left: 16px;
  border: 1px solid rgba(255,255,255,0.35); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.nav-fb svg {
  display: block;
  width: 16px; height: 16px;
  fill: var(--white);
  transition: fill 0.2s;
}
.nav-fb:hover { border-color: var(--teal); }
.nav-fb:hover svg { fill: var(--teal); }

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 64px 48px 48px;
  max-width: 1100px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05; color: var(--white);
}
.page-header h1 em { font-style: normal; color: var(--teal); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 36px; border: none; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover {
  background: var(--white); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(92,225,230,0.3);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--teal); color: var(--teal);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 28px; background: transparent;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.btn-outline:hover { background: var(--teal); color: var(--black); }

/* ─── TEAL DIVIDER ─── */
.teal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  max-width: 1100px; margin: 0 auto; opacity: 0.4;
}

/* ─── FOOTER ─── */
footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo-img { height: 200px; width: 200px; object-fit: contain; margin-bottom: 16px; display: block; margin-top: -56px; }
.footer-tagline  { font-size: 13px; color: var(--white); line-height: 1.7; margin-bottom: 12px; }
.footer-address  { font-size: 12px; color: var(--grey); line-height: 1.9; }
.footer-address strong { color: var(--white); font-weight: 500; display: block; margin-bottom: 6px; }
.footer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--teal); color: var(--teal);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 24px; cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s; margin-top: 24px;
}
.footer-cta:hover { background: var(--teal); color: var(--black); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a { font-size: 14px; color: var(--white); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-col p   { font-size: 13px; color: var(--grey); line-height: 1.8; }
.footer-col p a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.footer-col p a:hover { color: var(--teal); }

.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; color: var(--white); font-size: 14px;
}
.footer-contact-item svg { flex-shrink: 0; stroke: var(--teal); fill: none; }
.footer-contact-item img { flex-shrink: 0; width: 14px; height: 14px; object-fit: contain; }
.footer-contact-item a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--teal); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--grey);
}
.footer-bottom a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--teal); color: var(--black);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  z-index: 50;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--white); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.55s ease both; }
.fade-up-2 { animation: fadeUp 0.55s ease 0.1s both; }
.fade-up-3 { animation: fadeUp 0.55s ease 0.2s both; }


/* Hide hamburger on desktop */
.nav-hamburger { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {

  /* Nav */
  nav {
    padding: 0 16px;
    height: 64px;
    position: fixed;
  }
  body { padding-top: 64px; }

  .nav-logo-img { height: 56px; width: 56px; }

  /* Hamburger button */
  .nav-hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 6px;
    z-index: 200;
  }
  .nav-hamburger span {
    display: block;
    width: 100%; height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile nav menu */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    z-index: 150;
    gap: 0;
  }
  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links li + li::before { display: none; }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
  }

  .nav-fb { margin-left: 8px; }

  /* Page header */
  .page-header { padding: 40px 20px 32px; margin-bottom: 40px; }

  /* Footer */
  footer { padding: 40px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}


