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

html, body { 
  overflow-x: clip; 
  height: 100%;
  margin: 0;
  padding: 0;
}

b {
  color:#FEFF8B;
  font-family: "Libre Bodoni", sans-serif;
}

.headpart{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.back-video{
    position: absolute;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.back-video-mobile{
display: none;
}

body {
    background-color: #000000;
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.4rem;
}

.main-content {
  flex: 1;
}


li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #FAE34C;
}

html {
    scroll-padding-top: 40px;
    scroll-behavior: smooth;
}

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: relative;
    background-color: #262626;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s ease;
    font-family: "Libre Bodoni", serif;
    font-weight: bold;
    
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    font-size: 1.3rem;
    color: #FAE34C;
}

.nav-branding {
    font-size: 2rem;
    display: flex;
    align-items: center;
}

.branding-small {
    height: 100px;
}

.nav-link {
    transition: 0.7s ease;
}

.nav-link:hover {
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #FEFF8B;
}

#intro {
    margin-top: 60px;
    margin-bottom: 80px;
}

#intro p {
  color: #fafbd6;
  font-size: 1.6rem;
  margin-top: 30px;
  margin-bottom: 30px;
}


.introtext {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Imbue", sans-serif;
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logogif {
    display: block;
    margin: 0 auto;
    height: 400px;
    width: auto;
}

.middle-cta {
    padding-top: 10%;
    padding-bottom: 10%;
    background: linear-gradient(to right,
    #C93134 0%,
    #ED7034 100%
    );
}


.middle-cta .container { 
  margin-bottom: 40px; 
}

.middle-cta p {
    font-size: 2rem;
    text-align: center;
    font-family: "Limelight", sans-serif;
}

.ctabtn {
    background-color: #FEFF8B;
    height: 50px;
    width: 190px;
    border: none;
    border-radius: 45px;
    color: #020202;
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
    font-family: "Imbue", sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 70px;
}

.ctabtn:hover {
  background-color: #C93134;
  transition: 0.7s ease;
}

.ctabtn a {
    text-decoration: none;
    color: #020202;
}


.hero {
    display: block;
    margin: 0 auto;
    height: 500px;
    width: auto;
}
#goals {
    padding-top: 10%;
    padding-bottom: 10%;
    background-color: #020202;
    color: #fafbd6;
    font-size: 1.2rem;
}

#goals p {
  text-align: center;
}

.goal-row {
  padding-top: 50px;
  padding-bottom: 50px;
}

.goal-label {
  min-width: 400px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.goal-numbers {
    font-size: 7rem;
    font-family: "Libre Bodoni", sans-serif;
    font-weight: 900;
    line-height: 1;
}

.goal-title {
  font-size: 7rem;
  font-family: "Imbue", sans-serif;
  font-weight: bold;
  line-height: 1;
  margin: 0;
}

.goal-text {
font-size: 1.6rem;
font-family: "Libre Bodoni", serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
text-align: left;
}

.service-column p {
  margin: 0;
}

.nrone {
    color:#ED7034;
}

.nrtwo {
    color:#C93134;
}

.nrthree {
    color:#FEFF8B;
}

.goal-row-middle {
  margin-top: 100px;
  margin-bottom: 100px;
}

#szolgaltatasok {
    padding-top: 10%;
    padding-bottom: 10%;
    background: linear-gradient(to right,
    #C93134 0%,
    #ED7034 100%
    );
}


h3 {
    font-size: clamp(2.8rem, 5.5vw + 0.5rem, 3.5rem);
        background: linear-gradient(to right,
    #C93134 0%,
    #FEFF8B 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: initial;
    font-family: "Limelight", sans-serif;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

h4 {
    font-size: 4rem;
    font-family: "Imbue", sans-serif;
    font-weight: 700;
}

#intro h1 {
  font-size: clamp(1.7rem, 5.5vw + 0.5rem, 3rem);
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
font-size: 4rem;
color: #020202;
font-weight:initial;
font-family: "Limelight", sans-serif;
}

#kapcsolat {
  padding-top: 5%;
  padding-bottom: 5%;
  margin-top: 40px;
  font-size: 1.2rem;
  text-align: center;
}

