/* --Foundation-- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    font-style: normal;
    font-size: 16px;
    color: #191A1E;
    box-sizing: border-box;
    background-color: #fff;
    box-sizing: border-box;
    font-family: Helvetica;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 100;
    font-size: 1.1em;
}

h1 {
    color: black;
    font-weight: 600;
    min-height: 50px;
    display: flex;
}

h2 {
    font-size: 1.5em;
    font-weight: 700;
    padding-bottom: 30px;
}

h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #969ca0;
    line-height: 1;
}
h4 {
    padding:0.5rem 0;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1.2rem;
    max-width: 800px;
    text-align: center;
    }
    #section-4 p {
  margin: 0 auto 1.2rem auto;
  text-align: center;
}

a {
    text-decoration: none;
    color: #E95420; 
    transition: color 0.3s ease;
    font-weight: 400;
    text-decoration: underline;
    font-size: 1.05em;
}

a span {
    display: inline-block;
    transition: transform .3s;
}

a:hover {
    color: #FF784E;
}

a:hover span {
    transform: translateX(5px);
}
nav a {
    color: black;
    font-weight: 400;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s;
}

nav a:hover {
    color: #969ca0;
    transform: translateY(-1px);
}
.about-me-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.about-columns {
    display: flex;  
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;

}
@media screen and (min-width: 800px) {
  .about-columns {
    flex-direction: row;
    justify-content: space-between;
  }

  .about-left,
  .about-right {
    flex: 1;
    width: 48%;
      border: 1px solid #ccc;         /* light gray border */
  padding: 1.5rem;                /* inner spacing */
  background-color: #f9f9f9;      /* subtle light gray bg */
  border-radius: 8px;             /* rounded corners */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);  /* soft shadow */

  }
}



/* Typography Media Queries */
@media only screen and (min-width: 800px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 1500px) {
    body {
        font-size: 18px;
    }

    h2 {
        font-size: 3.75vw;
    }
}




/* Buttons */
.primary-btn {
    background-color: #191A1E;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: .9em;
    margin: 15px 0;
    cursor: pointer;
    font-family: Helvetica;
    border-radius: 10px;
    border: 2px solid #191A1E;
    transition: all .3s;
}

.primary-btn:hover {
    background-color: transparent;
    color: #191A1E;
}




/* Layout */
section {
    box-sizing: border-box;
    position: relative;
    padding: 75px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../img/splash-temp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.hero button {
    margin: 15px 25px;
}

#project {
    padding-top: 50px;
}
/* === Project Template Refinements === */
main#project {
  max-width: 1200px;
  margin: 0 auto;
}

/* Make left/right text columns look balanced on project page */
#project .col-left,
#project .col-right {
    max-width: 600px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Ensure headers are consistent in style */
#project h4 {
    font-size: 1.3em;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #191A1E;
}

/* Add unique hyperlink style */
#project a {
    color: #E95420; /* Vivid orange for portfolio highlight */
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

#project a:hover {
    color: #FF784E; /* Lighter orange on hover */
}

.col-left {
    margin: auto;
    margin-bottom: 35px;
}

.col-right {
    margin: auto;
    margin-bottom: 35px;
}

.auto-width {
    width: 80%;
}

.col-30,
.col-40,
.col-50,
.col-60,
.col-80 {
    width: 80%;
}

.full-width {
    width: 100%;
    height: 100%;
}

.margin-auto {
    margin: auto;
}

.center-text {
    text-align: center;
}

.round-corners {
    border-radius: 10px;
}

.video-fill {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or "contain" if you don't want cropping */
    display: block;
}

/* Layout Media Queries */
@media only screen and (min-width: 800px) {
    section {
        flex-direction: row;
    }

    section.flex-reverse {
        flex-direction: row-reverse;
    }

    .col-left {
        margin: auto;
        margin-left: 10%;
        margin-right: 5%;
    }

    .col-right {
        margin: auto;
        margin-right: 10%;
        margin-left: 5%;
    }

    .auto-width {
        width: auto;
    }

    .col-30 {
        width: 30%;
    }

    .col-40 {
        width: 40%;
    }

    .col-50 {
        width: 50%;
    }

    .col-60 {
        width: 60%;
    }
}

@media screen and (min-width: 1025px) {
    section.full-height {
        min-height: 100vh;
        padding: 100px 0;
    }
}




/* Header & Navigation */
header {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    z-index: 998;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0);
    transition: all .3s;
}

.header-solid {
    background-color: rgba(255, 255, 255, 1);
}

/*Mobile Menu & Button Animation*/
.mobile-nav-input {
    display: none;
}

