/* ==========================================================
   Everything Estate
   Production Stylesheet
   Part 1
   ========================================================== */

:root{

    --color-primary:#02aed6;
    --color-primary-dark:#0187a8;
    --color-secondary:#444;
    --color-heading:#222;
    --color-text:#555;
    --color-light:#f8f8f8;
    --color-border:#e4e4e4;
    --color-white:#ffffff;

    --container-width:1200px;

    --transition:250ms ease;

    --shadow:
        0 10px 30px rgba(0,0,0,.08);

}

*,
*::before,
*::after{

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    margin:0;

    font-family:"Questrial",sans-serif;

    font-size:18px;

    line-height:1.7;

    color:var(--color-text);

    background:#fff;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;

    max-width:100%;

    height:auto;

}

a{

    color:inherit;

    text-decoration:none;

    transition:var(--transition);

}

ul{

    margin:0;

    padding:0;

    list-style:none;

}

h1,
h2,
h3,
h4{

    margin:0;

    font-weight:400;

    color:var(--color-heading);

}

p{

    margin:0 0 1.4rem;

}

.container{

    width:min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-inline:auto;

}

/* ==========================================================
   Header
   ========================================================== */

.site-header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(0,0,0,.05);

}

.header-inner{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:90px;

    padding:0 4px;

}

.logo{

    display:flex;

    align-items:flex-end;

    text-decoration:none;

    padding-top:6px;

}

.logo{

    display:flex;

    align-items:center;

    text-decoration:none;

}

.logo-wordmark{

    font-family:"Questrial",sans-serif;

    font-size:3.35rem;

    font-weight:400;

    letter-spacing:-0.02em;

    color:var(--color-primary);

    text-transform:lowercase;

    line-height:1;

    white-space:nowrap;

    transition:color .25s ease;

}


/* Header over hero */

.site-header{

    transition:
        background .25s ease,
        box-shadow .25s ease;

}

/* When header sits on white background */

.site-header.scrolled .logo-wordmark{

    color:#222222;

}

.primary-navigation ul{

    display:flex;

    gap:42px;

}

.primary-navigation a{

    font-size:15px;

    letter-spacing:.08em;

    text-transform:uppercase;

    color:#333;

}

.primary-navigation a:hover{

    color:var(--color-primary);

}

.mobile-nav-toggle{

    display:none;

    background:none;

    border:none;

    padding:0;

    cursor:pointer;

}

.mobile-nav-toggle span{

    display:block;

    width:28px;

    height:2px;

    background:#333;

    margin:6px 0;

}

/* ==========================================================
   Hero
   ========================================================== */

.hero{

    position:relative;
    overflow:hidden;
    min-height:680px;
}

.hero-background{
    position:absolute;
    inset:0;

    background-image:url("../img/hero/beachcouple.jpg");
    background-repeat:no-repeat;

    /*
      Original page source:
      background-position:left top;
    */
    background-position:right top;
    /*
      Behaves much closer to original X Theme
    */
    background-size:cover;
    z-index:0;
}

.hero::before{
    content:none;
}

.hero-content{

    position:absolute;

    top:148px;

    left:108px;

    z-index:2;

    width:620px;

    text-align:center;
}

.hero h1{

    font-size:3.95rem;

    line-height:1.05;

    font-weight:400;

    letter-spacing:-0.02em;

    margin-bottom:22px;
}

.hero .hero-subtitle{

    font-size:2.25rem;

    letter-spacing:.16em;

    margin-bottom:18px;

    color:#111111;

}

.hero p{

    max-width:560px;

    margin:0 auto;

    font-size:1.32rem;

    line-height:1.7;

    color:#111111;

}



/* ==========================================================
   Full Width Service Background Sections
   ========================================================== */

.background-section{

    position:relative;

    display:flex;

    align-items:center;

    min-height:600px;

    background-repeat:no-repeat;

    background-size:cover;

    overflow:hidden;

}

.service-sort{

    background-image:
        url("../img/sections/integrity-bands-bg-5-e1594744420378.jpg");

    background-position:center center;

}

.service-stage{

    background-image:
        url("../img/sections/couch.jpg");

    background-position:center center;

}

