/*
Theme Name: The Julian Crosson-Hill
Theme URI: https://www.techgnosis.net/themese/thejuliancrossonhill
Author: Tech Gnosis, Ltd.
Author URI: https://www.techgnosis.net
Description: Custom theme developed for The Julian Crosson Hill website by Tech Gnosis, Ltd.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: juliancrossonhill
*/

/* Define variables for color theme */
:root {
    --accent100: #CFDEFC;
    --accent200: #89A1CF;
    --accent300: #56789D;
    --accent400: #434E66;
    --primary100: #FFA47D;
    --primary200: #FA763C;
    --primary300: #CC6031;
    --primary400: #9C4925;
    --secondary100: #B5B5FF;
    --secondary200: #6B6BCC;
    --secondary300: #404082;
    --secondary400: #242457;
    --neutral100: #FAF5F3;
    --neutral300: #D4BFB5;
    --neutral500: #9E857A;
    --neutral700: #68554D;
    --neutral900: #24130C;
    --background: var(--neutral100);
    --text: var(--neutral900);
}
/* Set defaults for the body element */
body {
    font-family: Cardo, serif;
    font-size: 16px;
    background-color: var(--background);
    color: var(--text);
}

/* Text Styles */
h1, h2, h3, h4 {
    font-family: Poppins, Arial, sans-serif;
    color: var(--primary400);
    margin: 1.5rem 0;
}

h1 {
    font-size: 1.875rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.375rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    max-width: 75ch;
    font-size: 1.125rem;
}

.text-center {
    text-align: center;
}

/* end text styles */


header {
    padding: 0;
}

.header {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 1.25rem;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.header li a {
    display: block;
    text-decoration: none;
    padding: 1.25rem 1.25rem;
    color: var(--neutral100);
    font-size: 1.25rem;
    font-family: Poppins, Arial, sans-serif;
}

.header li a:hover,
.header .menu-btn:hover {
    color: var(--neutral100);
    background-color: var(--primary400);
}

.header .logo {
    display: block;
    float: left;
    text-decoration: none;
    margin-bottom: 1rem;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    background-color: var(--primary400);
}

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: var(--secondary400);
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: var(--secondary400);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 100vh;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}


.footer-logo-left,
.footer-logo-center,
.footer-logo-right {
    grid-column: span 2;
    padding: 2rem 1rem;
}

.footer-lower-section {
    width: 100%;
    background-color: var(--neutral900);
    color: var(--neutral100);
    padding: 1.25rem;
}

.footer-site-name {
    grid-column: 2 / span 4;
    justify-self: center;
}

.footer-site-name h2 {
    color: var(--neutral100);
    font-size: 1.125rem;
}

.footer-email {
    grid-column: 2 / span 5;
}

.footer-phone {
    grid-column: 2 / span 5;
}
.footer-socials {
    color: var(--neutral100);
    font-size: 1.5rem;
    grid-column: 2 / span 4;
    justify-self: center;
}

.footer-socials i {
    padding: .25rem;
}

.footer-address {
    grid-column: 2 / span 5;
}

.footer-legal-links {
    grid-column: 2 / span 4;
    justify-self: center;
}

.footer-copyright {
    font-size: .675rem;
    grid-column: 2 / span 4;
    justify-self: center;
}

section {
    padding: 2rem 1.25rem;
}

.content-container {
    display: grid;
    column-gap: 1rem;
    row-gap: 1rem;
    grid-template-columns: repeat(6, 1fr);
}

.hero {
    background-color: var(--accent400);
    color: var(--neutral100);
}

.hero-socials {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    grid-column: 1/span 6;
    grid-row: 1/ span 1;
    justify-self: center;

    & a {
        padding: 1rem;
    }
}

.hero-top-spacer {
    margin-bottom: 1.5rem;
    grid-column: 1/span 6;
    grid-row: 1/span 1;
}

.hero-headline {
    grid-column: 1/span 6;
    grid-row: 2/span 1;
    justify-self: center;
    color: var(--neutral100);
}

.hero-photo {
    grid-column: 1/span 6;
    grid-row: 3/span 6;
    justify-self: center;
}

.hero-body {
    grid-column: 1/span 6;
    grid-row: 9/span 6;
    color: var(--neutral100);
    & p {
        margin-bottom: 3rem;
    }
    & h2 {
        color: var(--neutral100);
        margin-bottom: 2rem;
        font-size: 1.25rem;
    }
}

