/* ALAP RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  color: #333;
  background: #f5f7fa;
  line-height: 1.6;
}

/* KÖZÉPRE IGAZÍTÁS */
.wrap {
  max-width: 1100px; /* ↓ EZZEL EGYSÉGES KÖZÉPSÁV MÉRET ↓ */
  margin: 0 auto;
  padding: 0 20px;
}

/* FELSŐ MENÜ */
.top {
  background: #0f66cc;
  color: white;
  padding: 10px 0;
}

.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand .logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.nav a:hover {
  color: #cce5ff;
  text-decoration: underline;
}

.nav a.active {
  text-decoration: underline;
}

/* HERO */
.hero {
  background: #e8f1fb;
  text-align: center;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 2rem;
}

.hero p {
  margin: 10px 0;
}

.btn {
  background: #0f66cc;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
  margin-top: 10px;
}

.btn:hover {
  background: #09478f;
}

/* HÍVJ MOST */
.call-now {
  display: inline-block;
  padding: 12px 20px;
  background: #0f66cc;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  transition: background 0.2s ease, transform .15s ease;
  cursor: pointer;
}

.call-now:hover {
  background: #09478f;
  transform: scale(1.03);
}

/* KÁRTYÁK SZEKCIÓ - 3 EGYFORMÁN */
.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  padding: 40px 0;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.card h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card p {
  margin-bottom: 10px;
}

/* KIEMELT INGATLANOK */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin: 20px 0;
}

.prop {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.prop img {
  width: 100%;
  display: block;
}

.prop div {
  padding: 10px;
}

/* FOOTER */
.foot {
  background: #0f66cc;
  color: white;
  padding: 15px 0;
  text-align: center;
}

.foot a {
  color: #fff;
  font-weight: bold;
}

.foot a:hover {
  color: #cce5ff;
  text-decoration: underline;
}

/* COOKIE SÁV */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 102, 204, 0.95);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#cookie-banner button {
  background: #fff;
  color: #0f66cc;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  margin-left: 10px;
}

#cookie-banner button:hover {
  opacity: .9;
}

/* RESZPONZÍV */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .nav {
    text-align: right;
  }
}.map-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
  background: #e8f1fb;
  margin-top: 10px;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}footer.foot {
  background-color: #f8f8f8;
  color: #333;
  text-align: center;
  padding: 20px 10px;
  font-size: 15px;
  border-top: 1px solid #ccc;
}

footer.foot a {
  color: #006d9e;
  text-decoration: none;
  margin: 0 5px;
}

footer.foot a:hover {
  color: #00a3d7;
  text-decoration: underline;
}.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font: 600 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: #00a3d7;
  color: #fff;
  border-color: #00a3d7;
}

.btn-primary:hover {
  background: #007ba3;
  border-color: #007ba3;
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: #007ba3;
  border-color: #cfd6de;
}

.btn-outline:hover {
  border-color: #007ba3;
  color: #005f80;
  transform: translateY(-1px);
}.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Közös alap a két típusra (.card és .prop) */
.card, .prop {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
}

/* Kép egységes méretben */
.card img, .prop img {
  width: 100%;
  aspect-ratio: 4/3;           /* minden kép azonos arányban */
  object-fit: cover;           /* vágja, hogy szép legyen */
  display: block;
}

/* Belső tartalom */
.card .pad, .prop > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

/* Cím magasság egységesítése */
.card h3, .prop h3 {
  font-size: 18px;
  line-height: 1.3;
  min-height: 2.6em;           /* két sor hely fenntartása */
  margin: 4px 0;
}

/* Meta sor egy sorba folyó pontokkal */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #51606d;
}

/* Leírás rövidítése 3 sorra */
.card p, .prop p {
  margin: 0;
}
.card .pad p:not(:last-child),
.prop > div p:not(:last-child) {
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* hány sor látszódjon */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ár félkövér, maradhat teljes */
.card .pad p strong,
.prop > div p strong { font-weight: 700; }

/* Gomb a doboz aljára */
.btn { align-self: flex-start; }
.card .pad .btn,
.prop > div .btn { margin-top: auto; }

/* „Kiadó/Új” jelvény */
.badge {
  display:inline-block; padding:4px 8px; font-size:12px; font-weight:700;
  background:#00a3d7; color:#fff; border-radius:999px;
/* --- GALÉRIA KÉPEK EGY SORBAN --- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.gallery img {
  width: 31%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.03);
}/* --- KÍNÁLAT rács + kártyák (PROP) --- */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:16px;
}

/* a kártya maga link, legyen doboz-szerű */
.prop{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e6eef5;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  text-decoration:none;
  color:inherit;
}

/* egységes képarány */
.prop img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}

/* belső rész */
.prop > div{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px 14px 14px;
}

/* cím fix magasság, hogy a gombok egy síkban végződjenek */
.prop h3{
  font-size:18px;
  line-height:1.3;
  min-height:2.6em; /* kb. 2 sor */
  margin:4px 0;
}

/* meta sor */
.prop p{
  margin:0;
  color:#51606d;
}

/* ha hosszú a leírás: 3 sorra vágás (ha lesz leírás-meződ) */
.prop p:not(:first-of-type){
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* gomb stílus (ha kártyán belül használnád) */
.btn{display:inline-block; padding:10px 14px; border-radius:999px; border:1px solid #cfd6de; background:#fff; color:#0077aa; text-decoration:none}
.btn:hover{border-color:#0077aa; color:#005f80}/* === HERO & CTA gombok === */
.hero h1{margin:0 0 8px}
.hero p{margin:0; color:#51606d}
.cta-row{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:12px
}
.btn-primary{background:#00a3d7; color:#fff; border-color:#00a3d7}
.btn-primary:hover{background:#007ba3; border-color:#007ba3; color:#fff}
.btn.btn-outline{background:#fff}

/* === Kínálat rács (ha még nincs beállítva) === */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:16px;
}

/* === Index: három kártyás blokk === */
.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:16px;
}

/* === Reszponzív finomhangolás === */
@media (max-width:700px){
  .cta-row{justify-content:center}
  .nav a{padding:6px 8px}
}/* Fallback: ha nincs aspect-ratio támogatás, fix kép-magasság kártyán */
@supports not (aspect-ratio: 1/1) {
  .prop img{
    height: 200px;
    object-fit: cover;
  }
 }

.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-column h4 {
  font-size: 17px;
  margin-bottom: 12px;
  color: #00a3d7;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 6px;
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #ccc;
}