/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #111111;
    --dark-gray: #1a1a1a;
    --gray: #808080;
    --light-gray: #e0e0e0;
    --accent: #808080;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-gray);
    background: var(--dark-gray);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-gray);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--light-gray);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background: var(--black);
    position: relative;
    overflow: hidden;
    color: var(--light-gray);
}

/* Animated Circles */
.animated-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--gray);
    opacity: 0.2;
    animation: moveAround 15s linear infinite;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
    border-color: var(--gray);
    opacity: 0.15;
}

.circle:nth-child(2) {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -200px;
    animation-delay: -4s;
    animation-duration: 17s;
    border-color: var(--gray);
    opacity: 0.15;
}

.circle:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 30%;
    animation-delay: -7s;
    animation-duration: 13s;
    border-color: var(--gray);
    opacity: 0.2;
}

.circle:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 20%;
    left: 20%;
    animation-delay: -2s;
    animation-duration: 19s;
    border-color: var(--gray);
    opacity: 0.2;
}

@keyframes moveAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent);
}

.name-writer {
    color: var(--black);
    padding-right: 5px;
    background-color: var(--black);
}

.typewriter {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin: 0.5rem;
    background: var(--dark-gray);
    color: var(--light-gray);
    border: 1px solid var(--gray);
}

.btn.primary {
    background: var(--black);
    color: var(--light-gray);
    border: 1px solid var(--gray);
}

.btn.secondary {
    background: var(--dark-gray);
    color: var(--light-gray);
    border: 1px solid var(--gray);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    background: var(--black);
    border-color: var(--accent);
}

/* Sections */
section {
    padding: 5rem 10%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--light-gray);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills {
    background: var(--dark-gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--black);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: var(--dark-gray);
}

.skill-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--black);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: var(--dark-gray);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    padding: 1rem;
}

.project-card p {
    padding: 0 1rem 1rem;
}

.project-links {
    padding: 1rem;
    display: flex;
    justify-content: space-around;
}

/* Contact Section */
.contact {
    background: var(--dark-gray);
    padding: 4rem 2rem;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-btn {
    background: var(--black);
    color: var(--light-gray);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: var(--dark-gray);
    border-color: var(--light-gray);
}

.contact-btn i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--black);
    padding: 2rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--light-gray);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Remove old form styles */
.form-group,
input,
textarea {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 5%;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .about-content, .skills-grid, .projects-grid {
    animation: fadeIn 1s ease-out;
}

/* Links */
a {
    color: var(--gray);
}

a:hover {
    color: var(--light-gray);
}

/* Text colors */
p {
    color: var(--gray);
}

h3 {
    color: var(--light-gray);
} 