:root {
    --color-primary: #10b981;
    --color-primary-hover: #059669;
    --color-secondary: #6b7280;
    --color-secondary-hover: #10b981;
    --color-primary-bg: #10b981;
    --color-secondary-bg: #ffffff;
    --color-surface: #b9f6ce;
    --color-surface-alt: #ecfdf5;
    --color-overlay: rgba(236, 253, 245, 0.5);
    --color-border: #d1fae5;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-shadow: rgba(0, 0, 0, 0.6);
    --color-shadow-light: rgba(0, 0, 0, 0.15);
    --color-accent: #10b981;
    --color-accent-hover: #059669;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-secondary-bg);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    background: var(--color-primary-bg);
    z-index: 1000;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white);
}

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

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary-hover);
}

.menu-button {
    border: none;
    display: none;
    background: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-white);
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: 0 4px 6px var(--color-shadow-light);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .menu-button,
.navbar.scrolled .nav-link {
    color: var(--color-primary);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-primary-hover);
}

.navbar.scrolled .nav-menu.active {
    background: var(--color-secondary-bg);
}

.navbar .nav-menu.active {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: var(--color-primary-bg);
}

.hero-section {
    text-align: center;
    padding: 120px 20px 80px;
    background: var(--color-primary-bg);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.animate-image {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.circle {
    width: 250px;
    height: 250px;
    background: var(--color-primary-hover);
    border-radius: 50%;
}

.float-image {
    width: 200px;
    height: 200px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.shadow-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: var(--color-shadow);
    border-radius: 50%;
    filter: blur(4px);
    z-index: 1;
    animation: shadow 6s ease-in-out infinite;
}

@keyframes shadow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(0.7);
        opacity: 0.3;
    }
}

.text-primary {
    color: var(--color-white);
}

.section-subtitle {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: bold;
}

.section-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    color: var(--color-white);
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--color-white);
    background: transparent;
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    border-radius: 50%;
    background: var(--color-secondary-bg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--color-white);
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.about-section {
    padding: 80px 20px;
    background: var(--color-overlay);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.about-section .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.section-text {
    color: var(--color-secondary);
    font-size: 1.125rem;
}

.section-text p {
    margin-bottom: 1.5rem;
}

.section-info {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-badge {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
}

.icon-badge::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 96px;
    height: 96px;
    background: var(--color-primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--color-shadow-light);
}

.icon-badge::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f121';
    color: var(--color-white);
    font-size: 1.5rem;
}

.user-image {
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 10%;
    border: 4px solid rgba(37, 99, 235, 0.2);
    object-fit: cover;
}

.skills-section {
    background: var(--color-surface);
    padding: 80px 20px;
}

.skills-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    color: var(--color-primary);
    padding: 4px 12px;
    background: var(--color-surface-alt);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    color: var(--color-white);
    background: var(--color-secondary-hover);
    transform: translateY(-2px);
}

.project-section {
    padding: 80px 20px;
}

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

.project-card {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px var(--color-shadow-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    box-shadow: 0 20px 25px -5px var(--color-shadow-light);
    transform: translateY(-8px);
}

.section-description {
    color: var(--color-secondary);
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.project-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
}

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

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    border-radius: 6px;
    background: var(--color-surface-alt);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--color-white);
    background: var(--color-primary);
}

.project-description {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.project-tag {
    color: var(--color-primary);
    background: var(--color-surface-alt);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.contact-section {
    background: var(--color-surface);
    padding: 80px 20px;
    text-align: center;
}

.contact-card {
    padding: 2rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px var(--color-shadow-light);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--color-secondary);
}

.footer {
    padding: 2rem 20px;
    background: var(--color-overlay);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer p {
    color: var(--color-secondary);
    font-size: smaller;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .section-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-section .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-info {
        flex-direction: column;
        gap: 1rem;
    }

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