/* ==================================================
   RESET
================================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;

    background: #1e2620;
    color: #ffffff;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


a:hover {
    color: #5FAD56;
}


::selection {
    background: #5FAD56;
    color: #ffffff;
}


/* ==================================================
   HEADER
================================================== */




header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 25px 0;
    transition: background 0.3s ease;
}

header.scrolled {
    background: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}








.header-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo-link {
    display: block;
}


#header-logo {
    width: 180px;
    height: auto;
}


nav {
    display: flex;

    align-items: center;

    gap: 35px;
}


nav a {
    color: #ffffff;

    font-size: 15px;

    transition: color 0.3s ease;
}


nav a:hover {
    color: #5FAD56;
}


.menu-toggle {
    display: none;

    background: none;

    border: none;

    color: #ffffff;

    font-size: 28px;

    cursor: pointer;
}


/* ==================================================
   SHOWREEL
================================================== */

.showreel {
    height: 50vh;
    max-height: 500px;
    overflow: hidden;
}

.showreel video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/*
   Subtle overlay to make the text readable
*/

.showreel::after {
    content: "";

    position: absolute;

    inset: 0;

    
    pointer-events: none;
}


.showreel-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    padding: 60px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;
}


.showreel-title {
    margin-bottom: 70px;
}


.showreel-title h1 {
    font-family: "Beth Ellen", cursive;

    font-size: clamp(50px, 7vw, 105px);

    font-weight: 400;

    line-height: 1.1;

    color: #ffffff;
}


.showreel-title p {
    margin-top: 20px;

    font-size: 21px;

    line-height: 1.4;

    color: #ffffff;
}


.scroll-indicator {
    position: absolute;

    right: 60px;

    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: #ffffff;
}


.scroll-arrow {
    font-size: 20px;
}


/* ==================================================
   WORK
================================================== */



.yt-embedd {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.yt-embedd iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}



.work-section {
   padding: 10px 0 90px;
}


.work-intro {
    width: min(850px, calc(100% - 80px));

    margin: 0 auto 130px;
}


.eyebrow {
    margin-bottom: 25px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color: #9da79f;
}


.work-intro h2 {
    font-size: clamp(34px, 4vw, 58px);

    font-weight: 300;

    line-height: 1.15;

    color: #ffffff;
}


/* ==================================================
   WORK GRID
================================================== */

.work-grid {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 90px 40px;
}


.work-item {
    width: 100%;
}


/*
   Alternating sizes make the portfolio feel
   more editorial rather than like a card grid.
*/

.work-grid {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px 40px;
}

.work-item {
    width: 100%;
}

.solo-grid {
    display: flex;
    justify-content: center;
}



/* ==================================================
   WORK IMAGES
================================================== */


.work-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #151b17;
}

.work-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, opacity 0.4s ease;
}

.work-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
    pointer-events: none;
}

.work-image-overlay h3 {
    color: #fff;
    font-size: clamp(20px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.3;
}

.work-item a:hover .work-image img {
    transform: scale(1.025);
    opacity: 0.9;
}

.work-item a:hover .work-image-overlay {
    background: rgba(0, 0, 0, 0.4);
}






/* ==================================================
   WORK DETAILS
================================================== */

.work-details {
    padding-top: 20px;
}


.work-details h3 {
    font-size: 23px;

    font-weight: 400;

    line-height: 1.3;

    color: #ffffff;
}


.work-details p {
    margin-top: 7px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    color: #9da79f;
}


/* ==================================================
   NEXT PROJECT
================================================== */

.next-page {
    text-align: center;
    padding: 0px 20px 90px;
}

.next-page p {
    margin-bottom: 15px;
    font-size: 16px;
}

.next-page-link {
    display: inline-block;
    color: #5FAD56;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.next-page-link:hover {
    opacity: 0.7;
}

/* ==================================================
   ABOUT / CONTENT SECTIONS
================================================== */

.content-section {
    padding: 140px 0;
}


.content-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}


.content-container > h2 {
    font-family: "Beth Ellen", cursive;

    font-size: 48px;

    font-weight: 400;

    line-height: 1.2;

    margin-bottom: 65px;
}


/* ==================================================
   ABOUT TEXT
================================================== */

.about-text {
    column-count: 1;

    column-gap: 90px;

    font-size: 16px;

    line-height: 1.75;
}


.about-text p {
    margin-bottom: 30px;
}

/* ==================================================
   ABOUT
================================================== */

.about-section {
    padding: 100px 0;
}

.about-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;
}
.about-container h4 {
	font-size: 20px;
}

.about-text h2 {
    font-family: "Beth Ellen", cursive;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 55px;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-text h4 {
	font-size: 20px;
}

.about-text p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    display: block;
}

