﻿: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;
}

/*-----------MOBILE MENU TOGGLE-------------------*/

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;
    left: 50px;
    background-color: var(--Mocha-color);
    border-radius: 2px;
    padding: 20px;
    display: none;
    flex-direction: row; /* Changed from column */
    gap: 30px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: auto; /* Changed from 200px */
    min-width: 300px;
}

.mobile-menu .menu-column {
    flex: 1;
}

.mobile-menu .menu-column h3 {
    color: var(--Taupe-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(46, 38, 31, 0.2);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    list-style: none;
    padding: 8px 0;
}

.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 30px;
    margin: 0;
    gap: 40px;
    margin-bottom: 200px;

    min-height: 100vh;
    overflow: hidden;
}

.hero-section .visually-hidden {
    display: none;
}

.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: 50px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.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(1.3px);
}

.hero-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color_2); /* black, 40% opacity */
    opacity: 0.5;
    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 {
    display: flex;
    margin-bottom: 100px;
    flex-direction: column;
    align-items: center;
    gap: 0; /* Remove gap to control spacing manually */
    padding: 1rem;
    max-width: 1400px; /* Increased for larger text */
    margin: 0 auto;
    margin-top: 50px;
    color: var(--Taupe-color);
}

.ContentThumbnail-section h2 {
    position: relative;
    text-align: center;
    font-size: clamp(80px, 20vw, 280px); 
    line-height: 0.8;
    margin: 0;
    padding: 0;
    letter-spacing: -0.05em;
    z-index: 1;
    color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    margin-bottom: -100px;
}

.ContentThumbnail-section h2.loose {
  margin-bottom: -20px;
}

.ContentThumbnail-section .cells .cell-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ContentThumbnail-section .text {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px; /* Reduced from previous value */
    margin-top: 0;
    font-size: 25px;
    max-width: 900px;
}

.ContentThumbnail-section h2 .text-desktop {
    display: inline;
}

.ContentThumbnail-section h2 .text-mobile {
    display: none;
}

.ContentThumbnail-section .cells {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -60px;
}

.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 {
    position: relative;
    padding: 100px 50px;
    margin-bottom: 150px;
    margin-top: 100px;
    background-color: var(--Mocha-color);
    color: var(--Taupe-color);
    overflow: hidden;
}

.about-section h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    font-size: 22vw;  /* this is the key: size follows viewport width */
    line-height: 0.8;
    letter-spacing: -0.5vw;
    text-align: center;
    
    color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    white-space: nowrap;

    z-index: 1; /* behind content but above background */
    margin: 0;
    padding: 0;
}

.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;
}

.about-image {
  position: relative;
  width: 100%;
  min-height: 50vh; /* ensures vertical space */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image .text {
  font-size: 28px;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-top: 4vw;
  margin-bottom: 4vw;
  opacity: 0.7;
  position: relative;
  z-index: 1;
  color: ghostwhite;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.about-image .text .text-desktop {
    display: inline;
}

.about-image .text .text-mobile {
    display: none;
}

.about-image .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -2;
  filter: blur(0.1px);
  transform: scale(5.8); /* slightly zoomed out image */
  transform-origin: 48% 14%;
}

/* Overlay reused from hero section */
.about-image .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color_2);
  opacity: 0.6;
  z-index: -1; /* sits above image, below text */
}

/* Carousel texts - inside .about-image */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.text-slider {
  overflow: hidden;
  padding: 60px 0;
  color: var(--Taupe-color);
  white-space: nowrap;
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  background: transparent;
  width: 100%;
}

.text-slide {
  display: inline-flex;
  align-items: center;
  gap: 80px;
  animation: slide 35s linear infinite;
}

.text-slider::before,
.text-slider::after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  content: "";
  z-index: 2;
}

.text-slider::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--Mocha-color));
}

.text-slider::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--Mocha-color));
}

.text-slide span {
  margin: 0 40px;
  display: inline-block;
  transition: color 0.2s ease;
}

.text-slide span:hover {
  color: #fff;
}

.text-slider:hover .text-slide {
  animation-play-state: paused;
}

/* 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;
    /*font-family: 'Inter', sans-serif;*/
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 50px;
    text-align: left;
}

.contact-container h2 {
    font-size: 35px;
}

.contact-container-left {
    flex: 3;
    font-size: 25px;
}

.contact-container-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 30px;
}

.social-links {
  display: flex;
  gap: 30px; /* adjust to taste */
}

.social-links a {
  color: var(--Taupe-color);
  font-size: 40px; /* optional: increase icon size */
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  color: #fff; /* or any accent color */
}

/* -----------------MOBILES BIG SCREENS-----------------------*/

@media (max-width: 850px) {

    /*SECTION 1: Hero*/
    .hero-section .text h2 {
        font-size: 35px;
    }

    /*SECTION 2: WORK*/
    .ContentThumbnail-section h2 {
        text-align: center;

        margin-bottom: -55px;
    }

    .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;
    }

    /*SECTION 4: About*/
    .about-section {
        text-align: center;
    }

    .about-image .background {
        transform: scale(4.5);
    }

    .about-section .group {
        flex-direction: column;
    }

    .ContentThumbnail-section h2 .text-desktop {
        display: none;
    }

    .ContentThumbnail-section h2 .text-mobile {
        display: inline;
    }

    /*SECTION 5: Contact*/
    .contact-section {
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-top: 25px;
    }

    .contact-container h2 {
        font-size: 30px;
    }

    .contact-container-left {
        font-size: 20px;
    }

    .contact-container-right {
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center; /* center the icons horizontally */
    }
}

/* -----MOBILES MEDIUM SCREENS----- */

@media (max-width: 740px) {
    /*Nav Bar*/
    nav {
        flex-wrap: wrap;
    }

    nav .menu-toggle {
        display: block;
    }

    nav .right {
        display: none;
    }

    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;

        margin-bottom: -55px;
    }

    .ContentThumbnail-section .text {
        font-size: 22px;
    }

    .ContentThumbnail-section .text .text-desktop {
        display: none;
    }
    
    .ContentThumbnail-section .text .text-mobile {
        display: inline;
    }

    .ContentThumbnail-section .cells {
        display: grid;
        grid-template-columns: 1fr;
    } 

    /* SECTION 4 : About */
    .about-section {
        text-align: center;
    }

    .about-image .text .text-desktop {
        display: none;
    }

    .about-image .text .text-mobile {
        display: inline;
    }

    .about-image .background {
        transform: scale(3.6);
        transform-origin: 48% 12%;
    }

    .about-section .group {
        flex-direction: column;
    }

    /*SECTION 5: Contact*/
    .contact-section .group {
        flex-direction: column;
    }

    .social-links {
        gap: 40px;
    }

    .social-links a {
        font-size: 30px;
    }

    /* 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;
    }

    .mobile-menu {
        left: 20px;
    }

    /*MOBILE MENU*/
    .mobile-menu {
        left: 20px;
        right: 20px; /* Make it stretch on small screens */
        width: auto;
        min-width: unset;
    }

    /* ABOUT */
    .about-image .background {
        transform: scale(3);
        transform-origin: 48% 13%;
    }
}

@media (max-width: 485px) {
    .mobile-menu {
        left: 10px;
    }

    /*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;
    }

    /* ABOUT */
    .about-image .background {
        transform: scale(3.1);
        transform-origin: 48% 25%;
    }

    /* 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: 485px) {
    nav .right a {
        font-size: 18px; /* smaller icons */
        margin: 0 4px; /* tighter spacing */
    }

    nav {
        padding: 0 10px; /* tighter horizontal padding */
    }
}