:root {
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #273549;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigáció */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

/* Hero szekció */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 35px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  margin-left: 12px;
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

/* Hero kiemelt pillérek sávja */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 35px;
  text-align: left;
}

.highlight-item {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}

.highlight-item:hover {
  border-color: var(--accent-light);
}

.highlight-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.highlight-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-actions {
  margin-top: 10px;
}

/* Szekciók általános */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Szolgáltatás kártyák */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--accent-light);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  margin-top: 14px;
}

.card ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card ul li::before {
  content: "•";
  color: var(--accent-light);
  font-weight: bold;
}

/* Mérnöki Kamarai blokk */
.engineering-box {
  background: linear-gradient(145deg, #1e293b, #131d2e);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px;
  margin: 20px 0;
}

.engineering-header {
  margin-bottom: 18px;
}

.engineering-box h3 {
  font-size: 1.4rem;
}

.engineering-box p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.engineering-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.engineering-item {
  background: rgba(15, 23, 42, 0.6);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.engineering-item strong {
  color: var(--accent-light);
  display: block;
  margin-bottom: 4px;
}

/* Jogosultság al-felsorolás a kártyákon belül */
.eng-sublist {
  list-style: none;
  margin-top: 12px;
  padding: 0;
}

.eng-sublist li {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.eng-sublist li::before {
  content: "•";
  color: var(--accent-light);
  position: absolute;
  left: 0;
}

.eng-sublist li strong {
  display: inline;
  color: var(--text-main);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.chamber-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.chamber-link:hover {
  text-decoration: underline;
}

/* Kapcsolat blokk */
.contact-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 50px 20px;
  border-radius: var(--radius);
  margin-top: 40px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  background: var(--bg-main);
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.contact-item a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--accent-light);
}

/* Referencia Galéria */
/* Referenciák rács (egymás melletti elrendezés) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

/* Kártya stílus */
.project-card {
  background-color: var(--card-bg, #1e293b);
  border: 1px solid var(--border-color, #334155);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color, #38bdf8);
}

/* Kép konténer és aránytartás */
.project-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #0f172a;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.03);
}

/* Szöveges rész a kártyán belül */
.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.project-info h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #f8fafc;
}

.project-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

/* Lábléc */
footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}