/* Fade-in for Rolunk logo and text */
.rolunk-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.rolunk-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive map for Kapcsolat page */
.kapcsolat-center iframe {
  max-width: 98vw;
  width: 600px;
  height: 450px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  margin-top: 40px;
  margin-bottom: 70px;
}

@media (max-width: 900px) {
  .kapcsolat-center iframe {
    width: 98vw;
    height: 320px;
    min-width: 0;
    max-width: 99vw;
  }
}
/* Fade-in animation for Kapcsolat page bubbles and map */
.kapcsolat-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.kapcsolat-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.kapcsolat-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 32px;
}
html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  visibility: hidden;
}
.card.card-slideup {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.card.card-slideup {
  opacity: 1;
  transform: translateY(0);
}

.card .fa-solid {
  font-size: 3.2rem;
  display: block;
  margin: 24px auto 12px auto;
  color: #d4af37;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none !important;
  margin-bottom: 10px;
  padding: 0 0 10px 0;
}

.card-body {
  width: 100%;
  text-align: center;
}

.row.row-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .row.row-cols-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card {
    width: 100%;           /* full width of parent container */ 
    max-width: 74vw;    
    margin: 0 auto 38px;   /* center horizontally + bottom spacing */
    padding: 0 10px 10px 10px; /* optional padding inside card */
  }
}

.card .fa-solid {
  font-size: 3.2rem;
  display: block;
  margin: 24px auto 12px auto;
  color: #d4af37;
  text-align: center;
}

.card-body {
  width: 100%;
  text-align: center;
}

.row.row-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .row.row-cols-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .card {
    width: 95vw !important;
    margin-bottom: 38px !important;
    padding: 0 0 10px 0;
  }
}

.kepek {
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.kepek:hover {
  transform: scale(1.2) translateX(0);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  z-index: 2;
}
/* Termek Slide Animations */
.kepek {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  width: 360px !important;
  height: 360px !important;
  max-width: 100%;
  max-height: 400px;
}
.kepek.img-animate {
  opacity: 1;
  transform: translateX(0);
}

.kepek.img-animate.hover-enabled:hover, .kepek.hover-enabled:hover {
  opacity: 1;
  transform: scale(1.15) translateX(0);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  z-index: 2;
}
.focim, .szoveg2 {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.focim.text-animate, .szoveg2.text-animate {
  opacity: 1;
  transform: translateX(0);
}
/* Team Card Slide Up*/
.our-team {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.our-team.card-animate {
  opacity: 1;
  transform: translateY(0);
}

.main-section {
  flex: 1;
}

/* Footer */
.footer-dark {
  margin-top: 60px;
  width: 100%;
}
body {
  background-color: #546A7B;
  padding-top: 60px;
}
/* Navbar */
.navbar {
  opacity: 0;
  transform: translateY(-60px); 
  transition: opacity 0.6s ease, transform 0.6s ease;
  width: 100%;
  background: #222e36;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between; 
}
.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar-logo {
  height: 60px;
  margin-left: 18px;
  margin-right: 32px;
  object-fit: contain;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  display: flex;
  justify-content: center; 
  align-items: center;
  flex: 1; 
  height: 60px;
}

@media (max-width: 768px) {
  .navbar ul.navbar-menu {
    display: block;
    height: auto;
    padding: 0;
  }
}

.navbar li {
  margin-left: 50px;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 8px 12px;
  border-radius: 4px;
}

.navbar a:hover {
  background: #31404d;
  color: #ffb347;
}

/* Hamburger menu */
.navbar-toggle {
  display: none; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  z-index: 1100;
}

.navbar-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(-4px);
}
.navbar-toggle.active span:nth-child(3) {
  transform: translateY(4px);
}

@media (max-width: 768px) {
  .navbar-menu {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;   
    top: 76px;            
    left: 0;
    width: 100%;
    background: #222e36;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0;
    margin: 0;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;        
    opacity: 0;           
  }

  .navbar-menu.active {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto; 
  }

  .navbar li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #31404d;
  }

  .navbar a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    color: #fff;
    text-decoration: none;
  }

  .navbar-toggle {
    display: flex; 
  }
}

/* Loader  */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(24, 23, 23);
  animation: fadeOut 2s forwards;
  z-index: 2000; 
}

.loader img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.main-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  width: 100%;
  min-height: 300px;
  gap: 40px;
}

