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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 2rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 1rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #64b5f6;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
}

.hero-content {
    padding: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #2d2d2d;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: #ffffff;
}

.hero p {
    font-size: 1.5rem;
    color: #b0b0b0;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background-color: #1a1a1a;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
}

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

.about-text {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    background-color: #121212;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    color: #64b5f6;
}

.project-card p {
    margin: 0 1.5rem 1.5rem;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-links {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-links a {
    color: #64b5f6;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.project-links a i {
    margin-right: 0.5rem;
}

.project-links a:hover {
    color: #90caf9;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: #1a1a1a;
    text-align: center;
}

.contact h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: #e0e0e0;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.social-links a:hover {
    color: #64b5f6;
    transform: translateY(-2px);
}

.tooltip {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2d2d2d;
    color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-links a:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links li a {
        color: #e0e0e0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

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

.attribution {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-top: 2rem;
    background-color: #121212;
}

.attribution a {
    color: #64b5f6;
    text-decoration: none;
}

.attribution a:hover {
    color: #90caf9;
    text-decoration: underline;
} 