.service-sell{

    background-image:
        url("../img/sections/modernhouse.jpg");

    background-position:left center;

}

.service-overlay{

    position:absolute;

    inset:0;

    background:transparent;

}

.background-section .container{

    position:relative;

    z-index:2;

}

.service-panel{

    width:40%;

    max-width:560px;

    padding:0;

    background:transparent;

    border:none;

    box-shadow:none;

}

/* ==========================================================
   Individual Service Section Positioning
   ========================================================== */

/* ---------- SORT ---------- */

.service-sort .service-panel{

    width:48%;

    max-width:560px;

    margin-left:auto;

    margin-right:2%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    text-align:left;

    transform:translateY(-6px);

}

.service-sort h2,
.service-sort p{

    color:#ffffff;

}

.service-sort h2{

    font-size:60px;

    font-weight:300;

    line-height:1.06;

    margin-bottom:26px;

}

.service-sort p{

    font-size:19px;

    line-height:1.9;

    max-width:520px;

    margin-bottom:26px;

}

/* ---------- STAGE ---------- */

.service-stage .service-panel{

    width:46%;

    max-width:520px;

    margin-left:2%;

    margin-right:auto;

    display:flex;

    flex-direction:column;

    justify-content:center;

    text-align:left;

    transform:translateY(-8px);

}

.service-stage h2{

    font-size:58px;

    font-weight:300;

    line-height:1.06;

    margin-bottom:24px;
  

}

.service-stage p{

    font-size:19px;

    line-height:1.85;

    max-width:470px;

    margin-bottom:22px;

}

.service-stage .service-panel h2{

    color:#111111;

}

.service-stage .service-panel p{

    color:#111111;

}

/* ---------- SELL ---------- */

.service-sell .service-panel{

    width:50%;

    max-width:560px;

    margin-left:auto;

    margin-right:-1%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    text-align:left;

    transform:translateY(-12px);

}

.service-sell h2,
.service-sell p{

    color:#ffffff;

}

.service-sell h2{

    font-size:60px;

    font-weight:300;

    line-height:1.06;

    margin-bottom:26px;

}

.service-sell p{

    font-size:19px;

    line-height:1.9;

    max-width:520px;

    margin-bottom:24px;

}

.service-sort{

    align-items:center;

    padding-top:0;

    padding-bottom:0;

}

.service-stage{

    align-items:center;

    background-position:center 86%;

}

.service-sell{

    align-items:center;

    padding-top:0;

    padding-bottom:0;

    background-position:left 20%;

}

.background-section h2{

    font-size:56px;

    font-weight:300;

    letter-spacing:-0.01em;

    line-height:1.05;

    color:#ffffff;

    margin-bottom:18px;

    text-transform:none;

}

.background-section p{

    font-size:19px;

    font-weight:400;

    line-height:1.75;

    max-width:44rem;

    margin-bottom:18px;

}

.background-section .feature-list{

    margin-top:32px;

}

/* ==========================================================
   Service Sections
   ========================================================== */

.service-section{

    padding:0;

}


.mobile-service-image{

    display:none;

}


/* ==========================================================
   Contact
   ========================================================== */

.contact-section{

    position:relative;

    overflow:hidden;

    padding:105px 0 110px;

    background:#ededed;

}

.section-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.section-header h2{

    font-size:52px;

    margin:18px 0 26px;

}

.section-header p{

    font-size:20px;

}

.contact-layout{

    display:grid;

    grid-template-columns:56% 44%;

    align-items:center;

    min-height:560px;

}

.contact-content{

    max-width:520px;

    align-self:center;

    position:relative;

    z-index:2;

}

.contact-content h2{

    font-size:56px;

    font-weight:300;

    line-height:1.08;

    margin-bottom:30px;

    color:#222;

}

.contact-content p{

    font-size:19px;

    line-height:1.92;

    color:#444;

    margin-bottom:28px;

}

.contact-content strong{

    color:#222;

}

.contact-content a{

    color:var(--color-primary);

}

.contact-content a:hover{

    color:var(--color-primary-dark);

}

