/* alapok */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden; 
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #1e1e1e;
}

body {
  overflow-x: hidden;
  background-color: #1e1e1e;
}

header {
  width: 100%;
}

main {
  width: 100%;
}

/* nav */

.navlinks {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  background-color: rgba(58, 58, 58, 0.8);
  position: fixed;
  z-index: 10;
  overflow-x: hidden; 
}

.navlinks ul {
  padding: 1%;
  display: flex;
  gap: 6rem;
  flex-wrap: nowrap;
  overflow-x: hidden;
}

.navlinks ul li {
  list-style: none;
  font-weight: bold;
}

.logo {
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.logo img {
  width: 70%;
  height: auto;
  max-width: 100%; 
}

.navlinks a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap; 
}

.navlinks a:hover {
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navlinks li:hover {
  transform: scale(1.2);
  transition: transform 0.4s ease;
}

.ham {
  color: #80cbc4;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1%;
  display: none;
  margin-right: 5%;
  cursor: pointer;
}

.ham i {
  font-size: 24px;
}

.ham i:hover {
  transform: scale(1.2);
  transition: transform 0.4s ease;
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 930px) {
  .navlinks ul {
    display: none;
  }

  .navlinks {
    justify-content: space-between;
  }

  .ham {
    display: flex;
  }

  .logo {
    margin-left: 5%;
  }

  .logo img {
    width: 100%;
    height: auto;
  }

  .logoactive {
    margin: 0;
    width: auto;
  }

  .hamactive {
    margin: 0;
    width: auto;
  }

  .hambiactive {
    display: none !important;
  }

  .ulactive {
    display: flex !important;
    flex-direction: column;
    font-size: 30px;
    overflow-x: hidden;
    
  }

 

  .active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
  }
}

/* home */

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #1e1e1e;
  overflow: hidden;
  text-align: center;
  padding-top: 15vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.title, .h3title {
  position: relative;
  z-index: 1;
}

