/* ==========================================================
   Lantern Cottage
   ========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: #fff;
    background: #111;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: flex-end;

    background-image: url("house.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: hidden;
}

/* ==========================================================
   Dark overlay for text readability
   ========================================================== */

.hero__shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.72) 0%,
            rgba(0,0,0,0.28) 40%,
            rgba(0,0,0,0.05) 75%,
            rgba(0,0,0,0) 100%
        ),
        linear-gradient(
            to right,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0.18) 35%,
            rgba(0,0,0,0) 70%
        );
}

/* ==========================================================
   Text
   ========================================================== */

.hero__content {

    position: relative;
    z-index: 10;

    max-width: 650px;

    padding-left: clamp(30px,7vw,90px);
    padding-right: 30px;
    padding-bottom: 70px;

    animation: fadeUp 0.8s ease;
}

.hero__intro {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-style: normal;
    font-size: clamp(1rem,1.6vw,1.25rem);
    line-height: 1.7;
    color: rgba(255,255,255,.95);
}

address {
    font-style: normal;
    font-size: clamp(1rem,1.6vw,1.25rem);
    line-height: 1.7;
    color: rgba(255,255,255,.95);
}

/* ==========================================================
   Footer
   ========================================================== */

.hero__credit {
    position: absolute;
    right: 24px;
    bottom: 18px;
    z-index: 20;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .75rem;
    color: rgba(255,255,255,.7);
}

/* ==========================================================
   Animation
   ========================================================== */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(18px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

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

@media (max-width: 768px) {

    .hero {

        background-position: center center;

    }

    .hero__content {

        padding: 25px 25px 55px;

    }

    h1 {

        font-size: clamp(3rem,15vw,5rem);

    }

    .hero__credit {

        left: 25px;

        right: auto;

        bottom: 15px;

    }

}

.hero__actions{
    margin-top:32px;
}

.hero__actions a{

    display:inline-block;

    padding:14px 24px;

    border:1px solid rgba(255,255,255,.7);

    border-radius:999px;

    color:white;

    text-decoration:none;

    font-family:Arial,Helvetica,sans-serif;

    font-size:.9rem;

    transition:all .25s ease;
}

.hero__actions a:hover{

    background:white;

    color:#222;
}