/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
    overflow-y: scroll;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    overflow-x: hidden;
}

/* ===========================
   NAVIGATION
=========================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.85) 0%,
            rgba(10, 10, 10, 0.0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 100%);
    pointer-events: none;
}

.logo-nav {
    height: 40px;
    width: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-nav.visible {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* ===========================
   HERO
=========================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-logo {
    max-width: 500px;
    width: 80%;
    height: auto;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.3s;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.6s;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards, bounce 2s infinite;
    animation-delay: 1s;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto 10px;
    animation: scrollLine 2s infinite;
}

.scroll-indicator p {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   PROJECTS GRID
=========================== */
.projects-section {
    padding: 80px 20px;
    max-width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.featured-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    display: block;
    font-size: clamp(16px, 2.2vw, 24px);
    letter-spacing: clamp(-0.3px, -0.1vw, -2px);
    line-height: 1.1;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.project-title {
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: clamp(18px, 2.5vw, 38px);
    letter-spacing: clamp(-0.5px, -0.1vw, -1px);
    line-height: 1.1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    overflow: hidden;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.project-meta span {
    position: relative;
    white-space: nowrap;
}

.project-meta span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -12px;
}

.projects-section .section-title+.projects-grid {
    margin-bottom: 80px;
}

/* ===========================
   ABOUT
=========================== */
.about-section {
    padding: 80px 20px 120px 20px;
    max-width: 100%;
    margin: 0 auto;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto 0 0;
}

.about-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 25px;
    margin-bottom: 20px;
}

.about-heading {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-left: 20px;
    margin-bottom: 30px;
}

.about-heading span {
    display: block;
}

.about-text {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
}

/* ===========================
   FOOTER
=========================== */
footer {
    padding: 80px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-section h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: #ffffff;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scrollLine {
    0% {
        height: 40px;
    }

    50% {
        height: 20px;
    }

    100% {
        height: 40px;
    }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1200px) {
    .project-title {
        font-size: clamp(16px, 2vw, 28px);
    }

    .project-meta span:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 20px 30px;
    }

    .logo-nav {
        height: 32px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-logo {
        max-width: 300px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .projects-section {
        padding: 60px 15px;
    }

    .project-title {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-section {
        padding: 60px 24px 80px 24px;
    }

    .about-label,
    .about-heading,
    .about-text {
        margin-left: 0;
    }

    .about-heading {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1.5px;
        margin-bottom: 24px;
    }

    .about-text {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.65);
    }
}