:root{
  --bg-1:#d6d6d6;
  --bg-2:#bfbfbf;
  --card:rgba(255,255,255,0.65);
  --card-strong:rgba(255,255,255,0.75);
  --text:#111;
  --accent:#555;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  min-height:100vh;
  background-image:
    linear-gradient(rgba(255,255,255,0.14), rgba(255,255,255,0.14)),
    url("./background.png");
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
  color:var(--text);
  overflow-x:hidden;
  position:relative;
}


/* CURSOR GLOW */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(
    circle at var(--x,50%) var(--y,50%),
    rgba(255,255,255,0.25),
    transparent 40%
  );
  z-index:1;
}

/* RÉGI HÁTTÉR EFFEKTEK KIKAPCSOLVA */
.bg,
.bg1,
.bg2{
  display:none;
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:22px;
  left:50%;
  transform:translateX(-50%);
  z-index:20;
  background:rgba(255,255,255,0.34);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.46);
  border-radius:999px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.28);
  padding:12px 18px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-links a{
  text-decoration:none;
  color:var(--text);
  font-weight:500;
  font-size:15px;
  padding:10px 18px;
  border-radius:999px;
  transition:all .3s ease;
}

.nav-links a:hover{
  background:rgba(255,255,255,0.30);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.25);
}

/* FŐOLDAL ELRENDEZÉS */
.center-layout{
  width:min(980px,90%);
  margin:0 auto;
  padding-top:210px;
  padding-bottom:140px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2.2rem;
  position:relative;
  z-index:2;
}

/* NAGY PANEL */
.card{
  background:var(--card-strong);
  backdrop-filter:blur(18px);
  border-radius:28px;
  padding:2.2rem;
  border:1px solid rgba(255,255,255,0.5);
  box-shadow:0 30px 80px rgba(0,0,0,0.25);
}

.hero-card{
  width:100%;
  max-width:730px;
  text-align:center;
  border-radius:34px;
  padding:42px 36px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.35);
  animation:heroFloat 4.5s ease-in-out infinite;
  position:relative;
  overflow:hidden;
}

.hero-card::before{
  content:"";
  position:absolute;
  top:-120%;
  left:-20%;
  width:55%;
  height:300%;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.10) 35%,
    rgba(255,255,255,0.24) 50%,
    transparent 65%
  );
  transform:rotate(18deg);
  animation:heroShine 7s linear infinite;
  pointer-events:none;
}

@keyframes heroFloat{
  0%{transform:translateY(0px);}
  50%{transform:translateY(-8px);}
  100%{transform:translateY(0px);}
}

@keyframes heroShine{
  0%{
    transform:translateX(-220%) rotate(18deg);
  }
  100%{
    transform:translateX(420%) rotate(18deg);
  }
}

/* SZÖVEG */
h1{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  font-size:2.2rem;
}

.emoji{
  background:#000;
  color:#fff;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
}

.lead{
  margin-top:1rem;
  color:var(--accent);
  font-size:1.05rem;
}

.small{
  margin-top:.6rem;
  font-size:.95rem;
  color:var(--accent);
}

/* ALSÓ 3 KÁRTYA */
.bottom-cards{
  width:100%;
  max-width:900px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.4rem;
  align-items:stretch;
}

.mini{
  background:var(--card);
  backdrop-filter:blur(16px);
  border-radius:18px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.30);
  transform-style:preserve-3d;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease;
  position:relative;
  overflow:hidden;
}

.mini:hover{
  box-shadow:
    0 26px 60px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.mini::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.25), transparent 60%);
  opacity:0;
  transition:opacity 0.4s ease;
}

.mini.active::after{
  opacity:1;
}

.status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.label{
  color:var(--accent);
  font-size:.95rem;
}

.value{
  font-weight:600;
}

/* FOOTER */
.footer{
  position:fixed;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  z-index:5;
  font-size:.8rem;
  color:#333;
  text-align:center;
}

/* WORKS / CONTACT OLDALAK */
.stage.single{
  position:relative;
  z-index:2;
  width:min(1000px,90%);
  margin:0 auto;
  padding-top:150px;
  padding-bottom:120px;
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

.projects,
.contact-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:20px;
  margin-top:20px;
}

.project-card,
.contact-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:rgba(255,255,255,0.65);
  backdrop-filter:blur(16px);
  padding:22px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.5);
  box-shadow:0 15px 40px rgba(0,0,0,0.18);
  text-decoration:none;
  color:#111;
  transition:transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.project-card:hover,
.contact-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 60px rgba(0,0,0,0.22);
  background:rgba(255,255,255,0.78);
}

.contact-card .emoji{
  margin-bottom:10px;
}

.project-card h2,
.contact-card h2{
  margin-bottom:8px;
  font-size:18px;
}

.project-card p,
.contact-card p{
  font-size:14px;
  color:#555;
}

/* RESZPONZÍV */
@media(max-width:900px){
  .bottom-cards{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .navbar{
    width:calc(100% - 24px);
    padding:10px 12px;
  }

  .nav-links{
    justify-content:center;
    flex-wrap:wrap;
  }

  .nav-links a{
    font-size:14px;
    padding:9px 14px;
  }

  .hero-card{
    padding:34px 24px;
    border-radius:30px;
  }

  h1{
    font-size:1.8rem;
  }

  .stage.single{
    padding-top:140px;
  }
}


.info-panel{
  width:100%;
  max-width:800px;
  text-align:center;

  padding:30px 32px;
  border-radius:30px;

  box-shadow:
    0 25px 70px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.3);

  animation: fadeUp 1s ease;
}

.info-panel h2{
  margin-bottom:12px;
  font-size:1.4rem;
}


@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.info-panel{
  width:min(720px,90%);
  margin:0 auto;
  margin-top:6px;
  text-align:center;
  padding:32px 36px;
  border-radius:40px;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.5);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.35);
  animation:fadeUp 0.8s ease;
}


.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover; 
  display: block;
}

.mini {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bottom-cards .mini {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bottom-cards .mini:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}