/* RESET */
*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    font-family: var(--main-font);
}
html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body{
    min-height: 100vh;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 18px;
    background-color: var(--color-light-grey);
    color: var(--color-dark-grey);
    line-height: 2.7ch;
}

/* VARIABLES */
:root{
     /* spacing */
     --spacer-sm: 0.5em;
     --spacer-md: calc(var(--spacer-sm)*2);
     --spacer-lg: calc(var(--spacer-md)*2);
     --spacer-xl: calc(var(--spacer-lg)*1.6);
     /* corners */
     --rounded: .5rem;
     /* colors */
     --color-text-main: #3E3E3F;
     --color-dark-grey: #3E3E3F;
     --color-shadow-grey: rgba(62, 62, 63, 0.6);
     --color-light-grey: #E4E5E6;
     --color-white: white;
     --color-gold: #A7842C;
     /* fonts */
     --logo-font: 'Cinzel', serif;
     --main-font: 'Lato', sans-serif;
}

/* GLOBAL */
.flex{
    display: flex;
    align-items: center;
}
.container{
    width: 88vw;
    max-width: 1800px;
    margin: 0 auto;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: currentColor;
}
p a{
    border-bottom: 1px solid var(--color-gold);
}
p a:hover{
    color: var(--color-gold);
}
img{
    width: 100%;
    display: block;
}
section{
    padding: var(--spacer-xl) 0;
}
.section-title{
    margin-bottom: var(--spacer-md);
    font-size: 1.9rem;
}
::selection{
    color: var(--color-dark-grey);
    background-color: var(--color-gold);
}
/* UTILITY */
.btn-group{
    display: flex;
    gap: var(--spacer-md)
}
.btn{
    background-color: var(--color-dark-grey);
    padding: .4em .8em;
    border-radius: var(--rounded);
    display: flex;
    text-transform: capitalize;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    width: fit-content;
    font-weight: 600;
}
.btn:hover{
    
}
.btn.ghost{
    background-color: transparent;
    border: .15em solid currentColor;
}
.btn.cta{
    padding: .5em .9em;
    background-color: var(--color-gold);
    color: var(--color-dark-grey);
}
.btn.cta:hover{
    color: var(--color-gold);
    background-color: var(--color-dark-grey);
    border: .1em solid var(--color-gold);
    transition: all linear .2s;
}
.btn.text-only{
    background: none;
    border: none;
    color: currentColor;
    text-decoration: underline;
}
.full-width{
    width: 100%;
}

/* HEADER */
header, footer{
    background-color: var(--color-dark-grey);
    padding: var(--spacer-lg) 0;
    color: var(--color-light-grey);
    text-transform: uppercase;
    font-weight: 400;
    font-size: .8em;
}
header .flex{
    justify-content: space-between;
}
.header-logo{
    width: 20em;
}
.header-nav ul{
    display: flex;
    align-items: center;
    gap: var(--spacer-lg);
    color: var(--color-light-grey);
}
.header-nav li:hover{
    color: var(--color-gold);
    transition: color .2s;
}
/* HERO SECTION */
.hero-section{
    position: relative;
    background: url("../images/image1.jpg") no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.hero-section .container{
    display: flex;
    align-items: center;
    height: 77vh;
}
.hero-section .col{
    z-index: 1;
    max-width: 65%;
    
}
.hero-section h1{
    font-size: 4.5em;
    /* font-family: 'Cinzel'; */
    line-height: 1.6ch;
    letter-spacing: .04ch;
    font-weight: 800;
    text-transform: capitalize;
}
.hero-section h2{
    margin: var(--spacer-md) 0;
    font-size: 1.4rem;
    line-height: 2.2ch;
}
.logo-name{
    /* font-family: 'Cinzel', serif; */
    /* text-transform: uppercase; */
    font-weight: bolder;
    border-bottom: 2px solid var(--color-gold);
}
.hero-section .btn-group{
    margin: var(--spacer-lg) 0;
}
.hero-section .btn{
    border-color: var(--color-dark-grey);
    color: var(--color-dark-grey);
    font-size: 1.2em;
}
.hero-section .overlay{
    position: absolute;
    background-color: var(--color-light-grey);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: lighten;
    opacity: .6;
}
.hero-section .bottom-accent{
    position: absolute;
    bottom: 0;
    width: 0; 
    border-left: 70vw solid transparent;
    border-right: 100vw solid transparent;
    border-bottom: 4.5em solid var(--color-light-grey);
}

/* SERVICE SECTION */
.service-section .services{
    gap: var(--spacer-lg);
    align-items: flex-start;
}
.services .btn{
    margin: var(--spacer-md) 0;
    color: var(--color-gold);
    font-size: 1rem;
}
.motto{
    justify-content: center;
    margin: var(--spacer-md) 0;
    font-weight: 600;
}
.motto li:nth-of-type(2)::before,
.motto li:nth-of-type(2)::after{
    content: "\2022";
    display: bock;
    color: var(--color-gold);
    margin: 0 var(--spacer-lg);
}


/* IMAGES SECTION */
.images-section{
   padding: 0;
}
.images-section .container:nth-of-type(2){
    overflow-x: scroll;
    padding-bottom: var(--spacer-md);
}
.images-section .container:nth-of-type(2)::-webkit-scrollbar {
    width: .7em;
}
.images-section .container:nth-of-type(2)::-webkit-scrollbar-track {
    background-color: transparent;
    border: 1px solid var(--color-dark-grey);
    border-radius: var(--rounded);
}
.images-section .container:nth-of-type(2)::-webkit-scrollbar-thumb {
    background-color: var(--color-gold);
    border-radius: var(--rounded);
}
.images{
    margin-top: var(--spacer-md);
    align-items: normal;
    justify-content: space-around;
    gap: var(--spacer-xl);
}

.images li img{
    width: 40vw;
    height: 24em;
    border-radius: var(--rounded);
    box-shadow: 4px 4px 8px var(--color-shadow-grey);
    object-fit: cover;
    user-select: none;
}

/* ESTIMATE SECTION */
form.flex{
    margin: var(--spacer-lg) 0;
    justify-content: center;
    align-items: stretch;
    gap: var(--spacer-lg);
}
form input, textarea, select{
    background-color: transparent;
    border: .16em solid var(--color-dark-grey);
    padding: .6em;
    width: 100%;
    border-radius: var(--rounded);
    font-size: 1em;
}
form .btn{
    font-size: 1rem;
}
.input-container{
    margin: var(--spacer-sm) 0;
}
input:focus, textarea:focus, select:focus{
    background-color: white;
    border-color: var(--color-gold);
}
form .col{
    width: 40%;
}
.col:has(textarea){
    align-self: flex-start;
    width: 60%;
}
/* FOOTER */
footer > .flex{
    justify-content: space-between;
    gap: var(--spacer-md);
}
footer .col{
    align-items: flex-start;
}
.footer-nav{
    gap: var(--spacer-lg);
    font-weight: 600;
}
.contact-info li{
    margin: 0;
    line-height: 2.5ch;
}


.jwarddesign{
    display: flex;
    align-items: center;
    margin: 100px;
}
.jwarddesign svg{
    display: block;
    width: 2em;
    margin: 0 auto;
}
.jwarddesign path{
    fill: var(--color-gold);
}