:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #4a90e2;
    --card-bg: rgba(25, 25, 25, 0.6);
    --nav-bg: rgba(5, 5, 5, 0.8);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none; /* Custom cursor */
}

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

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: top 0.1s ease-out, left 0.1s ease-out, width 0.2s, height 0.2s, background 0.2s;
}

body:hover .cursor {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s;
}

.navbar.scrolled {
    padding: 1rem 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 4rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
    opacity: 0;
    animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* Work Section */
.work {
    padding: 8rem 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-right: 2rem;
}

.section-header .line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

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

.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:nth-child(even) {
    transform: translateY(4rem);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
    filter: grayscale(20%) brightness(0.8);
}

.project-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 10rem 4rem;
    background: rgba(20, 20, 20, 0.5);
}

.about-grid {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    padding: 6rem 4rem 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-block;
    font-size: 2rem;
    color: var(--text-primary);
    text-decoration: none;
    margin: 2rem 0;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeUpIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .gallery { grid-template-columns: 1fr; }
    .project-card:nth-child(even) { transform: translateY(0); }
    .navbar { padding: 1.5rem; }
    .navbar.scrolled { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .work, .about, .footer { padding-left: 1.5rem; padding-right: 1.5rem; }
    .about-text h2 { font-size: 2.5rem; }
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
}
