.caption-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s ease;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-shadow: 0 0 3px black;
}

.caption-text.show {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 768px) {
  .caption-text {
    font-size: 1.5rem;
  }
}


@media (min-width: 1200px) {
  .caption-text {
    font-size: 2rem;
  }
}

.btn-carousel {
  background: rgba(255, 255, 255, 0.20);
  border: 2px solid white;
  border-radius: 5px;
  color: white;
  text-shadow: 0 0 3px black;
  text-decoration: none;
}





.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: .3s ease;
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(206, 206, 206, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s ease;
}

.gallery-item:hover img {
  filter: brightness(.6);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:focus-within .overlay {
  opacity: 1;
}



.kategoria-matrica {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.1);
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.btn {
    background: none;
    border: none;
    color: rgb(21, 23, 26);
}

.btn:hover {
    background: #566d81;
    color: white;
    border: 1px solid white;
    
}

.text-brand {
  color: #354350 !important;
}



:root {
  --brand-color: #354350;
  --brand-hover: #987864;
}

.navbar {
  --bs-navbar-brand-color: var(--brand-color);
  --bs-navbar-hover-color: var(--brand-hover);
}

h1, h2, h3, h4 {
  color: var(--brand-color);
}


.sticky-top {
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}


.szolg-kartya {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.szolg-kartya:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.szolg-icon {
  font-size: 2.5rem;
  color: var(--brand-color);
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
}

.infokep {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}


#urlap1 {
  background: linear-gradient(135deg, #354350, #607383);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  color: white;
  max-width: 70%;
}

@media (max-width: 767px) {
  #urlap1 {
    max-width: 100%;
    padding: 24px;
  }
}

#urlap2 {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  color: #354350;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

#urlap2 h3, h5 {
  text-align: center;
}

#urlapalap {
  width: 100%;
  margin: auto;
  color: white;
  padding: 20px; 
}

.container{
  overflow: visible;
}

.shadow-box {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: rgba(152, 120, 100, 0.9);
}

footer {
  background-color: #262729;
  color: white;
}

.belso {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.btn {
  color: white;
  border: 1px solid #fff;
}

.szovegdoboz {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.bem-szoveg {
  max-width: 400px;
  margin: 0 auto;
}

.footerlink {
  color: white;
  font-weight: bold;
}

.footerlink:hover {
  color: #987864;
}

.fs-7 {
  font-size: 12px;
}


