:root {
  --primary: #2f9fb3;
  --primary-dark: #1f7a8b;
  --bg: #f7f9fb;
  --text: #1f2933;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 25px rgba(15,23,42,0.08);
}

/* Reset / base ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Background -------------------------------------------------------------- */

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, #e0f2fe, #f7f9fb 55%, #f7f9fb);
  z-index: -1;
}

/* Generic layout helpers -------------------------------------------------- */

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.content {
  padding: 1.8rem 0;
}

section {
  position: relative;
  margin-top: 3rem;
}

section:first-of-type {
  margin-top: 1.5rem;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  color: #0f172a;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

p {
  margin: 0.25rem 0;
}

/* Header / navigáció ----------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

header .content {
  padding: 0.6rem 0;
}

header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header .content > ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

header .content > ul > li:first-child span {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

header .content > ul > li:first-child label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

header nav a {
  font-weight: 500;
  color: var(--muted);
}

header nav a:hover {
  color: var(--primary-dark);
}

header .fa-bars {
  display: none;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

/* Buttons ----------------------------------------------------------------- */

.btn,
.send a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover,
.send a:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .wrap {
  padding-top: 2.5rem;
}

.hero .content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero picture {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hero h2 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 34rem;
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: center;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-meta li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.7);
  margin-right: 0.35rem;
  vertical-align: middle;
}

/* About ------------------------------------------------------------------- */

.about .content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.3rem;
}

.about img {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.about h4 {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.about p {
  font-size: 0.95rem;
}

.about ul ul {
  margin-top: 0.8rem;
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Services & payments ----------------------------------------------------- */

.services h2,
.contact h2,
.payments h2,
.contactForm h2 {
  margin-bottom: 1.1rem;
}

.services .tiles ul,
.payments .tiles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.services .tiles ul.two {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.payments .tiles ul.three {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.services .tiles li > div,
.payments .tiles li > div {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.7rem;
}

.services .tiles img,
.payments .tiles img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.services h3 {
  font-size: 1.05rem;
}

/* Contact (Elérhetőségek) ------------------------------------------------- */

.contact ul {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.7rem;
}

.contact h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact ul li ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact li.map::before,
.contact li.time::before,
.contact li.phone::before,
.contact li.web::before {
  display: inline-block;
  width: 1.1rem;
  margin-right: 0.3rem;
}

.contact li.map::before {
  content: "📍";
}

.contact li.time::before {
  content: "🕒";
}

.contact li.phone::before {
  content: "☎";
}

.contact li.web::before {
  content: "🌐";
}

.contact a {
  font-size: 0.9rem;
}

/* Kapcsolat űrlap --------------------------------------------------------- */

.contactForm .form {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.contactForm .form > p {
  font-size: 0.95rem;
  color: var(--muted);
}

.contactForm ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font: inherit;
  resize: vertical;
}

.contactForm textarea {
  min-height: 120px;
}

.contactForm input:focus,
.contactForm textarea:focus {
  outline: 2px solid rgba(47, 159, 179, 0.45);
  border-color: transparent;
}

.contactForm .send {
  margin-top: 1rem;
}

.contactForm .send a {
  min-width: 180px;
}

.msg {
  display: none; /* JS fogja megjeleníteni */
  margin-top: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.msg.success {
  background: #ecfdf5;
  color: #166534;
}

.msg.error {
  background: #fef2f2;
  color: #b91c1c;
}

/* Footer ------------------------------------------------------------------ */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

footer .content {
  padding: 0.9rem 0 1.3rem;
}

footer p {
  margin: 0;
  text-align: center;
}

/* Mobil menü -------------------------------------------------------------- */

.mobileMenu {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none; /* jQuery fadeToggle kezeli */
  z-index: 60;
}

.mobileMenu > div {
  max-width: 1060px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.mobileMenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobileMenu a {
  color: #ffffff;
  font-size: 1.1rem;
}

.mobileMenu a i {
  font-size: 1.4rem;
}

/* Responsiveness ---------------------------------------------------------- */

@media (min-width: 768px) {
  .hero .content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 2.5rem;
  }

  .hero picture {
    order: 2;
  }

  .hero .content > div:last-child {
    order: 1;
  }

  .about .content ul {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    align-items: center;
  }

  .contact ul {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 767px) {
  header nav {
    display: none;
  }

  header .fa-bars {
    display: inline-block;
  }

  .content {
    padding: 1.4rem 0;
  }

  section {
    margin-top: 2.4rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.row-bg1 {
  min-height: 300px;
  padding: 2.5rem 0;
}
.booking h2 {
    margin-bottom: 0.6rem;
}

.booking p {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.booking-frame {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

/* Az iframe legyen teljes szélességű, fix magassággal (igény szerint módosítható) */
.booking-frame iframe {
    display: block;
    width: 100%;
    min-height: 750px;
    border: none;
}

/* fallback szöveg (ha az iframe-et tiltja a böngésző) */
.booking-fallback {
    font-size: 0.85rem;
    color: #6b7280;
}
.booking-frame {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow-x: auto;           /* ha szélesebb az iframe, itt lehet jobbra-balra görgetni */
    overflow-y: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

/* az iframe ne igazodjon automatikusan a szülő szélességéhez, hanem maradjon „desktop” méretű */
.booking-frame iframe {
    display: block;
    width: 1024px;              /* vagy ami az elojegyzes.netdr.hu oldalhoz arányos (pl. 1100px) */
    max-width: none;
    min-height: 800px;          /* ha kell, emelhető 900–1000px-re */
    border: none;
}

/* TEVÉKENYSÉGEK – 4 csempe egy sorban desktopon */
section.services .tiles ul.two {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ne legyen fix szélesség a csempéken, minden grid-cellát töltsenek ki */
section.services .tiles ul.two li {
    width: auto !important;
    margin: 0;
}

section.services .tiles ul.two li > div {
    height: 100%;
}

/* Tablet: 2 csempe egy sorban */
@media (max-width: 1024px) {
    section.services .tiles ul.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobil: 1 csempe egy sorban */
@media (max-width: 640px) {
    section.services .tiles ul.two {
        grid-template-columns: 1fr;
    }
}
/* FIZETÉSI LEHETŐSÉGEK – logók rendbetétele */
section.payments .tiles ul.three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Csempe: belső elrendezés, középre igazítva */
section.payments .tiles ul.three li > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.4rem 1.3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    background: #ffffff;
    height: 100%;
}

/* Logók: nagyobb méret, arányosan */
section.payments .tiles ul.three img {
    display: block;
    max-width: 150px;   /* szükség esetén emelhető pl. 180px-re */
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Ha van cím / szöveg a logó alatt */
section.payments .tiles ul.three h3,
section.payments .tiles ul.three p {
    text-align: center;
    margin: 0;
}
