/* ============================= */
/* AMTS HERO BACKGROUND SYSTEM   */
/* ============================= */


.amts-sarga {
    color:#e4d120;
}

.amts_hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* VIDEO LAYER */
.amts_video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vh;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.amts_video iframe {
    width: 100%;
    height: 100%;
}

/* OVERLAY */
/* .amts_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
} */

.amts_overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

}

.amts_overlay::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        /* Felső sötétítés */
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.35) 30%,
            rgba(0,0,0,0.65) 70%,
            rgba(0,0,0,0.95) 100%
        ),
        /* Oldalsó vignette */
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,0.1) 30%,
            rgba(0,0,0,0.75) 100%
        );
}

.amts_overlay::after {
    content: "";
    position: absolute;
    inset: -40%;

    background: linear-gradient(
        110deg,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0.02) 20%,
        rgba(255,255,255,0) 40%
    );

    transform: rotate(-6deg);
    mix-blend-mode: overlay;
}

/* ============================= */
/* GRADIENT SÖTÉTÍTÉS */
/* ============================= 
.amts_overlay::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.20) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.75) 65%,
        rgba(0,0,0,0.99) 100%
    );
}


/* Háttérkép */
.amts_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: 1;
}

/* CONTENT */
.amts_content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.amts_logo_wrap img {
    margin-bottom: 10px;
    height: 130px;
}

/* LOGO WRAP */
.amts_logo_wrap h3,
.amts_logo_wrap h4,
.amts_logo_wrap h6 {
    color: #ffffff;
    display: block;
}

.amts_logo_wrap h6 {
    font-weight: 400;
    font-size:2.6rem;
    margin-bottom: 20px;
}

.amts_logo_wrap h4 {
    font-weight: 300;
    font-size:2.2rem;
    margin-bottom: 20px;
    color:#ccc;
}

/* MOBILE FALLBACK */
@media (max-width: 768px) {

    .amts_logo_wrap img {
        margin-bottom: 10px;
        height: 100px;
    }


    .amts_video {
        display: none;
    }

    .amts_hero {
        background: url('/wp-content/themes/euroleasing/tmp/amts/amts_youtube_mobile.webp') center center / cover no-repeat;
    }
}



/*
    50%-50% grid
*/

.amts_kiemelt {
    text-align: center;
    background: #000;
    color: #fff;
}

.amts_kiemelt .container {
    padding-top: 75px;
    padding-bottom: 55px;
}

.amts_kiemelt h2 {
    color:white;
    font-size:2.6rem;
    margin-bottom: 0;
}


.content-side {
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontálisan is középre teszi a blokkot */
  padding: 4rem 3rem;
  background-color: #eee;
  color: #333;
}

.content-wrapper {
  max-width: 520px; /* hogy ne legyen túl széles a szöveg */
  width: 100%;
}

.video-side {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.youtube-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 787px) {
.content-wrapper {
  width: auto;
  display: block;
  margin: 30px;
}

}

.image-split-section {
  width: 100%;
}

.content-side {
  display: flex;
  align-items: center;      
  justify-content: center;  
  padding: 4rem 3rem;
  background-color: #121212;
   background-image: linear-gradient(to right bottom, #232323, #1c1c1c, #161616, #0e0e0e, #030303);
  color: #fff;
}

.content-wrapper {
  max-width: 520px;
  width: 100%;
}

.image-side {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px; /* mobil fallback */
}


@media (max-width: 787px) {
    .image-side {
    min-height: 300px; /* mobil fallback */
    }
}

/*
    ALTALANOS
*/

.container-custom {
    padding-top:75px;
    padding-bottom: 75px;
}

h2.amts_subtitle {
    font-size: 2.4rem;
    color:#232323;
    margin-bottom: 15px;
}

.as_welcome {
	padding: 60px 0;
}

.as_welcome p.as_welcome_main {
    font-size:2.4rem;
    font-weight: 600;
    margin-bottom:10px;
}

.as_pavilon_block {
	margin-top: 30px;
}

@media (min-width: 768px) {
	.as_pavilon_block {
		margin-top: 0;
	}
}

.as_pavilon_inner {
	/* border: 2px solid #043283; */
	padding: 25px 10px;
    border-radius: 3px;
    /* background: #0056ff; */
     background-image: linear-gradient(to right bottom, #0056ff, #004bd5, #003fac, #043283, #0e265d);
}

.as_pavilon_letter {
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
}

.as_pavilon_label {
	font-size: 14px;
	letter-spacing: 6px;
	font-weight: 400;
	margin-top: 8px;
    display: inline-block;
    margin-right: -6px; /* kompenzálja az utolsó spacinget */

}

.as_welcome {
 background-image: linear-gradient(to left top, #161616, #121212, #0e0e0e, #090909, #030303);
     color: white;
}	

.as_welcome .container {
}

.as_welcome p {
	font-size: 2rem;
	font-weight: 300;
	margin-bottom: 0;
}	

@media(max-width:787px) {
    .as_welcome {
        padding: 30px 30px;
    }
}


/*
    AMTS PROGRAMOK
*/

.row-programok .img-amts {
	width:100%;
	height:230px;
	display: block;
    background-position: center center;
	background-size:cover;
}

.bg-amts-programok .ev_card {
	margin-bottom: 50px;
}

.bg-amts-programok .ev_card:last-child {
	margin-bottom: 0px;
}

.amts_desc {
    padding:30px;
    background: #030303;
    color: white;
}

.bal_desc {
    display: inline-block;
    transform: rotate(-.5deg);
}

.jobb_desc {
    display: inline-block;
    transform: rotate(.5deg);
}


.ev_card h4 {
	font-weight: 700;
	font-size:2.4rem;
	margin-bottom: 10px;
}

.ev_card p {
	font-size:1.75rem;
}


@media(max-width:787px) {
    .row-programok .img-amts {
        height:180px;
        margin-bottom: 15px;
    }

    .jobb_desc, .bal_desc {
        transform: rotate(0deg);
    }

}


/*
    MOBILEVIEW MENU
*/

/* ===============================
   AMTS MOBILE NAV
================================ */

.amts_mobile_nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100px; /* alapból lent, láthatatlan */
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 1030;

  background: linear-gradient(to bottom, #f7f7f7, #f2f2f2);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  border-top: 1px solid #e0e0e0;

  transition: bottom 0.3s ease;
}

/* Mobil breakpoint */
@media (max-width: 575.98px) {
  .amts_mobile_nav {
    display: block;
  }

  body.amts_nav_visible .amts_mobile_nav {
    bottom: 0; /* gördülő slide fel */
  }
}

/* Nav item design */
.amts_nav_item {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 60px;
  flex: 1 1 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #232323;
  position: relative;
  border-right: 1px solid #eee;
  text-decoration: none;
}

.amts_nav_item:last-child {
  border-right: none;
}

.amts_nav_item i {
  font-size: 2rem;
  display: block;
  margin: 0 auto;
  line-height: 1.1;
}

.amts_nav_item:hover,
.amts_nav_item:focus,
.amts_nav_item.active {
  color: #0056ff;
}

.amts_nav_item:hover i,
.amts_nav_item:focus i,
.amts_nav_item.active i {
  color: #0056ff;
}