/* =========================
   STUDIO RENTAL PAGE
========================= */

.rental-page {
    background: #090909;
    overflow: hidden;
}

.mobile-language {
    display: none;
}

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

.rental-hero {
    display: grid;
    grid-template-columns: 1fr 1.05fr;

    min-height: 525px;

    position: relative;

    background: #fff;

    overflow: hidden;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 82%,
        0 100%
    );
}


/* Left side */

.rental-hero-left {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    padding: 90px 40px 80px;
}

.rental-title-wrap {
    width: min(610px, 90%);
}

.rental-label {
    margin: 0 0 25px;

    color: #e31b23;

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

    letter-spacing: 2px;
}

.rental-title-wrap h1 {
    margin: 0;

    color: #000;

    font-size: clamp(90px, 12vw, 160px);
    line-height: 0.82;

    font-weight: 900;

    letter-spacing: -7px;
}


/* Right image */

.rental-hero-image {
    position: relative;

    overflow: hidden;
}

.rental-hero-image::before {
    content: "";

    position: absolute;

    left: -85px;
    top: 0;

    width: 170px;
    height: 100%;

    background: #fff;

    transform: skewX(-12deg);

    z-index: 2;
}

.rental-hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter: grayscale(100%);
}


/* =========================
   BLACK INFO SECTION
========================= */

.rental-info {
    position: relative;

    margin-top: -95px;

    padding: 185px 25px 65px;

    background:
        linear-gradient(
            110deg,
            #090909,
            #121212
        );

    color: #fff;
}

.rental-info-container {
    width: min(1180px, 86%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1.1fr;

    gap: 120px;

    align-items: center;
}


/* =========================
   LEFT BIG TEXT
========================= */

.rental-big-text h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(58px, 5vw, 86px);
    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -4px;
}


/* =========================
   RIGHT DETAILS
========================= */

.rental-details {
    max-width: 650px;
}

.top-red-line {
    display: block;

    width: 40px;
    height: 3px;

    background: #e31b23;

    margin-bottom: 12px;
}

.section-small-title {
    margin: 0 0 18px;

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

    letter-spacing: 0.8px;

    color: #fff;
}


/* Perfect for list */

.perfect-list {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 15px;

    margin-bottom: 45px;
}

.perfect-list span {
    color: #fff;

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

    white-space: nowrap;
}

.perfect-list b {
    color: #e31b23;

    font-size: 18px;
    font-weight: 500;
}


/* =========================
   PRICES
========================= */

.rental-prices {
    display: grid;

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

    margin-bottom: 30px;
}

.rental-price {
    padding: 0 35px;

    border-right: 1px solid #777;
}

.rental-price:first-child {
    padding-left: 0;
}

.rental-price:last-child {
    border-right: 0;
}

.rental-price p {
    margin: 0 0 8px;

    color: #fff;

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

.rental-price h3 {
    margin: 0;

    color: #fff;

    font-size: 54px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: -2px;
}


/* =========================
   NOTE
========================= */

.rental-note {
    margin: 0 0 28px;

    color: #c4c4c4;

    font-size: 11px;
}


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

.availability-btn {
    display: inline-block;

    min-width: 190px;

    padding: 13px 24px;

    border: 1px solid #e31b23;

    color: #fff;
    background: transparent;

    text-align: center;
    text-decoration: none;

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

    box-sizing: border-box;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.availability-btn:hover {
    background-color: #fff;
    color: #e31b23;
    border-color: #e31b23;
}


/* =========================
   ACTIVE NAVIGATION
========================= */

header nav a.active-page {
    position: relative;
}

header nav a.active-page::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 100%;
    height: 2px;

    background: #e31b23;
}


/* ==================================================
   LAPTOP
   901px - 1200px
================================================== */

@media (min-width: 901px) and (max-width: 1200px) {

    .rental-hero {
        grid-template-columns: 1fr 1fr;

        min-height: 470px;
    }

    .rental-hero-left {
        padding: 75px 35px 75px;
    }

    .rental-title-wrap {
        width: 90%;
    }

    .rental-label {
        margin-bottom: 22px;

        font-size: 14px;
    }

    .rental-title-wrap h1 {
        font-size: clamp(80px, 10vw, 110px);

        letter-spacing: -5px;
    }

    .rental-info-container {
        width: 88%;

        gap: 60px;
    }

    .rental-big-text h2 {
        font-size: clamp(50px, 5vw, 65px);

        letter-spacing: -3px;
    }

    .perfect-list {
        gap: 10px 12px;

        margin-bottom: 35px;
    }

    .perfect-list span {
        font-size: 11px;
    }

    .rental-price {
        padding: 0 20px;
    }

    .rental-price p {
        font-size: 11px;
    }

    .rental-price h3 {
        font-size: 42px;
    }
}


/* ==================================================
   TABLET
   451px - 900px

   Text over image
================================================== */

@media (min-width: 451px) and (max-width: 900px) {

    /* HERO */

    .rental-hero {
        position: relative;

        display: block;

        min-height: 520px;

        background: #000;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 94%,
            0 100%
        );
    }

    .rental-hero-left {
        position: absolute;

        inset: 0;

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

        min-height: 0;

        padding: 60px 5%;

        z-index: 3;
    }

    .rental-title-wrap {
        width: 90%;

        margin: 0 auto;
    }

    .rental-label {
        margin: 0 0 18px;

        color: #e31b23;

        font-size: 12px;
        letter-spacing: 2px;
    }

    .rental-title-wrap h1 {
        margin: 0;

        color: #fff;

        font-size: clamp(70px, 13vw, 95px);
        line-height: 0.82;

        letter-spacing: -5px;
    }

    .rental-hero-image {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;
    }

    .rental-hero-image::before {
        display: none;
    }

    .rental-hero-image::after {
        content: "";

        position: absolute;

        inset: 0;

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

        z-index: 1;

        pointer-events: none;
    }

    .rental-hero-image img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        filter: grayscale(100%);
    }


    /* INFO */

    .rental-info {
        margin-top: -45px;

        padding: 105px 25px 60px;
    }

    .rental-info-container {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 55px;
    }

    .rental-big-text h2 {
        font-size: clamp(48px, 8vw, 65px);

        letter-spacing: -3px;
    }

    .rental-details {
        width: 100%;

        max-width: none;
    }


    /* PERFECT FOR */

    .perfect-list {
        margin-bottom: 35px;
    }


    /* PRICES */

    .rental-prices {
        grid-template-columns: repeat(3, 1fr);
    }

    .rental-price {
        padding: 0 25px;
    }

    .rental-price h3 {
        font-size: 45px;
    }
}


