/* COMBINED THEMES CSS FILE */

/* CSS CUSTOM PROPERTIES FOR THEMES */
:root {
    /* Blue theme (default) */
    --primary-color: #6495ed;
    --secondary-color: #87ceeb;
    --accent-color: #4682b4;
    --accent-color-2: #5f9ea0;
    --text-primary: #e0e6ff;
    --text-secondary: #b0c4de;
    --background-gradient: radial-gradient(ellipse at center, #0a0a1a 0%, #040408 50%, #000000 100%);
    --nav-bg: rgba(0, 0, 0, 0.6);
    --nav-border: rgba(100, 149, 237, 0.2);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(100, 149, 237, 0.1);
    --portfolio-bg: rgba(255, 255, 255, 0.03);
    --portfolio-border: rgba(100, 149, 237, 0.15);
    --tech-tag-bg: rgba(70, 130, 180, 0.2);
    --tech-tag-border: rgba(70, 130, 180, 0.3);
    --icon-filter: brightness(0) saturate(100%) invert(86%) sepia(7%) saturate(743%) hue-rotate(182deg) brightness(98%) contrast(87%);
    --star-glow: #87ceeb;
    --star-glow-secondary: #4682b4;
    --star-glow-tertiary: #6495ed;
}

/* Purple theme */
[data-theme="purple"] {
    --primary-color: #bb86fc;
    --secondary-color: #64ffda;
    --accent-color: #9b59ff;
    --accent-color-2: #00e6c3;
    --text-primary: #ecfaff;
    --text-secondary: #cfefff;
    --background-gradient: radial-gradient(ellipse at center, #0a0714 0%, #05030a 50%, #000000 100%);
    --nav-bg: rgba(0, 0, 0, 0.6);
    --nav-border: rgba(187, 134, 252, 0.2);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(187, 134, 252, 0.12);
    --portfolio-bg: rgba(255, 255, 255, 0.03);
    --portfolio-border: rgba(187, 134, 252, 0.15);
    --tech-tag-bg: rgba(155, 89, 255, 0.2);
    --tech-tag-border: rgba(155, 89, 255, 0.3);
    --icon-filter: brightness(0) saturate(100%) invert(86%) sepia(7%) saturate(743%) hue-rotate(122deg) brightness(98%) contrast(87%);
    --star-glow: #bb86fc;
    --star-glow-secondary: #9b59ff;
    --star-glow-tertiary: #64ffda;
}

/* Orange theme */
[data-theme="orange"] {
    --primary-color: #ffa500;
    --secondary-color: #ffb347;
    --accent-color: #ff8c42;
    --accent-color-2: #d4af37;
    --text-primary: #f8f8ff;
    --text-secondary: #e6e6fa;
    --background-gradient: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 25%, #0a0a0f 100%);
    --nav-bg: rgba(10, 10, 15, 0.4);
    --nav-border: rgba(255, 179, 71, 0.2);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 179, 71, 0.1);
    --portfolio-bg: rgba(255, 255, 255, 0.04);
    --portfolio-border: rgba(255, 179, 71, 0.15);
    --tech-tag-bg: rgba(255, 140, 66, 0.2);
    --tech-tag-border: rgba(255, 140, 66, 0.3);
    --icon-filter: brightness(0) saturate(100%) invert(86%) sepia(7%) saturate(743%) hue-rotate(5deg) brightness(98%) contrast(87%);
    --star-glow: #ffa07a;
    --star-glow-secondary: #ffb347;
    --star-glow-tertiary: #ffa500;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--background-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Animated stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3; 
        box-shadow: 0 0 6px var(--star-glow);
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 12px var(--star-glow-secondary), 0 0 24px var(--star-glow-tertiary);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--nav-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(var(--primary-color), 0.5);
    transition: color 0.3s ease;
}

.nav-container li {
    text-align: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(var(--secondary-color), 0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 20px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color), var(--accent-color-2));
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
    box-shadow: 0 4px 15px rgba(var(--primary-color), 0.3);
    transform: scale(1.05);
}

.theme-circle {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="purple"] .theme-circle {
    left: 12px;
}

[data-theme="orange"] .theme-circle {
    left: 22px;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
main {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 50px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--accent-color-2));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: galaxyShift 6s ease infinite;
    text-shadow: 0 0 30px rgba(var(--primary-color), 0.3);
}

@keyframes galaxyShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color), var(--accent-color-2));
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(var(--accent-color), 0.3);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(var(--accent-color), 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Page sections */
.page {
    display: none;
    min-height: calc(100vh - 100px);
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding-top: 100px;
}

.page h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(var(--primary-color), 0.4);
}

.back-button {
    background: rgba(var(--accent-color), 0.2);
    border: 1px solid var(--accent-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    background: rgba(var(--accent-color), 0.3);
    box-shadow: 0 5px 15px rgba(var(--accent-color), 0.3);
}

.page-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(var(--accent-color), 0.1);
}

.page-content p {
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.portfolio-item {
    background: var(--portfolio-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--portfolio-border);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--accent-color), 0.15);
    border-color: rgba(var(--primary-color), 0.3);
}

.portfolio-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.portfolio-item p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: var(--tech-tag-bg);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--tech-tag-border);
}

.view-project {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.portfolio-item:hover .view-project {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(var(--secondary-color), 0.6);
}

/* Project pages */
.project-page .page-content {
    max-width: none;
}

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.project-image {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--portfolio-border);
}

.placeholder-image {
    background: linear-gradient(135deg, rgba(var(--accent-color), 0.1), rgba(var(--accent-color-2), 0.1));
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.1rem;
    border: 2px dashed var(--portfolio-border);
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.project-link {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    color: #000000;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-color), 0.3);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-color), 0.4);
}

.project-link.secondary {
    background: var(--tech-tag-bg);
    color: var(--secondary-color);
    border: 1px solid var(--accent-color);
}

.project-link.secondary:hover {
    background: rgba(var(--accent-color), 0.3);
}

.project-description {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--portfolio-border);
}

.project-description p {
    margin-bottom: 20px;
}

.project-description h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.project-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.project-description li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Contact page */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: center;
}

.contact-item {
    padding: 15px;
    background: var(--tech-tag-bg);
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-secondary);
}

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

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: center;
}

.icon-button {
    background: var(--tech-tag-bg);
    border: 1px solid var(--accent-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(var(--accent-color), 0.3);
    border: 1px solid var(--portfolio-border);
}

.icon-button:hover {
    background: rgba(var(--accent-color), 0.3);
    box-shadow: 0 5px 15px rgba(var(--accent-color), 0.3);
}

.icon-button img {
    width: 30px;
    height: 30px;
    display: block;
    filter: var(--icon-filter);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Floating particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive design */
@media (max-width: 800px) {
    nav {
        padding: 15px 20px;
    }

    .logo {
        margin-right: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        border-top: 1px solid var(--nav-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .theme-toggle {
        order: -1;
        margin-right: auto;
        margin-left: 10px;
    }

    .hero {
        padding: 0 20px;
    }

    .page {
        padding: 20px;
    }

    .page-content {
        padding: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .project-links {
        flex-direction: column;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
} 