@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%;
}

body {
    width: auto;
    margin: 0 auto;
    display: grid;
    flex-direction: column;
    justify-content: center;
    max-width: 110em;
    min-height: 100vh;
    font-size: 1em;
    line-height: 1.4;
    color: #444444;
    font-family: 'Open Sans', sans-serif;
    background-color: #000000;
    background-image: url(../images/CARS.bmp);
}

header img {
    flex-shrink: 0;
    border: 1px solid #000000;
    border-radius: 25px;
}

h1 {
    padding-left: .5em;
    font-size: 1.5em;
    font-family: "Apple ][";
    box-shadow: 0px 0px #030303;
    text-shadow: 1px 1px 10px #999;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    letter-spacing: 0.5em;
    line-height: 1.9;
    text-transform: uppercase;
    font-style: normal;
}

#self-clear h1 span {
    color: #C0C0C0;
}

.siteHeader{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-items: center;
    border: 2px solid #000000;
    background-color: #00FFFF;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.siteHeader img {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.container{
    width: 100%;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
}

.brand{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.brandMark{
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #000000;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-family: "Times New Roman";
}

.brandText{
    font-size: 1.25rem;
    color: #FFFFFF;
    font-weight: 800;
}

.pageTitle{
    font-size: 2.35rem;
    color: #FFFFFF;
    letter-spacing: 0.01em;
}

.pageSub{
    margin-top: 0.5rem;
    color: #E2E8F0;
    max-width: 60rem;
    line-height: 1.4;
}

/* RESET */
.siteNav ul,
.siteNav li,
.submenu {
    list-style: none;
    margin-top: 0.2rem;
    margin-right: 0.2rem;
    margin-left: 0.2rem;
    margin-bottom: 0.2rem;
    padding-top: 0.2rem;
    padding-right: 0.2rem;
    padding-left: 0.2rem;
    padding-bottom: 0.2rem;
    background-color: #008080;
    border-radius: 1rem;
    border: 1px solid #290000;
    font-family: "Times New Roman";
}

/* HIDE CHECKBOX */
#navToggle {
    display: none;
}

/* HAMBURGER ICON (MOBILE) */
.navToggle {
    display: block;
    width: 40px;
    cursor: pointer;
    margin: 10px 0;
}

.navToggle span {
    display: block;
    height: 4px;
    background: #fff;
    margin: 6px 0;
    border-radius: 2px;
}

/* NAV WRAPPER (MOBILE HIDDEN BY DEFAULT) */
.navWrapper {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
}

/* SHOW NAV WHEN CHECKED */
#navToggle:checked ~ .navWrapper {
    display: flex;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
    border: 1px solid #000000;
    border-radius: 1rem;
    background-color: #290000;
}

/* TOP‑LEVEL NAV LIST (MOBILE = VERTICAL) */
.navList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 2px solid #000000;
    background-color: #00FFFF;
}

/* TOP‑LEVEL LINKS */
.navList > li > a {
    display: block;
    padding: 12px 16px;
    background-color: #00FFFF;
    color: #FFFFFF;
    border-radius: 0.9rem;
    border: 2px solid #FF0000;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.navList > li > a:hover {
    color: #000000;
    border-color: #fff;
    background-color: #00FFFF;
}

/* DROPDOWN (HIDDEN BY DEFAULT) */
.submenu {
    display: none;
    flex-direction: column;
    padding-left: 10px;
    gap: 6px;
    background-color: #000000;
    border: 2px solid #000000;
}

/* SHOW DROPDOWN ON MOBILE CLICK */
.has-submenu:focus-within > .submenu,
.has-submenu:active > .submenu {
    display: flex;
}

/* DROPDOWN LINKS */
.submenu li a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: #000000;
    text-align: center;
    font-family: "Times New Roman";
    font-weight: 900;
    font-size: large;
    text-decoration: none;
    border: 2px solid #00FFFF;
    background-color: #00FFFF;
}


/*
.siteNav{
    width: 100%;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    background: linear-gradient(135deg, #111827, #0B1220);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #FFFFFF1A;
}

.siteNav a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 3rem;
    border-radius: 0.9rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    color: #0B0F1A;
    background: linear-gradient(135deg, #A855F7, #22D3EE);
    border: 1px solid #FFFFFF26;
}

.siteNav a:hover{
    background: linear-gradient(135deg, #22D3EE, #34D399);
    color: #0B0F1A;
}*/



.columns{
    width: 100%;
    margin-top: 1rem;
    display: flex;
    gap: 2%;
}

.col{
    flex: 1;
    background-color: #00FFFF;
    border: 1px solid #000000;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0px 12px 26px #00000066;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.col h2{
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #220000;
    font-family: "Times New Roman";
}

.col p{
    margin-top: 0.65rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #000000;
    font-size: 1rem;
    font-family: "Times New Roman";
}

.imgBox{
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #000000;
    background-color: #290000;
    font-family: "Times New Roman";
}

.imgBox.small{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-family: "Times New Roman";
}

.imgBox img{
    max-width: 100%;
    height: auto;
    display: block;
    background-color: #290000;
    color: #C0C0C0;
}

.imgBox figcaption{
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    color: #000000;
    background-color: #C0C0C0;
    border-top: 1px solid #FFFFFF1A;
}





.grid{
    display: grid;
    gap: 1rem;
}

.card{
    background-color: #00FFFF;
    border: 1px solid #230000;
    padding: 1rem;
    border-radius: 1rem;
}

.cardImg{
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 0.95rem;
    border: 1px solid #800080;
    display: block;
    margin-bottom: 0.75rem;
}

