/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* =============================== */
/* GLOBAL VARIABLES & TYPOGRAPHY   */
/* =============================== */
:root {
  --accent1: #0b9fbd;
  --accent2: #025067;
  --text: #ffffff;
  --nav-height: 90px;
  --vh: 1vh; /* JS fogja felülírni mobilon */
}

body,
span {
  font-family: 'Poppins', sans-serif !important;
  color: var(--text);
}

/* =============================== */
/* HERO SECTION                   */
/* =============================== */
#hero.hero-section { 
  height: var(--hero-height); 
  width: 100%; 
  position: relative; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden; 
}

/* =============================== */
/* LINKS (csak bekezdésben lévő linkek) */
/* =============================== */
.elementor-widget-container p a {
    color: var(--accent2) !important;
    text-decoration: none;
    transition: 0.3s ease;
}
.elementor-widget-container p a:hover {
    color: var(--accent1) !important;
}

/* =============================== */
/* HERO BRAND NAME FONTS           */
/* =============================== */
.elementor-element-55126da h3.elementor-heading-title,
.elementor-element-650715b h3.elementor-heading-title {
  font-family: 'Audiowide', sans-serif !important;
  font-size: clamp(1.8rem, 6vw, 5rem);
  color: var(--text);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

/* =============================== */
/* HERO TYPING – EGYSÉGESÍTETT     */
/* =============================== */
.hero-typing h1,
.hero-typing h2,
.hero-typing .typing_text,
.hero-typing .vagyok {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 20px 0;
}

.hero-typing .typing_text {
  color: var(--accent1) !important;
  font-weight: 700 !important;
}

.hero-typing .headline {
  color: var(--text) !important;
  font-weight: 500 !important;
}

.hero-typing .vagyok {
  color: var(--text) !important;
  font-weight: 400 !important;
}

.typed-cursor {
  font-size: inherit;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* =============================== */
/* SECTION HEADING BACKGROUND TEXT */
/* =============================== */
.skill-heading,
.plan-heading,
.services-heading {
  position: relative;
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: 50px 0;
  overflow: hidden;
}

.plan-heading h2,
.skill-heading h2,
.services-heading h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.skill-heading .bg-text,
.plan-heading .bg-text,
.services-heading .bg-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  text-align: left;
  font-size: clamp(2rem, 12vw, 110px);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  opacity: 0.3;
  z-index: 1;
  animation: smoothPulse 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes smoothPulse {
  0% {
    opacity: 0.18;
    -webkit-text-stroke-width: 1px;
  }
  50% {
    opacity: 0.55;
    -webkit-text-stroke-width: 1.3px;
  }
  100% {
    opacity: 0.18;
    -webkit-text-stroke-width: 1px;
  }
}

/* =============================== */
/* CUSTOM BUTTON                   */
/* =============================== */
#back01.elementor-button,
.back-to-main.elementor-button {
    color: #fff !important;
    border-radius: 40px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid #0B9FBD;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

#back01.elementor-button:hover,
.back-to-main.elementor-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

#back01:hover .elementor-button-text,
.back-to-main:hover .elementor-button-text {
    color: #0B9FBD !important;
}

#back01 .elementor-button-text {
    text-transform: uppercase;
}

#back01 .elementor-button-text::before {
    content: "⟵ ";
    margin-right: 6px;
}

/* =============================== */
/* RESZPONZÍV – KÉT ÁLLAPOT       */
/* =============================== */
@media (max-width: 1024px) {
  /* Gombok kisebb mérete */
  #back01.elementor-button,
  .back-to-main.elementor-button {
    padding: 12px 28px;
    font-size: 15px;
  }

  #back01 .elementor-button-text::before {
    margin-right: 4px;
  }

  /* Background text kisebb, arányosan */
  .plan-heading .bg-text,
  .skill-heading .bg-text,
  .services-heading .bg-text {
    font-size: clamp(1.5rem, 10vw, 70px);
  }
}
