
:root {
  --primary: #2f4858;
  --secondary: #9fb4c7;
  --accent: #d9a441;
  --bg: #f5f5f5;
  --text: #222;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.main-wrapper {
  max-width: 1120px;
  margin: 0 auto 3rem auto;
  padding-inline: 1rem;
}

.navbar-wrapper {
  display: flex;
  justify-content: center;
  /* Kevésbé "ráül" a banneren, így a navigáció + logó/felhasználó doboz nem vágódik le */
  margin-top: -12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1100;
  overflow: visible;
}

.navbar.custom-nav {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  border-radius: 999px;
  padding-inline: 1.5rem;
  /* Kicsit magasabb fejléc, hogy minden elem kényelmesen elférjen */
  padding-block: 0.6rem;
  width: min(1120px, 100% - 2rem);
  position: relative;
  overflow: visible;
}


.navbar.custom-nav .dropdown-menu {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  margin-top: 0.6rem;
}

.navbar.custom-nav .dropdown-item {
  padding: 0.55rem 1rem;
}

.navbar.custom-nav .dropdown-item:focus,
.navbar.custom-nav .dropdown-item:hover {
  background: rgba(255,255,255,0.12);
}

.hero-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 1.5rem;
}

.hero-banner img {
  width: 100%;
  /* Hosszabb banner, hogy a fejléc "levegősebb" legyen */
  height: 320px;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.hero-tagline {
  font-size: 0.95rem;
  margin-top: 0.75rem;
  max-width: 540px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.card-elevated {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.06);
  font-size: 1.4rem;
}

.gallery-thumb {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.form-control, .form-select {
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  padding-inline: 1rem;
}

textarea.form-control {
  border-radius: 18px;
}

.btn-pill {
  border-radius: 999px;
  padding-inline: 1.4rem;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.lightbox-backdrop.active {
  display: flex;
}

.lightbox-inner {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,23,42,0.65);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close {
  top: 8%;
  right: 0;
  transform: translateY(0);
}

.lightbox-prev {
  left: -52px;
}

.lightbox-next {
  right: -52px;
}

@media (max-width: 768px) {
  .navbar.custom-nav {
    border-radius: 18px;
    padding-block: 0.8rem;
  }
  .hero-banner img {
    height: 260px;
  }
  .navbar-wrapper {
    margin-top: 0;
  }
  .lightbox-prev {
    left: 4px;
  }
  .lightbox-next {
    right: 4px;
  }
}
