﻿:root {
    --text-color: #101010;
    --text-color_alt: #401201;
    --text-color_alt_2: #735E4C;
    --text-color_alt_3: white;
    --link-color: #37519a;
    --background-color: #D9CCC5; /*#D9CCC5*/
    --background-color_2: #8C7F73; /*#D9AE96*/
    --Taupe-color: #2E261F;
    --Champgane-color: #FCD3AE;
    --Champagne-color_2: #ffebd9;
    --Mocha-color: #CDAC8E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--Champgane-color);
    max-width: 100%;
    margin: 0 auto;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

/*NAV BAR*/

nav {
    /*position: fixed;*/
    position: sticky;
    top: 0;
    display: flex;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    background-color: var(--Mocha-color);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.02);
}

nav .left a{
    color:var(--Taupe-color);
    font-size: 22px;
    font-weight: 600;
}

nav .left {
    display: flex;
    align-items: center; /* vertically align menu icon and name */
    gap: 15px; /* optional: space between name and icon */
}

nav .right a {
    color: var(--Taupe-color);
    margin: 0 10px;
}

nav .right a:last-child {
    color: var(--Taupe-color);
    background-color: var(--Champgane-color);
    padding: 5px 15px;
    border-radius: 5px;
}

nav .right a span {
    margin-left: 5px;
}

/*------------------------------*/

nav .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--Taupe-color);
    cursor: pointer;
    margin-left: 15px;
}

.mobile-menu {
    position: absolute;
    top: 80px; /* same as nav height */
    left: 50px;
    background-color: var(--Mocha-color);

    border-radius: 2px;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-menu li {
    list-style: none;
    padding: 10px 20px;
}

.mobile-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.mobile-menu li a:hover {
    color: #007bff;
}

/*------------------------------*/

/*SECTION 1: HERO*/
.hero-section {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 0;
    gap: 40px;
    margin-bottom: 200px;

    min-height: 100vh;
    overflow: hidden;
}

.hero-section .text {
    flex: 5;
    text-align:center;
    color: ghostwhite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .text h2 {
    font-size: 45px;
}

.hero-section .text h3 {
    font-size: 45px;
}

.hero-section .text p {
    font-size: 45px;
    margin-bottom: 20px;
}

.hero-section .text .links {
    margin-top:25px;
}

.hero-section .text .links a {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: .1s;
}

.hero-section .text .links a:hover {
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

    .hero-section .headshot {
        /*flex: 2;
    display: flex;
    justify-content: center;
    
    align-items: center;
    overflow: hidden;
    width: 350px;
    height: 350px; 
    border-radius: 50%;

    flex: 2;
    display: flex;
    justify-content: right;*/
    position: relative;
    z-index: 1;

    }

.hero-section .headshot img {
    /*width: 350px;
    height: 350px;
    border-radius: 50%; 
    
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1.4); */

    width: 350px;
    border-radius: 50%;
}

.hero-section .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter:blur(0.9px);
}

.hero-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color_2); /* black, 40% opacity */
    opacity: 0.3;
    z-index: -1; /* between video and content */
}

/*
@media (min-aspect-ratio: 16/9) {
    .background-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .background-video {
        width: 100%;
        height: 100%;
    }
}
*/

/* Global Utility Wraper - Page Sections */

.section-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto 100px auto;
}

.section-wrapper .links { /*this is for button github or any relevant btn*/
    margin-top: 15px;
    margin-bottom: 15px;
}

.section-wrapper .links a {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    transition: .1s;
}

.section-wrapper .links a:hover {
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.section-wrapper h2 {
    text-align: center;
    font-size: 35px;
    margin-top: 50px;
}

.section-wrapper .group {
    display: flex;
    flex-direction: column;
    align-items: center; /* ⬅️ center all inner content horizontally */
    width: 100%;
}

.section-wrapper .group .text {
    margin-bottom: 50px;
}

.section-wrapper .group img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 50px;
}

.section-wrapper .group .text .list {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 4em;
}

.section-wrapper .group .responsive-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    display: block;
    margin-bottom: 50px;
}

.section-wrapper .group .video-portrait {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

section-wrapper .group .text .list .list-ol {
    margin-top: 30px;
    margin-bottom: 0px;
}

.section-wrapper .group .text .list .list-ul {
    margin-top: 30px;
    margin-bottom: 30px;
}

.section-wrapper .group .text ol,
.section-wrapper .group .text ul {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.section-wrapper .group .text li {
    margin-bottom: 10px;
    line-height: 1.5;
}


/*----Global Utility Wraper - Sections With Thumbnail --------------------*/

.ContentThumbnail-section {
    /*padding: 0 50px;
    margin-bottom: 100px;*/

    display: flex;
    margin-bottom: 100px;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* space between text and image */
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
    color: var(--Taupe-color);
}

.ContentThumbnail-section h2 {
    text-align: center;
    font-size: 35px;
}

.ContentThumbnail-section .cells .cell-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ContentThumbnail-section .text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 25px;
}

.ContentThumbnail-section .cells {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    /*justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;*/
    max-width: 1100px;
    margin: 0 auto;
}

.ContentThumbnail-section .cells .cell {
    /*display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;*/
    width: 100%;
    height: 300px;
    padding: 0;
    margin: 10px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ContentThumbnail-section .cells .cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    display: block;
    border-radius: 5px;
}

.ContentThumbnail-section .cells .cell .cell-overlay span {
    color: var(--Champagne-color_2);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
    font-size: 25px;
}

.ContentThumbnail-section .cells .cell-kinetic img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 50% 25%;
    display: block;
    border-radius: 5px;
}

