/************************************************************************************************************/
/********************** HOME PAGE - Hero Section 1 **********************************************************/
/************************************************************************************************************/

@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap");

/* GLOBAL - mobil vízszintes görgetés és alap margó javítás */
@media (max-width: 767px) {
html,
body {
margin: 0 !important;
padding: 0 !important;
overflow-x: hidden !important;
}
}

/* HERO - ALAPBEÁLLÍTÁSOK */
.apm-hero-section,
.apm-hero-section * {
box-sizing: border-box;
font-family: "Barlow", Arial, sans-serif;
}

.apm-hero-section {
position: relative;
overflow: hidden;
padding: 78px 2.5vw 86px;
background:
radial-gradient(circle at 12% 14%, rgba(217, 154, 74, 0.10) 0%, rgba(217, 154, 74, 0) 30%),
radial-gradient(circle at 88% 88%, rgba(31, 58, 76, 0.45) 0%, rgba(31, 58, 76, 0) 34%),
linear-gradient(135deg, #1F3A4C 0%, #214A59 50%, #1E5661 100%);
color: #FFFFFF;
}

/* HERO - DEKORÁCIÓK */
.apm-hero-section::before {
content: "";
position: absolute;
left: -180px;
top: -170px;
width: 430px;
height: 430px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 0 0 28px rgba(217, 154, 74, 0.06);
z-index: 0;
}

.apm-hero-section::after {
content: "";
position: absolute;
right: 7%;
top: 72px;
width: 135px;
height: 135px;
background-image: radial-gradient(rgba(217, 154, 74, 0.34) 2px, transparent 2px);
background-size: 18px 18px;
opacity: 0.55;
z-index: 0;
}

/* HERO - KÉTOSZLOPOS ELRENDEZÉS
Módosítás:

* még nagyobb teljes tartalmi szélesség
* kisebb távolság a kép és a szöveg között
* a jobb oldali szöveges tartalom több helyet kap */
  .apm-hero-wrap {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(370px, 0.78fr) minmax(0, 1.22fr);
  gap: 30px;
  align-items: center;
  }

/* HERO - BAL OLDALI KÉP */
.apm-hero-visual {
position: relative;
}

.apm-hero-image-card {
position: relative;
min-height: 455px;
border-radius: 34px;
overflow: hidden;
background-color: #1F3A4C;
background-image:
linear-gradient(135deg, rgba(31, 58, 76, 0.16), rgba(30, 86, 97, 0.10)),
url("https://agilepm.education/wp-content/uploads/2025/11/header-web2.webp");
background-size: cover;
background-position: center;
box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.apm-hero-image-card::before {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
to bottom,
rgba(31, 58, 76, 0.42) 0%,
rgba(31, 58, 76, 0.16) 18%,
rgba(31, 58, 76, 0.05) 38%,
rgba(31, 58, 76, 0.05) 62%,
rgba(31, 58, 76, 0.16) 82%,
rgba(31, 58, 76, 0.42) 100%
);
z-index: 1;
pointer-events: none;
}

.apm-hero-image-card::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
to bottom,
rgba(31, 58, 76, 0.55) 0%,
rgba(31, 58, 76, 0.18) 16%,
rgba(31, 58, 76, 0.00) 30%,
rgba(31, 58, 76, 0.00) 70%,
rgba(31, 58, 76, 0.18) 84%,
rgba(31, 58, 76, 0.55) 100%
);
z-index: 2;
pointer-events: none;
}

/* HERO - JOBB OLDALI TARTALOM */
.apm-hero-content {
text-align: left;
}

.apm-hero-title {
max-width: 900px;
margin: 0;
color: #FFFFFF !important;
font-size: clamp(42px, 4.7vw, 72px);
line-height: 1.04;
font-weight: 800;
letter-spacing: -0.045em;
}

.apm-title-line-one {
display: inline-block;
white-space: nowrap;
color: #FFFFFF !important;
}

.apm-title-line-two {
display: inline-block;
color: #E8B46C !important;
}

.apm-hero-line {
width: 78px;
height: 4px;
margin: 26px 0 24px;
border-radius: 999px;
background: linear-gradient(90deg, #D99A4A, #E8B46C);
}

.apm-hero-subtitle {
max-width: 840px;
margin: 0 0 30px;
color: rgba(255, 255, 255, 0.88) !important;
font-size: clamp(19px, 1.5vw, 24px);
line-height: 1.5;
font-weight: 400;
}

/* HERO - KIEMELT TERÜLETEK
Széles desktop nézetben a három elem egy sorban marad */
.apm-hero-focus-list {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 12px;
margin: 0 0 34px;
padding: 0;
list-style: none;
}

.apm-hero-focus-list li {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 9px;
padding: 12px 15px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.11);
border: 1px solid rgba(255, 255, 255, 0.16);
color: #FFFFFF;
font-size: 15px;
line-height: 1;
font-weight: 700;
white-space: nowrap;
}

