@import url('https://fonts.googleapis.com/css2?family=Archivo+Condensed:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&display=swap');

:root {
    --bg-color: #111111;
    --text-color: #EDEDED;
    --color-yellow: #FDF835;
    --color-muted: #888888;
    --color-border: #222222;
    --font-heading: 'Archivo Condensed', sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-max-width: 1500px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--color-yellow);
}

ul,
ol {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

::-moz-selection {
    background-color: var(--color-yellow);
    color: var(--bg-color);
}

::selection {
    background-color: var(--color-yellow);
    color: var(--bg-color);
}

mark,
.highlight {
    background-color: var(--color-yellow);
    color: var(--bg-color);
    padding: 0 0.2em;
    display: inline-block;
    line-height: 1.2;
}

.underline-yellow {
    text-decoration: underline;
    text-decoration-color: var(--color-yellow);
    text-underline-offset: 4px;
}

.hero-section {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-name {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.client-item {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.client-item:hover {
    color: var(--color-yellow);
}

#lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

#lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform var(--transition-smooth);
    cursor: zoom-in;
}

#lightbox-img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--text-color);
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2010;
    transition: color var(--transition-fast);
}

.lightbox-close {
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
}

.lightbox-prev {
    left: 2rem;
    font-size: 4rem;
}

.lightbox-next {
    right: 2rem;
    font-size: 4rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-yellow);
}

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: var(--color-yellow);
    color: var(--bg-color);
    border: none;
    border-radius: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--text-color);
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 7vw, 3.5rem) !important;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 248, 53, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(253, 248, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(253, 248, 53, 0);
    }
}

.hero-btn-primary {
    animation: pulseGlow 2.5s infinite;
}

.hero-btn-primary:hover {
    animation: none;
    background-color: transparent;
    color: #FDF835;
}