/* ==================================================
   MOBILE
   max-width: 450px

   Text over image
================================================== */

@media (max-width: 450px) {

    /* HERO */

    .rental-hero {
        position: relative;

        display: block;

        min-height: 450px;

        background: #000;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 95%,
            0 100%
        );
    }

    .rental-hero-left {
        position: absolute;

        inset: 0;

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

        min-height: 0;

        padding: 45px 20px;

        z-index: 3;
    }

    .rental-title-wrap {
        width: 100%;

        margin: 0;
    }

    .rental-label {
        margin: 0 0 15px;

        color: #e31b23;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .rental-title-wrap h1 {
        margin: 0;

        color: #fff;

        font-size: clamp(55px, 17vw, 72px);
        line-height: 0.84;

        letter-spacing: -4px;
    }

    .rental-hero-image {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;
    }

    .rental-hero-image::before {
        display: none;
    }

    .rental-hero-image::after {
        content: "";

        position: absolute;

        inset: 0;

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

        z-index: 1;

        pointer-events: none;
    }

    .rental-hero-image img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        filter: grayscale(100%);
    }


    /* INFO */

    .rental-info {
        margin-top: -35px;

        padding: 85px 20px 50px;
    }

    .rental-info-container {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .rental-big-text h2 {
        font-size: clamp(38px, 11vw, 48px);
        line-height: 1.08;

        letter-spacing: -2px;
    }

    .rental-details {
        width: 100%;

        max-width: none;
    }


    /* PERFECT FOR */

    .top-red-line {
        width: 35px;
        height: 2px;

        margin-bottom: 10px;
    }

    .section-small-title {
        margin-bottom: 15px;

        font-size: 9px;
    }

    .perfect-list {
        gap: 8px 10px;

        margin-bottom: 35px;
    }

    .perfect-list span {
        font-size: 9px;
    }

    .perfect-list b {
        font-size: 15px;
    }


    /* PRICES */

    .rental-prices {
        grid-template-columns: repeat(3, 1fr);

        margin-bottom: 25px;
    }

    .rental-price {
        padding: 0 12px;

        border-right: 1px solid #777;
        border-bottom: 0;
    }

    .rental-price:first-child {
        padding-left: 0;
    }

    .rental-price:last-child {
        padding-right: 0;

        border-right: 0;
    }

    .rental-price p {
        margin-bottom: 7px;

        font-size: 9px;
        line-height: 1.3;
    }

    .rental-price h3 {
        font-size: 34px;

        letter-spacing: -1px;
    }


    /* NOTE */

    .rental-note {
        margin-bottom: 25px;

        font-size: 9px;
        line-height: 1.5;
    }


    /* BUTTON */

    .availability-btn {
        display: block;

        width: fit-content;
        min-width: 190px;

        margin: 0 auto;

        padding: 13px 24px;

        text-align: center;

        font-size: 10px;
    }
}