/* Base Styles */
:root {
    --primary-color: #0f0f0f;
    --secondary-color: #f5f5f5;
    --accent-color: #4a4a4a;
    --text-color: #1a1a1a;
    --background-color: #ffffff;
    --font-primary: 'Space Grotesk', sans-serif;
    --transition: all 0.3s ease;
    --container-padding: 5vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem var(--container-padding);
    mix-blend-mode: difference;
}

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

.logo {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

.logo-svg {
    width: 150px;
    height: 30px;
}

.logo-text {
    fill: currentColor;
    font-family: var(--font-primary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.8rem 1.5rem;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 var(--container-padding);
    background: var(--primary-color);
    color: var(--secondary-color);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    max-width: 600px;
    margin-bottom: 3rem;
}

.text-reveal {
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(100%);
    animation: revealText 0.8s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: currentColor;
    transform-origin: top;
    animation: scrollLine 2s ease-in-out infinite;
}

/* Work Section */
.work-section {
    padding: 8rem var(--container-padding);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.work-item {
    position: relative;
    overflow: hidden;
}

.work-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    overflow: hidden;
}

.work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--secondary-color);
    transform: translateY(100%);
    transition: var(--transition);
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.work-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.work-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 4px;
}

.work-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.work-link:hover::after {
    width: 100%;
}

/* Services Section */
.services-section {
    padding: 8rem var(--container-padding);
    background: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.service-item {
    position: relative;
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 8rem var(--container-padding);
}

.about-content {
    max-width: 800px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 8rem var(--container-padding);
    background: var(--primary-color);
    color: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    font-size: 1.2rem;
}

.contact-email {
    display: inline-block;
    color: currentColor;
    text-decoration: none;
    font-size: 2rem;
    margin-top: 1rem;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: var(--transition);
}

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

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: currentColor;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.submit-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid currentColor;
    color: currentColor;
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Footer */
.footer {
    padding: 4rem var(--container-padding);
    background: var(--background-color);
}

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

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 0.7;
}

/* Animations */
@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
    }
    50% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(0);
    }
} 