body {
  margin: 0;
  background: linear-gradient(90deg, #5a594c,#888778 );
  background-attachment: fixed; /* opcionális, szép fix háttér */
}

/* Animated background gradient */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(-45deg, #5a594c, #888778, #5a594c, #888778);
  background-size: 400% 400%;
  animation: gradientShift 30s ease infinite;
  pointer-events: none;
  z-index: -1;
}

/* Keyframes for animations */
@keyframes glow {
  0%, 100% { box-shadow: 0px 0px 30px rgba(5, 5, 5, 0.705); }
  50% { box-shadow: 0px 0px 50px rgba(5, 5, 5, 0.9), 0px 0px 80px rgba(88, 85, 76, 0.4); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* landing page */
.landing {
  height: 90vh;
  display: flex;
  align-items: center;
  color: #e1e2e1;
  margin-top: 0px !important;
  position: relative;
  overflow: hidden;
}

.landing img {
  max-width: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  box-shadow: 0px 0px 30px rgba(5, 5, 5, 0.705) !important;
  animation: glow 3s ease-in-out infinite;
}

.landing img:hover{
  transform: scale(1.1) rotate(1deg); 
  animation: none;
  box-shadow: 0px 0px 60px rgba(5, 5, 5, 0.95), 0px 0px 100px rgba(88, 85, 76, 0.6) !important;
}
    

section {
  padding: 60px 0;
}


.hero-img {
  max-width: 100%;
  box-shadow: 0px 0px 30px rgba(5, 5, 5, 0.705) !important;
  transition: transform 0.3s ease;
}

/* Hover */
.hero-img:hover {
  transform: scaleY(1.3);
  transform: scaleX(1.1);
}



/* landing page effekt */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-slide-left, .fade-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-slide-left {
  transform: translateX(-40px);
}

.fade-in-active {
  animation: slideInLeft 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.fade-slide-right.fade-in-active {
  animation: slideInRight 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}




/* 767px alatt ÁLLÓ (portré) kép */
@media (max-width: 767px) {
  .hero-img {
    content: url("./img/IMG_3042\ szórólapra.jpg"); /* <-- Állókép ide */
  }
}

/* 768px felett vissza a fekvő képre */
@media (min-width: 768px) {
  .hero-img {
    content: url("./img/DSC_0691.JPG"); /* <-- Eredeti fekvő kép */
  }
}

@media (max-width: 767px) {
  .hero-img {
    content: url("./img/IMG_3042\ szórólapra.jpg");
    max-height: 50vh;    /* <<< magasság korlátozása */
    width: auto;
    object-fit: contain;  /* ne vágja le a képet */
  }
}

.cím {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f5f5f5;
  margin-bottom: 10px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.cím:hover {
  color: #fff;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(88, 85, 76, 0.3);
}

.cím1{
  font-size: 2.3rem;
  font-weight: 550;
  letter-spacing: 1px;
  color: #f5f5f5;
  margin-bottom: 50px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.cím1:hover {
  color: #fff;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(88, 85, 76, 0.3);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alcím {
  font-size: 2.3rem;
  font-weight: 600;
  color: #e8e8e8;
  margin-bottom: 10px;
  animation: slideInUp 1s ease-out 0.3s both;
  transition: all 0.3s ease;
}

.alcím:hover {
  color: #fff;
  transform: translateX(10px);
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.alalcím {
  font-size: 1.6rem;
  font-weight: 400;
  color: #d6d6d6;
  margin-bottom: 10px;
  animation: slideInUp 1s ease-out 0.5s both;
  transition: all 0.3s ease;
}

.alalcím:hover {
  color: #e8e8e8;
  transform: translateX(10px);
}

/* Mobilbarát szövegméretek */
@media (max-width: 767px) {
  .cím {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .cím1 {
    display: none;
  }

  .alcím {
    font-size: 1.3rem;
  }

  .alalcím {
    font-size: 1.1rem;
  }
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* footer */
.custom-footer {
  background: rgba(0, 0, 0, 0.4);   /* áttetsző sötét */
  backdrop-filter: blur(6px);       /* modern elmosás */
  color: #eaeaea;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease-out;
  transition: all 0.3s ease;
}

.custom-footer:hover {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.5);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.footer-title:hover {
  color: #fff;
  transform: translateY(-3px);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.footer-text {
  margin: 0;
  font-size: 1.2rem;
  color: #d0d0d0;
  font-weight: 400;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.footer-text:hover {
  color: #fff;
  transform: translateY(-2px);
}

.szamlaszam{
  font-size: 1.1rem;
  animation: shimmer 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.szamlaszam:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(88, 85, 76, 0.5);
}

.footer-link {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

/* Mobilra finomhangolva */
@media (max-width: 767px) {
  .footer-title {
    font-size: 1.1rem;
  }
  .footer-text {
    font-size: 0.9rem;
  }
}