/* --Foundation-- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    font-style: normal;
    font-size: 18px;
    color: #fff;
    box-sizing: border-box;
    background-color: #191A1E;
    font-family: Helvetica;
}

img {
    width: 100%;
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h1 {
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    font-size: 1.4em;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    padding-bottom: 30px;
}

h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #969ca0;
    line-height: 1.3;
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    opacity: .85;
    font-weight: 300;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s, transform .3s;
    font-weight: 400;
    font-size: 1em;
}

a span {
    display: inline-block;
    transition: transform .3s;
}

a:hover {
    color: #969ca0;
}

a:hover span {
    transform: translateX(5px);
}

/* Typography Media Queries */
@media only screen and (min-width: 800px) {
    body {
        font-size: 18px;
    }

    h2 {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 1500px) {
    body {
        font-size: 20px;
    }

    h2 {
        font-size: 3.75vw;
    }
}


/* Buttons */
.primary-btn {
    background-color: #fff;
    color: #191A1E;
    border: none;
    padding: 32px 76px;
    font-weight: bold;
    font-size: 1.2em;
    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;
}
.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: 75px;
}

.hero video {
    margin: auto;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    z-index: 1;
    object-fit: cover;
}

.hero #mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.hero article {
    position: relative;
    z-index: 3;
    color: white;
}

.hero h2 {
    font-size: 20em;
    font-weight: 700;
}

.hero-name {
    font-size: 7em !important;
    white-space: nowrap;
}

.hero button {
    margin: 15px 25px;
    font-size: 2.2em;
}

#project {
    padding-top: 50px;
}

.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%;
}

.margin-auto {
    margin: auto;
}

.center-text {
    text-align: center;
}

.round-corners {
    border-radius: 10px;
}

/* Project image consistency */
#section-3 figure img,
.flex-reverse figure img,
section figure img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
}

/* Project sections alignment */
#section-3,
section.flex-reverse,
section:has(figure) {
    padding: 75px 10%;
    box-sizing: border-box;
}

/* 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: 0;
        margin-right: 5%;
    }

    .col-right {
        margin: auto;
        margin-right: 0;
        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: transparent;
    transition: all .3s;
    color: #fff;
}

.header-solid {
    background-color: rgba(25, 26, 30, 0.95);
    color: #fff;
    backdrop-filter: blur(10px);
}

.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;
    font-size: 1.1em;
}

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: 1.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: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-wrapper a {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.grid-wrapper figure {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.grid-wrapper figure img,
.grid-wrapper figure iframe,
.grid-wrapper figure video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform .3s;
}

.grid-item-text {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
}

.grid-wrapper article:hover .grid-item-text {
    opacity: 1;
}

.grid-wrapper article:hover figure img,
.grid-wrapper article:hover figure iframe,
.grid-wrapper article:hover figure video {
    transform: scale(1.5);
}

.grid-item-text h4 {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 8px;
}

.grid-item-text h5 {
    font-size: 1em;
    font-weight: 400;
    opacity: 0.85;
    padding: 0 20px;
    text-align: center;
}

/* Grid Media Queries */
@media screen and (min-width: 800px) {
    .grid-wrapper a {
        width: 50%;
        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: center;
    gap: 24px;
    width: 100%;
}

.feature-box {
    flex: 1 1 200px;
    max-width: 32%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #F1F3F5;
}

section.feature-section {
    flex-direction: column;
    align-items: center;
}

.feature-box img {
    width: 15%;
    min-width: 50px;
    margin: 15px;
}

.feature-box h3 {
    font-size: 1em;
    margin: 5px 0;
}


/* Skills Section */
.skills-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 75px 0%;
    box-sizing: border-box;
}

.skills-section h3 {
    color: #fff;
    font-size: 2.5em;
    padding-bottom: 10px;
    margin-bottom: 0;
    margin-top: 20px;
}

.svg-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin: 10px 0 30px 0;
}

.svg-row img {
    width: 80px !important;
    height: 80px !important;
    min-width: unset !important;
    object-fit: contain;
}


/* 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: cover;
}

.btn {
    position: absolute;
    width: 100px;
    height: 100px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    background-color: #fff;
    font-size: 50px;
}

.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 10%;
    margin-top: 100px;
    background-color: #191A1E;
    color: #fff;
}

.linkedin-btn {
    position: relative;
    width: 38px !important;
    height: 38px;
    z-index: 20;
    background: url("../img/ico-linkedin-light.svg") no-repeat;
    background-size: contain;
    transition: all .25s ease-in-out;
    margin-right: 30px;
}

.youtube-btn {
    position: relative;
    width: 38px !important;
    height: 38px;
    z-index: 20;
    background: url("../img/youtube.svg") no-repeat;
    background-size: contain;
    filter: invert(1);
    transition: all .25s ease-in-out;
    margin-right: 30px;
}

#copyright {
    margin-left: auto;
    margin-bottom: 0;
    font-size: 1em;
}


/* Custom */
.fireflies {
    font-family: 'Zain Bold';
    color: #F6B832;
}

