/* ===============================================================
   Buildbrand Hospitality Framework™
   Theme: Mohar Cottage
   File: hero.css

   Description:
   Homepage Hero Section

   Author: Sunil Chauhan
   Website: https://buildbrand.site
   =============================================================== */


/* ============================================================
   MOHAR COTTAGE — HERO
   ============================================================ */

.mc-hero {
    position: relative;
    width: 100%;
    height: calc(100svh - 102px);
    min-height: 680px;
    overflow: hidden;
    background: #182c22;
    color: #fff;
}


/* ============================================================
   IMAGE
   ============================================================ */

.mc-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.mc-hero__image-wrap {
    position: absolute;
    inset: -2%;
    overflow: hidden;
    transform: translateZ(0);
}

.mc-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    transform: scale(1.08);
    will-change: transform;
}


/* ============================================================
   CINEMATIC OVERLAY
   ============================================================ */

.mc-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 14, 0.78) 0%,
            rgba(7, 20, 14, 0.58) 28%,
            rgba(7, 20, 14, 0.20) 55%,
            rgba(7, 20, 14, 0.08) 100%
        );

    pointer-events: none;
}


/* Additional bottom depth */

.mc-hero__vignette {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.22) 0%,
            transparent 24%,
            transparent 62%,
            rgba(0, 0, 0, 0.48) 100%
        );

    pointer-events: none;
}


/* ============================================================
   CONTENT CONTAINER
   ============================================================ */

.mc-hero__content {
    position: relative;
    z-index: 2;

    width: min(100% - 96px, 1200px);
    height: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding-top: clamp(50px, 5vh, 170px);
    padding-bottom: 42px;

    box-sizing: border-box;
}


/* ============================================================
   COPY
   ============================================================ */

.mc-hero__copy {
    width: min(720px, 58vw);
}


/* Eyebrow */

.mc-hero__eyebrow {
    margin-bottom: 27px;

    font-family: var(--font-sans, Arial, sans-serif);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.24em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.92);

    overflow: hidden;
}

.mc-hero__eyebrow span {
    display: inline-block;
}


/* ============================================================
   TITLE
   ============================================================ */

.mc-hero__title {
    margin: 0;

    font-family:
        var(--font-serif,
        "Cormorant Garamond",
        "Times New Roman",
        serif);

    font-size: clamp(64px, 6.6vw, 116px);
    font-weight: 400;
    line-height: 0.91;
    letter-spacing: -0.045em;

    color: #fff;
}

.mc-hero__title-line {
    display: block;
    overflow: hidden;
}

.mc-hero__title-line span {
    display: inline-block;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.mc-hero__description {
    width: min(610px, 100%);

    margin-top: 36px;
    padding-top: 27px;

    border-top: 1px solid rgba(255, 255, 255, 0.30);

    overflow: hidden;
}

.mc-hero__description p {
    margin: 0;

    font-family: var(--font-sans, Arial, sans-serif);
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 400;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.94);
}


/* ============================================================
   BOTTOM META
   ============================================================ */

.mc-hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    width: 100%;
}


/* ============================================================
   LOCATION
   ============================================================ */

.mc-hero__location {
    display: flex;
    align-items: center;
    gap: 12px;

    font-family: var(--font-sans, Arial, sans-serif);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.19em;
    line-height: 1;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.90);
}

.mc-hero__location-icon {
    display: flex;
    width: 20px;
    height: 20px;
}

.mc-hero__location-icon svg {
    width: 100%;
    height: 100%;
}


/* ============================================================
   SCROLL CONTROL
   ============================================================ */

.mc-hero__scroll {
    appearance: none;
    border: 0;
    outline: 0;
    background: transparent;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 0;

    cursor: pointer;

    color: #fff;

    font-family: var(--font-sans, Arial, sans-serif);
}

.mc-hero__scroll-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;

    transition:
        background-color 0.35s ease,
        transform 0.35s ease;
}

.mc-hero__scroll-circle svg {
    width: 21px;
    height: 21px;
}

.mc-hero__scroll-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mc-hero__scroll:hover .mc-hero__scroll-circle {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(4px);
}


/* ============================================================
   EDGE DETAIL
   ============================================================ */

.mc-hero__edge {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    z-index: 4;

    background: rgba(255, 255, 255, 0.18);
}

.mc-hero__edge span {
    display: block;

    width: 0%;
    height: 100%;

    background: rgba(255, 255, 255, 0.85);
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .mc-hero {
        min-height: 650px;
    }

    .mc-hero__content {
        width: min(100% - 64px, 1500px);
    }

    .mc-hero__copy {
        width: min(680px, 68vw);
    }

    .mc-hero__title {
        font-size: clamp(60px, 8vw, 90px);
    }

}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .mc-hero {
        height: calc(100svh - 82px);
        min-height: 620px;
    }


    .mc-hero__image {
        object-position: 58% center;
    }


    .mc-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 20, 14, 0.30) 0%,
                rgba(7, 20, 14, 0.20) 35%,
                rgba(7, 20, 14, 0.74) 100%
            );
    }


    .mc-hero__content {
        width: calc(100% - 40px);

        padding-top: 72px;
        padding-bottom: 26px;
    }


    .mc-hero__copy {
        width: 100%;
    }


    .mc-hero__eyebrow {
        margin-bottom: 21px;
        font-size: 10px;
        letter-spacing: 0.20em;
    }


    .mc-hero__title {
        font-size: clamp(49px, 13vw, 70px);
        line-height: 0.94;
        letter-spacing: -0.04em;
    }


    .mc-hero__description {
        width: 100%;
        margin-top: 27px;
        padding-top: 20px;
    }


    .mc-hero__description p {
        font-size: 15px;
        line-height: 1.5;
    }


    .mc-hero__bottom {
        align-items: flex-end;
    }


    .mc-hero__location {
        font-size: 9px;
        letter-spacing: 0.14em;
    }


    .mc-hero__location-icon {
        width: 16px;
        height: 16px;
    }


    .mc-hero__scroll-label {
        display: none;
    }


    .mc-hero__scroll-circle {
        width: 46px;
        height: 46px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .mc-hero__image {
        transform: scale(1);
    }

    .mc-hero__scroll-circle {
        transition: none;
    }

}