.contact-section::after{

    content:"";

    position:absolute;

    top:0;

    right:0;

    width:44%;

    height:100%;

    background-image:url("../img/people/JJMJ-2.jpg");

    background-repeat:no-repeat;

    background-position:right center;

    background-size:contain;

    pointer-events:none;

}

/* ==========================================================
   Micro Footer
   ========================================================== */

.site-footer{

    background:#ffffff;

    border-top:1px solid #e6e6e6;

}

.micro-footer{

    padding:18px 24px;

    text-align:center;

}

.micro-footer p{

    margin:0;

    font-size:13px;

    line-height:1.6;

    color:#777777;

}

.micro-footer a{

    color:inherit;

    text-decoration:none;

}

.micro-footer a:hover{

    color:var(--color-primary);

}

/* ==========================================================
   Utility Classes
   ========================================================== */

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.mt-0{

    margin-top:0;

}

.mb-0{

    margin-bottom:0;

}

.hidden{

    display:none !important;

}

.sr-only{

    position:absolute;

    width:1px;

    height:1px;

    padding:0;

    margin:-1px;

    overflow:hidden;

    clip:rect(0,0,0,0);

    white-space:nowrap;

    border:0;

}

/* ==========================================================
   Animations
   ========================================================== */

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}

.fade-up.visible{

    opacity:1;

    transform:none;

}

/* ==========================================================
   Forms (Future Contact Form Support)
   ========================================================== */

input,
textarea,
select{

    width:100%;

    padding:14px 16px;

    border:1px solid var(--color-border);

    border-radius:4px;

    font:inherit;

}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border-color:var(--color-primary);

    box-shadow:0 0 0 3px rgba(2,174,214,.15);

}

textarea{

    min-height:160px;

    resize:vertical;

}

button{

    font:inherit;

    cursor:pointer;

}

/* ==========================================================
   Responsive Layout
   ========================================================== */

@media screen and (max-width:1024px){

    .service-panel{

        width:48%;

    }

    .hero-content{

        margin-left:48px;

        max-width:620px;

    }

}@media screen and (max-width:992px){

    /* ==========================================================
   Mobile Service Layout
   ========================================================== */

/* ==========================================================
   Mobile Hero
   ========================================================== */

.hero{

    min-height:auto;

    display:block;

    overflow:visible;

}

.hero-background{

    position:relative;

    inset:auto;

    height:280px;

    background-position:center top;

    background-size:cover;

}

.hero-content{

    position:relative;

    top:auto;

    left:auto;

    width:100%;

    max-width:none;

    padding:42px 30px 48px;

    background:#ffffff;

    text-align:center;

}

.hero h1{

    font-size:2.25rem;

    line-height:1.1;

}

.hero .hero-subtitle{

    font-size:1.35rem;

}

.hero p{

    max-width:34rem;

    margin:0 auto;

}

.mobile-service-image{

    display:block;

}

.mobile-service-image img{

    display:block;

    width:100%;

    height:260px;

    object-fit:cover;

    object-position:center;

}

.background-section{

    display:block;

    min-height:auto;

    background-image:none !important;

    padding:0;

}

.service-overlay{

    display:none;

}

.background-section .container{

    width:100%;

    padding:0;

}

.service-panel{

    width:100% !important;

    max-width:none;

    margin:0 !important;

    padding:42px 30px;

    transform:none !important;

    background:#ffffff;

}

.service-sort h2,
.service-stage h2,
.service-sell h2{

    color:#222;

}

.service-sort p,
.service-stage p,
.service-sell p{

    color:#555;

    max-width:none;

}

.contact-layout{

    grid-template-columns:1fr;

    gap:40px;

}

.contact-content{

    max-width:none;

    padding:0 28px;

}

.contact-photo{

    justify-self:center;

    max-width:320px;

}

/* ==========================================================
   Mobile Contact
   ========================================================== */

.contact-section{

    padding:60px 0;

}

.contact-section::after{

    position:relative;

    display:block;

    width:100%;

    height:320px;

    right:auto;

    top:auto;

    background-position:center top;

    background-size:contain;

    margin-top:32px;

}

}