.main_image {
   width: 78%;
  max-width: 580px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.main-text {
  color: #fff;
  font-size: 1.35rem;
  max-width: 440px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .main-section {
    flex-direction: column;
    gap: 28px;
    margin-top: 100px;
  }
  .main_image {
    width: 80%;
    max-width: 260px;
  }
  .main-text {
    text-align: center;
    font-size: 1.1rem;
    max-width: 95vw;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.footer-dark {
  padding:50px 0;
  color:#f0f9ff;
  background-color:#282d32;
}

.footer-dark h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-dark ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-dark ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.6;
}

.footer-dark ul a:hover {
  opacity:0.8;
}

@media (max-width:767px) {
  .footer-dark .item:not(.social) {
    text-align:center;
    padding-bottom:20px;
  }
}

.footer-dark .item.text {
  margin-bottom:36px;
}

@media (max-width:767px) {
  .footer-dark .item.text {
    margin-bottom:0;
  }
}

.footer-dark .item.text p {
  opacity:0.6;
  margin-bottom:0;
}

.footer-dark .item.social {
  text-align:center;
}

@media (max-width:991px) {
  .footer-dark .item.social {
    text-align:center;
    margin-top:20px;
  }
}

.footer-dark .item.social > a {
  font-size:20px;
  width:36px;
  height:36px;
  line-height:36px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(255,255,255,0.4);
  margin:0 8px;
  color:#fff;
  opacity:0.75;
}

.footer-dark .item.social > a:hover {
  opacity:0.9;
}

.footer-dark .copyright {
  text-align:center;
  padding-top:24px;
  opacity:0.3;
  font-size:13px;
  margin-bottom:0;
}

.our-team {
  padding: 30px 0 40px;
  margin-bottom: 5vh;
  top: 4vh;
  background-color: #f7f5ec;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.our-team .picture {
  display: inline-block;
  height: 130px;
  width: 130px;
  margin-bottom: 50px;
  z-index: 1;
  position: relative;
}

.our-team .picture::before {
  content: "";
  width: 100%;
  height: 0;
  border-radius: 50%;
  background-color: #546A7B;
  position: absolute;
  bottom: 135%;
  right: 0;
  left: 0;
  opacity: 0.9;
  transform: scale(3);
  transition: all 0.3s linear 0s;
}

.our-team:hover .picture::before {
  height: 100%;
}

.our-team .picture::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #546A7B;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.our-team .picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transform: scale(1);
  transition: all 0.9s ease 0s;
}

.our-team:hover .picture img {
  box-shadow: 0 0 0 14px #f7f5ec;
  transform: scale(0.7);
}
.our-team-h1{
  display: block;
  font-size: 40px;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #ffffff;
  text-transform: capitalize;
}
.our-team-h1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.our-team-h1.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.our-team .title {
  display: block;
  font-size: 15px;
  color: #4e5052;
  text-transform: capitalize;
}

.our-team .social {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #546A7B;
  position: absolute;
  bottom: -100px;
  left: 0;
  transition: all 0.5s ease 0s;
}

.our-team:hover .social {
  bottom: 0;
}

.our-team .social li {
  display: inline-block;
}

.our-team .social li a {
  display: block;
  padding: 10px;
  font-size: 17px;
  color: white;
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

.our-team .social li a:hover {
  color: #1369ce;
  background-color: #f7f5ec;
}
.logo-side{
  position: relative;
  left: 40 px;
  top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  height: 500px;
  margin-top: 215px;
  background-color: #aeb3c2;
  border-radius: 500px;
  padding: 3%;
}
.text-side{
  padding: 3% ;
  margin-top: 100px;
  background-color: #aeb3c2;
  border-radius: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  position: relative;
}
.szoveg1{
  margin-top: 20px;
  font-size: 20px;
  font-weight: bolder;
  position: relative;
  
}

@media (max-width: 768px) {
  .szoveg1 {
    font-size: 1.5rem; 
    text-align: center; 
  }

  .row {
    flex-direction: column; 
  }

  .logo-side {
     position: static;
     width: 100%;
     max-width: 300px;
     height: auto;
     margin: 25px auto 5px auto;
     display: block;
     border-radius: 50%;
  }
} 
.kepek{
  margin-bottom: 30px;
  margin-top: 80px;
  border-radius: 3%;
}
.focim{
  font-weight: 500;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px #000000;
}
.szoveg2{
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px #000000;
}
.kapcs1{
  justify-content: center;
  width: 80%;
  max-width: 700px;
  text-align: center;
  padding: 21px;
  margin-top: 60px;
  background-color: #aeb3c2;
  border-radius: 50px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .kapcs1 {
    width: 98vw;
    max-width: 99vw;
    padding: 12px;
    margin-top: 24px;
    border-radius: 24px;
    font-size: 1.1rem;
  }
}
.partnerszoveg{
  margin-top: 20vh;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0 cover 30%;
}
.partner-image {
  margin-top: 20vh;
  margin-bottom: 20vh;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.partner-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

#partnerSlider {
  margin-top: 30px;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0 cover 30%;
}

h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 2rem;
  text-shadow: 2px 2px #000;
  text-align: center;
}

@keyframes appear {
  from{
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.odometer {
  font-size: 5rem;
  color: #fff;
  text-shadow: 2px 2px #000;
  align-items: center;
  justify-content: center;
  margin-bottom: 15vh;
}

.odometerszoveg, .odometer {
  text-align: center;
  display: block;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0 cover 30%;
}

.odometerszoveg {
  margin-bottom: 10px;
}

.odometerszoveg {
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px #000;
}

.tesztvideoszoveg{
  margin-top: 15vh;
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px #000;
  text-align: center;
}

.tesztvideoszoveg2{
  margin-top: 15vh;
  font-size: 2rem;
  color: white;
  text-shadow: 2px 2px #000;
  text-align: center;
}

.tesztvideoszoveg2:hover {
  color: blue;
  text-decoration: underline;
}