/* Alap */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: whitesmoke;
  color: #1f2937;
  min-width: 320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Felső információs sáv */
.top-info-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #961d1d;
  color: white;
  font-size: 0.9rem;
  text-align: center;
  z-index: 30;
  padding: 0.35rem 0.5rem;
  transition: transform 0.3s ease;
  line-height: 1.4;
  height: 30px; /* fix magasság asztalihoz */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.top-info-bar.hidden {
  transform: translateY(-100%);
}

.top-info-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap; /* ne törjön új sorba */
}

.info-item {
  white-space: nowrap;
  color: white;
  text-decoration: none;
}

.info-separator {
  opacity: 0.7;
}

/* Mobilon: kisebb betű, kicsit szorosabb */
@media (max-width: 600px) {
  .top-info-bar {
    font-size: 0.8rem;
    height: 26px;
    padding: 0.2rem;
  }
  .top-info-content {
    gap: 0.3rem;
  }
}

/* Navigáció */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 30px; /* vagy amekkora a .top-info-bar magassága */
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

nav img {
  height: 50px;
  cursor:pointer;
}

nav button {
  position: relative;
  background: transparent;
  border: none;
  font-size: 1rem;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

nav button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #ff4d4d;
  border-radius: 2px;
  transition: width 0.4s ease;
}

nav button:hover::after {
  width: 100%;
}

nav button.active::after {
  width: 100%;
  background-color: #961d1d;
}

/* Hamburger ikon jobb oldalra, függőleges vonalakkal */
.hamburger {
  display: none;
  flex-direction: column; /* vonalak egymás alatt */
  justify-content: space-between; /* egyenlő távolság */
  width: 25px;
  height: 20px; /* magasság a három vonal közötti távolsághoz */
  cursor: pointer;
  order: 1; /* logótól jobbra */
  margin-left: 1rem; /* opcionális távolság a logótól */
  position: relative; /* szükséges az animációhoz */
  z-index: 30;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Oldalsó menü mobilon */
.mobile-menu {
  left: auto; /* bal oldali pozíció kikapcsolása */
  right: -250px; /* kezdetben kívül a jobb oldalon */
  width: 220px;
  height: 100%;
  position: fixed;
  top: 0;
  background: #fff;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1); /* árnyék balra */
  padding: 5rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease-in-out;
  z-index: 25;
}

.mobile-menu.show {
  right: 0; /* megjelenik jobbról */
}

.mobile-menu button {
  -webkit-appearance: none; /* iOS alap stílus kikapcsolása */
  -moz-appearance: none;    /* Firefox */
  appearance: none;
  position: relative;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  text-align: left;
  cursor: pointer;
  display: inline-block; /* ← ez kell a pszeudo-elem aláhúzásához */
}

.mobile-menu button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #ff4d4d;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.mobile-menu button:hover::after,
.mobile-menu button.active::after {
  width: 100%; /* teljes szélesség a szöveghez */
}

/* Hero */
.hero-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease-in-out;
}

.hero-image.visible {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

.hero-text h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* ha túl hosszú, új sorba törhet szépen */
  font-size: 2rem;
  margin: 0;
  text-align: center;
  gap: 0.2em;
}

.hero-text span {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: lighter;
}

.hero-contact-button {
  text-decoration: none;
  text-shadow: none;
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

/* Tartalom */
main {
  flex-grow: 1;
  padding: 1 rem;
  margin: 0 auto;
}

/* Kártya */
.card {
  background-color: #fff;
  padding: 1em;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  width: 95%;
  justify-self: center;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: #c54f4f;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 0;
  
}

/* Footer oszlopok */
.footer-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}

