/*Logó középre igazítva */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0 1rem 0;
}

.site-logo {
    width: auto;
    max-width: 80px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 0 15px rgba(255, 204, 51, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.site-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255, 204, 51, 0.45);
}

/* Szövegdoboz */
#intro-box {
    position: relative;
    width: 80%;
    max-width: 700px;
    margin: 2rem auto;
    padding: 24px 36px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid #ffcc33;
    border-radius: 12px;
    background: rgba(255, 204, 51, 0.08);
    box-shadow: 0 0 25px rgba(255, 204, 51, 0.25);
    box-sizing: border-box;
}

/* Szöveg a dobozban */
#intro-box p {
    margin: 0 auto;
    max-width: 85%;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Animált keretvonalak */
#intro-box .border-line {
    position: absolute;
    background-color: #ffcc33;
    transition: transform 0.7s cubic-bezier(.4, .0, .2, 1);
}

#intro-box .border-line.top,
#intro-box .border-line.bottom {
    height: 2px;
    width: 100%;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
}

#intro-box .border-line.left,
#intro-box .border-line.right {
    width: 2px;
    height: 100%;
    top: 0;
    transform: scaleY(0);
    transform-origin: top;
}

#intro-box.open .border-line.top,
#intro-box.open .border-line.bottom {
    transform: scaleX(1);
}

#intro-box.open .border-line.left,
#intro-box.open .border-line.right {
    transform: scaleY(1);
}

/* Reszponzív */
@media (max-width: 768px) {
    .site-logo {
        max-width: 60px;
    }

    #intro-box {
        width: 90%;
        font-size: 1rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        max-width: 50px;
    }

    #intro-box {
        font-size: 0.95rem;
        padding: 16px;
    }
}
#callPopup {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 2px solid #ffcc33;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  z-index: 9999;
  width: 85%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 204, 51, 0.4);
  animation: fadeInUp 0.4s ease-out;
}

.call-content p {
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
}

.call-button {
  display: inline-block;
  background-color: #ffcc33;
  color: #111;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  margin-top: 0.5rem;
  transition: background 0.3s;
}

.call-button:hover {
  background-color: #ffe066;
}

.close-btn {
  background: none;
  border: none;
  color: #ffcc33;
  font-size: 1.5rem;
  position: absolute;
  top: 0.3rem;
  right: 0.8rem;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
