/* ===== CONCEPTUAL & ABSTRACT DESIGN SYSTEM ===== */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #0a0a0a;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ABSTRACT BACKGROUND ELEMENTS ===== */
.abstract-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4834d4, #686de0);
    bottom: 20%;
    left: 5%;
    animation-delay: -10s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(225deg, #00d2d3, #54a0ff);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-abstract {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-shape {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0a0a0a, #4a4a4a);
    transform: rotate(45deg);
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.logo-text span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.nav-items {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0a0a0a;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-abstract {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.abstract-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid #0a0a0a;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: rotate 30s linear infinite;
}

.abstract-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid #ff6b6b;
    top: 25%;
    right: 25%;
    transform: rotate(15deg);
    animation: float 15s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-text {
    z-index: 10;
    margin-top: 1rem;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.hero-line {
    display: block;
    position: relative;
}

.hero-line-emphasis {
    color: #ff6b6b;
    font-style: italic;
    transform: skew(-5deg);
    display: inline-block;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.subtitle-line {
    width: 40px;
    height: 2px;
    background: #0a0a0a;
}

.hero-subtitle p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #666;
}

.hero-description {
    margin-bottom: 0.75rem;
}

.hero-description p {
    font-size: 1rem;
    color: #4a4a4a;
    max-width: 450px;
    line-height: 1.5;
}

.cta-container {
    margin-top: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #0a0a0a;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-arrow {
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
}

.cta-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #999;
    font-weight: 500;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.section-abstract {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.abstract-dot {
    width: 12px;
    height: 12px;
    background: #ff6b6b;
    border-radius: 50%;
}

.abstract-line {
    width: 80px;
    height: 2px;
    background: #0a0a0a;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 5rem 0;
    background: white;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.project-item:nth-child(even) {
    direction: rtl;
}

.project-item:nth-child(even) > * {
    direction: ltr;
}

.project-visual {
    position: relative;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16/9;
}

.project-image img,
.project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

/* Remove grayscale on hover (desktop) */
.project-item:hover .project-image img,
.project-item:hover .project-image video {
    filter: grayscale(0%);
}





.project-info {
    padding: 1.5rem 0;
}

.project-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.project-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.project-info p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    background: #f0f0f0;
    color: #0a0a0a;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.link-arrow {
    width: 16px;
    height: 2px;
    background: #0a0a0a;
    position: relative;
    transition: all 0.3s ease;
}

.link-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 0;
    height: 0;
    border-left: 6px solid #0a0a0a;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.project-link:hover .link-arrow {
    transform: translateX(5px);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-visual {
    position: relative;
    height: 400px;
}

.about-abstract {
    position: relative;
    width: 100%;
    height: 100%;
}

.abstract-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: #ff6b6b;
    top: 20%;
    left: 20%;
    transform: rotate(15deg);
}

.abstract-diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #4834d4;
    transform: rotate(45deg);
    bottom: 30%;
    right: 25%;
}

.abstract-curve {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 4px solid #00d2d3;
    border-radius: 50%;
    top: 10%;
    right: 10%;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
}

.about-text {
    margin-bottom: 3rem;
}

.about-main {
    font-size: 1.4rem;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p:last-child {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
}

.stats-abstract {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-visual {
    width: 50px;
    height: 50px;
    position: relative;
}

.stat-shape {
    width: 100%;
    height: 100%;
}

.stat-shape-1 {
    background: #ff6b6b;
    border-radius: 50%;
}

.stat-shape-2 {
    background: #4834d4;
    transform: rotate(45deg);
}

.stat-shape-3 {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid #00d2d3;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a0a0a;
    line-height: 1;
}

.stat-content p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #666;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background: #0a0a0a;
    color: white;
    position: relative;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact .section-header {
    justify-content: center;
    margin-bottom: 2.5rem;
}

.contact .section-number {
    color: #666;
}

.contact .section-header h2 {
    color: white;
}

.contact-text {
    margin-bottom: 2.5rem;
}

.contact-text p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-abstract {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #0a0a0a;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-abstract {
    position: relative;
}

.button-shape {
    width: 20px;
    height: 20px;
    background: #0a0a0a;
    transform: rotate(45deg);
}

.contact-button:hover {
    transform: translateY(-2px);
}

.contact-text-button {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.contact-text-button::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    transition: width 0.3s ease;
}

.contact-text-button:hover {
    color: #ff6b6b;
    transform: translateY(-1px);
}

.contact-text-button:hover::after {
    width: 100%;
}

.contact-abstract {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.contact-abstract .abstract-square {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 107, 107, 0.1);
    transform: rotate(45deg);
    bottom: 20%;
    right: 15%;
    animation: float 25s ease-in-out infinite;
}

.contact-abstract .abstract-diamond {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: rotate 40s linear infinite reverse;
}

.contact-abstract .abstract-curve {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid #4834d4;
    border-radius: 50%;
    top: 10%;
    right: 20%;
    border-top: 3px solid transparent;
    border-right: 3px solid transparent;
    animation: rotate 30s linear infinite;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-abstract {
    position: relative;
}

.abstract-element {
    width: 30px;
    height: 30px;
    background: #ff6b6b;
    transform: rotate(45deg);
}

.footer p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #999;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-abstract {
        height: 150px;
    }
    
    .abstract-circle {
        width: 120px;
        height: 120px;
    }
    
    .project-item {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .project-item:nth-child(even) {
        direction: ltr;
    }
    
    .contact-abstract .abstract-diamond {
        width: 150px;
        height: 150px;
    }
    
    .contact-abstract .abstract-square {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .nav-items {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .hero {
        padding-top: 60px;
        min-height: 50vh;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-abstract {
        margin-left: 0;
    }
    
    .projects,
    .about,
    .contact {
        padding: 3rem 0;
    }
    
    .project-info h3 {
        font-size: 1.8rem;
    }
    
    /* Always show images/videos in color on mobile */
    .project-image img,
    .project-image video {
        filter: grayscale(0%) !important;
    }
    
    .stats-abstract {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.6rem;
    }
    
    .about-main {
        font-size: 1.2rem;
    }
} 