/* CSS Variables */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --bg-dark: #000000;
    --bg-darker: #0f0f0f;
    --bg-card: rgba(26, 26, 26, 0.8);
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 50%, #1a1a1a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00d4ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 600px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    margin-bottom: 1rem;
    box-shadow: 0 0 20px var(--primary-color);
    transition: box-shadow 0.3s ease;
}

.profile-photo:hover {
    box-shadow: 0 0 30px var(--primary-color), 0 0 40px var(--secondary-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.profession, .location {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #00d4ff;
    text-decoration: none;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    background-color: #000000;
}

.section:nth-child(even) {
    background-color: #111111;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #00d4ff;
    margin: 1rem auto;
}

/* Experience */
.experience-item {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.experience-item h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

/* Education */
.education-item {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.education-item h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

/* Skills */
.skills-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    margin: 1rem;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-category li::before {
    content: '•';
    color: #00d4ff;
    position: absolute;
    left: 0;
}

/* Languages */
.languages-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.language-item {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-item span {
    font-weight: bold;
    color: #00d4ff;
}

/* Contact */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-links a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #ffffff;
}

/* Additional */
.additional-item {
    background-color: #1a1a1a;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.additional-item h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.additional-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #111111;
    padding: 2rem 0;
    text-align: center;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .skills-container {
        flex-direction: column;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
