/* ========================================
   VOLTÉ — GLOBAL STYLES
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');


/* ========================================
   RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* ========================================
   VARIABLES
   ======================================== */

:root {
    --black: #0a0a0a;
    --black-soft: #111111;
    --white: #f5f5f5;
    --white-soft: #bdbdbd;
    --yellow: #dfff00;

    --container: 1240px;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}


/* ========================================
   CONTAINER
   ======================================== */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


/* ========================================
   NAVBAR
   ======================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar {
    width: min(100% - 60px, var(--container));
    margin: 0 auto;

    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.logo img {
    width: 175px;
    height: auto;
    display: block;
    margin-left: -10px;
}

.logo::after {
    content: '';
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-left: 4px;

    background: var(--yellow);
    border-radius: 50%;
}


/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    position: relative;

    font-size: 14px;
    font-weight: 500;

    color: var(--white-soft);

    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--yellow);

    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


/* NAV CTA */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    background: var(--yellow);
    color: var(--black);

    font-size: 13px;
    font-weight: 700;

    border-radius: 3px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: #efff63;
}


/* ========================================
   HERO
   ======================================== */

.hero {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 0.85fr;

    position: relative;
    overflow: hidden;
}


/* HERO CONTENT */

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 140px 60px 100px max(30px, calc((100vw - var(--container)) / 2));

    position: relative;
    z-index: 2;
}

.hero-label {
    margin-bottom: 22px;

    color: var(--yellow);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.hero h1 {
    max-width: 720px;

    font-family: var(--font-heading);

    font-size: clamp(52px, 6vw, 88px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 800;
}

.hero h1 span {
    color: var(--yellow);
}


.hero-description {
    max-width: 520px;

    margin-top: 32px;

    color: var(--white-soft);

    font-size: 17px;

    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    gap: 14px;

    margin-top: 42px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 26px;

    font-size: 14px;
    font-weight: 700;

    border-radius: 3px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: #efff63;
}

.btn-secondary {
    border: 1px solid #333;
    color: var(--white);
}

.btn-secondary:hover {
    background: #171717;
}


/* HERO IMAGE */

.hero-image {
    min-height: 100vh;

    background:
        linear-gradient(
            90deg,
            #0a0a0a 0%,
            rgba(10, 10, 10, 0.15) 35%,
            rgba(10, 10, 10, 0) 100%
        ),
        url('../assets/images/hero.jpg');

    background-size: cover;
    background-position: 65% center;
}


/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 140px max(30px, calc((100vw - var(--container)) / 2));
}

.section-heading {
    max-width: 800px;
}

.section-label {
    margin-bottom: 20px;

    color: var(--yellow);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.section-heading h2 {
    font-family: var(--font-heading);

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -3px;

    font-weight: 800;
}

.section-heading h2 span {
    color: var(--yellow);
}


/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding: 50px max(30px, calc((100vw - var(--container)) / 2));

    border-top: 1px solid #222;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
}

.footer-logo img {
    width: 175px;
    height: auto;
    display: block;
}

.site-footer p {
    color: var(--white-soft);
    font-size: 13px;
}

/* =========================================
   ANIMATIONS
========================================= */

.hero-content > * {
    opacity: 0;
    transform: translateY(25px);
}

.page-loaded .hero-content > * {
    animation: heroReveal 0.8s cubic-bezier(.22,1,.36,1) forwards;
}

.page-loaded .hero-content .hero-label {
    animation-delay: 0.1s;
}

.page-loaded .hero-content h1 {
    animation-delay: 0.2s;
}

.page-loaded .hero-content > p {
    animation-delay: 0.32s;
}

.page-loaded .hero-content .hero-actions {
    animation-delay: 0.44s;
}


.hero-image {
    opacity: 0;
    transform: scale(1.04);
}

.page-loaded .hero-image {
    animation: heroImageReveal 1.2s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: 0.15s;
}


@keyframes heroReveal {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes heroImageReveal {

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================
   SCROLL REVEALS
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(.22,1,.36,1),
        transform 0.8s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   SERVICE IMAGE ENHANCEMENT
========================================= */

.service-item .service-image img {
    transform: scale(1.04);
    transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

.service-item:hover .service-image img {
    transform: scale(1);
}


/* =========================================
   PROJECT IMAGE
========================================= */

.project-image img {
    transform: scale(1.04);
}

.project-featured:hover .project-image img,
.project-card:hover .project-image img {
    transform: scale(1);
}


/* =========================================
   NAVBAR ON SCROLL
========================================= */

.header {
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        backdrop-filter 0.35s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}