/* =========================================================
   LIFESTYLE HERO SECTION
   ========================================================= */

:root {
    --primary-blue: #2d73b9;
    --primary-blue-dark: #1f5f9d;
    --text-dark: #202124;
    --text-gray: #40566d;
    --border-color: #d9d9d9;
    --white: #ffffff;
    --black: #000000;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--text-dark);
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
a {
    font-family: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}


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

.lifestyle-hero {
    width: 100%;
    min-height: 720px;
    padding: 50px 5% 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.lifestyle-hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;

    gap: 35px;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.lifestyle-hero-content {
    width: 100%;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.lifestyle-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
    color: #5d6d7e;

    margin-bottom: 42px;
}

.lifestyle-breadcrumb span {
    color: #7c8a96;
}

.lifestyle-breadcrumb a {
    color: #40566d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lifestyle-breadcrumb a:hover {
    color: var(--primary-blue);
}


/* Small category */

.lifestyle-category {
    display: inline-block;

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

    color: var(--primary-blue);

    text-transform: uppercase;

    margin-bottom: 12px;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.lifestyle-title {
    font-size: clamp(60px, 5.5vw, 92px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 32px;
}

.lifestyle-title .highlight {
    display: block;
    color: var(--primary-blue);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.lifestyle-description {
    max-width: 600px;

    font-size: 18px;
    line-height: 1.65;

    color: var(--text-gray);

    margin-bottom: 38px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.lifestyle-buttons {
    display: flex;
    align-items: center;
    gap: 14px;

    flex-wrap: wrap;
}

.lifestyle-btn {
    min-height: 58px;

    padding: 0 27px;

    border-radius: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    text-decoration: none;

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

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

.lifestyle-btn:hover {
    transform: translateY(-3px);
}


/* Primary */

.lifestyle-btn-primary {
    background: var(--primary-blue);
    color: #ffffff;

    box-shadow: 0 15px 35px rgba(45, 115, 185, 0.22);
}

.lifestyle-btn-primary:hover {
    background: var(--primary-blue-dark);
    box-shadow: 0 18px 40px rgba(45, 115, 185, 0.30);
}


/* Secondary */

.lifestyle-btn-secondary {
    color: var(--text-dark);

    border: 1px solid #d8d2c7;

    background: #ffffff;
}

.lifestyle-btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}


/* Arrow */

.lifestyle-btn .arrow {
    font-size: 20px;
    line-height: 1;

    transition: transform 0.3s ease;
}

.lifestyle-btn:hover .arrow {
    transform: translateX(5px);
}


/* =========================================================
   RIGHT VIDEO GALLERY
   ========================================================= */

.lifestyle-video-gallery {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1.15fr)
        minmax(0, 1.15fr);

    grid-template-rows:
        145px
        230px;

    gap: 14px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   VIDEO CARD
   ========================================================= */

.lifestyle-video-card {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 15px;

    background: #000000;

    cursor: pointer;

    isolation: isolate;
}


/* Big first video */

.lifestyle-video-card.video-large {
    grid-row: 1 / 3;
}


/* =========================================================
   VIDEO IMAGE
   ========================================================= */

.lifestyle-video-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.4s ease;
}


/* Dark gradient */

.lifestyle-video-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0.05) 100%
        );

    z-index: 1;

    pointer-events: none;
}


/* Hover */

.lifestyle-video-card:hover img {
    transform: scale(1.07);

    filter: brightness(0.88);
}


/* =========================================================
   VIDEO TEXT
   ========================================================= */

.lifestyle-video-title {
    position: absolute;

    left: 22px;
    bottom: 20px;

    max-width: 80%;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.3;

    font-weight: 700;

    z-index: 3;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}


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

.video-play-btn {
    position: absolute;

    top: 17px;
    left: 17px;

    width: 43px;
    height: 43px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.95);

    background: rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

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

    z-index: 4;

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


/* Triangle */

.video-play-btn::before {
    content: "";

    width: 0;
    height: 0;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #ffffff;

    margin-left: 3px;
}


/* Hover */

.lifestyle-video-card:hover .video-play-btn {
    background: var(--primary-blue);

    border-color: var(--primary-blue);

    transform: scale(1.08);
}


/* =========================================================
   VIDEO CARD NUMBER / LABEL
   ========================================================= */

.video-label {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 6px 10px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.9);

    color: #202124;

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

    z-index: 4;
}


/* =========================================================
   VIDEO POPUP / MODAL
   ========================================================= */

.video-modal {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.88);

    display: flex;

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

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 99999;
}


/* Open */

.video-modal.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MODAL CONTENT
   ========================================================= */

.video-modal-content {
    width: min(420px, 90vw);

    max-height: 90vh;

    position: relative;

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

    transform: scale(0.88);

    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}


