/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #f5f5f5;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --background: #080808;
    --surface: #111111;
    --surface-light: #181818;

    --white: #f5f5f5;
    --gray: #999999;
    --dark-gray: #555555;

    --accent: #ff5a1f;

    --border: rgba(255, 255, 255, 0.12);

    --max-width: 1400px;
}


/* =========================================
   INTRO
========================================= */

#intro {
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: #050505;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.intro-content {
    position: relative;
    z-index: 3;

    text-align: center;
}

.intro-small {
    font-size: 11px;
    letter-spacing: 5px;
    color: #888;

    margin-bottom: 25px;
}

.intro-content h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(60px, 12vw, 170px);

    line-height: 0.8;

    letter-spacing: -8px;

    font-weight: 700;
}

.intro-content h1 span {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

.intro-line {
    width: 0;
    height: 2px;

    background: var(--accent);

    margin: 40px auto 0;

    animation: introLine 1.5s ease forwards;
}

.intro-shape {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    border: 1px solid rgba(255, 90, 31, 0.35);

    animation: rotateShape 5s linear infinite;
}

.intro-shape::before {
    content: "";

    position: absolute;

    inset: 50px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;
}

@keyframes introLine {

    to {
        width: 180px;
    }

}

@keyframes rotateShape {

    from {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.15);
    }

    to {
        transform: rotate(360deg) scale(1);
    }

}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 5%;

    z-index: 100;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    backdrop-filter: blur(20px);

    background: rgba(8,8,8,0.65);
}

.logo {
    font-family: "Space Grotesk", sans-serif;

    font-size: 25px;

    font-weight: 700;

    letter-spacing: -2px;
}

.logo span {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    font-size: 12px;

    color: #aaa;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: white;
}

.nav-button {
    border: 1px solid var(--border);

    padding: 12px 20px;

    font-size: 12px;

    transition: 0.3s;
}

.nav-button:hover {
    background: white;
    color: black;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    padding: 150px 7% 100px;

    overflow: hidden;
}

.hero-background {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -250px;
    top: 100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,90,31,0.25),
            transparent 65%
        );

    filter: blur(30px);
}

.hero-content {
    max-width: 1050px;

    position: relative;

    z-index: 2;
}

.eyebrow {
    font-size: 11px;

    letter-spacing: 4px;

    color: var(--accent);

    margin-bottom: 30px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(55px, 9vw, 135px);

    line-height: 0.9;

    letter-spacing: -7px;

    max-width: 1200px;
}

.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px #eee;
}

.hero-description {
    max-width: 600px;

    color: #999;

    font-size: 16px;

    line-height: 1.8;

    margin-top: 45px;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 40px;
}

.primary-button,
.secondary-button {
    padding: 16px 25px;

    font-size: 12px;

    transition: 0.3s;
}

.primary-button {
    background: white;

    color: black;
}

.primary-button:hover {
    background: var(--accent);

    color: white;
}

.primary-button span {
    margin-left: 15px;
}

.secondary-button {
    border: 1px solid var(--border);
}

.secondary-button:hover {
    border-color: white;
}

.hero-scroll {
    position: absolute;

    bottom: 40px;
    right: 7%;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 9px;

    color: #666;

    letter-spacing: 2px;
}

.scroll-line {
    width: 50px;

    height: 1px;

    background: #666;
}


/* =========================================
   MARQUEE
========================================= */

.marquee {
    overflow: hidden;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    padding: 25px 0;
}

.marquee-track {
    display: flex;

    width: max-content;

    gap: 60px;

    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-family: "Space Grotesk";

    font-size: 30px;

    font-weight: 600;

    white-space: nowrap;

    color: #333;
}

.marquee-track span:nth-child(even) {
    color: transparent;

    -webkit-text-stroke: 1px #444;
}

@keyframes marquee {

    to {
        transform: translateX(-50%);
    }

}


/* =========================================
   SECTIONS
========================================= */

.section {
    max-width: var(--max-width);

    margin: auto;

    padding: 160px 6%;
}

.section-number {
    color: #555;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 80px;
}

.section-heading {
    margin-bottom: 90px;
}

.section-heading h2,
.skills-title h2 {
    font-family: "Space Grotesk";

    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.9;

    letter-spacing: -5px;
}