.card h2  {
    color: #000000;
    font-family: "Times New Roman";
    text-align: center;
    padding-bottom: 10px;
}

.card p{
    line-height: 1.5;
    color: #000000;
    font-family: "Times New Roman";
}

#services .card .master {
    border: 1px solid #2E141A;
    border-radius: 0.95rem;
    background-color: #C0C0C0;
}
.card .master .group.light.box {
    border: 1px solid #330000;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    text-align: center;
    border-radius: 0.95rem;
    background-color: #00FFFF;
}
.card .master .group.dark.box {
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    text-align: center;
    border-radius: 0.95rem;
    background-color: #008080;
    border: 1px solid #000000;
}






.projects{
    width: 100%;
    margin-top: 1.5rem;
    background-color: #00FFFF;
    border: 1px solid #000000;
    border-radius: 1rem;
    padding: 1.25rem;
}

.projects h2{
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: "Times New Roman";
}

.projectRow{
    width: 100%;
}

.projectText{
    width: 48%;
    display: inline-block;
    vertical-align: top;
    padding-right: 2%;
}

.projectText h3{
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #000000;
    font-family: "Times New Roman";
}

.projectText p{
    margin-top: 0.6rem;
    line-height: 1.5;
    color: #000000;
    font-family: "Times New Roman";
}

.projectImage{
    width: 48%;
    display: inline-block;
    vertical-align: top;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #FFFFFF1A;
    background-color: #000000;
}

.projectImage img{
    max-width: 100%;
    height: auto;
    display: block;
    font-family: "Times New Roman";
    color: #FFFFFF;
}

.projectImage figcaption{
    padding: 0.6rem;
    font-size: 0.95rem;
    color: #FFFFFF;
    background-color: #000000;
    font-family: "Times New Roman";
}

.techStack{
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #000000;
    padding: 1.25rem;
    background-color: #00FFFF;
}

.techStack h2{
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #000000;
    font-family: "Times New Roman";
}

.stackList{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stackList li{
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background-color: #000000;
    border: 1px solid #000000;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
}


.siteFooter{
    background-color: #00FFFF;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
    border: 1px solid #330000;
    border-radius: 1rem;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
}


.siteFooter p{
    font-size: 1rem;
    color: #000000;
}
#footer div #home {
    color: #000000;
}

#footer div .wes-newcomb.copyright-wrapper {
    color: #000000;
}



@media screen and (min-width: 901px) {

.siteHeader {
        flex-direction: row;
        align-items: center;
}

.siteHeader img {
    width: 40%;
}

.siteHeader h1 {
    font-size: 2rem;
}

.siteNav ul {
    flex-direction: row;
    gap: 20px;
    }
}

/* DESKTOP LAYOUT (900px+) */
@media screen and (min-width: 900px) {

    /* HIDE HAMBURGER */
    .navToggle {
        display: none;
    }

    /* SHOW NAV ALWAYS */
    .navWrapper {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        background: none;
        padding: 0;
    }

    /* HORIZONTAL NAV */
    .navList {
        flex-direction: row;
        gap: 20px;
    }

    /* REMOVE MOBILE STYLING */
    .navList > li > a {
        background: none;
        border: none;
        color: #fff;
        padding: 10px 16px;
    }

    /* SEPARATORS BETWEEN ITEMS */
    .navList li + li > a {
        border-left: 1px solid #ccc;
        padding-left: 20px;
    }

    /* FIRST ITEM NO BORDER */
    .navList li:first-child > a {
        border-left: none;
    }

    /* DROPDOWN POSITIONING */
    .has-submenu {
    position: relative;
    border: 2px solid #FFFFFF;
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #eee;
        padding: 10px;
        border-radius: 6px;
        display: none;
        min-width: 180px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    /* SHOW DROPDOWN ON HOVER */
    .has-submenu:hover > .submenu {
        display: block;
    }

    /* DROPDOWN ITEM SEPARATORS */
    .submenu li + li a {
        border-top: 1px solid #ccc;
        padding-top: 10px;
    }
    
    .grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px){
    
    .siteHeader {
        flex-direction: column;
        text-align: center;
    }

    .siteHeader img {
        width: 100%;
        height: auto;
    }
    
        /* Header adjustments */
    .siteHeader h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    /* Hamburger still visible */
    .navToggle {
        display: block;
    }

    /* Nav stays vertical */
    .siteNav ul {
        flex-direction: column;
        gap: 12px;
    }
    
    .pageTitle{
        font-size: 1.85rem;
    }

    .brandText{
        font-size: 1.05rem;
    }

    .navList a{
    height: 1.85rem;
    font-size: 0.98rem;
    }

    .cardImg{
        height: 155px;
    }
}

@media screen and (max-width: 480px) {
    
    .siteHeader {
    flex-direction: column;
    text-align: center;
    }

    .siteHeader img {
        width: 100%;
        height: auto;
    }

    .siteHeader h1 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* Show hamburger */
    .navToggle {
        display: block;
        cursor: pointer;
        width: 40px;
        margin-bottom: 10px;
    }

    /* Hamburger bars */
    .navToggle span {
        display: block;
        height: 4px;
        background: black;
        margin: 6px 0;
        border-radius: 2px;
    }

    /* Hide nav lists by default */
    .navWrapper {
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    /* When checkbox is checked, show nav */
    #navToggle:checked ~ .navWrapper {
        display: flex;
    }

    /* Make lists vertical */
    .siteNav ul {
        flex-direction: column;
    }
}