h2 .fireflies,
p .fireflies,
h3 .fireflies {
    color: #F6B832 !important;
    font-style: italic;
}

#section-1 {
    padding-bottom: 50px;
}


/* ========================
   ABOUT PAGE
   ======================== */

/* About Hero */
.about-hero {
     background-image: none;
     background-color: #191A1E;
     margin-bottom: 0;
     flex-direction: row !important;
     align-items: stretch !important;
     justify-content: stretch !important;
     padding: 0 !important;
     min-height: 100vh;
}

.about-hero-left {
     width: 50%;
     height: 100vh;
     overflow: hidden;
     flex-shrink: 0;
}

.about-hero-left img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center top;
     display: block;
}

.about-hero-right {
     width: 50%;
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: 80px 8%;
     box-sizing: border-box;
     z-index: 3;
}

.about-tagline {
     font-size: 1em;
     letter-spacing: 0.15em;
     text-transform: uppercase;
     color: #F6B832;
     opacity: 1;
     margin-bottom: 15px;
     font-weight: 500;
}

.about-hero-right h2 {
     font-size: 5em;
     font-weight: 700;
     line-height: 1;
     padding-bottom: 15px;
     color: #fff;
}

.about-hero-right h3 {
     color: #F6B832;
     font-size: 1.1em;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     margin-bottom: 30px;
}

.about-hero-right .primary-btn {
     align-self: flex-start;
}


/* Process Section */
.process-section {
     flex-direction: column;
     align-items: center;
     padding: 100px 10%;
     box-sizing: border-box;
}

.process-section h2 {
     color: #fff;
     margin-bottom: 40px;
     font-size: 2.5em;
}

.process-steps {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 20px;
     width: 100%;
}

.process-step {
     padding: 28px 24px;
     border: 1px solid #F6B832;
     border-radius: 10px;
     background-color: #1e1f24;
     box-sizing: border-box;
     position: relative;
}

.process-step:not(:nth-child(4)):not(:nth-child(8))::after {
     content: '→';
     color: #F6B832;
     font-size: 1.4em;
     position: absolute;
     right: -16px;
     top: 50%;
     transform: translateY(-50%);
     z-index: 1;
}

.step-number {
     font-size: 2.5em;
     font-weight: 700;
     color: #F6B832;
     opacity: 0.5;
     margin-bottom: 12px;
     line-height: 1;
}

.process-step h3 {
     color: #fff;
     font-size: 24px;
     margin-bottom: 10px;
     line-height: 1.3;
}

.process-step p {
     font-size: 18px;
     margin-bottom: 0;
     line-height: 1.7;
     opacity: 0.85;
}

/* Mobile */
@media only screen and (max-width: 799px) {
     .process-steps {
          grid-template-columns: 1fr;
          gap: 12px;
     }

     .process-step::after {
          display: none;
     }
}


/* Hobbies Section */
.hobbies-section {
     flex-direction: column;
     align-items: center;
     padding: 100px 10%;
     box-sizing: border-box;
     background-color: #1e1f24;
}

.hobbies-section h2 {
     color: #fff;
     margin-bottom: 20px;
     font-size: 2.5em;
}

.hobbies-grid {
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     gap: 24px;
}

.hobby-card {
     flex: 1 1 250px;
     padding: 35px;
     border-radius: 10px;
     background-color: #26272c;
     box-sizing: border-box;
}

.hobby-card h3 {
     color: #fff;
     font-size: 1.4em;
     margin-bottom: 14px;
}

.hobby-card p {
     font-size: 1.05em;
     line-height: 1.7;
}

.hobby-card .primary-btn {
     margin-top: 10px;
}


/* About Bio Section */
.about-bio-section {
     flex-direction: column;
     align-items: center;
     padding: 100px 10%;
     box-sizing: border-box;
}

.about-bio-inner {
     display: flex;
     flex-direction: column;
     gap: 50px;
}

.about-bio-photo {
     width: 100%;
}

.about-bio-photo img {
     width: 100%;
     height: 400px;
     object-fit: cover;
     border-radius: 10px;
}

.about-bio-text h2 {
     color: #fff;
     margin-bottom: 14px;
     font-size: 2.5em;
}

.about-bio-text p {
     font-size: 1.1em;
     line-height: 1.8;
}


/* About Page Media Queries */
@media only screen and (min-width: 800px) {
     .about-bio-inner {
          flex-direction: row;
          align-items: flex-start;
     }

     .about-bio-photo {
          width: 35%;
          flex-shrink: 0;
     }

     .about-bio-text {
          flex: 1;
     }
}

@media only screen and (max-width: 799px) {
     .about-hero {
          flex-direction: column !important;
     }

     .about-hero-left {
          width: 100%;
          height: 50vh;
     }

     .about-hero-right {
          width: 100%;
          padding: 50px 8%;
     }

     .about-hero-right h2 {
          font-size: 3em;
     }

     .process-steps {
          grid-template-columns: 1fr;
     }

     .process-step::after {
          display: none;
     }
}