.footer-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.doctor-short-info {
  max-width: 400px;
  font-size: 0.9em;
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

.footer-column:last-child {
  border-right: none;
}

/* Szolgáltatások oszlop */
.footer-services {
  display: flex;
  flex-direction: column; /* egymás alá */
  align-items: center; /* vízszintesen középre */
  justify-content: center; /* opcionális: függőlegesen is középre, ha az oszlop magassága nagy */
  gap: 0.5rem; /* gombok között térköz */
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

.footer-services a {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-contact {
  justify-content: center;
}

.footer-services a:hover {
  color: #ffbaba;
}

/* Kontaktok asztali nézetben balra */
.footer-contact .contact-item {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0rem;
  text-align: left;
}

.contact-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #565656;
  margin: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-item span.label {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0rem;
}

.contact-item span.info {
  font-size: 0.9rem;
}

/* Footer alsó rész */
/* .footer-bottom {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #ffffff;
  background-color: #c54f4f;
  color: white;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
} */

.footer-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid #ffffff;
  background-color: #c54f4f;
  color: white;
  padding-right: 20px;
}

/* Bal oldali linkek (asztali nézet) */
.footer-links {
  display: flex;
  gap: 15px;
  padding-left: 20px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  background-color: #c54f4f;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* A meglévő .footer-bottom marad középen, DE jobbra igazítjuk asztalin */
.footer-row .footer-bottom {
  margin-left: auto;
  font-size: 0.85rem;
  text-align: right;
  border: none;
}

/* MOBIL – törjön egymás alá */
@media (max-width: 600px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-row .footer-bottom {
    text-align: center;
    margin-left: 0;
  }
}

footer, 
.footer-top, 
.footer-row {
  background-color: #c54f4f !important;
}

/* Mobil nézet kényszerített stílus */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .footer-top {
    flex-direction: column !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .footer-column {
    border-right: none !important; /* függőleges vonal eltüntetése */
    border-bottom: 1px solid #ffffff !important; /* vízszintes vonal */
    padding: 1rem 0 !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-column:last-child {
    border-bottom: none !important; /* utolsó oszlopnál nincs vonal */
  }

  .footer-contact {
    gap: 1rem !important;
    align-items: center !important;
  }

  .footer-contact .contact-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem !important;
  }

  .footer-contact .contact-item .icon {
    margin-bottom: 0rem !important;
  }

  .footer-contact .contact-item div {
    text-align: center !important;
  }
}
.footer-column img {
  width: 100px;
  height: 100px;
  border-radius: 50%; /* ← Ez a körbevágás */
  margin-bottom: 0.5rem;
  object-fit: cover;
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}
/* Kontaktok asztali nézetben */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* oszlopon belül balra */
  gap: 1rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.footer-contact .contact-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #565656;
  margin: 0; /* ikon a bal szélhez */
}

.footer-contact .contact-item div {
  display: flex;
  flex-direction: column;
  text-align: left; /* szöveg balra */
}

.hero-text h1 {
  font-size: 1.5rem;
  margin: -0.2rem 0;
  letter-spacing: 0.1rem;
}

.hero-contact-button {
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #ff4d4d;
  border: none;
  border-radius: 1rem;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 2px;
  font-weight: light;
  
}

.hero-contact-button:hover {
  background-color: #961d1d;
}
.phone-desktop {
  display: inline;
}
.phone-mobile {
  display: none;
}

/* mobilon megcseréljük */
@media (max-width: 900px) {
  .phone-desktop {
    display: none;
  }
  .phone-mobile {
    display: inline;
  }
}
.address-links {
  display: none !important; /* alapból elrejtve */
  gap: 6px;
  margin-top: 4px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .address-links {
    display: flex !important; /* látszódjon mobilon */
    flex-direction: row !important; /* egy sorban */
    align-items: center !important;
    gap: 6px !important;
  }

  a {
    text-decoration: underline;
    color: rgb(229, 220, 220);
  }

  .hero-contact-button {
  text-decoration: none;
  letter-spacing: 2px;
}
}
.address-links span:first-child {
  /* "Megnyitás itt:" */
  color: #fce2e2; /* halványabb piros, harmonizál a footerrel */
  font-size: 0.95rem;
}

.doctor-short-info {
  color: #fce2e2;
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.4;
}

.learn-more-button {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-left: 4px;
}

.home-title {
  display: inline;
  text-align: center;
}

.city {
  display: inline;
  font-weight: lighter;
}

.card {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.card-text {
  flex: 1;
}

.card-image {
  width: 200px;
  height: auto;
  border-radius: 0.5rem;
}

/* Mobil nézet */
@media (max-width: 900px) {
  .home-title {
    text-align: left;
  }

  .card {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .card-image {
    display: none;
  }
}

@media (max-width: 440px) {
  nav img {
    height: auto;
    max-width: 80%;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Általános stílus minden kártyához */
/* --- Alap kártyák (időpontfoglalás, térkép stb.) --- */
.card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card-text {
  flex: 1;
  margin: 0;
}

.card-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 0.8rem;
}

/* --- Mobil nézet (képek ne tűnjenek el) --- */
@media (max-width: 900px) {
  .card {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .card-image {
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
  }
}

/* --- Asztali nézet: nagyobb képek, külön sorban --- */
@media (min-width: 901px) {
  .card {
    flex-direction: column;
    text-align: left;
  }

  .card-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    margin-top: 1rem;
    cursor: pointer;
  }
}

/* --- Külön stílus a cím és utcakép kártyákhoz --- */
.card-address,
.card-streetview,
.card-services-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card-address h2,
.card-streetview h2,
.card-services-intro h2 {
  margin-bottom: 1rem;
  text-align: left;
}

/* Tartalom szétválasztása */
.card-address .card-content,
.card-streetview .card-content,
.card-services-intro .card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Asztali nézetben: szöveg balra, kép jobbra */
@media (min-width: 901px) {
  .card-address .card-content,
  .card-streetview .card-content,
.card-services-intro .card-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .card-address .card-text,
  .card-streetview .card-text,
.card-services-intro .card-text {
    flex: 1;
  }

  .card-address .card-image,
  .card-streetview .card-image,
.card-services-intro .card-image {
    flex: 1;
    width: 40%;
    max-height: 300px;
    border-radius: 0.8rem;
    object-fit: cover;
  }
}

/* Mobil nézet: kép a szöveg alatt */
@media (max-width: 900px) {
  .card-address .card-image,
  .card-streetview .card-image {
    width: 100%;
    margin-top: 1rem;
  }
}

/* --- Javított mobil nézet minden kártyához --- */
@media (max-width: 900px) {
  .card {
    flex-direction: column;
    align-items: flex-start; /* balra igazít */
    text-align: left;
  }

  .card-image {
    display: block !important;
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
  }
}

/* --- A cím és utcakép kártyákhoz marad --- */
.card-address,
.card-streetview,
.card-services-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card-address h2,
.card-streetview h2,
.card-services-intro h2 {
  margin-bottom: 1rem;
  text-align: left;
}
.card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem; /* kicsi térköz, hogy ne tapadjon rá */
}

/* --- Képnagyító modál stílus --- */
.image-modal {
  display: none; /* alapból rejtve */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal.show {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: #ff4d4d;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 1rem;
}

/* Két kártya egymás mellett közepes kijelzőn */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Három kártya egymás mellett nagy képernyőn */
@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-services-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.card-services-intro h2 {
  margin-bottom: 1rem;
  text-align: left;
}

.card-services-intro .card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Asztali nézet (min-width: 901px) */
@media (min-width: 901px) {
  .card-services-intro .card-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .card-services-intro .card-text {
    flex: 1;
  }

  .card-services-intro .card-image {
    flex: 1;
    width: 40%;
    max-height: 300px;
    border-radius: 0.8rem;
    object-fit: cover;
  }
}

/* Alap: mobilon egymás alatt */
.card-services-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.card-services-intro .card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-services-intro .card-text {
  flex: unset;
}

.card-services-intro .card-image {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 0.8rem;
  align-self: center;
}

/* Asztali nézet: sorban, szöveg balra, kép jobbra */
@media (min-width: 901px) {
  .card-services-intro .card-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .card-services-intro .card-text {
    flex: 1;
  }

  .card-services-intro .card-image {
    flex: 1;
    width: 40%;
    align-self: center;
  }
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin: 0 auto;    /* középre igazítás */
  border-radius: 0.8rem;
  cursor: auto;
}

/* Galéria wrapper */
.gallery-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 1rem 0;
  border-radius: 0.8rem;
  overflow: hidden;
  position: relative;
  align-self: center;
}

/* Galéria container */
.gallery-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

/* Minden kép */
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
  display: none;      /* alapból rejtve */
  position: absolute; /* egymásra helyezve */
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
}

.gallery-image.visible {
  display: block;
  opacity: 1;
}

/* Galéria gombok */
.gallery-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 0.5rem;
  z-index: 1;
}

.gallery-controls button {
  background-color: rgba(255, 77, 77, 0.9);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.gallery-controls button:hover {
  background-color: #961d1d;
}

.intro-section, .services-section {
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #fff0f0;
  border: 2px solid #900;
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  transition: transform 0.3s;
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

.services-button .btn-red {
  display: inline-block;
  margin-top: 2rem;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

/* --- Általános --- */
.intro-section {
  background-color: #fcd4d4;
  color: #900;
  padding: 2rem 2rem;
  text-align: center;
}

.services-section {
  background-color: #fbdcdc;
  color: #900;
  padding: 2rem 2rem;
  text-align: center;
}

.gallery-section {
  background-color: #fce2e2;
}

.map-section {
  background-color: #fbeaea;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #fff0f0;
  border: 2px solid #900;
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.services-button .btn-red {
  display: inline-block;
  margin-top: 2rem;
  background-color: #ff4d4d;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* --- Galéria + szöveg --- */
#homeGallery .gallery-wrapper {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
}

#homeGallery .gallery-text {
  width: 50%;
  color: #900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#homeGallery {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#homeGallery .gallery-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}

#homeGallery .gallery-controls {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* --- Térkép + szöveg --- */
.map-wrapper {
  display: flex;
  gap: 2rem;
  padding: 2rem;
}

.map-text {
  width: 50%;
  color: #900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.map-container {
  width: 50%;
  height: 400px;
}

/* --- Mobil nézet --- */
@media (max-width: 768px) {
  .gallery-wrapper,
  .map-wrapper {
    flex-direction: column;
  }

  .gallery-text,
  #homeGallery,
  .map-text,
  .map-container {
    width: 100%;
  }
}
.home-gallery-wrapper {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: center; /* függőleges középre */
}

.home-gallery-wrapper .gallery-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* függőleges középre */
  text-align: center;      /* vízszintes középre */
}

#homeGalleryContainer {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .home-gallery-wrapper {
    flex-direction: column;
  }

  .home-gallery-wrapper .gallery-text,
  #homeGalleryContainer {
    width: 100%;
  }
}

#phonelink{
  color: blue;
}

.card{
  background-color: #feebeb;
}

.card-services-intro,
.examination,
.ultrasound,
.eeg,
.emg,
.therapy,
.equipment {
  transition: transform 0.3s;
}

/* .card-services-intro:hover,
.examination:hover,
.ultrasound:hover,
.eeg:hover,
.emg:hover,
.therapy:hover,
.equipment:hover {
  transform: translateY(-5px);
} */

h2 {
      user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

.card-services-intro:hover,
.examination:hover,
.ultrasound:hover,
.eeg:hover,
.emg:hover,
.therapy:hover,
.equipment:hover {
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
}

.examination,
.ultrasound,
.eeg,
.emg,
.therapy,
.equipment {
  user-select: none;       /* Alapértelmezett modern böngészők */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;
  text-align: center;
}

.services-button .btn-red:hover {
  background-color: #961d1d;
}