/* napelemespalyazatok.hu -- statikus rebuild 2026-07-14 */

:root {
  --green: #1565C0;
  --green-dark: #0D47A1;
  --green-light: #1E88E5;
  --yellow: #F59E0B;
  --yellow-light: #FCD34D;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-title { font-size: 2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--yellow);
  color: var(--gray-900);
  border-color: var(--yellow);
}
.btn-primary:hover { background: var(--yellow-light); border-color: var(--yellow-light); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-dark);
  white-space: nowrap;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; fill: var(--white); }

nav { display: flex; align-items: center; gap: 28px; }
nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
  padding: 4px 0;
  position: relative;
}
nav a:hover { color: var(--green); }
nav a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-700); margin: 5px 0; transition: .3s; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #388E3C 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/12243093/pexels-photo-12243093.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover no-repeat;
  opacity: .18;
}
.hero-content { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero .lead { font-size: 1.2rem; opacity: .92; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-bar { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; opacity: .85; }
.trust-item svg { width: 18px; height: 18px; fill: var(--yellow); flex-shrink: 0; }

/* HERO FORM */
.hero-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-form h3 { font-size: 1.25rem; color: var(--gray-900); margin-bottom: 8px; }
.hero-form p { font-size: .9rem; color: var(--gray-600); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--gray-900);
  transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--green);
}
.form-group input::placeholder { color: #9CA3AF; }
.form-note { font-size: .8rem; color: var(--gray-600); margin-top: 10px; text-align: center; }
.form-note svg { width: 14px; height: 14px; display: inline; vertical-align: middle; fill: var(--green); }

/* ---- VALUE PROPS ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.value-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: box-shadow .2s, transform .2s;
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.value-icon {
  width: 56px;
  height: 56px;
  background: #E3F2FD;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; fill: var(--green); }
.value-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.value-card p { font-size: .95rem; color: var(--gray-600); line-height: 1.65; }

/* ---- PALYAZATOK PREVIEW ---- */
.palyazat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.palyazat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gray-200);
}
.palyazat-img { height: 200px; overflow: hidden; }
.palyazat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.palyazat-card:hover .palyazat-img img { transform: scale(1.04); }
.palyazat-body { padding: 24px; }
.badge {
  display: inline-block;
  background: #E3F2FD;
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-aktiv { background: #FEF3C7; color: #92400E; }
.palyazat-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.palyazat-body p { font-size: .9rem; color: var(--gray-600); margin-bottom: 16px; }
.palyazat-body a { color: var(--green); font-weight: 600; font-size: .9rem; }
.palyazat-body a:hover { color: var(--green-dark); }

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; counter-reset: steps; }
.step { text-align: center; counter-increment: steps; }
.step-num {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.step p { font-size: .9rem; color: var(--gray-600); }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-band p { font-size: 1.1rem; opacity: .9; max-width: 560px; margin: 0 auto 36px; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 60px 0;
}
.page-hero h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; opacity: .9; max-width: 600px; }
.breadcrumb { font-size: .875rem; opacity: .75; margin-bottom: 16px; }
.breadcrumb a { opacity: .85; }
.breadcrumb span { margin: 0 6px; }

/* ---- CONTENT SECTIONS ---- */
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.content-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 32px 0 12px; }
.content-body h2:first-child { margin-top: 0; }
.content-body p { font-size: 1rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.7; }
.content-body ul { margin: 12px 0 16px 0; }
.content-body ul li { padding: 6px 0 6px 24px; position: relative; color: var(--gray-600); font-size: .975rem; }
.content-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.sidebar-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.sidebar-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--gray-900); }
.sidebar-card p { font-size: .875rem; color: var(--gray-600); margin-bottom: 20px; }
.sidebar-card .btn { width: 100%; }
.sidebar-card .btn + .btn { margin-top: 10px; }

.highlight-box {
  background: #E3F2FD;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.highlight-box p { color: var(--green-dark) !important; margin: 0 !important; font-weight: 500; }

/* ---- PHOTO ROW ---- */
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.photo-row img { border-radius: var(--radius-lg); height: 220px; object-fit: cover; width: 100%; }
.photo-caption { font-size: .75rem; color: #9CA3AF; margin-top: 4px; }

/* ---- ABOUT PAGE ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 16px; color: var(--gray-900); }
.about-text p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.7; }
.about-features { margin-top: 24px; }
.about-feature { display: flex; gap: 14px; margin-bottom: 20px; }
.about-feature-icon { width: 40px; height: 40px; background: #E3F2FD; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-feature-icon svg { width: 20px; height: 20px; fill: var(--green); }
.about-feature h4 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.about-feature p { font-size: .875rem; color: var(--gray-600); margin: 0; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--gray-900);
  color: #D1D5DB;
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; color: #9CA3AF; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .9rem; color: #9CA3AF; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #374151; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .85rem; color: #6B7280; }

/* ---- BG VARIANTS ---- */
.bg-light { background: var(--gray-50); }

/* ---- HERO (new layout) ---- */
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; opacity: .9; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* ---- STATS ---- */
.stats-section { padding: 40px 0; background: var(--gray-50); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 24px 16px; }
.stat-number { font-size: 2.25rem; font-weight: 800; color: var(--green); margin-bottom: 6px; }
.stat-label { font-size: .9rem; color: var(--gray-600); font-weight: 500; }

/* ---- VALUE CARDS (home) ---- */
.value-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: box-shadow .2s, transform .2s; }
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.value-card .value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.value-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ---- PÁLYÁZAT CARDS (home) ---- */
.palyazat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.palyazat-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: box-shadow .2s; }
.palyazat-card:hover { box-shadow: var(--shadow-lg); }
.palyazat-icon { font-size: 2.5rem; margin-bottom: 16px; }
.palyazat-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.palyazat-card p { font-size: .875rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.65; }

/* ---- TESTIMONIALS ---- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); border: 1.5px solid var(--gray-200); }
.testimonial p { font-size: .95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: .875rem; font-weight: 600; color: var(--green-dark); }

/* ---- CONTACT BLOCK ---- */
.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-text h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 16px; color: var(--gray-900); }
.contact-text p { color: var(--gray-600); margin-bottom: 24px; }
.contact-benefits { margin-top: 8px; }
.contact-benefits li { padding: 8px 0; color: var(--gray-700); font-size: .975rem; }
.contact-form-wrap { background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; }
.contact-form .form-group { margin-bottom: 16px; }

/* ---- FAQ ---- */
.faq { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.faq-item p { font-size: .95rem; color: var(--gray-600); line-height: 1.7; }

/* ---- CONTENT BODY h3 ---- */
.content-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); margin: 24px 0 8px; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .palyazat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  nav { display: none; }
  .nav-toggle { display: block; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: var(--shadow-lg); gap: 16px; }
  .photo-row { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 1.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .value-cards { grid-template-columns: 1fr 1fr; }
  .palyazat-cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-block { grid-template-columns: 1fr; gap: 32px; }
}
