/* ==========================================================
   DIONDECOR — 404 PAGE
========================================================== */

.dion-404-page{
    background:var(--dion-white);
}

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

.dion-404-hero{
    display:grid;
    grid-template-columns:42% 58%;
    min-height:600px;
    background:var(--dion-cream);
}

.dion-404-hero__content{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 12% 80px 20%;
}

.dion-404-hero__inner{
    position:relative;
    max-width:620px;
}

.dion-404-watermark{
    position:absolute;
    top:-70px;
    left:-15px;

    font-family:"Playfair Display",Georgia,serif;
    font-size:190px;
    line-height:1;
    font-weight:700;

    color:rgba(200,155,60,.08);

    user-select:none;
    pointer-events:none;
}

.dion-404-hero h1{
    margin:0 0 20px;

    color:var(--dion-charcoal);

    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(46px,4.6vw,70px);
    font-weight:500;
    line-height:1.05;
}

.dion-404-hero__rule{
    width:58px;
    height:2px;

    margin:0 0 24px;

    background:var(--dion-gold);
}

.dion-404-hero p{
    margin:0;

    color:var(--dion-text);

    font-size:17px;
    line-height:1.8;
}

.dion-404-hero__actions{
    display:flex;
    gap:18px;
    flex-wrap:wrap;

    margin-top:40px;
}

.dion-404-hero__image{
    overflow:hidden;
    background:var(--dion-cream);
}

.dion-404-hero__image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}

.dion-404-hero__fallback{
    display:flex;
    align-items:center;
    justify-content:center;

    height:100%;

    color:rgba(34,34,34,.35);

    font-family:"Playfair Display",serif;
    font-size:42px;
}

/*==========================================================
 SERVICES
==========================================================*/

.dion-404-services{
    padding:100px 10%;
    background:#fff;
}

.dion-404-services-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

.dion-404-service-card{
    overflow:hidden;

    border:1px solid var(--dion-border);

    background:#fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.dion-404-service-card:hover{
    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(0,0,0,.08);
}

.dion-404-service-card__image{
    display:block;
    aspect-ratio:4/3;

    overflow:hidden;
}

.dion-404-service-card__image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .4s ease;
}

.dion-404-service-card:hover
.dion-404-service-card__image img{
    transform:scale(1.05);
}

.dion-404-service-card__content{
    padding:28px;
}

.dion-404-service-card__name{
    display:block;

    margin-bottom:8px;

    color:var(--dion-gold);

    font-size:11px;
    font-weight:700;
    letter-spacing:1.5px;

    text-transform:uppercase;
}

.dion-404-service-card h3{
    margin:0 0 14px;

    font-family:"Playfair Display",serif;
    font-size:28px;
    font-weight:500;
}

.dion-404-service-card h3 a{
    color:var(--dion-charcoal);
}

.dion-404-service-card p{
    margin:0 0 18px;

    color:var(--dion-text);

    line-height:1.75;
}

.dion-404-services__action,
.dion-404-projects__action{
    margin-top:60px;
    text-align:center;
}

/*==========================================================
 SEARCH
==========================================================*/

.dion-404-search{
    padding:90px 10%;

    background:var(--dion-cream);
}

.dion-404-search__inner{
    max-width:900px;
    margin:auto;
}

.dion-404-search__content{
    text-align:center;
}

.dion-404-search__content h2{
    margin-bottom:16px;
}

.dion-404-search__form{
    display:flex;

    gap:15px;

    margin-top:40px;
}

.dion-404-search__form input{
    flex:1;

    height:56px;

    padding:0 20px;

    border:1px solid var(--dion-border);

    font-size:15px;

    background:#fff;
}

.dion-404-search__form input:focus{
    outline:none;

    border-color:var(--dion-gold);
}

/*==========================================================
 PROJECTS
==========================================================*/

.dion-404-projects{
    padding:100px 10%;
    background:#fff;
}

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

.dion-404-cta{
    padding:100px 10%;

    background:var(--dion-charcoal);

    color:#fff;
}

.dion-404-cta .dion-services-row{
    display:flex;

    justify-content:space-between;
    align-items:center;

    gap:60px;
}

.dion-404-cta h2{
    margin:0 0 18px;

    color:#fff;

    font-family:"Playfair Display",serif;
    font-size:48px;
    font-weight:500;
}

.dion-404-cta p{
    margin:0;

    color:rgba(255,255,255,.82);

    font-size:17px;
    line-height:1.8;
}

/*==========================================================
 RESPONSIVE
==========================================================*/

@media(max-width:980px){

    .dion-404-hero{
        grid-template-columns:1fr;
    }

    .dion-404-hero__content{
        padding:120px 7% 70px;
    }

    .dion-404-watermark{
        font-size:150px;
        top:-50px;
    }

    .dion-404-services,
    .dion-404-search,
    .dion-404-projects,
    .dion-404-cta{
        padding:80px 7%;
    }

    .dion-404-services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .dion-404-cta .dion-services-row{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:767px){

    .dion-404-hero__content{
        padding:110px 24px 55px;
    }

    .dion-404-watermark{
        font-size:110px;
        top:-25px;
        left:0;
    }

    .dion-404-hero h1{
        font-size:42px;
    }

    .dion-404-services,
    .dion-404-search,
    .dion-404-projects,
    .dion-404-cta{
        padding:65px 24px;
    }

    .dion-404-services-grid{
        grid-template-columns:1fr;
    }

    .dion-404-search__form{
        flex-direction:column;
    }

    .dion-404-search__form input{
        width:100%;
    }

    .dion-404-hero__actions{
        flex-direction:column;
    }

    .dion-404-hero__actions .dion-services-button{
        width:100%;
        justify-content:center;
    }

    .dion-404-cta h2{
        font-size:36px;
    }
}