.ContentThumbnail-section .cells .cell .cell-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Initial overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
}

.ContentThumbnail-section .cells .cell:hover .cell-overlay {
    background-color: rgba(0,0,0,0.5);
}

.ContentThumbnail-section .cells .cell span {
    font-size: 18px;
}

/* SECTION 4 ABOUT*/
.about-section {
    padding: 100px 50px;
    margin-bottom: 150px;
    margin-top: 100px;
    background-color: var(--Mocha-color);
    color: var(--Taupe-color);
}

.about-section h2 {
    font-size: 35px;
    margin-bottom: 30px;
    text-align: center;
}

.about-section .group {
    align-items: center;
    display:flex;
    gap: 50px;
}

.about-section .group .jose-details {
    text-align: center;
    flex: 2;
}

.about-section .group .jose-details img {
    width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.about-section .group .jose-details p {
    font-weight: 600;
}

.about-section .group .text {
    flex: 8;
    font-size: 25px;
    margin-bottom: 15px;
}

/* SECTION 5: Contact*/
.contact-section {
    max-width: 2400px;
    margin: 0 auto;
    padding: 150px 50px;
    background-color: var(--Mocha-color);
    color: var(--Taupe-color);
    margin-top: 150px;
    /*background-color: #f5f5f5;   Add your desired color here */
    /*padding-top: 50px;
    padding-bottom: 50px;*/
}

.contact-section h2 {
    font-size: 35px;
    text-align:center;
}

.contact-section .group {
    display: flex;
    gap: 50px;
}

.contact-section .group .text {
    flex: 3;
    text-align:center;
    font-size: 25px;
}

.contact-section .group form {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--link-color);
    background-color: transparent;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: none;
}

.contact-section .group form button {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: var(--link-color);
    border: none;
    height: 50px;
    cursor: pointer;
    transition: .1s;
}

.contact-section .group form button:hover {
    filter: brightness(.9);
}

/* -----------------MOBILES BIG SCREENS-----------------------*/

@media (max-width: 850px) {

    /*Nav Bar*/
    nav .menu-toggle {
        /*display: none;*/
    }

    /*SECTION 1: Hero*/
    .hero-section .text h2 {
        font-size: 35px;
    }

    /*SECTION 2: WORK*/
    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    /*SECTION 3: Tools*/
    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-section {
        text-align: center;
    }

    .about-section .group {
        flex-direction: column;
    }
}

/* -----MOBILES MEDIUM SCREENS----- */

@media (max-width: 740px) {
    /*Nav Bar*/

    nav {
        flex-wrap: wrap;
    }

    nav .menu-toggle {
        display: flex;
        /*flex-wrap: wrap;*/
    }

    nav .left .right {
        flex-shrink: 1;
        white-space: nowrap;
    }

    nav .right a {
        font-size: 22px;
    }

    nav .right a:last-child {
        color:var(--text-color);
        background-color: transparent;
        padding: 0;
    }

    nav .right a span {
        display: none;
    }

    /*SECTION 1: Hero*/
    .hero-section {
        justify-content:center;
        align-items: center;
        text-align: center;
    }
    .hero-section .headshot img {
        width: 300px;
    }

    .hero-section .text p {
        font-size: 40px;
    }

    /*SECTION 2: WORK*/
    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    /*SECTION 3: Tools*/
    .ContentThumbnail-section h2 {
        text-align: center;
    }

    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    } 

    /* SECTION 4 : About */
    .about-section {
        text-align: center;
    }

    .about-section .group {
        flex-direction: column;
    }

    /*SECTION 5: Contact*/
    .contact-section .group {
        flex-direction: column;
    }

    /* Gesture section */
    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* BLOG */
    .blog-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

}

/* -----MOBILES SMALL SCREENS----- */

@media (max-width: 600px) {
    /*NAV BAR*/
    nav {
        padding: 0 20px;
    }

    nav .right a {
        font-size: 22px;
    }

    nav .right a {
        font-size: 22px;
    }

    nav .right a:last-child {
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }

    nav .right a span {
        display: none;
    }
   

    /*SECTION 1:Hero*/
    .hero-section {
        padding: 0 20px;
    }

    .hero-section .text h2 {
        font-size: 30px;
    }

    /* SECTION 2: Works*/
    .ContentThumbnail-section {
        padding: 0 20px;
    }

    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ContentThumbnail-section .cells .cell span {
        font-size: 16px;
    }


    /*SECTION 3: Tools */
    .ContentThumbnail-section {
        padding: 0 20px;
    }

    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }


    /* SECTION 4: Contact*/
    .contact-section {
        padding: 50px 20px;
    }

    .contact-section .group .text {
        font-size: 20px;
    }


    /*Gesture Mapper
    .gesture-section .group .responsive-video {
        max-width: 100%;
        height: auto;
    } */

    /* BLOG */
    .ContentThumbnail-section {
        padding: 0 20px;
    }

    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ContentThumbnail-section .cells .cell span {
        font-size: 16px;
    }  
}

@media (max-width: 450px) {
    nav .right a {
        font-size: 18px; /* smaller icons */
        margin: 0 4px; /* tighter spacing */
    }

    nav {
        padding: 0 10px; /* tighter horizontal padding */
    }
}