/* ==========================================================================
   HERO.CSS
   Project: Luxury Destination Wedding Videographer
   Author: Cyber Master Studio
   Version: 1.0
   Description: Homepage hero section
   ========================================================================== */


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 100svh;

    overflow: hidden;

    isolation: isolate;

    background-color: var(--cms-color-background);
}


/* ==========================================================================
   Hero Media
   ========================================================================== */

.hero__media {
    position: absolute;
    inset: 0;

    z-index: -3;

    width: 100%;
    height: 100%;
}


/* ==========================================================================
   Hero Video
   ========================================================================== */

.hero__video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ==========================================================================
   Hero Overlay
   ========================================================================== */

.hero__overlay {
    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.22) 45%,
            rgba(0, 0, 0, 0.08) 100%
        );
}


/* ==========================================================================
   Hero Content
   ========================================================================== */

.hero .container {
    position: relative;
    z-index: 1;
}


.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    max-width: 860px;

    padding-top: var(--cms-header-height);
    padding-bottom: 0px;

    color: #FFFFFF;
}


/* ==========================================================================
   Hero Eyebrow
   ========================================================================== */

.hero__eyebrow {
    margin: 0 0 24px;
	font-family: var(--cms-font-sans-sub);

    font-size: var(--cms-text-sm);
    font-weight: var(--cms-font-medium);
    line-height: 1.4;

    color: currentColor;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ==========================================================================
   Hero Title
   ========================================================================== */

.hero__title {
    max-width: 860px;
	

    margin: 0;

    font-family: var(--cms-font-serif);

    font-size: clamp(5rem, 5vw, 5rem);
    font-weight: var(--cms-font-light);
    line-height: 1.2;
    letter-spacing: 0.05em;
	text-transform: uppercase;

    color: currentColor;
}


/* ==========================================================================
   Hero Description
   ========================================================================== */

.hero__description {
    max-width: 520px;
	font-family: var(--cms-font-sans);
	letter-spacing: 0.02em;

    margin: 32px 0 0;

    font-size: var(--cms-text-lg);
    font-weight: var(--cms-font-regular);
    line-height: 1.8;

    color: currentColor;
}


/* ==========================================================================
   Hero CTA
   ========================================================================== */

.hero__cta {
    margin-top: 36px;

    color: #FFFFFF;
}


/* ==========================================================================
   Hero CTA Hover
   ========================================================================== */

.hero__cta:hover {
    color: #FFFFFF;
    opacity: 0.72;
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1100px) {

    .hero__content {
        max-width: 680px;
    }

    .hero__title {
        font-size: clamp(3.25rem, 8vw, 5.5rem);
    }

}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 900px) {

    .hero {
        min-height: 100svh;
    }


    /* ----------------------------------------------------------------------
       Media
       ---------------------------------------------------------------------- */

    .hero__video {
        object-position: center center;
    }


    /* ----------------------------------------------------------------------
       Overlay
       ---------------------------------------------------------------------- */

    .hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.28) 0%,
                rgba(0, 0, 0, 0.52) 100%
            );
    }


    /* ----------------------------------------------------------------------
       Content
       ---------------------------------------------------------------------- */

    .hero__content {
        max-width: 100%;

        padding-top: calc(
            var(--cms-header-height) + 40px
        );

        padding-bottom: 60px;
    }


    /* ----------------------------------------------------------------------
       Eyebrow
       ---------------------------------------------------------------------- */

    .hero__eyebrow {
        margin-bottom: 20px;
		width: 500px;

        font-size: 1rem;
        letter-spacing: 0.1em;
    }


    /* ----------------------------------------------------------------------
       Title
       ---------------------------------------------------------------------- */

    .hero__title {
        max-width: 80%;
		margin-bottom: 20px;

        font-size: clamp(4rem, 13vw, 4rem);
        line-height: 1.2;
    }


    /* ----------------------------------------------------------------------
       Description
       ---------------------------------------------------------------------- */

    .hero__description {
        max-width: 420px;

        margin-top: 24px;
		margin-bottom: 40px;

        font-size: 16px;
        line-height: 1.55;
    }


    /* ----------------------------------------------------------------------
       CTA
       ---------------------------------------------------------------------- */

    .hero__cta {
        margin-top: 30px;
    }

}


/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 480px) {

    .hero__content {
        padding-top: calc(
            var(--cms-header-height) + 24px
        );

        padding-bottom: 40px;
    }
	
	.hero__eyebrow {    
	 
	 max-width: 340px;
	 line-height: 1.4;
	 margin-bottom: 0px;
	 font-size: 0.7rem;
	
	}


    .hero__title {
        font-size: clamp(2.75rem, 14vw, 2.75rem);
		line-height: 1.2;
		margin-top: 20px;
    }


    .hero__description {
        max-width: 340px;
		margin-top: 30px;
		font-size: 14px;
    }

}