/* assets/css/lablec.css */

/* --- Sticky footer alapok: a footer mindig az oldal alján --- */
html, body {
  height: 100%;
}

body {
  min-height: 100svh;         /* mobileszközöknél is pontos */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;             /* a tartalom kitölti a teret */
}

footer {
  margin-top: auto;           /* a footer lecsúszik az aljára */
}

/* --- Színek, témázás --- */
:root {
  --footer-bg: #1f1f1f;
  --footer-text: #cfcfcf;
  --footer-heading: #ffffff;
  /* új accent szín */
  --footer-accent: #0082f7;
  --footer-link-hover: #ffffff;
  --transition: 0.3s ease-in-out;
}

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  position: relative;
  font-size: 0.9rem;
}

footer h5 {
  color: var(--footer-heading);
}

/* Szolgáltatások és gyorslinkek */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 0.6rem;
}
/* Linkek alapértelmezett és hover színe */
footer ul li a {
  color: var(--footer-accent);
  text-decoration: none;
  transition: color var(--transition);
}
footer ul li a:hover {
  color: var(--footer-link-hover);
}

/* Kapcsolat szöveg és linkek */
footer address {
  font-style: normal;
  line-height: 1.6;
}
footer address a {
  display: inline-block;
  margin-top: 0.3rem;
  transition: color var(--transition);
  color: var(--footer-text);
}
footer address a:hover {
  color: var(--footer-accent);
}

/* Ikonok színe a Kapcsolat szekcióban */
.footer-contact i {
  color: var(--footer-accent);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Térkép stílus (ha .footer-map osztályt használnád) */
.footer-map iframe,
footer .col-12.col-md-3 iframe {
  border: 0;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Vízszintes vonal */
footer hr {
  border-color: rgba(255,255,255,0.2);
  margin: 2rem 0;
}

/* “Back to top” gomb */
.footer-back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: var(--footer-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1000;
}
.footer-back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.footer-back-to-top i {
  font-size: 1.2rem;
}

/* Alsó sor (copyright) */
.footer-bottom {
  background: #111;
  text-align: center;
  padding: 1rem 0;
}
.footer-bottom p {
  margin: 0;
  color: var(--footer-text);
  font-size: 0.8rem;
}