.cta-button {
    background-color: var(--primary200);
    color: var(--neutral100);
    font-size: 1.125rem;
    font-weight: bold;
    padding: .75rem 1rem;
    border-radius: 5px;
    text-decoration: none;

}

.secondary-button {
    background-color: var(--neutral100);
    color: var(--secondary300);
    font-size: 1.125rem;
    font-weight: bold;
    padding: .75rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid var(--secondary300);
    width: fit-content;
    display: block;
    margin: auto;
}

.card {
    grid-column: span 6;
    border: 1px solid var(--primary300);
}

.card-body {
    padding: 1.5rem 1rem;
}

.two-col {
    grid-column: span 6;
}

.clear {
    clear: both;
}

.about-section {
    background-color: var(--accent100);
}

.subscribe-section {
    background-color: var(--accent400);
}

/* Style Contact Forms */

.wpcf7 {
    padding: .5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.wpcf7 label {
    font-family: Poppins, Arial, sans-serif;
    font-weight: bolder;
    font-size: 1.125rem;
    color: var(--primary400);
}

.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 textarea {
    border: var(--primary400) 1px solid;
    font-size: 1.125rem;
    line-height: 2rem;
    padding: .5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.wpcf7 input[type=submit] {
    background-color: var(--secondary300);
    color: var(--neutral100);
    font-size: 1.125rem;
    font-weight: bold;
    padding: .75rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid var(--secondary300);
    width: fit-content;
    display: block;
    &:hover {
        background-color: var(--neutral100);
        color: var(--secondary300);
        border: 2px solid var(--secondary300);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .footer-site-name h2 {
        font-size: 1.25rem;
    }

   .card {
       grid-column: 2 / span 4;
   }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .card {
        grid-column: span 2;
    }

    .two-col {
        grid-column: span 3;
    }

    .right-align {
        justify-self: end;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    header {
        padding: 1.25rem;
    }

    .header {
        padding: 0;
    }
    /* Change menu to inline */
    .header li {
        float: left;
    }
    .header li a {
        font-size: 1.125rem;
        padding: 1.5rem 1.875rem;
        color: var(--secondary400);
    }
    .header .menu {
        clear: none;
        float: right;
        max-height: none;
        background-color: var(--neutral100);
    }
    .header .menu-icon {
        display: none;
    }

    .footer-site-name h2 {
        font-size: 2rem;
    }

    .content-container {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-flow: row;
    }

    .hero-socials {
        grid-column: 1/span 7;
        grid-row: 1/span 1;
        justify-self: start;
        align-self: center;

    }

    .hero-headline {
        grid-column: 1/span 7;
        grid-row: 2/span 1;
        justify-self: start;
    }

    .hero-photo {
        grid-column: 7/span 6;
        grid-row: 1/span 6;
        z-index: 2;
    }

    .hero-body {
        grid-column: 1/span 7;
        grid-row: 3/span 4;
    }

    .footer-logo-left {
        grid-column: 2/span 2;
    }

    .footer-logo-center {
        grid-column: 6/span 2;
    }

    .footer-logo-right {
        grid-column: 10/span 2;
    }
    .footer-site-name {
        grid-column: 4/ span 6;
    }

    .footer-email {
        grid-column: 1/span 4;
    }

    .footer-phone {
        grid-column: 1/span 4;
    }

    .footer-address {
        grid-column: 1/span 5;
    }

    .footer-socials {
        grid-column: 5/span 4;
    }

    .footer-legal-links {
        grid-column: 5/span 4;
    }

    .footer-copyright {
        grid-column: 5/span 4;
    }
    .card {
        grid-column: span 4;
    }

    .two-col {
        grid-column: span 6;
    }
}

/*  X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .header {
        max-width: 1200px;
        margin: auto;
    }

    .footer-site-name {
        grid-column: 5/ span 4;
    }
    .footer-site-name h2 {
        font-size: 2rem;
    }
    .footer-email {
        grid-column: 1/span 4;
    }

    .footer-phone {
        grid-column: 1/span 4;
    }

    .footer-address {
        grid-column: 1/span 4;
    }

    .footer-socials {
        grid-column: 5/span 4;
    }

    .footer-legal-links {
        grid-column: 5/span 4;
    }

    .footer-copyright {
        grid-column: 5/span 4;
    }

    .hero-body h2 {
        font-size: 2rem;
    }

    .content-container {
        max-width: 1200px;
        margin: auto;
        column-gap: 1.25rem;
        row-gap: 1.25rem;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}