.section-heading h2 span,
.skills-title h2 span {
    color: transparent;

    -webkit-text-stroke: 1px white;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.about-title h2 {
    font-family: "Space Grotesk";

    font-size: clamp(45px, 6vw, 80px);

    line-height: 0.95;

    letter-spacing: -4px;
}

.about-text {
    padding-top: 20px;
}

.about-text p {
    color: #888;

    font-size: 16px;

    line-height: 1.9;

    margin-bottom: 25px;
}

.about-text .large-text {
    font-family: "Space Grotesk";

    font-size: 28px;

    color: white;
}


/* =========================================
   SERVICES
========================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);
}

.service-card {
    min-height: 300px;

    padding: 40px;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    transition: 0.4s;
}

.service-card:hover {
    background: var(--surface);

    transform: translateY(-5px);
}

.service-number {
    color: var(--accent);

    font-size: 11px;
}

.service-card h3 {
    font-family: "Space Grotesk";

    font-size: 30px;

    margin-top: 80px;

    margin-bottom: 20px;
}

.service-card p {
    color: #777;

    line-height: 1.7;

    font-size: 14px;
}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 80px 30px;
}

/* PROJECT COLLECTION PAGE */
.collection-page { min-height: 100vh; }
.collection { padding-top: 190px; }
.collection h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(50px, 8vw, 110px); line-height: .9; letter-spacing: -5px; max-width: 900px; }
.collection-description { max-width: 580px; margin: 35px 0 70px; color: var(--gray); font-size: 16px; line-height: 1.8; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection-card { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 1 / 1; }
.collection-card img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.collection-card:hover img { transform: scale(1.05); }
.collection-card span { position: absolute; right: 14px; bottom: 12px; color: white; font-size: 10px; letter-spacing: 2px; background: rgba(0,0,0,.65); padding: 8px; }

.project-image {
    position: relative;

    overflow: hidden;

    background: #111;

    aspect-ratio: 4 / 3;
}

.project-image img {
    height: 100%;

    object-fit: cover;

    transition: 0.7s;
}

.project:hover .project-image img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.65);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    transition: 0.4s;
}

.project:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    border: 1px solid white;

    padding: 15px 25px;

    font-size: 10px;

    letter-spacing: 2px;
}

.project-info {
    display: flex;

    justify-content: space-between;

    padding-top: 20px;
}

.project-category {
    color: var(--accent);

    font-size: 9px;

    letter-spacing: 2px;
}

.project-info h3 {
    font-family: "Space Grotesk";

    font-size: 25px;

    margin-top: 7px;
}

.project-year {
    color: #555;

    font-size: 12px;
}


/* =========================================
   EXPERIENCE
========================================= */

.timeline {
    border-top: 1px solid var(--border);
}

.experience-item {
    display: grid;

    grid-template-columns: 250px 1fr;

    gap: 80px;

    padding: 60px 0;

    border-bottom: 1px solid var(--border);
}

.experience-date {
    font-size: 10px;

    letter-spacing: 2px;

    color: #666;
}

.experience-content h3 {
    font-family: "Space Grotesk";

    font-size: 40px;
}

.experience-content h4 {
    color: var(--accent);

    margin: 8px 0 25px;

    font-weight: 400;
}

.experience-content p {
    color: #777;

    line-height: 1.8;

    max-width: 700px;
}


/* =========================================
   SKILLS
========================================= */

.skills-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.skills-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    align-content: start;
}

.skills-list span {
    border: 1px solid var(--border);

    padding: 15px 20px;

    color: #999;

    font-size: 12px;

    transition: 0.3s;
}

.skills-list span:hover {
    background: white;

    color: black;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    min-height: 80vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 120px 6%;

    border-top: 1px solid var(--border);
}

.contact-inner {
    max-width: 1000px;
}

.contact h2 {
    font-family: "Space Grotesk";

    font-size: clamp(60px, 9vw, 130px);

    line-height: 0.85;

    letter-spacing: -7px;
}

.contact h2 span {
    color: transparent;

    -webkit-text-stroke: 1px white;
}

.contact-email {
    display: inline-block;

    margin-top: 60px;

    font-size: 18px;

    border-bottom: 1px solid #444;

    padding-bottom: 10px;

    transition: 0.3s;
}

.contact-email:hover {
    color: var(--accent);

    border-color: var(--accent);
}

.contact-details {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 25px;

    color: #666;

    font-size: 12px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 50px 6%;

    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 50px;
}

.footer-logo {
    font-family: "Space Grotesk";

    font-size: 30px;

    font-weight: 700;
}

.footer-logo span {
    color: var(--accent);
}

.footer-top p {
    color: #666;

    font-size: 12px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    border-top: 1px solid var(--border);

    padding-top: 25px;

    color: #555;

    font-size: 10px;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a:hover {
    color: white;
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .navbar nav {
        display: none;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero h1 {
        letter-spacing: -4px;
    }

    .about-grid,
    .skills-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-item {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}


@media (max-width: 600px) {

    .navbar {
        height: 75px;

        padding: 0 6%;
    }

    .nav-button {
        display: none;
    }

    .hero {
        min-height: 100vh;

        padding-top: 130px;
    }

    .hero h1 {
        font-size: 55px;

        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .section {
        padding: 100px 6%;
    }

    .section-number {
        margin-bottom: 50px;
    }

    .section-heading h2,
    .skills-title h2 {
        font-size: 55px;

        letter-spacing: -3px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-content h3 {
        font-size: 32px;
    }

    .contact h2 {
        font-size: 60px;

        letter-spacing: -4px;
    }

    .contact-details {
        flex-direction: column;

        gap: 10px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

}
