/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ccc;
}

.social-icons a {
    color: #fff;
    margin-left: 20px;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #007bff;
    transform: scale(1.1);
}

.social-icons .static:hover {
    transform: none;
}

.bluesky-icon {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    transition: transform 0.3s;
}

/* Sections */
section {
    padding: 100px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#hero {
    background: linear-gradient(135deg, #000, #111);
    text-align: center;
}

#hero h2.rainbow-text {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #333, #555);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    transition: background 0.3s, transform 0.3s;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.project-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project-item p {
    opacity: 0.8;
}

/* Education and Experience */
.education-item, .experience-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 5px solid #fff;
}

.education-item h3, .experience-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.education-item p, .experience-item p {
    opacity: 0.8;
}

.education-item p:nth-child(2), .experience-item p:nth-child(2) {
    font-weight: bold;
    color: #ccc;
}

/* Skill Level */
.skill-level {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Hobbies */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.hobby-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}

.hobby-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.hobby-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.hobby-item p {
    opacity: 0.8;
}

/* Testimonials */
.testimonial-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-item p:nth-child(1) {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item p:nth-child(2) {
    opacity: 0.7;
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* About Stats */
.about-stats div {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-stats span {
    color: #ccc;
    font-weight: bold;
}

/* Contact */
#contact .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    color: #fff;
    opacity: 0.7;
    margin: 0;
}

/* Snowfall Animation */
#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snowflake {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        top: -10px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 110vh;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin-left: 20px;
    }

    #hero h2 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin-left: 10px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    #hero h2 {
        font-size: 1.5rem;
    }

    .skill-item, .project-item {
        padding: 15px;
    }

    .social-icons a {
        margin-left: 15px;
    }
}
