/* NAVIGATION */
#site-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    background-image: url("/assets/nav/navbackground.jpg");
    background-size: fill;
    background-position: center;

    top: 0;
    position: fixed;
    z-index: 9999;

    min-height: 100px;
    width: 100%;
    
    border-bottom: 2px solid black;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    list-style-type: none;
    will-change: transform;
}

.nav li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav li a {
    display: inline-block;

    margin-left: 2vw;
    margin-right: 2vw;

    text-shadow: 0 0 10px black;
    text-decoration: none;
    font-size: 25px;
    font-family: 'franklin gothic medium';
    color: rgb(255, 255, 255);

    transition: 0.35s ease-in-out;
}

.nav li:hover a {
    transform: scale(1.2);

    color: rgb(159, 214, 173);
}
/* Nav Logo */
.logo img{
    height: 50px;
    width: auto;

    background-color: rgba(255, 255, 255, .7);

    border-radius: 50px;

    transition: 0.35s ease-in-out;
}
.logo:hover img{
    transform: scale(1.1);

    background-color: rgb(159, 214, 173);
}

/* MAIN CONTENT CONTAINERS */
body {
    padding-top: 120px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-image: url("/assets/pagebackground.png");
    background-size: cover;
    background-position: top;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* HEADERS */
h1,h2 {
    font-family: "Oakwood Rustic Font", Arial, sans-serif;
}
h1.hero {
    background-image: url("/assets/hero/hero.png");
    background-size: cover;
    background-position: center;

    color: rgb(255, 255, 255);
    font-family: "Oakwood Rustic Font", Arial, sans-serif;
    font-size: 100px;

    min-height: 200px;
    min-width: 70vw;
    width: 90vw;

    border-radius: 16px;
    border: 2px solid black;
    margin-top: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* IMAGES */
img.inline {
    border-radius: 16px;
    border: 2px solid black;

    aspect-ratio: auto;
    width: 450px;
    
    float: left;
    margin: 0 20px 20px 0;
}
img.inline-right {
    border-radius: 16px;
    border: 2px solid black;
    
    aspect-ratio: auto;
    width: 450px;
    
    float: right;
    margin: 0 20px 20px 0;
}
#aboutimage {
    width: 425px;
    margin: 5px;
}

/* DESCRIPTION TEXT */
.site-description {
    width: 100%;

    background-color: rgba(51, 51, 51, 0.349);

    border-radius: 16px;
}
.site-description h3 {
    color: rgb(255, 255, 255);
    font-size: 30px;
    font-family: "Oakwood Rustic Font", Arial, sans-serif;
    text-align: center;
}
.site-description p {  
    font-size: 20px;
    font-family: "Oakwood Rustic Font", Arial, sans-serif;
    line-height: auto;
    text-align: center;
    color: rgb(231, 231, 231);

    padding-left: 20px;
    padding-right: 20px;
}

/* FORMS */
form {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    background-image: url("/assets/woodplankbackground.jpg");
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 0px 0px rgba();

    width: 50vw; 
    max-width: 700px;
    min-width: 460px;
    height: auto;

    padding: 10px;
    padding-top: 20px;

    font-family: "Oakwood Rustic Font", Arial, sans-serif;
    color: white;

    border-radius: 16px;
}
.input-container {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80%;
    height: 25px;
    padding-bottom: 15px;
}
.left-input-content {
    width: 50%;
}
.left-input-content label, form label{
    font-size: 20px;
    margin-bottom: 5px;
}
.right-input-content {
    display: flex;
    align-items: right;
    width: 50%;
    height: 100%;
}
.right-input-content input {
    width: 100%;
    height: 100%;

    border-radius: 10px;

    padding-left: 5px;
}
.left-input-content input {
    height: 100%;
}
form hr {
    width: 70%;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    height: 1px;
}
.reasonForContact {
    width: 450px;
    text-align: center;
    font-size: 20px;
}
form select {
    padding: 5px;
    border-radius: 8px;
}
fieldset {
    border-radius: 8px;
    padding: 10px;
    padding-top: 5px;
}
.checkboxes {
    display: flex;
    flex-direction: row;
    width: 432px;
}
.leftCheckboxOptions {
    width: 252px;
}
.rightCheckboxOptions {
    width: 180px;
}
textarea {
    width: 80%;
    height: 200px;

    border-radius: 16px;
    border: 2px solid black;

    padding: 10px;

    transition: 0.35s ease-in-out;
}
form button, .card button{
    height: 30px;
    width: 200px;

    background-color: rgb(255, 255, 255);

    margin-bottom: 10px;

    font-family: "Oakwood Rustic Font", Arial, sans-serif;
    font-size: 20px;

    border-radius: 12px;

    cursor: pointer;

    transition: 0.35s ease-in-out;
}
form button:hover, .card button:hover{
    background-color: rgb(159, 214, 173);
    color: white;
    font-weight: bold;
    font-size: 22px;
    border: none;
}

/* CARDS */
.cards-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    width: 100%;
}
.cards-container h2 {
    text-align: center;
}
.card-title {
    font-size: 50px;
    font-weight: bold;
}
.grid-demo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 20px;
    padding: 10px;
}
.card {
    flex: 0 1 300px;
    width: 300px;
    max-width: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image: url("/assets/woodplankbackground.jpg");
    background-size: cover;
    background-position: center;

    color: white;
    font-family: "Oakwood Rustic Font", Arial, sans-serif;

    border-radius: 16px;
    border: 2px solid black;
    padding: 15px;
}
.card img {
    border-radius: 8px;
    border: 2px solid black;

    width: 100%;
    height: auto;
    object-fit: cover;
}
.card h4 {
    margin: 12px 0 6px;
    font-size: 22px;
}
.card p {
    margin: 0 0 12px;
    line-height: 1.4;
}
.card button {
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-top: auto;
    padding: 10px 12px;

    border: 0;
    border-radius: 8px;

    height: 30px;

    cursor: pointer;

    font-family: Georgia, serif;
}

