/* Galaxy Theme Portfolio - Custom CSS */

/* Color Variables */
:root {
    --galaxy-purple: #c084fc;
    --galaxy-blue: #60a5fa;
    --galaxy-cyan: #22d3ee;
    --galaxy-pink: #f472b6;
    --space-dark: #0a0a0f;
    --space-medium: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --gradient-primary: linear-gradient(135deg, #c084fc, #60a5fa, #22d3ee);
    --gradient-space: linear-gradient(180deg, #0a0a0f, #1a1a2e);
    --gradient-nebula: radial-gradient(circle, rgba(192, 132, 252, 0.2), rgba(34, 211, 238, 0.1), transparent);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-space);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Galaxy Background */
.galaxy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-space);
    z-index: -1;
}

.galaxy-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-nebula);
    animation: pulse-glow 4s ease-in-out infinite;
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--galaxy-cyan);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.floating-particle:nth-child(1) { top: 20%; left: 10%; }
.floating-particle:nth-child(2) { top: 60%; left: 20%; background: var(--galaxy-purple); animation-delay: -2s; animation-duration: 8s; }
.floating-particle:nth-child(3) { top: 30%; left: 70%; background: var(--galaxy-pink); animation-delay: -4s; animation-duration: 10s; }
.floating-particle:nth-child(4) { top: 80%; left: 80%; animation-delay: -1s; }
.floating-particle:nth-child(5) { top: 40%; left: 90%; background: var(--galaxy-purple); animation-delay: -3s; animation-duration: 7s; }
.floating-particle:nth-child(6) { top: 70%; left: 60%; background: var(--galaxy-pink); animation-delay: -5s; animation-duration: 9s; }
.floating-particle:nth-child(7) { top: 10%; left: 50%; animation-delay: -6s; }
.floating-particle:nth-child(8) { top: 90%; left: 30%; background: var(--galaxy-blue); animation-delay: -1.5s; animation-duration: 11s; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
    background-size: 200% 200%;
}

.hero-buttons .btn {
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 132, 252, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 12px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

/* Section Styles */
section {
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.skills-section,
.contact-section {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
}

/* About Section */
.about-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.2), rgba(34, 211, 238, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(192, 132, 252, 0.3);
}

.developer-emoji {
    font-size: 8rem;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.stats .stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    color: var(--galaxy-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skills Section */
.skill-category {
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-10px);
}

.skill-icon {
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.skill-category:hover .skill-icon {
    transform: scale(1.1);
}

.skill-title {
    color: var(--galaxy-purple);
    font-size: 1.5rem;
    font-weight: 600;
}

.skill-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.2), rgba(34, 211, 238, 0.2));
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.3), rgba(34, 211, 238, 0.3));
    transform: translateY(-2px);
}

.all-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* Projects Section */
.project-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(192, 132, 252, 0.3);
    border-color: rgba(192, 132, 252, 0.6);
}

.project-emoji {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin: 0.2rem;
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--galaxy-purple);
}

.project-links .btn {
    transition: all 0.3s ease;
}

.project-links .btn:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-form,
.contact-info,
.quick-response {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-form:hover,
.contact-info:hover,
.quick-response:hover {
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.2);
}

.form-control {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(192, 132, 252, 0.3);
    color: var(--text-primary);
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(10, 10, 15, 0.7);
    border-color: var(--galaxy-purple);
    box-shadow: 0 0 0 0.2rem rgba(192, 132, 252, 0.25);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(192, 132, 252, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(192, 132, 252, 0.3);
}

.contact-icon i {
    color: var(--galaxy-purple);
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.availability {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Button Customizations */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 132, 252, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--galaxy-purple);
    color: var(--galaxy-purple);
    background: transparent;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--galaxy-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 132, 252, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    background: transparent;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .developer-emoji {
        font-size: 6rem;
    }
    
    .skill-icon {
        font-size: 3rem;
    }
    
    .project-emoji {
        font-size: 3rem;
    }
    
    .about-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}