/* Ken Burns animations */
@keyframes kenburnsLeft {
    0%   { transform: scale(1.15) translate(2%, 1%); }
    100% { transform: scale(1.0)  translate(-2%, -1%); }
}

@keyframes kenburnsRight {
    0%   { transform: scale(1.0) translate(-2%, -1%); }
    100% { transform: scale(1.15) translate(2%, 1%); }
}

@keyframes kenburnsZoom {
    0%   { transform: scale(1.0); }
    100% { transform: scale(1.18); }
}

.kenburns-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.kenburns-left  { animation-name: kenburnsLeft; }
.kenburns-right { animation-name: kenburnsRight; }
.kenburns-zoom  { animation-name: kenburnsZoom; }

.fw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 0;
}

.fw-px-4-5{
    padding-right: 2rem !important;
    padding-left: 2rem !important;
}

.fw-py-2-5{
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Gradiens overlay — felül sötét, lefelé átlátszó */
.cs1-gradient-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0) 65%);
    z-index: 0;
}

@media (min-width: 768px) {
    .fw-custom-md-text-150{
        font-size: 150px !important;
    }
}

@media (min-width: 992px) {
    .fw-custom-lg-text-180{
        font-size: 180px !important;
    }
}
/* Hero cím — Oswald Bold, nagyon nagy, fehér */
.cs1-title {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.25rem;
}

/* Subtitle — Oswald Regular, közepes nagy, fehér */
.cs1-subtitle {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Piros CTA gomb */
.cs1-btn {
    display: inline-block;
    background-color: var(--primary) !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: "Oswald", sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    padding: 10px 50px !important;
    transition: background-color 0.2s;
}
.cs1-btn:hover,
.cs1-btn:focus {
    background-color: var(--secondary) !important;
    color: #fff !important;
    text-decoration: none;
}

/* Slider magasság — arányosan nő (1920px ≈ 430px), de min 380px, max 600px */
#home.owl-carousel {
    height: clamp(380px, 22.42vw, 600px); /* 22.42vw = 1345/6000 */
}

/* Mobil: fix magasság, hogy cím + alcím + gomb kényelmesen beférjen */
@media (max-width: 767px) {
    #home.owl-carousel { height: 420px; }
}

#home.owl-carousel .owl-stage-outer,
#home.owl-carousel .owl-stage,
#home.owl-carousel .owl-stage > .owl-item { height: 100%; }

/* Slide div kitölti az Owl wrapper teljes magasságát, nem lóghat ki */
#home.owl-carousel .owl-stage > .owl-item > .owl-item {
    height: 100%;
    overflow: hidden;
}

/* Mobil: kisebb minimum font méret, hogy a tartalom beférjen a 90vh-ba */
@media (max-width: 767px) {
    .cs1-title    { font-size: clamp(36px, 10vw, 79.2px); }
    .cs1-subtitle { font-size: clamp(18px, 5vw, 35px); }
}

/* Navigációs nyilak — átlátszó, fehér lekerekített keret, fehér nyíl */
#home.owl-carousel .owl-nav button.owl-prev,
#home.owl-carousel .owl-nav button.owl-next {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 6px !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1;
    transition: background 0.2s, border-color 0.2s;
}
#home.owl-carousel .owl-nav button.owl-prev:hover,
#home.owl-carousel .owl-nav button.owl-next:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #fff !important;
}
/* Nyíl ikon (fa-arrow-left / fa-arrow-right) fehéren */
#home.owl-carousel .owl-nav button.owl-prev::before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    content: "\f060" !important;
    color: #fff !important;
    font-size: 1rem !important;
}
#home.owl-carousel .owl-nav button.owl-next::before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    content: "\f061" !important;
    color: #fff !important;
    font-size: 1rem !important;
}
