/* ==========================================================
   NEMES-GSZI – KISFILMEK
   Modern video / film oldal
   ========================================================== */


/* ==========================================================
   VARIABLES
   ========================================================== */

:root {
    --films-navy: #07324b;
    --films-navy-dark: #05283c;
    --films-deep: #041f30;

    --films-blue: #08a9e6;
    --films-blue-dark: #078fc3;
    --films-blue-soft: #eaf7fc;

    --films-text: #17394c;
    --films-muted: #6f838e;

    --films-bg: #f4f7f9;
    --films-border: #dce6ea;

    --films-white: #ffffff;

    --films-radius: 12px;
}


/* ==========================================================
   BASE
   ========================================================== */

.films-hero,
.films-story,
.films-featured,
.films-more,
.films-archive,
.films-final {
    font-family: 'Inter', Arial, sans-serif;

    color: var(--films-text);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.films-hero *,
.films-story *,
.films-featured *,
.films-more *,
.films-archive *,
.films-final * {
    box-sizing: border-box;
}


.films-eyebrow,
.films-section-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: var(--films-blue);

    font-size: 10px;
    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* ==========================================================
   HERO
   ========================================================== */

.films-hero {
    position: relative;

    overflow: hidden;

    min-height: 570px;

    display: flex;

    align-items: center;

    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(8, 169, 230, .18),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #041f30 0%,
            #07324b 100%
        );

    color: #fff;
}


.films-hero::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 44%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(8, 169, 230, .035)
        );

    border-left: 1px solid rgba(255, 255, 255, .04);

    pointer-events: none;
}


.films-hero::after {
    content: "PLAY";

    position: absolute;

    right: -25px;
    bottom: -50px;

    color: rgba(255, 255, 255, .025);

    font-size: clamp(140px, 18vw, 260px);
    font-weight: 700;

    line-height: .8;

    letter-spacing: -12px;

    pointer-events: none;
}


.films-hero-inner {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(250px, .8fr);

    gap: 80px;

    align-items: center;

    min-height: 570px;

    padding: 70px 0;
}


.films-hero-content {
    max-width: 720px;
}


.films-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(52px, 6vw, 78px);
    font-weight: 300;

    line-height: .98;

    letter-spacing: -3px;
}


.films-hero h1 strong {
    font-weight: 700;

    color: #fff;
}


.films-hero-lead {
    max-width: 650px;

    margin: 27px 0 0;

    color: rgba(255, 255, 255, .67);

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================================
   HERO ACTIONS
   ========================================================== */

.films-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 32px;
}


.films-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 50px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.films-btn:hover {
    transform: translateY(-2px);

    text-decoration: none !important;
}


.films-btn-primary {
    background: var(--films-blue);

    color: #fff !important;
}


.films-btn-primary:hover {
    background: var(--films-blue-dark);

    color: #fff !important;
}


.films-btn-secondary {
    border-color: rgba(255, 255, 255, .25);

    background: rgba(255, 255, 255, .06);

    color: #fff !important;
}


.films-btn-secondary:hover {
    border-color: rgba(255, 255, 255, .45);

    background: rgba(255, 255, 255, .11);

    color: #fff !important;
}


/* ==========================================================
   HERO PLAY
   ========================================================== */

.films-hero-play {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    justify-self: center;

    gap: 14px;
}


.films-hero-play-circle {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 132px;
    height: 132px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;

    background: rgba(255, 255, 255, .025);

    box-shadow:
        0 0 0 18px rgba(255, 255, 255, .015),
        0 0 0 36px rgba(255, 255, 255, .012);
}


.films-hero-play-circle::before {
    content: "";

    position: absolute;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background: var(--films-blue);

    box-shadow:
        0 10px 30px rgba(8, 169, 230, .25);
}


.films-hero-play-circle span {
    position: relative;

    z-index: 2;

    width: 0;
    height: 0;

    margin-left: 5px;

    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
}


.films-hero-play small {
    color: rgba(255, 255, 255, .38);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* ==========================================================
   STORY
   ========================================================== */

.films-story {
    padding: 75px 0;

    background: #fff;
}


.films-story-inner {
    display: grid;

    grid-template-columns: 90px minmax(0, 760px);

    gap: 50px;

    align-items: start;
}


.films-story-number {
    padding-top: 4px;

    color: var(--films-blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}


.films-story-content h2 {
    margin: 0;

    color: var(--films-navy);

    font-size: clamp(36px, 4vw, 50px);
    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.7px;
}


.films-story-content h2 strong {
    display: block;

    font-weight: 700;
}


.films-story-content p {
    max-width: 720px;

    margin: 20px 0 0;

    color: var(--films-muted);

    font-size: 14px;

    line-height: 1.85;
}


/* ==========================================================
   SECTION HEADING
   ========================================================== */

.films-section-heading {
    max-width: 800px;

    margin-bottom: 38px;
}


.films-section-heading h2,
.films-archive-heading h2 {
    margin: 0;

    color: var(--films-navy);

    font-size: clamp(38px, 4vw, 52px);
    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.8px;
}


.films-section-heading h2 strong,
.films-archive-heading h2 strong {
    display: block;

    font-weight: 700;
}


.films-section-heading > p {
    max-width: 650px;

    margin: 18px 0 0;

    color: var(--films-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* ==========================================================
   FEATURED
   ========================================================== */

.films-featured {
    padding: 90px 0;

    background: var(--films-bg);
}


.films-featured-card {
    overflow: hidden;

    border: 1px solid var(--films-border);
    border-radius: var(--films-radius);

    background: #fff;

    box-shadow:
        0 18px 45px rgba(7, 50, 75, .07);
}


.films-video {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: var(--films-deep);

    cursor: pointer;
}


.films-video img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease,
        opacity .3s ease;
}


.films-video-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 31, 48, .03) 20%,
            rgba(4, 31, 48, .38) 100%
        );

    transition: background .25s ease;
}