#kapcsolat p {
  font-family: "Imbue", sans-serif;
}


.center-wrap {
  position: relative;
  display: inline-block;
}

.social {
list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  right: 100%;
  margin-right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social li {
  padding: 15px;
}

.socialimg {
  width: 100px;
}

.form-container {
  max-width: 390px;
  padding: 30px;
  margin: 0px;
  border-radius: 15px;
  background: linear-gradient(to right, #C93134 0%, #ED7034 100%);
  color: #020202;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

form {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

label {
  font-weight: bold;
  align-self: flex-start;
  margin-left: 10px;
  text-transform: uppercase;
  font-family: "Imbue", sans-serif;
  font-size: 1.4rem;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 10px;
  border: none;
  background-color: rgba(251, 255, 250, 0.2);
  color: #020202;
  resize: none;
}

::placeholder {
  color: #b02020;
  font-weight: normal;
}

.submit {
    width: 100px;
    margin: 0 auto;
    align-items: center;
    font-family: "Limelight", sans-serif;

}

form a {
  color: #262626;
  text-decoration: none;
  font-weight: bold;
}
input[type="submit"] {
  background-color: #FEFF8B;
  color: #020202;
  cursor: pointer;
  transition: 0.3s;
}

input[type="submit"]:hover {
  background-color: #c96062;
}

.error-message {
  font-size: 1rem;
  height: 1.2em;
  margin-top: 5px;
  color: #10292c;
  visibility: hidden;
  font-family: "Imbue", sans-serif;
}

.invalid {
  border: 2px solid #b02020;
}

#customAlertText{
  font-family: "Libre Bodoni", sans-serif;
}

#customAlertCloseBtn{
  font-family: "Imbue", sans-serif;
}

 footer{
  background-color: #262626;
  text-align: center;
  color: #fafbd6;
  padding: 20px 10px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
 }

/* Háttérréteg = overlay */
.alert-overlay {
  display: none; /* kezdetben ne látszódjon */
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}


#customAlertOverlay {
  display: none; /* <- Ezzel rejtve marad oldalbetöltéskor */
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}


/* Alert doboz */
.custom-alert {
  background-color: #020202;
  color: #FEFF8B;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 90%;
  width: 320px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: autoShowAnimation 0.5s ease-out;
}

.custom-alert button {
  margin-top: 15px;
  padding: 8px 20px;
  border: none;
  background-color: #C93134;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

@keyframes autoShowAnimation{
    from{
        opacity: 0;
        transform:translateY(200px) scale(0.3);
    }to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@media(max-width: 820px){
    .hamburger{
    display: block;
   } 

   .hamburger.active .bar:nth-child(2){
    opacity: 0;
   }

   .hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
   }

   .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
   }

   .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: rgba(36, 39, 42, 0.85);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    z-index: 100;

   }

   .nav-item {
    margin: 16px 0;
   }

   .nav-menu.active{
    left: 0;
   }

  .headpart {
    height: 60vh;
  }

.back-video{
        width: 100%;
        height: auto;
    }


.branding-small {
    height: 70px;
}

h2 {
font-size: 2.7rem;
}

 footer{
  font-size: 1rem;
 }  

}

@media (max-width: 576px) {

.back-video{
display: none;
}

.back-video-mobile {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    width: 100%;
    height: auto;
}

.goal-numbers, .goal-title {
    font-size: 3.6rem;
}

#intro {
    margin-top: 5px;
}

#intro p{
  font-size: 1.2rem;
}

.hero {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 400px;
}

h3 {
    font-size: clamp(2.2rem, 5.5vw + 0.5rem, 3.5rem);
        background: linear-gradient(to right,
    #C93134 0%,
    #FEFF8B 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: initial;
    font-family: "Limelight", sans-serif;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.goal-text {
    font-size: 1.18rem;
  }

.goal-label {
  min-width: 190px;
  gap: 0.5rem;
}

.goal-row {
  padding-top: 30px;
  padding-bottom: 30px;
}

.social {
  display: none;
}

.middle-cta p {
    font-size: 1.7rem;
}


 footer{
  height: 100px;
 }  

}

@media (min-aspect-ratio: 16/9){
    .back-video{
        width: 100%;
        height: auto;
    }
}
