/* ═══════════════════════════════════════════════════════════════
   CENTRUM TÁRSASHÁZ — Modern CSS 2026
   Csere: bootstrap.css + style.css + fonts.css
   ~12KB vs ~640KB original
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --gold:       #c8a055;
  --gold-light: #e8c880;
  --gold-dark:  #a07830;
  --dark:       #1a1a1a;
  --dark2:      #252525;
  --dark3:      #303030;
  --mid:        #555;
  --light:      #f8f6f2;
  --white:      #ffffff;
  --border:     #e8e0d0;
  --green:      #2d7a2d;
  --blue:       #1a4fa0;
  --gray-bg:    #f5f3ef;

  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;

  --radius:     4px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.16);

  --container:  1200px;
  --transition: .25s ease;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { color: var(--mid); font-size: 1rem; }
.eyebrow { font-size: .75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 600; font-family: var(--font-body); display: block; margin-bottom: 12px; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}
.navbar-brand img { height: 64px; width: auto; }
.navbar-links { display: flex; gap: 8px; align-items: center; }
.navbar-links a {
  padding: 8px 16px; font-size: .875rem; font-weight: 500;
  color: var(--dark); border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  letter-spacing: .3px;
}
.navbar-links a:hover { background: var(--light); color: var(--gold-dark); }
.navbar-links a.active { color: var(--gold-dark); font-weight: 600; }
.navbar-contact { display: flex; gap: 16px; align-items: center; }
.navbar-contact a {
  font-size: .8rem; color: var(--mid); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.navbar-contact a:hover { color: var(--gold-dark); }
.navbar-contact .icon { font-size: 14px; color: var(--gold); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 84px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; z-index: 999; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--dark); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mobile-contact a { font-size: .875rem; color: var(--mid); border-bottom: none !important; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 84px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,.75) 0%, rgba(26,26,26,.4) 100%); }
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 720px; padding: 0 24px;
  animation: heroFadeIn .9s ease both;
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 { color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-content p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-dot.active { background: var(--gold-light); transform: scale(1.3); }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: .875rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  border-radius: var(--radius); transition: all var(--transition);
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,160,85,.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark3); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── STATS BAR ──────────────────────────────────────── */
.stats-bar { background: var(--gold); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.3); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ─── FLOOR CARDS ────────────────────────────────────── */
.floor-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.floor-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 4/5;
}
.floor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.floor-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.floor-card:hover img { transform: scale(1.04); }
.floor-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.85) 0%, rgba(26,26,26,.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px;
}
.floor-card-label { font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 6px; }
.floor-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.floor-card .btn { align-self: flex-start; }