.films-video:hover img {
    transform: scale(1.025);
}


.films-video:hover .films-video-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(4, 31, 48, .06) 10%,
            rgba(4, 31, 48, .47) 100%
        );
}


/* ==========================================================
   PLAY BUTTON
   ========================================================== */

.films-play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 3;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--films-blue);

    box-shadow:
        0 12px 35px rgba(4, 31, 48, .25);

    cursor: pointer;

    transform: translate(-50%, -50%);

    transition:
        background .2s ease,
        transform .2s ease;
}


.films-play-button:hover {
    background: var(--films-blue-dark);

    transform:
        translate(-50%, -50%)
        scale(1.06);
}


.films-play-button span {
    width: 0;
    height: 0;

    margin-left: 5px;

    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
}


.films-video-duration {
    position: absolute;

    right: 14px;
    bottom: 13px;

    z-index: 3;

    padding: 6px 8px;

    border-radius: 4px;

    background: rgba(4, 31, 48, .84);

    color: #fff;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;
}


/* betöltött iframe */

.films-video iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.films-video.is-playing {
    cursor: default;
}


/* ==========================================================
   FEATURED INFO
   ========================================================== */

.films-featured-info {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(250px, .7fr);

    gap: 60px;

    padding: 35px 38px 38px;
}


.films-video-label {
    display: block;

    margin-bottom: 9px;

    color: var(--films-blue-dark);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.1px;
}


.films-featured-info h3 {
    margin: 0;

    color: var(--films-navy);

    font-size: 27px;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -.5px;
}


.films-featured-info p {
    max-width: 720px;

    margin: 13px 0 0;

    color: var(--films-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* ==========================================================
   CREDITS
   ========================================================== */

.films-credits {
    display: grid;

    grid-template-columns: 1fr;

    gap: 13px;

    padding-left: 30px;

    border-left: 1px solid var(--films-border);
}


.films-credit span {
    display: block;

    margin-bottom: 2px;

    color: var(--films-muted);

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.films-credit strong {
    display: block;

    color: var(--films-text);

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;
}


/* ==========================================================
   TOVÁBBI FILMEK
   ========================================================== */

.films-more {
    padding: 90px 0;

    background: #fff;
}


.films-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;
}


.films-card {
    overflow: hidden;

    border: 1px solid var(--films-border);
    border-radius: var(--films-radius);

    background: #fff;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}


.films-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 38px rgba(7, 50, 75, .08);
}


.films-card .films-play-button {
    width: 60px;
    height: 60px;
}


.films-card .films-play-button span {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
}


.films-card-content {
    padding: 25px 25px 27px;
}


.films-card-content h3 {
    margin: 0;

    color: var(--films-navy);

    font-size: 19px;
    font-weight: 700;

    line-height: 1.3;
}


.films-card-content > p {
    margin: 11px 0 0;

    color: var(--films-muted);

    font-size: 12px;

    line-height: 1.7;
}


.films-card-credits {
    display: flex;

    flex-wrap: wrap;

    gap: 5px 15px;

    margin-top: 17px;
    padding-top: 15px;

    border-top: 1px solid var(--films-border);
}


.films-card-credits > span {
    color: var(--films-muted);

    font-size: 9px;

    line-height: 1.5;
}


.films-card-credits strong {
    color: var(--films-text);

    font-weight: 700;
}


/* ==========================================================
   ARCHÍVUM
   ========================================================== */

.films-archive {
    padding: 90px 0;

    background: var(--films-bg);
}


.films-archive-heading {
    display: grid;

    grid-template-columns:
        minmax(300px, 1fr)
        minmax(280px, 420px);

    gap: 70px;

    align-items: end;

    margin-bottom: 38px;
}


.films-archive-heading > p {
    margin: 0;

    color: var(--films-muted);

    font-size: 12px;

    line-height: 1.75;
}


.films-archive-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.films-archive-card {
    overflow: hidden;

    border: 1px solid var(--films-border);
    border-radius: 9px;

    background: rgba(255, 255, 255, .7);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.films-archive-card:hover {
    background: #fff;

    transform: translateY(-3px);

    box-shadow:
        0 13px 30px rgba(7, 50, 75, .065);
}


.films-archive-card .films-video {
    filter: saturate(.82);

    transition: filter .25s ease;
}


.films-archive-card:hover .films-video {
    filter: saturate(1);
}


.films-archive-card .films-play-button {
    width: 52px;
    height: 52px;
}


.films-archive-card .films-play-button span {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
}


.films-archive-content {
    padding: 21px 20px 23px;
}


.films-archive-year {
    display: block;

    margin-bottom: 7px;

    color: var(--films-blue-dark);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .7px;
}


.films-archive-content h3 {
    margin: 0;

    color: var(--films-navy);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.35;
}


.films-archive-content > p {
    margin: 10px 0 0;

    color: var(--films-muted);

    font-size: 11px;

    line-height: 1.7;
}


/* ==========================================================
   FINAL CTA
   ========================================================== */

.films-final {
    padding: 78px 0;

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(8, 169, 230, .16),
            transparent 30%
        ),
        var(--films-navy);

    color: #fff;
}


.films-final-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, .7fr);

    gap: 80px;

    align-items: center;
}