/* =========================================================
   MODAL VIDEO
   ========================================================= */

.video-modal video {
    width: 100%;

    max-height: 85vh;

    display: block;

    object-fit: contain;

    border-radius: 16px;

    background: #000000;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   MODAL CLOSE BUTTON
   ========================================================= */

.video-modal-close {
    position: absolute;

    top: -18px;
    right: -18px;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: #ffffff;

    color: #111111;

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

    font-size: 27px;

    line-height: 1;

    z-index: 20;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.video-modal-close:hover {
    background: var(--primary-blue);

    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================================================
   MODAL TITLE
   ========================================================= */

.video-modal-title {
    position: absolute;

    left: 0;
    bottom: -48px;

    width: 100%;

    text-align: center;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

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

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    top: 30px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(45, 115, 185, 0.06) 0%,
            rgba(45, 115, 185, 0) 70%
        );

    pointer-events: none;
}


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

@media (max-width: 1100px) {

    .lifestyle-hero {
        padding: 45px 4% 60px;
    }

    .lifestyle-hero-container {
        grid-template-columns: 40% 60%;

        gap: 25px;
    }

    .lifestyle-title {
        font-size: clamp(54px, 6vw, 72px);

        letter-spacing: -3px;
    }

    .lifestyle-description {
        font-size: 16px;
    }

    .lifestyle-video-gallery {
        grid-template-rows:
            130px
            200px;

        gap: 10px;
    }

    .lifestyle-video-title {
        left: 17px;
        bottom: 16px;

        font-size: 15px;
    }

    .video-play-btn {
        width: 39px;
        height: 39px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .lifestyle-hero {
        padding-top: 35px;
    }

    .lifestyle-hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .lifestyle-hero-content {
        max-width: 700px;
    }

    .lifestyle-title {
        max-width: 650px;

        font-size: clamp(55px, 8vw, 80px);
    }

    .lifestyle-description {
        max-width: 620px;
    }

    .lifestyle-video-gallery {
        max-width: 850px;

        margin: 0 auto;

        grid-template-rows:
            180px
            280px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .lifestyle-hero {
        min-height: auto;

        padding: 30px 20px 55px;
    }

    .lifestyle-hero-container {
        gap: 40px;
    }

    .lifestyle-breadcrumb {
        margin-bottom: 25px;

        font-size: 11px;
    }

    .lifestyle-category {
        font-size: 12px;

        margin-bottom: 10px;
    }

    .lifestyle-title {
        font-size: clamp(46px, 14vw, 66px);

        line-height: 0.98;

        letter-spacing: -2.5px;

        margin-bottom: 25px;
    }

    .lifestyle-description {
        font-size: 15px;

        line-height: 1.6;

        margin-bottom: 28px;
    }

    .lifestyle-buttons {
        gap: 10px;
    }

    .lifestyle-btn {
        min-height: 52px;

        padding: 0 20px;

        gap: 17px;

        font-size: 12px;
    }

    /* Gallery */

    .lifestyle-video-gallery {
        width: 100%;

        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            210px
            150px
            150px;

        gap: 9px;
    }

    .lifestyle-video-card.video-large {
        grid-column: 1 / 3;

        grid-row: 1;
    }

    .lifestyle-video-title {
        left: 14px;
        bottom: 14px;

        font-size: 14px;

        max-width: 85%;
    }

    .video-play-btn {
        top: 12px;
        left: 12px;

        width: 36px;
        height: 36px;
    }

    .video-play-btn::before {
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 9px;
    }

    .video-label {
        top: 12px;
        right: 12px;

        font-size: 9px;

        padding: 5px 8px;
    }

    /* Modal */

    .video-modal {
        padding: 20px;
    }

    .video-modal-content {
        width: min(94vw, 420px);
    }

    .video-modal video {
        max-height: 80vh;

        border-radius: 12px;
    }

    .video-modal-close {
        top: -15px;
        right: -8px;

        width: 40px;
        height: 40px;

        font-size: 23px;
    }

    .video-modal-title {
        bottom: -40px;

        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .lifestyle-title {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .lifestyle-buttons {
        width: 100%;
    }

    .lifestyle-btn {
        flex: 1;

        padding: 0 15px;

        gap: 10px;
    }

    .lifestyle-video-gallery {
        grid-template-rows:
            190px
            140px
            140px;
    }

    .lifestyle-video-title {
        font-size: 13px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.lifestyle-video-card:focus-visible,
.video-modal-close:focus-visible,
.lifestyle-btn:focus-visible {
    outline: 3px solid rgba(45, 115, 185, 0.45);

    outline-offset: 3px;
}


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

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }
}