/* ─── ABOUT ──────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* Gallery: 1 nagy kép balra, 2 kisebb jobbra */
.about-images {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 480px;
}
.about-images .gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: zoom-in;
}
.about-images .gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}
.about-images .gallery-item:hover img { transform: scale(1.05); }
.about-images .gallery-item .gallery-zoom {
  position: absolute; inset: 0;
  background: rgba(26,26,26,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.about-images .gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-zoom i { font-size: 28px; color: #fff; }
.about-images .gallery-item.gallery-main { grid-row: span 2; }
.about-text .eyebrow { margin-bottom: 8px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; }
.features-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--mid); }
.feature-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-card-icon { font-size: 24px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-card-body h5 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; font-family: var(--font-body); }
.contact-card-body a, .contact-card-body p { font-size: .875rem; color: var(--mid); display: block; line-height: 1.6; }
.contact-card-body a:hover { color: var(--gold-dark); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 400px; display: block; border: 0; }

/* ─── FORM EMBED ─────────────────────────────────────── */
.form-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.form-wrap iframe { display: block; border: 0; width: 100%; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .875rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── BADGES ─────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 2px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.badge-green { background: #e6f4e6; color: var(--green); }
.badge-blue { background: #e6eef8; color: var(--blue); }
.badge-gray { background: #ebebeb; color: #888; }

/* ─── APARTMENT CARDS (lakasok.html) ─────────────────── */
.apt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.apt-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.apt-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.apt-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-bg); }
.apt-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.apt-card:hover .apt-card-img img { transform: scale(1.04); }
.apt-card-body { padding: 18px; }
.apt-card-body h5 { font-size: 1rem; font-weight: 700; margin: 8px 0 6px; font-family: var(--font-body); }
.apt-card-meta { font-size: .8rem; color: var(--mid); display: flex; flex-direction: column; gap: 3px; }
.apt-card-price { font-size: 1rem; font-weight: 700; color: var(--gold-dark); margin-top: 10px; }
.apt-card-btn { display: block; text-align: center; padding: 10px; background: var(--gold); color: var(--white) !important; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; transition: background var(--transition); margin-top: 12px; border-radius: var(--radius); }
.apt-card-btn:hover { background: var(--gold-dark); }

/* Filters */
.apt-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border: 2px solid var(--border); background: transparent; color: var(--mid); border-radius: 100px; font-size: .8rem; font-weight: 600; cursor: pointer; transition: all var(--transition); font-family: var(--font-body); }
.filter-btn:hover, .filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 9999; overflow-y: auto; padding: 40px 16px; }
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.modal-box { background: var(--white); border-radius: 8px; width: 100%; max-width: 800px; position: relative; overflow: hidden; }
.modal-img { width: 100%; max-height: 380px; object-fit: contain; background: var(--gray-bg); }
.modal-body { padding: 28px 32px 28px; }
.modal-body h3 { margin-bottom: 10px; }
.modal-desc { font-size: .9rem; color: var(--mid); margin-bottom: 20px; line-height: 1.7; }
.modal-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 24px; }
.modal-stat { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.modal-stat-label { font-size: .7rem; text-transform: uppercase; color: #aaa; letter-spacing: 1px; font-weight: 600; }
.modal-stat-value { font-size: .95rem; font-weight: 700; color: var(--dark); margin-top: 2px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-img-wrap { position: relative; }

.modal-scroll-hint {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 0 16px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 100%);
  color: var(--white); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  transition: opacity .4s ease;
}
.modal-scroll-hint i {
  font-size: 18px;
  animation: bounceDown 1.4s ease-in-out infinite;
}
.modal-scroll-hint.hidden { opacity: 0; pointer-events: none; }

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

.modal-close { position: absolute; top: 14px; right: 16px; font-size: 28px; color: var(--mid); cursor: pointer; background: none; border: none; line-height: 1; z-index: 1; transition: color var(--transition); }
.modal-close:hover { color: var(--dark); }

/* ─── PAGE HEADER / BREADCRUMB ───────────────────────── */
.page-hero {
  height: 220px; display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  padding-top: 84px;
}
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,.8) 0%, rgba(26,26,26,.3) 100%); }
.page-hero-content { position: relative; z-index: 1; padding-bottom: 28px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.breadcrumb a, .breadcrumb span { font-size: .8rem; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ─── SECTION DIVIDERS ───────────────────────────────── */
.section-bg-light { background: var(--gray-bg); }
.section-bg-dark { background: var(--dark); }
.section-header { max-width: 600px; margin: 0 auto 56px; text-align: center; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1rem; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .floor-cards { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { order: -1; height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  :root { --container: 100%; }
  .section { padding: 56px 0; }
  .navbar-links, .navbar-contact { display: none; }
  .nav-toggle { display: flex; }
  .floor-cards { grid-template-columns: 1fr; }
  .floor-card { aspect-ratio: 16/9; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal-body { padding: 20px 16px; }
  .modal-stats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .apt-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}

/* ─── ZOOM HINT + LIGHTBOX ───────────────────────────── */
.modal-img-wrap { position: relative; cursor: zoom-in; }

.img-zoom-hint {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .5px;
  padding: 5px 10px; border-radius: 3px;
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.modal-img-wrap:hover .img-zoom-hint { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 95vw; max-height: 92vh;
  overflow: auto; cursor: default;
}
.lightbox-img {
  display: block; max-width: 100%;
  max-height: 88vh; object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: fixed; top: 16px; right: 20px;
  font-size: 36px; color: rgba(255,255,255,.8);
  background: none; border: none; cursor: pointer; line-height: 1;
  transition: color .2s; z-index: 1;
}
.lightbox-close:hover { color: #fff; }