.about-image p {
    margin-top: 10px;
    font-size: 12px;
    color: #9da79f;
}


/* ==================================================
   CONTACT
================================================== */

.contact-section {
	padding-top: 70px;
    padding-bottom: 20px;
	   background: #152019;
	
	
}


.contact-intro {
    max-width: 750px;

    font-size: 22px;

    line-height: 1.55;

    margin-bottom: 55px;
}


.contact-icons {
    display: flex;

    align-items: center;

    gap: 30px;
}


.contact-icons a {
    display: block;
}


.contact-icons img {
    width: 40px;

    height: auto;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.contact-icons a:hover img {
    transform: translateY(-3px);

    opacity: 0.7;
}


/* ==================================================
   FOOTER
================================================== */

footer {
   background: #152019;
    padding: 40px 0 30px;
}


.footer-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.footer-container p {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    font-size: 14px;
}


.footer-container a {
    color: #ffffff;
}


.footer-container a:hover {
    color: #5FAD56;
}


/* ==================================================
   BACK TO TOP
================================================== */

.back-to-top {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ffffff;
    border-radius: 50%;

    background: transparent;
    color: #ffffff;

    font-size: 24px;
    line-height: 1;

    transition: transform 0.3s ease, background 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: #ffffff;
    color: #152019;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width : 1191px ){


    .header-container,
    .work-grid,
    .content-container,
    .footer-container {
        width: calc(100% - 50px);
    }


    .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 80px;
}


    .work-item:nth-child(1),
    .work-item:nth-child(4),
    .work-item:nth-child(7) {
        grid-column: span 1;
    }



}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
	
	
	


    /* HEADER */

    header {
        padding: 20px 0;
    }

	

	

    .header-container {
        width: calc(100% - 40px);
    }


    #header-logo {
        width: 150px;
    }


    .menu-toggle {
        display: block;
    }


    nav {
        display: none;
    }

	


    nav.active {
        position: absolute;

        top: 100%;

        right: 20px;

        width: 200px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        padding: 22px;

  background: #152019;

        border-radius: 0 0 10px 10px;
    }


    /* SHOWREEL */

    .showreel {
        height: calc(100svh - 75px);

        min-height: 550px;
    }


    .showreel-overlay {
        padding: 30px 20px;
    }


    .showreel-title {
        margin-bottom: 60px;
    }


    .showreel-title h1 {
        font-size: 48px;

        line-height: 1.15;
    }


    .showreel-title p {
        font-size: 17px;

        max-width: 300px;
    }


    .scroll-indicator {
        right: 20px;

        bottom: 25px;
    }


    /* WORK */

    .work-section {
        padding: 0px 0 140px;
    }


    .work-intro {
        width: calc(100% - 40px);

        margin-bottom: 70px;
    }


    .work-intro h2 {
        font-size: 32px;
    }


    .work-grid {
        width: calc(100% - 40px);

        grid-template-columns: 1fr;

        row-gap: 75px;
    }


    .work-details {
        padding-top: 15px;
    }


    .work-details h3 {
        font-size: 20px;
    }


    .work-details p {
        font-size: 11px;
    }
	


    /* CONTENT */

    .content-section {
        padding: 90px 0;
    }


    .content-container {
        width: calc(100% - 40px);
    }


    .content-container > h2 {
        font-size: 38px;

        margin-bottom: 40px;
    }


    /* ABOUT - MOBILE */

.about-section {
    padding: 90px 0;
}

.about-container {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    width: 100%;
    column-count: 1;
    column-gap: 0;
    font-size: 17px;
    line-height: 1.7;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 45px;
}

.about-text h3 {
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-text p {
    max-width: none;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
}
 position: absolute;
.about-image p {
    margin-top: 10px;
    font-size: 12px;
}

    /* CONTACT */

    .contact-section {
        padding-bottom: 10px;
		
    }


    .contact-intro {
        font-size: 19px;
    }


    .contact-icons {
        gap: 25px;
    }


    .contact-icons img {
        width: 35px;

    }


    /* FOOTER */

    .footer-container {
        width: calc(100% - 40px);

        align-items: flex-start;

        gap: 25px;
    }


    .footer-container p {
        font-size: 13px;
    }


    .back-to-top {
        flex-shrink: 0;

        width: 48px;

        height: 48px;

        font-size: 20px;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {


    .showreel-title h1 {
        font-size: 42px;
    }


    .showreel-title p {
        font-size: 16px;
    }


    .work-intro h2 {
        font-size: 29px;
    }


    .content-container > h2 {
        font-size: 34px;
    }

}


@media (max-width: 767px) {
    .showreel {
        height: 100vh;
        height: 50dvh;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .showreel video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 50%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
}

@media (max-width: 768px) {
    header:has(nav.active) {
        background: #152019;
    }
}
