/*
Theme Name: Lee Iacovou Portfolio
Theme URI: https://www.leeweb.co.uk
Description: Lee Iacovou, web developer, digital developer, wordpress, problem solver
Version: 1
Author: Lee Iacovou
Author URI: https://www.leeweb.co.uk
*/



@charset "utf-8";
/* CSS Document */


/*CSS RESET*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
/*CSS RESET*/


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

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                         Helvetica, Arial, sans-serif;
            background: #f7f7f5;
            color: #171717;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

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

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

        button,
        input,
        textarea {
            font: inherit;
        }

        /* =========================================================
           VARIABLES
        ========================================================= */

        :root {
            --black: #111111;
            --dark: #171717;
            --grey: #666666;
            --light-grey: #e7e7e3;
            --background: #f7f7f5;
            --white: #ffffff;
            --accent: #d8ff3e;
            --max-width: 1180px;
            --radius: 18px;
        }

        /* =========================================================
           GENERAL
        ========================================================= */

        .container {
            width: min(calc(100% - 48px), var(--max-width));
            margin: 0 auto;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--grey);
        }

        .eyebrow::before {
            content: "";
            width: 24px;
            height: 2px;
            background: var(--black);
        }

        .section {
            padding: 120px 0;
        }

        .section-heading {
            max-width: 760px;
            margin-bottom: 60px;
        }

        .section-heading h2 {
            margin-top: 18px;
            font-size: clamp(42px, 6vw, 72px);
            line-height: 0.98;
            letter-spacing: -0.055em;
            font-weight: 700;
        }

        .section-heading p {
            margin-top: 24px;
            max-width: 650px;
            color: var(--grey);
            font-size: 18px;
            line-height: 1.7;
        }

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

        header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 10;
        }

        .nav {
            height: 90px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-size: 18px;
            font-weight: 800;
            letter-spacing: -0.04em;
        }

        .logo span {
            color: var(--grey);
            font-weight: 400;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 34px;
            font-size: 14px;
            font-weight: 600;
        }

        .nav-links a {
            transition: opacity 0.2s ease;
        }

        .nav-links a:hover {
            opacity: 0.55;
        }

        .nav-contact {
            padding: 11px 18px;
            background: var(--black);
            color: white;
            border-radius: 999px;
        }

        .nav-contact:hover {
            opacity: 1 !important;
            background: #333;
        }

        /* =========================================================
           HERO
        ========================================================= */

        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background: var(--background);
        }

        .hero::before {
            content: "";
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: var(--accent);
            right: -180px;
            top: -180px;
            opacity: 0.65;
            filter: blur(2px);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            padding: 150px 0 100px;
        }

        .hero h1 {
            max-width: 1000px;
            margin-top: 22px;
            font-size: clamp(58px, 9vw, 122px);
            line-height: 0.88;
            letter-spacing: -0.075em;
            font-weight: 750;
        }

        .hero h1 span {
            color: #777;
        }

        .hero-intro {
            max-width: 680px;
            margin-top: 38px;
            font-size: clamp(18px, 2vw, 23px);
            line-height: 1.55;
            color: #4f4f4f;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 40px;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 52px;
            padding: 0 24px;
            border-radius: 999px;
            background: var(--black);
            color: white;
            font-size: 14px;
            font-weight: 700;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .button:hover {
            transform: translateY(-2px);
            background: #333;
        }

        .button.secondary {
            background: transparent;
            color: var(--black);
            border: 1px solid #cfcfca;
        }

        .button.secondary:hover {
            background: white;
        }

        .scroll-note {
            margin-top: 80px;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #888;
        }

        /* =========================================================
           INTRO
        ========================================================= */

        .intro {
            background: var(--white);
        }

        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 100px;
            align-items: start;
        }

        .intro-copy h2 {
            font-size: clamp(38px, 5vw, 62px);
            line-height: 1;
            letter-spacing: -0.055em;
        }

        .intro-copy p {
            margin-top: 28px;
            color: var(--grey);
            font-size: 18px;
            line-height: 1.75;
        }

        .services {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1px;
            background: var(--light-grey);
            border: 1px solid var(--light-grey);
        }

        .service {
            padding: 30px;
            background: var(--white);
        }

        .service-number {
            font-size: 12px;
            color: #999;
            font-weight: 700;
        }

        .service h3 {
            margin-top: 28px;
            font-size: 21px;
            letter-spacing: -0.03em;
        }

        .service p {
            margin-top: 12px;
            font-size: 14px;
            line-height: 1.65;
            color: var(--grey);
        }

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

        .work {
            background: var(--background);
        }

        .project {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 70px;
            align-items: center;
            padding: 80px 0;
            border-top: 1px solid #deded9;
        }

        .project:first-of-type {
            border-top: 0;
        }

        .project:nth-of-type(even) .project-image {
            order: 2;
        }

        .project:nth-of-type(even) .project-content {
            order: 1;
        }

        .project-image {
            min-height: 430px;
            border-radius: var(--radius);
            overflow: hidden;
            background: #202020;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /*
           IMAGE PLACEHOLDER

           Replace the contents of .project-visual with an actual
           <img> when you have screenshots.

           Example:

           <img src="images/member-hub.jpg" alt="Member Hub">
        */

        .project-visual {
            width: 82%;
            height: 76%;
            border-radius: 10px;
            background: #f1f1ed;
            box-shadow: 0 25px 60px rgba(0,0,0,0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 30px;
        }

        .project-visual span {
            font-size: clamp(22px, 3vw, 38px);
            line-height: 1;
            font-weight: 750;
            letter-spacing: -0.05em;
            color: #222;
        }

        .project-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 22px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #888;
        }

        .project-meta::before {
            content: "";
            width: 22px;
            height: 2px;
            background: var(--black);
        }

        .project h3 {
            font-size: clamp(38px, 5vw, 62px);
            line-height: 0.95;
            letter-spacing: -0.06em;
        }

        .project-tagline {
            margin-top: 20px;
            font-size: 19px;
            font-weight: 600;
            line-height: 1.45;
        }

        .project-description {
            margin-top: 20px;
            color: var(--grey);
            line-height: 1.75;
            font-size: 16px;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 28px;
        }

        .tag {
            padding: 7px 11px;
            border: 1px solid #d7d7d1;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 600;
            color: #666;
            background: #fafaf8;
        }

        /* =========================================================
           APPROACH
        ========================================================= */

        .approach {
            background: var(--dark);
            color: white;
        }

        .approach .eyebrow {
            color: #aaa;
        }

        .approach .eyebrow::before {
            background: var(--accent);
        }

        .approach-heading {
            max-width: 850px;
        }

        .approach-heading h2 {
            margin-top: 18px;
            font-size: clamp(45px, 7vw, 90px);
            line-height: 0.94;
            letter-spacing: -0.065em;
        }

        .approach-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1px;
            margin-top: 80px;
            background: #333;
        }

        .approach-step {
            background: var(--dark);
            padding: 35px 28px;
        }

        .approach-step-number {
            color: var(--accent);
            font-size: 13px;
            font-weight: 700;
        }

        .approach-step h3 {
            margin-top: 55px;
            font-size: 20px;
            letter-spacing: -0.025em;
        }

        .approach-step p {
            margin-top: 12px;
            color: #999;
            font-size: 14px;
            line-height: 1.7;
        }

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

        .contact {
            background: var(--accent);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 100px;
            align-items: start;
        }

        .contact h2 {
            margin-top: 18px;
            font-size: clamp(48px, 7vw, 90px);
            line-height: 0.9;
            letter-spacing: -0.07em;
        }

        .contact-intro {
            margin-top: 28px;
            max-width: 550px;
            font-size: 18px;
            line-height: 1.65;
            color: #3f3f3f;
        }

        .contact-form {
            padding: 35px;
            background: white;
            border-radius: var(--radius);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            border: 1px solid #d9d9d4;
            border-radius: 9px;
            padding: 14px 15px;
            outline: none;
            background: #fafaf8;
            color: var(--black);
            transition: border 0.2s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--black);
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .contact-form .button {
            width: 100%;
            border: 0;
            cursor: pointer;
        }

        /*
           IMPORTANT:

           This form currently does NOT send anywhere.

           We can connect it later to:
           - Formspree
           - Netlify Forms
           - your own PHP mail script
           - another form service

           For the first version, the button simply prevents
           the page from reloading.
        */

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

        footer {
            background: var(--dark);
            color: white;
            padding: 55px 0 35px;
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
        }

        .footer-name {
            font-size: 20px;
            font-weight: 800;
            letter-spacing: -0.04em;
        }

        .footer-description {
            margin-top: 8px;
            color: #888;
            font-size: 14px;
        }

        .footer-links {
            display: flex;
            gap: 25px;
            font-size: 14px;
            font-weight: 600;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            margin-top: 70px;
            padding-top: 20px;
            border-top: 1px solid #333;
            color: #666;
            font-size: 12px;
        }

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

        .fade-in {
            opacity: 0;
            transform: translateY(25px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

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

        @media (max-width: 850px) {

            .container {
                width: min(calc(100% - 32px), var(--max-width));
            }

            .section {
                padding: 80px 0;
            }

            .nav {
                height: 75px;
            }

            .nav-links {
                gap: 15px;
            }

            .nav-links a:not(.nav-contact) {
                display: none;
            }

            .hero {
                min-height: auto;
            }

            .hero-content {
                padding: 150px 0 80px;
            }

            .hero::before {
                width: 350px;
                height: 350px;
                right: -180px;
                top: -100px;
            }

            .scroll-note {
                margin-top: 55px;
            }

            .intro-grid,
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 55px;
            }

            .services {
                grid-template-columns: 1fr;
            }

            .project {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 60px 0;
            }

            .project:nth-of-type(even) .project-image,
            .project:nth-of-type(even) .project-content {
                order: initial;
            }

            .project-image {
                min-height: 300px;
            }

            .approach-grid {
                grid-template-columns: 1fr 1fr;
                margin-top: 55px;
            }

            .approach-step {
                min-height: 230px;
            }

            .contact-form {
                padding: 25px;
            }

            .footer-top,
            .footer-bottom {
                flex-direction: column;
                gap: 25px;
            }
        }

        @media (max-width: 520px) {

            .hero h1 {
                font-size: 58px;
            }

            .hero-intro {
                font-size: 17px;
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .button {
                width: 100%;
            }

            .approach-grid {
                grid-template-columns: 1fr;
            }

            .approach-step {
                min-height: auto;
            }

            .approach-step h3 {
                margin-top: 30px;
            }

            .footer-links {
                flex-wrap: wrap;
            }
        }


