body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: #ffffff;
    margin: 0;
    padding: 0;
}

a {
    color: cyan;
}

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

.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    margin: 0;
    font-size: 3em;
    color: #ffffff;
}

.header p {
    margin: 10px 0 0;
    font-size: 1.5em;
    color: #f8f8f8;
}

.nav {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 10px;
    margin-bottom: 20px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav a:hover, .nav a.active {
    background-color: #ff00ff;
}

.section {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 2.5em;
    color: #ff00ff;
    text-align: center;
    margin-bottom: 40px;
}

.about {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff00ff;
}

.about-text {
    flex: 1;
}

.work-experience table, .skills table {
    width: 100%;
    border-collapse: collapse;
}

.work-experience th, .work-experience td, .skills td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.work-experience th {
    background-color: rgba(0, 0, 0, 0.2);
}

.skills .stars {
    color: #ff00ff;
}

.hobbies ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.hobbies li {
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
}

.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: #aaa;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-item .desc {
    padding: 15px;
}

/* Slideshow */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides1 {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 150px;
        height: 150px;
    }

    .work-experience table, .skills table {
        font-size: 0.9em;
    }

    .header h1 {
        font-size: 2.5em;
    }

    .header p {
        font-size: 1.2em;
    }

    .section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .section {
        padding: 20px;
    }

    .section h2 {
        font-size: 1.8em;
    }

    .hobbies li {
        display: block;
        margin: 5px 0;
    }
}
