/* ============================
   VÁLTOZÓK
   ============================ */
:root {
  --navy: #262626;
  --navy-light: #3a3a3a;
  --gold: #7ecc9e;
  --gold-light: #9edcb8;
  --white: #ffffff;
  --gray-bg: #f5f7fa;
  --gray-text: #555;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

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

html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================
   NAVBAR
   ============================ */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

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

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

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============================
   GOMBOK
   ============================ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--white);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-full { width: 100%; text-align: center; }

/* ============================
   HERO (főoldal)
   ============================ */
.hero {
  background:
    linear-gradient(135deg, rgba(38,38,38,0.88) 0%, rgba(58,58,58,0.82) 100%),
    url('galeria/kep07.jpg');
  background-size: cover;
  background-position: center 65%;
  color: var(--white);
  padding: 7rem 1.5rem 5.5rem;
  text-align: center;
}

.hero-tag {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.highlight { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   STATISZTIKÁK
   ============================ */
.stats {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 3.5rem 1.5rem;
  position: relative;
  margin-top: -2.5rem;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  padding: 0.5rem 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(13,33,55,0.2);
}

.stat-icon {
  display: block;
  margin-bottom: 0.4rem;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.stat-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* ============================
   KIEMELT PROJEKTEK CSÍK
   ============================ */
.featured-strip {
  padding: 4.5rem 1.5rem 3.5rem;
  background: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  max-width: 620px;
  margin: 0 auto;
}

.featured-item {
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.featured-item:hover { transform: translateY(-4px) scale(1.02); }

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-more {
  text-align: center;
  margin-top: 1.8rem;
}

.featured-more a {
  color: var(--navy);
  font-weight: 700;
}

/* ============================
   SZOLGÁLTATÁSOK
   ============================ */
.services {
  padding: 5rem 1.5rem;
  background: var(--gray-bg);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 0.7rem auto 0;
  border-radius: 2px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--gold);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
}

.service-icon {
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* ============================
   PAGE HERO (belső oldalak)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
}

/* ============================
   RÓLAM OLDAL
   ============================ */
.about-section {
  padding: 5rem 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.photo-placeholder {
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-caption {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.7rem 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-text p {
  color: var(--gray-text);
  margin-bottom: 1rem;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.credential-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 1rem;
}

.cred-icon { width:50px;
    min-width:50px;
    font-size:1.5rem;
    text-align:center; }

.credential-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.credential-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--gray-text);
}

.what-i-do {
  background: var(--gray-bg);
  padding: 4rem 1.5rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checklist li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

/* ============================
   REFERENCIÁK OLDAL
   ============================ */
/* ============================
   GALÉRIA
   ============================ */
.gallery-section {
  padding: 4rem 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.references-section {
  padding: 4rem 1.5rem;
}

.filter-bar {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--gray-bg);
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ref-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.13);
}

.ref-img {
  height: 200px;
  overflow: hidden;
  background: var(--navy-light);
}

.ref-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ref-card:hover .ref-img img { transform: scale(1.05); }

.img-fallback {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.ref-body { padding: 1.5rem; flex: 1; }

.ref-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
}

.ref-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.ref-location {
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-bottom: 0.8rem;
}

.ref-body > p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ref-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ref-details li {
  font-size: 0.88rem;
  color: var(--gray-text);
  padding-left: 1.2rem;
  position: relative;
}

.ref-details li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ============================
   PROJEKT RÉSZLETEZŐ OLDALAK
   ============================ */
.breadcrumb {
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.projekt-section {
  padding: 4rem 1.5rem;
}

.projekt-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.projekt-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-light);
}

.projekt-info h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.projekt-info h2:first-child { margin-top: 0; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #e5e8ec;
  font-size: 0.95rem;
}

.info-table th {
  width: 130px;
  color: var(--navy);
  font-weight: 700;
  background: var(--gray-bg);
}

.info-table td {
  color: var(--gray-text);
}

.projekt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.projekt-list li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.projekt-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ============================
   TAPASZTALAT IDŐVONAL (Rólam)
   ============================ */
.timeline-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 640px;
}

.timeline-table th,
.timeline-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e5e8ec;
  font-size: 0.92rem;
  vertical-align: top;
}

.timeline-table th {
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.timeline-table td { color: var(--gray-text); }
.timeline-table td:first-child { color: var(--navy); font-weight: 700; white-space: nowrap; }
.timeline-table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
  .projekt-grid { grid-template-columns: 1fr; }
}

/* ============================
   JOGI OLDALAK (Impresszum, Adatkezelés)
   ============================ */
.legal-section {
  padding: 3.5rem 1.5rem 5rem;
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--gray-text);
  margin-bottom: 1rem;
}

.legal-content .info-table {
  margin-bottom: 1.5rem;
}

.legal-content .projekt-list {
  margin-bottom: 1rem;
}

.footer-legal-links {
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.55);
}

.footer-legal-links a:hover {
  color: var(--gold);
}

/* ============================
   KAPCSOLAT OLDAL
   ============================ */
.contact-section {
  padding: 4rem 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  gap:15px;
  margin-bottom: 1.3rem;
  
}

.contact-icon { width:40px;
  min-width:40px;
  text-align:center;
  font-size:1.5rem }

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item p {
  color: var(--gray-text);
  font-size: 0.97rem;
  margin: 0;
}

.trust-box {
  background: var(--gray-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--gray-text);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #dde1e7;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: #222;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-checkbox-group {
  flex-direction: row;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--gray-text);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--gold);
}

.checkbox-label a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.consent-note {
  font-size: .82rem;
  color: var(--gray-text);
  text-align: center;
  margin: -.4rem 0 0;
}

.consent-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.form-success {
  background: #e6f9ed;
  color: #1a7a3c;
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.form-error {
  background: #fdeaea;
  color: #b3261e;
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

footer a { color: var(--gold); }

/* ============================
   RESZPONZÍV
   ============================ */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .nav-links.open { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat-item:not(:last-child)::after { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .photo-wrap { max-width: 250px; margin: 0 auto; }

  .credentials { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .featured-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
}

/* ============================
   GÖRGETÉSES MEGJELENÉS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
