/* =============================================
   RD-KLÍMA — style.css
   Rostás Dániel | Klíma & Villany
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@600;700&display=swap');

:root {
  /* Brand színek — zöld verzió (Green névjegy alapján) */
  --teal-dk:   #3c9c3c;   /* sötét zöld — fő szín */
  --teal:      #48c048;   /* élénk zöld — akcentus */
  --teal-lt:   #78f078;   /* világos zöld — hover, fény */
  --teal-text: #2e7d2e;   /* szöveg sötétzöld */
  --green:     #3a9e3a;   /* logó zöld (azonos) */

  /* Semleges */
  --white:     #ffffff;
  --off-white: #f4fbf4;
  --light:     #e8f5e8;
  --mid:       #4a6a4a;
  --dark:      #1a2e1a;
  --border:    rgba(60, 156, 60, 0.18);

  /* Tipográfia */
  --font-body:    'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  /* Layout */
  --nav-height: 70px;
  --max-width:  1200px;
  --radius:     6px;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(15,135,165,0.12); }

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dk);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--mid);
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal-dk); }

.nav-cta {
  background: var(--teal-dk) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-dk);
  border-radius: 2px;
  transition: 0.25s;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Hero háttérkép */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Zöld gradiens overlay bal oldalon — olvashatóságért */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 46, 26, 0.97) 0%,
    rgba(26, 46, 26, 0.90) 40%,
    rgba(26, 46, 26, 0.5) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-text {
  padding: 80px 5% 80px 8%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(60,156,60,0.2);
  border: 1px solid rgba(120,240,120,0.4);
  color: var(--teal-lt);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.6rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

h1 span { color: var(--teal-dk); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--teal-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 430px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-dk);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: var(--teal); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--teal-dk);
  color: var(--teal-dk);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover { background: var(--teal-dk); color: var(--white); }

/* Hero vizuál — statisztikák a kép alján */
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 60px 6% 80px;
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  background: rgba(26,46,26,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(120,240,120,0.2);
  border-radius: 10px;
  padding: 1.5rem 2rem;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal-lt);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
}

/* ── SZEKCIÓK KÖZÖS ── */
section { padding: 90px 8%; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* ── SZOLGÁLTATÁSOK ── */
#szolgaltatasok { background: var(--off-white); }

/* Két oszlopos elrendezés: Klíma és Villany */
.services-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-column-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-dk);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--teal-lt);
}

.service-column-title svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
  flex-shrink: 0;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-item:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(15,135,165,0.1);
  transform: translateX(4px);
}

.service-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(15,135,165,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-dk);
}

.service-item-icon svg { width: 18px; height: 18px; }

.service-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.service-item p {
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.6;
  font-weight: 300;
}

/* ── MIÉRT MI ── */
#miert-mi { background: var(--white); }

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.strength-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
}

.strength-card:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 24px rgba(15,135,165,0.1);
  transform: translateY(-4px);
}

.strength-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal-dk), var(--teal));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--white);
}

.strength-icon svg { width: 26px; height: 26px; }

.strength-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.strength-card p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ── KAPCSOLAT ── */
#kapcsolat { background: var(--off-white); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3.5rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-item:hover {
  border-color: var(--teal);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal-dk), var(--teal));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item-label {
  font-size: 0.7rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.contact-item-val {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 600;
}

.gdpr-box {
  padding: 1rem 1.4rem;
  background: rgba(15,135,165,0.06);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.7;
}

.gdpr-box a { color: var(--teal-dk); text-decoration: underline; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-note {
  font-size: 0.75rem;
  color: var(--mid);
  margin-top: 0.5rem;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer-logo span { color: var(--teal); }

footer p { font-size: 0.78rem; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal-lt); }

/* ── ANIMÁCIÓK ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ── RESZPONZÍV ── */
@media (max-width: 960px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .hero-text { padding: 60px 6% 40px; }
  .hero-visual {
    justify-content: center;
    padding: 20px 5% 50px;
  }
  .hero-stats { gap: 1.5rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-columns { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 6%;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .hamburger { display: flex; }
  section { padding: 70px 5%; }
  .hero-text { padding: 60px 5%; }
  .hero-stats { gap: 1.5rem; }
}