.menu--1 label {
    display: block;
    cursor: pointer;
    position: fixed;
    width: 25vw;
    height: 25vw;
    max-width: 80px;
    max-height: 80px;
    top: -5px;
    right: 0;
    z-index: 998;
    padding: 0 10px;
}

.menu--1 path {
    fill: none;
    stroke: #000;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: all .8s cubic-bezier(.645, .045, .355, 1);
}

.menu--1 circle {
    fill: #fff3;
    opacity: 0;
}

.menu--1 label:hover circle {
    opacity: 1;
}

.cross input:checked+svg .line--1,
.cross input:checked+svg .line--3 {
    --length: 22.627416998;
}

.cross input:checked+svg .line--2 {
    --length: 0;
}

.back input:checked+svg .line--1,
.back input:checked+svg .line--3 {
    --length: 8.602325267;
}


.menu--1 .line--1,
.menu--1 .line--3 {
    --total-length: 126.64183044433594;
}

.menu--1 .line--2 {
    --total-length: 70;
}

.menu--1 input:checked+svg .line--1,
.menu--1 input:checked+svg .line--3 {
    --offset: -94.1149185097;
}

.menu--1 input:checked+svg .line--2 {
    --offset: -50;
}

nav a {
    margin-right: 0;
    margin-bottom: 35px;
}

nav a:last-of-type {
    margin-right: 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: -110%;
    flex-direction: column;
    z-index: 997;
    height: 100vh;
    width: 100vw;
    background-color: #F1F3F5;
    transition: right 1s;
    font-size: 2em;
    opacity: 1;
    font-weight: 600;
}

.show-nav-mob {
    right: 0;
}

.overflow-mob {
    width: 110%;
}

/* Mobile Menu Media Queries */
@media screen and (min-width: 800px) {
    .menu--1 {
        display: none;
    }

    nav {
        float: right;
        position: fixed;
        right: 0;
        top: 15px;
        width: 50%;
        padding: 10px 30px;
        background-color: transparent;
        z-index: 999;
        height: auto;
        width: auto;
        flex-direction: row;
        font-size: 1em;
    }

    nav a {
        margin-right: 35px;
        margin-bottom: 0;
    }

    nav a:last-of-type {
        margin-right: 0;
    }

    .overflow-mob {
        width: 40%;
    }
}




/* Grid */
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1208px, 1fr)); /* was 500px */
  gap: 3rem;
  padding: 5rem 3rem; /* larger padding */
  max-width: none;  /* you can increase this if you want full-width spread */
  margin: 0 auto;
  justify-items: center;
}

.grid-wrapper a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.grid-wrapper a > article {
   display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.grid-wrapper a:hover {
    transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.grid-wrapper figure {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.grid-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.grid-wrapper a:hover img {
  transform: scale(1.05);
}
.grid-item-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}   
  .grid-item-text h4 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
}

.grid-wrapper article:hover .grid-item-text {
    opacity: 1;
}


/* Grid Media Queries */
@media screen and (min-width: 800px) {
    .grid-wrapper a {
        border: 1px solid rgb(148, 149, 155);
    }
}

@media screen and (min-width: 1024px) {
    .grid-wrapper a {
        width: 33.333%;
    }
}



/* Feature Boxes */
.feature-box-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature-box {
    width: 30%;
    margin: 15px 0;
    padding: 10% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #F1F3F5;
}

.feature-box img {
    width: 15%;
    min-width: 50px;
    margin: 15px;
}




/* Slider */
.slider {
    width: 100%;
    aspect-ratio: 2/1;
    position: relative;
    overflow: hidden;
    /* <===  */
    border-radius: 15px;
}

.slide {
    width: 100%;
    aspect-ratio: 2/1;
    position: absolute;
    transition: all 0.5s;
}

.slide img {
   width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #f9f9f9;
}

.btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
}

.btn:active {
    transform: scale(1.1);
}

.btn-prev {
    top: 45%;
    left: 2%;
}

.btn-next {
    top: 45%;
    right: 2%;
}




/* Footer */
footer {
    display: flex;
    align-items: center;
    padding: 30px;
    margin-top: 100px;
    background-color: #191A1E;
    color: #fff;
}

.linkedin-btn {
    position: relative;
    width: 35px !important;
    height: 35px;
    z-index: 20;
    background: url("../img/ico-linkedin-light.svg") no-repeat;
    transition: all .25s ease-in-out;
    margin-right: 30px;
}

.twitter-btn {
    position: relative;
    width: 35px !important;
    height: 35px;
    z-index: 20;
    background: url("../img/ico-twitter-light.svg") no-repeat;
    transition: all .25s ease-in-out;
}

#copyright {
    margin-left: auto;
    margin-bottom: 0;
    font-size: .85em;
}