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

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #888;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 100px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    margin-bottom: 2rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

/* Hero Section */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* About Section */
#about {
    background: #111;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    line-height: 2;
}

.profile-img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
}

.about-text {
    font-size: 1.1rem;
    color: #ccc;
}

/* Skills Section */
#skills {
    background: #000;
}

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

.skill-card {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.skill-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

/* Projects Section */
#projects {
    background: #111;
}

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

.project-card {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img {
    width: 100%;
    height: 200px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.project-img img {
    max-height: 100%;
    max-width: 200%;
    object-fit: contain;
    display: block;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 1rem;
}

.project-links {
    margin-top: 1rem;
}

.project-links a {
    color: #888;
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

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

/* Resume Section */
#resume {
    background: #000;
}

.resume-container {
    text-align: center;
}

.pdf-viewer {
    width: 100%;
    height: 800px;
    border: 2px solid #333;
    border-radius: 10px;
    margin-top: 2rem;
    background: #111;
}

.resume-download {
    margin-top: 1rem;
}

/* Contact Section */
#contact {
    background: #111;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: #000;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #555;
}

.contact-form button {
    padding: 15px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #fff;
    color: #000;
}

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

.social-links a {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* Footer */
footer {
    background: #000;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    section {
        padding: 80px 15px 20px;
    }

    .pdf-viewer {
        height: 600px;
    }
}

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