/* MAP IFRAME */
.map {
    margin-top: -20px;
    width: 90vw;
    height: 85vh;
    border-radius: 16px;
}

/* SITE FOOTER */
#site-footer {
    color: white;
}

/* HAMBURGER */
.mobile-logo img{
    display: none;

    height: 50px;
    width: auto;

    background-color: rgba(255, 255, 255, .7);

    border-radius: 50px;

    transition: 0.35s ease-in-out;
}
.mobile-logo:hover img{
    transform: scale(1.1);

    background-color: rgb(159, 214, 173);
}
#nav-toggle {
    display: none;
}
.hamburger {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;

    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease-in-out;
}

#nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
#nav-toggle:checked ~ .hamburger span:nth-child(2) {
    transform: scaleX(0);
}
#nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    /* NAVIGATION */
    #site-header {
        max-height: 50px;
        box-shadow: none;
    }
    .hamburger {
        display: flex;
        margin-top: 20px;
    }
    nav {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 250px;
        background: #222;
        background-image: url("/assets/woodplankbackground.jpg");
        padding-top: 80px;
        border-right: 2px solid black;

        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }
    #nav-toggle:checked ~ nav {
        transform: translateX(0);
    }
    nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start;
        padding: 0 20px;
        gap: 15px;
    }
    nav ul li:first-child {
        display: none;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li a {
        display: block;
        width: 100%;
        padding: 12px 0;
        color: white;
        text-decoration: none;
        font-size: 18px;
    }

    .mobile-logo img {
        display: block;
    }

    h1.hero {
        font-size: 80px;
        text-align: center;
        width: 90vw;
    }

    .site-description {
        display: flex;
        flex-direction: column;
        align-items: center;

        font-size: 10px;
    }

    .site-description h3 {
        font-size: 25px;
        margin: 0;
    }

    /* CARDS */
    .card-title {
        font-size: 36px;
    }

    .card img {
        height: 160px;
    }

    /* IMAGES */
    img.inline, img.inline-right {
        display: block;
        width: 85%;
        max-width: 450px;
        float: none;
        margin: 15px auto;  
    }
}