:root {
    --turtle-green: #4A9B4A;
    --turtle-green-light: #6BBF6B;
    --turtle-green-dark: #2D5A2D;
    --turtle-cream: #F5E6A8;
    --turtle-cream-light: #FAF0C7;
    --bg-dark: #1A1A1A;
    --bg-card: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --accent-orange: #FF6B35;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #252525 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    height: 70px;
    background: rgba(26, 26, 26, 0.8);
    border-bottom: 1px solid rgba(74, 155, 74, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--turtle-green-light);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--turtle-green-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--turtle-green-light);
    background: rgba(74, 155, 74, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--turtle-green-light), var(--turtle-cream));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-text .description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--turtle-green), var(--turtle-green-light));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 155, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 155, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--turtle-cream);
    border: 2px solid var(--turtle-cream);
}

.btn-secondary:hover {
    background: var(--turtle-cream);
    color: var(--bg-dark);
}

.hero-character {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.character-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 155, 74, 0.05) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--turtle-green-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(74, 155, 74, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--turtle-green-light);
}

.project-image-top {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(74, 155, 74, 0.2);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--turtle-cream);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tag {
    background: rgba(74, 155, 74, 0.2);
    color: var(--turtle-green-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--turtle-green-light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--turtle-cream);
}

/* About Section */
.about {
    padding: 6rem 0;
    text-align: center;
}

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

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 0 0 2rem;
    border-top: 1px solid rgba(74, 155, 74, 0.2);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .character-image {
        max-width: 250px;
        max-height: 250px;
    }

    .nav-links {
        display: none;
    }

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

    .cta-buttons {
        justify-content: center;
    }

    .btn {
        flex:1;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--turtle-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--turtle-green-light);
}