.films-final h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(39px, 4vw, 54px);
    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.8px;
}


.films-final h2 strong {
    display: block;

    font-weight: 700;
}


.films-final p {
    max-width: 650px;

    margin: 18px 0 0;

    color: rgba(255, 255, 255, .63);

    font-size: 14px;

    line-height: 1.75;
}


.films-final-actions {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.films-final-actions .films-btn {
    width: 100%;

    justify-content: space-between;
}


.films-btn-light {
    border-color: rgba(255, 255, 255, .28);

    background: rgba(255, 255, 255, .07);

    color: #fff !important;
}


.films-btn-light:hover {
    border-color: rgba(255, 255, 255, .45);

    background: rgba(255, 255, 255, .12);

    color: #fff !important;
}


.films-btn-link {
    justify-content: flex-start !important;

    min-height: 38px;

    padding: 5px 3px;

    background: transparent;

    color: rgba(255, 255, 255, .62) !important;
}


.films-btn-link:hover {
    color: var(--films-blue) !important;

    transform: none;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 1199px) {

    .films-hero-inner {
        gap: 50px;
    }


    .films-featured-info {
        gap: 40px;
    }


    .films-archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   991 PX
   ========================================================== */

@media screen and (max-width: 991px) {

    .films-hero {
        min-height: auto;
    }


    .films-hero-inner {
        grid-template-columns: 1fr;

        min-height: auto;

        padding: 80px 0;
    }


    .films-hero-play {
        display: none;
    }


    .films-story-inner {
        grid-template-columns: 55px 1fr;

        gap: 25px;
    }


    .films-featured-info {
        grid-template-columns: 1fr;
    }


    .films-credits {
        padding-top: 22px;
        padding-left: 0;

        border-top: 1px solid var(--films-border);
        border-left: 0;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .films-archive-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .films-final-inner {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .films-final-actions {
        max-width: 480px;
    }

}


/* ==========================================================
   MOBIL
   ========================================================== */

@media screen and (max-width: 767px) {

    .films-hero-inner {
        padding: 62px 0;
    }


    .films-hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .films-hero-lead {
        font-size: 14px;
    }


    .films-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .films-hero-actions .films-btn {
        width: 100%;
    }


    .films-story,
    .films-featured,
    .films-more,
    .films-archive,
    .films-final {
        padding: 58px 0;
    }


    .films-story-inner {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .films-story-content h2,
    .films-section-heading h2,
    .films-archive-heading h2,
    .films-final h2 {
        font-size: 35px;

        letter-spacing: -1.2px;
    }


    .films-grid,
    .films-archive-grid {
        grid-template-columns: 1fr;
    }


    .films-featured-info {
        padding: 25px 22px 27px;
    }


    .films-featured-info h3 {
        font-size: 22px;
    }


    .films-credits {
        grid-template-columns: 1fr;
    }


    .films-card-content {
        padding: 21px 20px 23px;
    }


    .films-play-button {
        width: 58px;
        height: 58px;
    }


    .films-play-button span {
        border-top-width: 7px;
        border-bottom-width: 7px;
        border-left-width: 11px;
    }

}


/* ==========================================================
   KIS MOBIL
   ========================================================== */

@media screen and (max-width: 480px) {

    .films-hero h1 {
        font-size: 40px;
    }


    .films-featured-card,
    .films-card {
        border-radius: 8px;
    }


    .films-archive-card {
        border-radius: 7px;
    }


    .films-video-duration {
        right: 10px;
        bottom: 10px;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .films-btn,
    .films-video img,
    .films-play-button,
    .films-card,
    .films-archive-card,
    .films-archive-card .films-video {
        transition: none;
    }


    .films-btn:hover,
    .films-card:hover,
    .films-archive-card:hover {
        transform: none;
    }


    .films-video:hover img {
        transform: none;
    }

}