/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --teal:       #009BA4;
  --teal-dark:  #007B83;
  --teal-light: #E0F5F6;
  --teal-mid:   #B2E4E7;
  --dark:       #0D2B2D;
  --mid:        #1C4446;
  --grey:       #4A6668;
  --light-grey: #F4FAFB;
  --white:      #FFFFFF;
  --text:       #1a1a1a;
  --border:     rgba(0,155,164,0.18);
  --shadow:     0 8px 40px rgba(0,123,131,0.12);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: var(--dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 42px; width: auto;
  background: var(--white); border-radius: 8px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: box-shadow 0.2s;
}
.nav-logo:hover img { box-shadow: 0 4px 16px rgba(0,155,164,0.35); }
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-logo:hover span { color: var(--teal-mid); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.88);
  padding: 8px 14px; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links .btn-nav a {
  background: var(--teal); color: var(--white);
  border-radius: 50px; padding: 9px 20px;
  transition: background 0.2s, transform 0.2s;
}
.nav-links .btn-nav a:hover { background: var(--teal-dark); transform: translateY(-1px); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--dark); border-radius: 12px;
  min-width: 220px; padding: 8px 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s, transform 0.22s;
  list-style: none;
}
.nav-links li:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-menu li a {
  display: block; padding: 10px 20px;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.8); letter-spacing: 0.05em;
}
.dropdown-menu li a:hover { color: var(--white); background: rgba(0,155,164,0.15); }
.dropdown-toggle::after { content: ' ▾'; font-size: 0.65em; opacity: 0.7; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--dark); padding: 40px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-left { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-right a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-right a:hover { color: var(--teal-mid); }

/* ─── ANIMÁCIÓK ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealUp 0.7s ease both; }

/* ─── PAGE HERO ALAP ─────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: 72px;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  animation: fadeUp 0.7s 0.2s both;
}
.page-hero-content p {
  margin-top: 10px;
  animation: fadeUp 0.7s 0.4s both;
}

/* ─── KAPCSOLAT KOMPONENSEK ──────────────────────────── */
.contact-item {
  display: flex; gap: 16px; margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--teal); }
.contact-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 4px;
}
.contact-value {
  font-size: 0.95rem; color: var(--dark); line-height: 1.5; font-weight: 500;
}

/* ─── MOBIL – NAVBAR ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; inset: 0; top: 72px;
    background: var(--dark); padding: 24px 5%;
    gap: 4px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .dropdown-menu {
    position: static; opacity: 1; pointer-events: all; transform: none;
    background: rgba(255,255,255,0.05); box-shadow: none; border-radius: 8px;
  }
  .nav-links li { width: 100%; }
  footer { flex-direction: column; text-align: center; }
}
