:root{
  /* már van nálad is, de itt is használjuk */
  --bm-topbar-h: 32px;
  --bm-header-h: 88px;

  /* admin bar offsetet te már bevezetted */
  --wp-adminbar-h: 0px;

  /* HERO */
  --bm-hero-min: 520px;
  --bm-hero-max: 360px;
  --bm-hero-overlay: #242a56;
  --bm-hero-overlay-alpha: .52;
  
  /* Colors */
  --hero-accent: #6F7FEA;
  --hero-bg: #0F1733;
}

html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* HERO SECTION */
.bm-hero{
  position: relative;
  min-height: 480px;
  background: #0F1733;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slideshow háttérképek */
.bm-hero__slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.bm-hero__slide.is-active{
  opacity: 1;
}

.bm-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,51,.92) 0%, rgba(36,42,86,.88) 10%);
  z-index: 1;
}

.bm-hero__wrap{
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 18px;
  width: 100%;
}

.bm-hero__content{
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  max-width: 600px;
}

.bm-hero__left{
  color: #fff;
  animation: bm-hero-fade-in-left 0.8s ease-out;
}

@keyframes bm-hero-fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bm-hero__title{
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: #fff;
}

.bm-hero__subtitle{
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.bm-hero__shipping{
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
  color: rgba(255,255,255,.75);
  font-weight: 400;
}

.bm-hero__right{
  display: flex;
  justify-content: flex-end;
  animation: bm-hero-fade-in-right 0.8s ease-out 0.2s both;
}

@keyframes bm-hero-fade-in-right {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bm-hero__box{
  background: #fff;
  border-radius: 5px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-width: 420px;
  width: 100%;
}

.bm-hero__box.shake{
  animation: bm-hero-shake 0.3s ease-in-out;
}

@keyframes bm-hero-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.bm-hero__box-title{
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 12px 0;
  color: #0b0f14;
}

.bm-hero__box-text{
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px 0;
  color: rgba(11,15,20,.7);
}

.bm-hero__form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-hero__input{
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 5px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease;
  box-sizing: border-box;
}

.bm-hero__input:focus{
  border-color: var(--hero-accent);
}

.bm-hero__btn{
  width: 100%;
  height: 48px;
  background: var(--hero-accent);
  color: #071416;
  border: 0;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: filter .2s ease;
}

.bm-hero__btn:hover{
  filter: brightness(.95);
}

.bm-hero__message{
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.bm-hero__message.success{
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.bm-hero__message.error{
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* PROGRESS BAR */
.bm-hero__progress{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,.15);
  z-index: 3;
}

.bm-hero__progress-bar{
  height: 100%;
  width: 0%;
  background: #6F7FEA;
}

/* RESPONSIVE */
@media (max-width: 968px){
  .bm-hero__content{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bm-hero__right{
    justify-content: center;
  }
  
  .bm-hero__title{
    font-size: 36px;
  }
  
  .bm-hero__subtitle{
    font-size: 16px;
  }
}

@media (max-width: 640px){
  .bm-hero{
    min-height: auto;
  }
  
  .bm-hero__wrap{
    padding: 40px 18px;
  }
  
  .bm-hero__title{
    font-size: 28px;
  }
  
  .bm-hero__subtitle{
    font-size: 15px;
  }
  
  .bm-hero__box{
    padding: 24px;
  }
  
  .bm-hero__box-title{
    font-size: 20px;
  }
}


/* FLUENTFORM STYLING IN HERO - Match original design exactly */
.bm-hero__box .fluentform {
  margin: 0;
}

.bm-hero__box .ff-el-group {
  margin-bottom: 12px;
}

.bm-hero__box .ff-el-group:last-of-type {
  margin-bottom: 0;
}

.bm-hero__box .ff-el-input--label {
  display: none !important;
}

.bm-hero__box .ff-el-form-control {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 5px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease;
  box-sizing: border-box;
  background: #fff;
  font-family: inherit;
}

.bm-hero__box .ff-el-form-control:focus {
  border-color: var(--hero-accent);
}

.bm-hero__box .ff-el-form-control::placeholder {
  color: rgba(0,0,0,.5);
  font-weight: 600;
}

.bm-hero__box .ff-btn-submit {
  width: 100% !important;
  height: 48px !important;
  background: var(--hero-accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 5px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: filter .2s ease !important;
  font-family: inherit !important;
  margin-top: 12px !important;
  padding: 0 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.bm-hero__box .ff-btn-submit:hover {
  filter: brightness(.95) !important;
  background: var(--hero-accent) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: none !important;
}

.bm-hero__box .ff-message-success {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.bm-hero__box .ff-message-error,
.bm-hero__box .ff-errors-in-stack {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Hide all labels */
.bm-hero__box .ff-el-form-hide_label .ff-el-input--label,
.bm-hero__box label.ff-el-input--label {
  display: none !important;
}

/* Remove default margins */
.bm-hero__box .ff-el-input--content {
  margin: 0;
}

.bm-hero__box .fluentform .ff-el-form-control::-webkit-input-placeholder {
  color: rgba(0,0,0,.5);
  font-weight: 600;
}

.bm-hero__box .fluentform .ff-el-form-control::-moz-placeholder {
  color: rgba(0,0,0,.5);
  font-weight: 600;
}

.bm-hero__box .fluentform .ff-el-form-control:-ms-input-placeholder {
  color: rgba(0,0,0,.5);
  font-weight: 600;
}

.bm-hero__box .fluentform .ff-el-form-control:-moz-placeholder {
  color: rgba(0,0,0,.5);
  font-weight: 600;
}

/* Hide FluentForm branding */
.bm-hero__box .ff_conv_app {
  background: transparent !important;
}

/* Remove any extra spacing */
.bm-hero__box .fluentform .ff-el-group {
  margin-bottom: 12px !important;
}

.bm-hero__box .fluentform .ff-btn-submit {
  margin-top: 0 !important;
}