.main-heading {
  font-size: 6rem;
  color: #5eb0a8;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: rgb(4, 52, 83);
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-heading {
  font-size: 2.5rem;
  color: #e8e6e3;
  margin: 0.5rem 0;
  font-weight: 400;
}

.tagline {
  font-size: 1.5rem;
  color: #999;
  margin-top: 2rem;
  font-weight: 600;
}

.erdbtn {
  width: 15%;
  padding: 12px 20px;
  margin-top: 3%;
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  border: none;
  border-radius: 5px;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.erdbtn a {
  text-decoration: none;
  color: #1e1e1e;
  display: block;
  width: 100%;
  height: 100%;
}

.erdbtn:hover {
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .erdbtn {
    width: 30%;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .erdbtn {
    width: 30%;
    font-size: 20px;
  }

  .main-heading {
    font-size: 2.5rem;
  }
  .sub-heading {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .erdbtn {
    width: 40%;
    font-size: 18px;
  }
}

/* services */

.services {
  width: 100%;
  min-height: 100vh;
}

.container {
  min-height: 100vh;
  width: 100%;
  background-color: #1e1e1e;
  overflow-x: hidden;
}

.service-wrapper {
  padding: 5% 8%;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.serviceh2 {
  font-size: 5rem;
  letter-spacing: 4px;
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
  overflow-x: hidden;
}

.card {
  height: 330px;
  max-width: 370px;
  width: 100%; 
  background-color: #2a2a2a;
  padding: 3% 8%;
  border: 0.2px solid #80cbc4;
  border-radius: 8px;
  transition: 0.6s;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  margin: 10px auto; 
}

.card:after {
  content: "";
  position: absolute;
  top: 150%;
  left: -200px;
  width: 120%;
  transform: rotate(50deg);
  background-color: #fff;
  height: 18px;
  filter: blur(30px);
  opacity: 0.5;
  transition: 1s;
}

.card:hover:after {
  width: 225%;
  top: -100%;
}

.card i {
  color: #80cbc4;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 4.8rem;
}

.card h2 {
  color: #80cbc4;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.card p {
  text-align: center;
  width: 100%;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.6);
}

.card:hover {
  background-color: transparent;
  transform: translateY(-8px);
  border-color: rgb(46, 136, 200);
}

.card:hover i {
  color: rgb(46, 136, 200);
}

@media screen and (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service{
      padding-top: 5%;
  }
}

@media screen and (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .serviceh2 {
    font-size: 2rem;
  }
}

/*About*/

.about {
  width: 100%;
  min-height: 100vh;
  display: flex;
  background-color: #1e1e1e;
  overflow-x: hidden;
  padding: 2rem 5vw; 
  box-sizing: border-box;
  gap: 3rem; 
}

.abouttext,
.aboutimg {
  flex: 1 1 45%; 
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.abouttext h2 {
  font-size: clamp(2.5rem, 8vw, 6rem); 
  margin-bottom: 1rem;
  background-color: rgb(4, 52, 83);
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: none;
}

.abouttext p {
  font-size: clamp(1rem, 2vw, 1.25rem); 
  letter-spacing: 0.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  transform: none;
}

.aboutimg img {
  width: 100%;
  max-width: 400px; 
  aspect-ratio: 1 / 1; 
  object-fit: cover;
  border-radius: 50%;
  border: 0.2px solid #80cbc4;
  animation: floatUpDown 2s ease-in-out infinite;
  box-shadow:
    -40px 0 60px -70px rgba(128, 203, 196, 0.2),
    90px -80px 90px 10px rgba(128, 203, 196, 0.2),
    0 -90px 90px 0px rgba(128, 203, 196, 0.2),
    0 0 30px rgba(128, 203, 196, 0.3) inset;
}


@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}


@media screen and (max-width: 900px) {
  .about {
    flex-direction: column;
    padding: 2rem 3vw;
    gap: 2rem;
  }

  .abouttext,
  .aboutimg {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    text-align: center;
  }

  .aboutimg img {
    max-width: 70vw;
    height: auto;
  }
}


@media screen and (max-width: 480px) {
  .abouttext h2 {
    font-size: 2.2rem;
  }

  .abouttext p {
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 1.5;
  }

  .aboutimg img {
    max-width: 90vw;
  }
}

/* ads */


.ads {
  position: relative;
  background-color: #1e1e1e;
  color: #80cbc4;
  padding: 4rem 2rem 6rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  min-height: 100vh;
}


.ads h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 10;
  position: relative;
}


#adsCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


.ads-content {
  position: relative;
  z-index: 10;
  max-width: 80%;
  margin: 8% auto;
  letter-spacing: 3px;
  line-clamp: 3px;
  font-size: 1.1rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
}

.ads-content li{

  list-style: none;
}

strong{

  color: #80cbc4;
}

.ads-content ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.ads-content ul li {
  margin-bottom: 0.8rem;
}

/* Reszponzív cím és szöveg */
@media (max-width: 768px) {
  .ads h2 {
    font-size: 2.5rem;
  }
  .ads-content {
    font-size: 1rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .ads {
    padding: 3rem 1rem 4rem;
  }
  .ads h2 {
    font-size: 2rem;
  }
  .ads-content {
    font-size: 0.95rem;
  }
}



/* contact */

.contact {
  width: 100%;
  min-height: 100vh;
  background-color:#1e1e1e;
  padding-top: 5%;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.maincontact{

  background-color: #2a2a2a;
  display: flex;
  width: 80%;
  height: 60vh;
  border: 0.2px solid #80cbc4;
  border-radius: 8px;
  box-shadow: 0 0 25px #80cbc4;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.maincontact.animate {
  opacity: 1;
  transform: translateY(0);
}

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

.contact1 {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: flex-start; 
  padding: 2rem;
  position: relative;
}

.contact1 h2 {

  background-color: rgb(4, 52, 83);
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: none;
  position: absolute;
  top: 5%;
  left: 0;
  margin-left: 30%;
  font-size: 34px;
}

.contact1 p{
  margin-left: 15%;
  font-size:25px;
}

.contact1 a{
  
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
}


.contact2{

  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contact2 form{

  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact2 input{

  
  height: 30%;
  margin-bottom: 1%;
  width: 80%;
  background-color: #1e1e1e;
  border: 0.2px solid #80cbc4;
  border-radius: 8px;
  padding: 5px;
  color: rgba(255, 255, 255, 0.6);
}

.textbox{

  height: 60%;
  width: 80%;
  background-color: #1e1e1e;
  border: 0.2px solid #80cbc4;
  border-radius: 8px;
  padding: 5px;
  color: rgba(255, 255, 255, 0.6);
}

.contact2 input:focus{

  transition: 0.4s ease;
  transform: scale(1.1);
}

.textbox:focus{

  transition: 0.4s ease;
  transform: scale(1.1);
}


.contact2 h2 {

  background-color: rgb(4, 52, 83);
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: none;
  position: absolute;
  top: 5%;
  left: 0;
  margin-left: 25%;
  font-size: 34px;
}


.contact2 button{
  width: 20%;
  margin-top: 3%;
  padding: 8px;
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: transform 0.4s ease, background-color 0.4s ease;
  color: #2e2e2e;
}


.contact2 button:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 960px) {
  .maincontact {
    flex-direction: column;
    height: auto;
    width: 90%;
    padding: 2rem 1rem;
  }

  .contact1, .contact2 {
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .contact1 h2,
  .contact2 h2 {
    position: static;
    margin: 0 auto 1rem auto;
    text-align: center;
  }

  .contact1 p {
    margin-left: 0;
    font-size: 15px;
  }

  .contact2 input,
  .textbox {
    width: 80%;
  }

  .contact2 button {
    width: 40%;
  }
}



.thank{

  background-color: #1e1e1e;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color:rgba(255, 255, 255, 0.6);
}

.thank h1{

  margin-bottom: 1%;
  font-size: 32px;
  background-color: rgb(4, 52, 83);
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1)), rgba(41, 17, 45, 1) 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thank p{

  font-size: 24px;
}

.thank a{

  margin-top: 5%;
  font-size: 24px;
  text-decoration: none;
  color:#80cbc4;
}

.thank a:hover{

  transform: scale(1.1);
  transition: 0.4s ease;
}



/* Láthatóság a screen reader-eknek */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