.apm-hero-focus-icon {
display: inline-flex;
flex: 0 0 25px;
align-items: center;
justify-content: center;
width: 25px;
height: 25px;
border-radius: 50%;
background: rgba(217, 154, 74, 0.22);
color: #E8B46C;
font-size: 13px;
font-weight: 900;
}

/* HERO - CTA GOMBOK */
.apm-hero-actions {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
}

.apm-hero-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
min-height: 58px;
padding: 16px 28px;
border-radius: 14px;
font-size: 18px;
line-height: 1;
font-weight: 800;
text-decoration: none;
box-shadow: none;
transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.apm-hero-btn-primary {
background: linear-gradient(135deg, #D99A4A 0%, #E8B46C 100%);
color: #FFFFFF !important;
border: 2px solid transparent;
box-shadow: none;
}

.apm-hero-btn-secondary {
background: rgba(255, 255, 255, 0.08);
color: #FFFFFF !important;
border: 2px solid rgba(255, 255, 255, 0.22);
box-shadow: none;
}

.apm-hero-btn:hover {
transform: translateY(-3px);
box-shadow: none;
}

.apm-hero-btn-primary:hover {
background: linear-gradient(135deg, #C98532 0%, #D99A4A 100%);
box-shadow: none;
}

.apm-hero-btn-secondary:hover {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(217, 154, 74, 0.75);
box-shadow: none;
}

.apm-hero-arrow {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.16);
font-size: 18px;
line-height: 1;
}

/* KÖZEPES DESKTOP
Kisebb szélességen kissé kompaktabbak lesznek a kiemelt elemek,
így kisebb eséllyel futnak ki a jobb oldali tartalomból. */
@media (min-width: 1151px) and (max-width: 1390px) {
.apm-hero-wrap {
grid-template-columns: minmax(350px, 0.76fr) minmax(0, 1.24fr);
gap: 24px;
}

.apm-hero-focus-list {
gap: 8px;
}

.apm-hero-focus-list li {
gap: 7px;
padding: 11px 11px;
font-size: 13.5px;
}

.apm-hero-focus-icon {
flex-basis: 22px;
width: 22px;
height: 22px;
font-size: 11px;
}
}

/* TABLET / KISEBB DESKTOP
A kép és a szöveg egymás alá kerül */
@media (max-width: 1150px) {
.apm-hero-wrap {
grid-template-columns: 1fr;
gap: 42px;
}

.apm-hero-image-card {
min-height: 390px;
}

.apm-hero-focus-list {
justify-content: flex-start;
}
}

/* KISEBB TABLET
Itt már engedjük a kiemelt elemek tördelését,
hogy ne fussanak ki a képernyőről */
@media (min-width: 768px) and (max-width: 900px) {
.apm-hero-focus-list {
flex-wrap: wrap;
}
}

/* MOBIL */
@media (max-width: 767px) {
.apm-hero-section {
width: 100vw !important;
max-width: 100vw !important;
margin-left: calc(50% - 50vw) !important;
margin-right: calc(50% - 50vw) !important;
padding: 62px 0 68px !important;
overflow-x: hidden;
}

.apm-hero-section::before {
left: -150px;
top: -140px;
width: 320px;
height: 320px;
}

.apm-hero-section::after {
right: -20px;
top: 42px;
width: 110px;
height: 110px;
opacity: 0.45;
}

.apm-hero-wrap {
width: 100% !important;
max-width: none !important;
margin: 0 auto !important;
padding: 0 22px !important;
gap: 34px;
}

.apm-hero-content {
text-align: center;
}

.apm-hero-title {
font-size: clamp(34px, 10.5vw, 50px);
}

.apm-title-line-one {
white-space: normal;
}

.apm-hero-line {
margin-left: auto;
margin-right: auto;
}

.apm-hero-subtitle {
font-size: 18px;
}

.apm-hero-focus-list {
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}

.apm-hero-focus-list li {
width: 100%;
justify-content: center;
font-size: 15px;
padding: 12px 16px;
}

.apm-hero-focus-icon {
flex: 0 0 25px;
width: 25px;
height: 25px;
font-size: 13px;
}

.apm-hero-actions {
width: 100%;
}

.apm-hero-btn {
width: 100%;
}

.apm-hero-image-card {
min-height: 300px;
border-radius: 26px;
}
}
