.message-toggle svg {
    fill: #4c959e;
}

.main-menu-al ul li a:hover {
  animation: pulse 0.6s ease-in-out;
  color: #4c959e;
  text-shadow: 0 0 6px #4c959e;
}

.text-bubble {
  background-color: rgba(0, 0, 0, 0.8);
  display: inline-block;
  padding: 30px 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text-bubble h1 {
    color: #fbcd4a;
    font-family: 'Michroma', sans-serif;
    text-shadow: 4px 4px 30px rgba(0, 0, 0, 1);
    text-transform: uppercase;
    font-size: clamp(1.2rem, 2.5vw, 3rem);
    animation: yellow-blink 3s infinite;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .text-bubble p {
      font-size: clamp(0.8rem, 2vw, 2.2rem);
      font-family: 'Michroma', sans-serif;
    }

@keyframes yellow-blink {
  0% {
    color: #ffffff;
    text-shadow: 0 0 5px #fbcd4a;
  }
  50% {
    color: #fbcd4a;
    text-shadow: 0 0 15px #fbcd4a;
  }
  100% {
    color: #ffffff;
    text-shadow: 0 0 5px #fbcd4a;
  }
}

.btn {
    background: #4c959e;
    color: white;
    border-radius: 20px;
    box-shadow: none;
}

/*-----------------------------------------------------*/

.ajanlat-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
    padding: 1rem 1rem;
}

.ajanlat-text h1 {
    margin-bottom: 2rem;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    font-family: 'Michroma', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
}

.ajanlat-text p {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(0.9rem, 1vw, 1.5rem);
    max-width: 100%;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: #333;
}

.highlight-word {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-family: 'Michroma', sans-serif;
    font-weight: 300;
    animation: blue-blink 3s infinite;
    text-transform: uppercase;
    line-height: 0.8;
}

.highlight-word2 {
    animation: blue-blink 3s infinite;
    text-transform: uppercase;
    line-height: 0.8;
}

@keyframes blue-blink {
  0% {
    color: #000000;
    text-shadow: 0 0 5px #004969;
  }
  50% {
    color: #004969;
    text-shadow: 0 0 15px #004969;
  }
  100% {
    color: #000000;
    text-shadow: 0 0 5px #004969;
  }
}


.reference-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  overflow: hidden;
}

.reference-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  max-width: 1000px;
  position: relative;
 }

.reference-gallery img {
  width: 480px;
  height: 270px;
  object-fit: cover;
  border: 2px solid #004969;
  border-radius: 10px;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
  transition: transform 0.5s ease, clip-path 0.5s ease, z-index 0.5s ease;
  cursor: pointer;
  margin-left: -80px;
  filter: grayscale(100%);
  opacity: 0.7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1;
}

@media (max-width: 1320px) {
  .reference-gallery {
    max-width: 95%;
    margin: 20px auto;
  }

  .reference-gallery img {
    aspect-ratio: 16/9;  
    width: 35%;          /* három kép esetén rugalmas szélesség */
    height: auto;        /* arányosan kicsinyedik */
    margin-left: -5%;    /* kisebb átfedés */
  }

  .reference-gallery img:first-child {
    margin-left: 0;
  }
}

.reference-gallery img:first-child {
  margin-left: 0;
}

.reference-gallery img.active {
  filter: grayscale(0%);
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  transform: scale(1.05) translateY(-15px);
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.reference-text {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: 'Michroma', sans-serif;
}

.reference-text h3 {
    margin: 0 auto 2rem;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    font-family: 'Michroma', sans-serif;
    font-weight: 500;
    line-height: 1.6;
}

.reference-text p {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(0.9rem, 1vw, 1.5rem);
    margin-left: 60px;
    margin-right: 60px;
    text-align: center;
    line-height: 1.6;
    }

.reference-text a {
  display: inline-block;
  background-color: #004969;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Michroma', sans-serif;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
}

.reference-text a:hover {
  background-color: #006f8f;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) {
  .reference-text a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .reference-text a {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .reference-text a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

  .highlight-blue {
      color: #004969;
      font-weight: bold;
  }




/*-----------------------------------------------------------*/

.custom-footer {
    background-image: url('images/fejlec-ajanlat.jpg');
    border-radius: 15px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 1);
    color: #fff;
}

.footer-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 15px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 1);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-columns {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-column h3 {
    color: #fbcd4a;
    text-shadow: 0 0 5px #fbcd4a;
}

.footer-column p,
.footer-column a {
    color: #ffffff;
    font-weight: 700;
}

.center-logo img {
    height: clamp(80px, 30vw, 200px);
    width: clamp(80px, 30vw, 200px);
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.3);
    display: block;
    margin: 0 auto;
}

.hero-left-image img {
  width: clamp(150px, 25vw, 450px);
  object-fit: cover;
  display: block;
  border-radius: 0;
  mask-image: radial-gradient(circle, black 60%, transparent 63%);
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 63%);
  box-shadow: 0 0 20px 10px rgba(255,255,255,0.3);
}
  
.service-icon{
    width: 50px;
    height: auto;
    margin-bottom: 1rem;
}



