@font-face {
    font-family: chewy;
    src: url(../Fonts/Chewy-Regular.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #fffaf0;
}

/* nav bar */
.nav-bar {
    height: 100px;
    width: 100%;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-bg {
background: rgba(255, 250, 240, 0.17);
backdrop-filter: blur(8.3px);
-webkit-backdrop-filter: blur(8.3px);
}

.nav-logo {
    width: 30%;
    height: 100px;
    margin-left: 40px;
}

.nav-logo img {
    height: 100%;
    object-fit: cover;
}

.nav-pills {
    width: 70%;
    margin-right: 40px;
}

.nav-list {
    display: flex;
    height: 100px;
    justify-content: flex-end;
    align-items: center;
}

.nav-pill {
    list-style: none;
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    margin-left: 25px;
    margin-right: 25px;
}

.nav-pill a {
    text-decoration: none;
    color: #050609;
}


.light-text a {
    color: #fffaf0;
}

.cta-pill a {
    color: #fffaf0;
}

.cta-pill {
    background-color: #7b449b;
    border-radius: 50px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
}


/* home */

.container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
    background: #000;
}


/* ===============================
   SLIDE WRAPPER
================================ */

.slide {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===============================
BASE SLIDE ITEM (PREVIEWS)
================================ */

.slide .item {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    transition:
        transform 1.1s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.9s ease,
        box-shadow 0.9s ease;
}

/* ===============================
ACTIVE / MAIN SLIDE
================================ */

.slide .item:nth-child(1) {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
}

/* ===============================
   PREVIEW STACK (BOTTOM RIGHT)
================================ */

.slide .item:nth-child(2) {
    right: 24px;
    bottom: 24px;
    z-index: 4;
}

.slide .item:nth-child(3) {
    right: 24px;
    bottom: 96px;
    z-index: 3;
}

.slide .item:nth-child(4) {
    right: 24px;
    bottom: 168px;
    z-index: 2;
}

/* hide any extra slides */
.slide .item:nth-child(n + 5) {
    opacity: 0;
    pointer-events: none;
}

/* ===============================
   SLIDE CONTENT
================================ */

.item .content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 360px;
    color: #ffffff;
    display: none;
    z-index: 5;
}

/* show content only on active slide */
.slide .item:nth-child(1) .content {
    display: block;
}

/* ===============================
   TEXT + BUTTON STYLES
================================ */

.content .name {
    /* font-size: clamp(28px, 4vw, 42px); ok to keep clamp here */
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    animation: slideFade 0.8s ease forwards;
    font-family: "cofo-glassier", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.04em;
    font-size: 64px;
}

.content .des {
    margin: 12px 0 22px;
    opacity: 0;
    animation: slideFade 0.8s ease 0.2s forwards;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
}

.content button {
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.75);
    opacity: 0;
    animation: slideFade 0.8s ease 0.4s forwards;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
}

.content button:hover {
    background: #ffffff;
}

/* ===============================
   PREVIEW HOVER EFFECT
================================ */

.slide .item:nth-child(2):hover,
.slide .item:nth-child(3):hover,
.slide .item:nth-child(4):hover {
    transform: translateY(-6px);
}