.process-step {
     padding: 28px 24px;
     border: 1px solid #F6B832;
     border-radius: 10px;
     background-color: #1e1f24;
     box-sizing: border-box;
     position: relative;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     cursor: pointer;
}

.process-step:hover {
     transform: scale(1.08);
     box-shadow: 0 0 30px rgba(246, 184, 50, 0.3);
     z-index: 10;
}

//* Page transition blur */
.page-blur-out {
     animation: blurOut 0.5s ease forwards;
}

@keyframes blurOut {
     0% { filter: blur(0px); opacity: 1; }
     100% { filter: blur(20px); opacity: 0; }
}

/* Body blur in for about page */
body.blur-entry {
     animation: blurIn 0.6s ease forwards;
}

@keyframes blurIn {
     0% { filter: blur(20px); opacity: 0; }
     100% { filter: blur(0px); opacity: 1; }
}

.hero article h2 {
     animation: fadeInUp 0.8s ease 0.1s forwards;
     opacity: 0;
}

.hero article h3 {
    font-size: 2.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}

.hero article p {
    font-size: 2.2em;
    line-height: 1.7;
    opacity: .85;
    font-weight: 300;
    margin-bottom: 15px;
}
.hero article a {
     animation: fadeInUp 0.8s ease 0.9s forwards;
     opacity: 0;
}

@keyframes fadeInUp {
     0% {
          opacity: 0;
          transform: translateY(30px);
          filter: blur(8px);
     }
     100% {
          opacity: 1;
          transform: translateY(0);
          filter: blur(0px);
     }
}
/* ========================
   CONTACT PAGE
   ======================== */

.contact-hero {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     padding: 120px 10% 80px 10%;
     box-sizing: border-box;
}

.contact-hero-inner {
     display: flex;
     flex-direction: column;
     gap: 60px;
     width: 100%;
}

.contact-hero-text h2 {
     font-size: 5em;
     font-weight: 700;
     color: #fff;
     padding-bottom: 20px;
     line-height: 1;
}

.contact-intro {
     font-size: 1.2em;
     line-height: 1.8;
     opacity: 0.85;
     margin-bottom: 5px;
}

.contact-location {
     font-size: 1em;
     opacity: 0.6;
     margin-top: 10px;
}

.services-list {
     list-style: none;
     padding: 0;
     margin: 24px 0 20px 0;
     display: flex;
     flex-direction: column;
     gap: 12px;
}

.services-list li {
     font-size: 1.1em;
     line-height: 1.5;
     opacity: 0.9;
     padding: 12px 20px;
     background-color: #1e1f24;
     border-left: 3px solid #F6B832;
     border-radius: 0 8px 8px 0;
     transition: background-color 0.3s, transform 0.3s;
}

.services-list li:hover {
     background-color: #26272c;
     transform: translateX(6px);
}

.contact-links {
     display: flex;
     flex-direction: column;
     gap: 16px;
     width: 100%;
}

.contact-card {
     display: flex;
     flex-direction: row;
     align-items: center;
     gap: 20px;
     padding: 20px 24px;
     border-radius: 12px;
     background-color: #1e1f24;
     border: 1px solid #2a2b30;
     transition: border-color 0.3s, transform 0.3s, background-color 0.3s;
     color: #fff;
     text-decoration: none;
}

.contact-card:hover {
     border-color: #F6B832;
     background-color: #26272c;
     transform: translateX(8px);
     color: #fff;
}

.contact-card-text {
     display: flex;
     flex-direction: row;
     align-items: center;
     gap: 16px;
     flex: 1;
}

.contact-card-label {
     font-size: 0.8em;
     letter-spacing: 0.12em;
     text-transform: uppercase;
     color: #F6B832;
     font-weight: 600;
     min-width: 90px;
}

.contact-card-value {
     font-size: 1em;
     color: #fff;
     opacity: 0.85;
}

.contact-card-arrow {
     font-size: 1.4em;
     color: #F6B832;
     flex-shrink: 0;
     transition: transform 0.3s;
}

.contact-card:hover .contact-card-arrow {
     transform: translateX(6px);
}

.contact-links {
     display: flex;
     flex-direction: column;
     gap: 12px;
     width: 100%;
     margin-top: 30px;
}
/* Contact page padding fix */
body.contact-page main section {
     padding-left: 10%;
     padding-right: 10%;
}
.about-bio-text p strong {
     font-weight: 700;
     opacity: 1;
     color: #fff;
}
.about-bio-photo img {
     width: 100%;
     height: 100%;
     min-height: 600px;
     object-fit: cover;
     object-position: center top;
     border-radius: 10px;
}

.about-bio-photo {
     width: 35%;
     flex-shrink: 0;
     align-self: stretch;
}