/* ===============================
   TEXT ANIMATION
================================ */

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(32px);
        filter: blur(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ===============================
   NAVIGATION BUTTONS
================================ */

.button {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.button button {
    width: 40px;
    height: 34px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.7);
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: 0.3s;
}

.button button:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.slide .item.dark-text .content {
    color: #050609;
}

/* home - me */
.me-home {
    width: 100%;
    height: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.me-text {
    width: 70%;
    margin-left: 15%;
}

.me-text h2 {
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 28px;
    text-align: center;
    color: #050609;
}

.me-text p {
    color: #050609;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    text-align: center;
}

.me-text a {
    color: #050609;
    text-decoration: none;
}

.me-text a:hover {
    color: #7b449b;
}

.about-link {
    margin-top: 10px;
    width: 124px;
    margin-left: 45%;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: rgba(189, 154, 200, 0.75);
    opacity: 0;
    animation: slideFade 0.8s ease 0.4s forwards;
}


.strengths {
    width: 100%;
    height: 375px;
}

.strengths h2 {
    color: #050609;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 28px;
    text-align: center;
}

.strengths h2::after {
    content: "";
    display: block;
    width: 40px;        /* length of the line */
    height: 2.5px;        /* thickness */
    background-color: #7b449b; /* accent color */
    margin: 5px auto 0; 
    border-radius: 2px;
}

.strengths-cards-parent {
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.strength-card {
    background-color: #f3e8fa; 
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 275px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.strength-card h3 {
    font-family: "cofo-glassier", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #050609;
    font-size: 49px;
    text-align: center;
    margin-bottom: 10px;
}

.strength-card p {
    color: #050609;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
}

.strength-card a {
    color: #4c2c70; 
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    margin-top: auto;
}


.strength-card a:hover {
    color: #7b449b;
}

/* footer */
footer {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #bd9ac8;
    margin-top: 20px;
}

.footer-logo {
    width: 130px;
    margin-top: 10px;
}

.footer-text {
    display: flex;
    margin-top: -10px;
}

.footer-text a {
    color: #050609;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    text-decoration: none;
}

.footer-dots {
    display: flex;
    width: 1px;
    margin-left: 7px;
    margin-top: 4px;
    margin-right: 15px;
}

.footer-dots img {
    width: 10px;
}






/* portfolio page */
.portfolio-heading {
    margin-top: 120px;
}

.portfolio-heading h1 {
    font-family: "cofo-glassier", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 85px;
    margin-left: 50px;
    margin-top: 50px;
    color: #050609;
}

.folio {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.type-heading {
    font-family: "cofo-glassier", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    color: #050609;
    margin-left: 50px;
    margin-top: 10px;
    margin-bottom: -5px;
}

.extra-gaps {
    margin-top: 30px;
    margin-bottom: -15px;
}

.row {
    display: flex;
    margin-top: 10px;
}

.project {
    width: 45%;
    height: 500px;
    background-color: #7b449b;
    border-radius: 20px;
}

.p1 {
    margin-left: 60px;
    margin-right: 15px;
}

.p2 {
    margin-right: 50px;
    margin-left: 15px;
}

.project-parent {
    width: 100%;
    height: 100%;
}

.project-parent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.project-parent {
    position: relative;
}

.project-text {
    position: absolute;
    bottom: 25px;
    left: 20px;
}

.project-text h2 {
    font-size: 28px;
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #050609;
}

.project-text h3 {
    font-size: 16px;
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #050609;
}

.light-text {
    color: #fffaf0;
}

.extra-rows {
    margin-top: 25px;
}

.footer-top-margin {
    margin-top: 30px;
}


/* individual project pages */
.project-banner {
    width: 100%;
    height: calc(100vh);
    position: relative;
}

.project-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-text {
    position: absolute;
    right: 50px;
    bottom: 5%;
}

.info-text h1 {
    font-family: "cofo-glassier", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 85px;
    text-align: right;
}

.info-text h2 {
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 21px;
    margin-top: -10px;
}

.project-info {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
}



/* bonkers! */
.project-information {
    max-width: 1200px;
    margin: 40px auto 40px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.brief {
    margin: 0;
}

.brief h2 {
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    margin-bottom: 5px;
}

.brief p {
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0;
}


.meta {
    padding-top: 6px; /* optical alignment with brief heading */
}

.meta-item {
    margin-bottom: 20px;
}

.meta-item span {
    display: block;
    font-family: "area-normal", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 4px;
}

.meta-item p {
    margin: 0;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
}


/* mockups */
.mockups {
    width: 100%;
    height: auto;
}

.hero-mock {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
}

.hero-mock img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: #7b449b;
}

.second-hero-mock {
    width: 100%;
    height: 650px;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.second-hero-mock img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: #7b449b;
}

.first-mock {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.first-mock img {
    width: 38.5%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: #7b449b;
}

.mock-margin-right {
    margin-right: 20px;
}

.mock-margin-left {
    margin-left: 20px;
}

.second-mock {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.last-mock {
    margin-bottom: 15px;
}

.second-mock img {
    width: 38.5%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: #7b449b;
}

.bigger-hero-mock {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
}

.bigger-hero-mock img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    object-position: 50% 40%;
    background-color: #7b449b;
}


.flip-book {
    width: 100%;
    height: 750px; /* fixed hero height */
    display: flex;
    justify-content: center;
    overflow: hidden; /* this crops anything spilling outside */
    border-radius: 20px; /* optional, matches your style */
}


.flip-book-2 {
    width: 100%;
    height: 675px; /* fixed hero height */
    display: flex;
    justify-content: center;
    overflow: hidden; /* this crops anything spilling outside */
    border-radius: 20px; /* optional, matches your style */
}

.brief i {
    font-size: 15px;
}

.brief a {
    text-decoration: none;
    color: #050609;
}









.site-footer {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-footer {
    width: 150px;
}

.email-footer {
    margin-top: -15px;
}

.email-footer a {
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #050609;
    text-decoration: none;
}



/* about */

.about-intro {
    width: 100%;
    height: 450px;
    display: flex;
    margin-top: 100px;
}

.intro-text {
    width: 60%;
    margin-left: 50px;
}

.intro-text h2 {
    font-family: "cofo-glassier", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
    margin-top: 30px;
}

.intro-text h3 {
    color: #050609;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 28px;
}

.intro-text p {
    color: #050609;
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    width: 60%;
}

.intro-img-parent {
    width: 40%;
    height: 70%;
    margin-right: 80px;
}

.intro-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.ed-ex {
    width: 100%;
    display: flex;
}

.education {
    width: 50%;
    height: auto;
    margin-left: 50px;
}

.education h2 {
    font-family: "cofo-glassier", sans-serif;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #050609;
}

.education-item, .exp-item {
    margin-bottom: 25px;

}

.education-item h3, .exp-item h3 {
    font-family: "area-normal", sans-serif;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #050609;
}

.education-item span, .exp-item span {
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    color: #555;
}

.experience {
    width: 50%;
    height: auto;
    margin-left: 100px;
}

.experience h2 {
    font-family: "cofo-glassier", sans-serif;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #050609;
}

.exp-item p {
    font-family: "area-normal", sans-serif;
    font-weight: 500;
    font-size: 16px;
    width: 70%;
}



.unfloured-slide {
    background-image: url('../media/img/unfloured-sign.jpg');
    background-position: center;
    background-size: cover;
}

.bonkers-slide {
    background-image: url('../media/img/bonkers-dieline.jpg');
    background-position: center;
    background-size: cover;
}


.photography-parent {
    width: 100%;
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.photos-left {
    width: 50%;
    margin-right: 10px;
    margin-left: 40px;
}

.photos-right {
    width: 50%;
    margin-left: 10px;
    margin-right: 40px;
}

.landscape-img {
    width: 100%;
    height: 497px;
    margin-bottom: 20px;
}

.landscape-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landscape-longer-img {
    width: 100%;
    height: 535px;
    margin-bottom: 20px;
}

.landscape-longer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-portraits {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

.portrait-img-small {
    width: 50%;
    height: 535px;
}

.portrait-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-left {
    margin-right: 10px;
}

.small-right {
    margin-left: 10px;
}




@media only screen and (max-width: 600px) {

container {
        height: 85vh;
    }

    /* Hide preview thumbnails */
    .slide .item:nth-child(2),
    .slide .item:nth-child(3),
    .slide .item:nth-child(4) {
        display: none;
    }

    /* Centre background image properly */
    .slide .item {
        background-position: center center;
        background-size: cover;
    }

    /* Move text to bottom right */
    .item .content {
        bottom: 30px;
        right: 20px;
        left: auto;
        top: auto;
        transform: none;
        max-width: 80%;
        text-align: right;
    }

    /* Scale hero text */
    .content .name {
        font-size: 32px;
    }

    .content .des {
        font-size: 14px;
    }

    .content button {
        font-size: 14px;
        padding: 8px 18px;
    }

    /* About blurb */
    .me-text {
        width: 90%;
        margin: 0 auto;
    }

    .me-text h2 {
        font-size: 22px;
    }

    .me-text p {
        font-size: 14px;
    }

    /* Strength cards stack */
    .strengths {
        height: auto;
        padding-bottom: 40px;
    }

    .strengths-cards-parent {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }

    .strength-card {
        width: 100%;
        max-width: 350px;
    }

    .strength-card h3 {
        font-size: 28px;
    }

    .unfloured-slide {
        background-image: url('../media/img/unfloured-mobile.jpg');
    }

    .bonkers-slide {
    background-image: url('../media/img/bonkers-mobile.jpg');
    }




    /* portfolio overview */

    .portfolio-heading {
        margin-top: 100px;
        padding: 0 20px;
    }

    .portfolio-heading h1 {
        font-size: 42px;
        margin-left: 0;
        margin-top: 30px;
    }

    .type-heading {
        font-size: 28px;
        margin-left: 0;
        margin-top: 30px;
    }

    .row {
        flex-direction: column;
        margin-top: 20px;
        padding: 0 20px;
        gap: 20px;
    }

    .p1,
    .p2 {
        margin: 0;
    }

    .project {
        width: 100%;
        height: 300px;
    }

    .project-parent img {
        height: 100%;
        object-fit: cover;
    }

    .project-text {
        bottom: 20px;
        left: 15px;
    }

    .project-text h2 {
        font-size: 20px;
    }

    .project-text h3 {
        font-size: 14px;
    }




    /* bonkers! */

  .project-banner {
        height: 50vh; 
    }

    .project-banner img {
        height: 100%;
        object-fit: cover;
    }

    .info-text {
        position: absolute;
        bottom: 15px;
        right: 15px;  
        left: auto;   
        top: auto;
        text-align: right;
        width: 90%;
    }

    .info-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .info-text h2 {
        font-size: 16px;
    }

    .project-information {
        display: flex;
        flex-direction: column; 
        padding: 20px 15px;
        gap: 20px;
    }

    .brief {
        max-width: 100%;
    }

    .brief h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .brief p {
        font-size: 14px;
        line-height: 1.5;
    }


    .meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 15px;
        margin-top: 15px;
        margin-bottom: -60px;
    }

    .meta-item span {
        font-size: 10px;
    }

    .meta-item p {
        font-size: 13px;
        margin: 0;
    }

    .mockups {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px 30px;
    }

    .hero-mock,
    .second-hero-mock,
    .first-mock,
    .second-mock {
        height: auto;
        display: flex;
        justify-content: center;
        flex-direction: column; 
        gap: 10px;
    }

    .hero-mock img,
    .second-hero-mock img,
    .first-mock img,
    .second-mock img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 0 auto;
    }


    .mock-margin-right,
    .mock-margin-left {
        margin: 0;
    }

    .flip-book, .flip-book-2, .vita-me-1st {
        display: none;
    }

    .bigger-hero-mock,
.bigger-hero-mock img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;     
    height: auto;       
}

}
