:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a1a;
    --accent-color: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-accent: #cccccc;
    --background-primary: #0f0f0f;
    --background-secondary: #1a1a1a;
    --background-accent: #2d2d2d;
    --gradient-primary: linear-gradient(135deg, #ff6b35, #ff4757);
    --shadow-light: 0 4px 20px rgba(255, 107, 53, 0.1);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --primary-color: #ff6b35;
    --secondary-color: #f5f5f5;
    --accent-color: #e0e0e0;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-accent: #333333;
    --background-primary: #ffffff;
    --background-secondary: #f9f9f9;
    --background-accent: #f0f0f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}

.navbar {
    position: fixed;
    top: 4px;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--accent-color);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--accent-color);
}

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

.nav-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-status-badges {
    display: flex;
    gap: 0.5rem;
}

.status-badge.compact {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--background-primary);
    position: relative;
    overflow: hidden;
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particles-background::before,
.particles-background::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 107, 53, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 107, 53, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 40s linear infinite;
}

.particles-background::after {
    background-image: 
        radial-gradient(1px 1px at 50px 50px, rgba(255, 107, 53, 0.5), transparent),
        radial-gradient(2px 2px at 80px 10px, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(1px 1px at 120px 60px, var(--primary-color), transparent),
        radial-gradient(1px 1px at 170px 20px, rgba(255, 107, 53, 0.4), transparent);
    background-size: 250px 120px;
    animation: particleFloat 50s linear infinite reverse;
}

.particles-background .code-symbol {
    position: absolute;
    font-family: 'Courier New', monospace;
    color: rgba(255, 107, 53, 0.3);
    font-size: 1.5rem;
    pointer-events: none;
    animation: floatSymbol 15s ease-in-out infinite;
}

.particles-background .code-symbol:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.particles-background .code-symbol:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: -5s;
    font-size: 1.2rem;
}

.particles-background .code-symbol:nth-child(3) {
    top: 60%;
    left: 8%;
    animation-delay: -8s;
    font-size: 1.8rem;
}

.particles-background .code-symbol:nth-child(4) {
    bottom: 30%;
    right: 10%;
    animation-delay: -3s;
}

.particles-background .code-symbol:nth-child(5) {
    top: 45%;
    right: 25%;
    animation-delay: -7s;
    font-size: 1.3rem;
}

.particles-background .code-symbol:nth-child(6) {
    bottom: 15%;
    left: 20%;
    animation-delay: -1s;
    font-size: 1.6rem;
}

.particles-background .code-symbol:nth-child(7) {
    top: 75%;
    left: 45%;
    animation-delay: -4s;
}

.particles-background .code-symbol:nth-child(8) {
    top: 35%;
    left: 30%;
    animation-delay: -6s;
    font-size: 1.4rem;
}

.particles-background .code-symbol:nth-child(9) {
    top: 85%;
    right: 30%;
    animation-delay: -9s;
    font-size: 1.1rem;
}

.particles-background .code-symbol:nth-child(10) {
    top: 25%;
    left: 60%;
    animation-delay: -11s;
    font-size: 1.5rem;
}

.particles-background .code-symbol:nth-child(11) {
    bottom: 20%;
    left: 70%;
    animation-delay: -2.5s;
    font-size: 1.2rem;
}

.particles-background .code-symbol:nth-child(12) {
    top: 50%;
    right: 5%;
    animation-delay: -4.5s;
    font-size: 1.6rem;
}

.particles-background .code-symbol:nth-child(13) {
    top: 15%;
    left: 25%;
    animation-delay: -7.5s;
    font-size: 1.1rem;
}

.particles-background .code-symbol:nth-child(14) {
    bottom: 35%;
    right: 45%;
    animation-delay: -1.5s;
    font-size: 1.3rem;
}

.particles-background .code-symbol:nth-child(15) {
    top: 70%;
    right: 20%;
    animation-delay: -8.5s;
    font-size: 1.4rem;
}

.particles-background .code-symbol:nth-child(16) {
    top: 40%;
    left: 15%;
    animation-delay: -3.5s;
    font-size: 1.2rem;
}

.particles-background .code-symbol:nth-child(17) {
    bottom: 10%;
    right: 60%;
    animation-delay: -5.5s;
    font-size: 1.1rem;
}

.particles-background .code-symbol:nth-child(18) {
    top: 30%;
    left: 75%;
    animation-delay: -10s;
    font-size: 1.4rem;
}

.particles-background .code-symbol:nth-child(19) {
    bottom: 25%;
    left: 50%;
    animation-delay: -6.5s;
    font-size: 1.3rem;
}

.particles-background .code-symbol:nth-child(20) {
    top: 55%;
    right: 35%;
    animation-delay: -9.5s;
    font-size: 1.2rem;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(120deg);
        opacity: 0;
    }
}

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) rotate(8deg);
        opacity: 0.5;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(255, 107, 53, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-areas: 
        "text image"
        "buttons image";
    gap: 2rem 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-text {
    grid-area: text;
}

.hero-buttons {
    grid-area: buttons;
}

.hero-image {
    grid-area: image;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.floating-badges {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
}

.floating-badges .status-badge {
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.floating-badges .badge-text {
    display: inline;
}

.floating-badges .status-badge:not(.unavailable) {
    cursor: pointer;
}

.floating-badges .status-badge.unavailable {
    cursor: not-allowed;
}

.floating-badges .status-badge:hover {
    transform: translateX(-5px) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.floating-badges .status-badge:hover:not(.unavailable) {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.floating-badges .status-badge.unavailable:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff4757, #ff6b35);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}


.hero-text p {
    font-size: 1.1rem;
    color: var(--text-accent);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.mobile-status-badges {
    display: none;
}

@media (max-width: 768px) {
    .mobile-status-badges {
        display: flex;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .mobile-status-badges .status-badge {
        flex: 1;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        border-radius: 20px;
        text-align: center;
        transition: all 0.3s ease;
        cursor: default;
        justify-content: center;
    }
    
    .mobile-status-badges .status-badge:not(.unavailable) {
        pointer-events: none;
    }
    
    .mobile-status-badges .status-badge.unavailable {
        cursor: not-allowed;
    }
}

.status-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.unavailable {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.status-badge.unavailable .status-dot {
    background: #ef4444;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    border-color: var(--primary-color);
}

/* Star Button Effect */
.star-button {
    position: relative;
    overflow: visible;
}

.star-button::before,
.star-button::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 784.11 815.53'%3E%3Cpath fill='%23ff6b35' d='M392.05 0c-20.9,210.08-184.06,378.41-392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74-207.98,-29.38-371.16,-197.69-392.06,-407.78z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -5;
    opacity: 0;
    filter: drop-shadow(0 0 0 #ff6b35);
    transition: all 0.9s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-button::before {
    top: 15%;
    left: 10%;
}

.star-button::after {
    top: 60%;
    left: 80%;
    width: 14px;
    height: 14px;
    transition: all 1.1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-button:hover::before {
    top: -90%;
    left: -40%;
    opacity: 1;
    filter: drop-shadow(0 0 18px #ff6b35);
    z-index: 2;
}

.star-button:hover::after {
    top: 120%;
    left: 100%;
    opacity: 1;
    filter: drop-shadow(0 0 16px #ff6b35);
    z-index: 2;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: var(--shadow-dark);
}

.image-overlay {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about {
    background: var(--background-secondary);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, var(--background-accent) 0%, rgba(45, 45, 45, 0.8) 100%);
    background-size: 400px 400px, 300px 300px, 100% 100%;
    background-position: 0% 0%, 100% 100%, 0% 0%;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.02) 2px,
            rgba(255, 107, 53, 0.02) 4px
        );
    pointer-events: none;
}

[data-theme="light"] .service-item {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--background-accent) 0%, rgba(240, 240, 240, 0.9) 100%);
    background-size: 400px 400px, 300px 300px, 100% 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    background-position: -20px -20px, 120% 120%, 0% 0%;
    border-color: var(--primary-color);
    box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
}

.service-item:hover::before {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.05) 2px,
            rgba(255, 107, 53, 0.05) 4px
        );
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

.experience {
    background: var(--background-primary);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--background-primary), 0 0 0 6px var(--primary-color);
}

.timeline-date {
    position: absolute;
    left: -120px;
    top: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 100px;
}

.timeline-content {
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.skills {
    background: var(--background-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, var(--background-accent) 0%, rgba(45, 45, 45, 0.8) 100%);
    background-size: 400px 400px, 300px 300px, 100% 100%;
    background-position: 0% 0%, 100% 100%, 0% 0%;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.02) 2px,
            rgba(255, 107, 53, 0.02) 4px
        );
    pointer-events: none;
}

[data-theme="light"] .skill-category {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--background-accent) 0%, rgba(240, 240, 240, 0.9) 100%);
    background-size: 400px 400px, 300px 300px, 100% 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    background-position: -20px -20px, 120% 120%, 0% 0%;
    border-color: var(--primary-color);
    box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
}

.skill-category:hover::before {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.05) 2px,
            rgba(255, 107, 53, 0.05) 4px
        );
}

.skill-category h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--background-primary);
    color: var(--text-accent);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-color);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.projects {
    background: var(--background-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 16/10;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-image:hover img {
    transform: scale(1.1);
}

.project-overlay-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.project-overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

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

.project-content p {
    color: var(--text-accent);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-accent);
}

.project-detail i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
}

.project-detail span {
    font-size: 0.95rem;
}


.contact {
    background: var(--background-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-link {
    text-decoration: none;
    cursor: pointer;
}

.contact-link:hover span {
    color: var(--primary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item span {
    color: var(--text-accent);
    transition: var(--transition);
}

.contact-item p {
    color: var(--text-accent);
    margin: 0;
}

.contact-cta {
    background: var(--background-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--accent-color);
    height: fit-content;
}

.contact-cta h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-cta p {
    color: var(--text-accent);
    margin-bottom: 2rem;
}

.footer {
    background: var(--background-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--accent-color);
    text-align: center;
}

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

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--accent-color);
    z-index: 10000;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--accent-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-text h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cookie-text p {
    color: var(--text-accent);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Cookie Settings Button in Navigation */
.cookie-settings {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

[data-theme="light"] .cookie-settings {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.cookie-settings:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--background-secondary);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-dark);
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #4CAF50;
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success .notification-content i {
    color: #4CAF50;
}

.notification-info .notification-content i {
    color: var(--primary-color);
}

.notification-content span {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Typing Animation */
.typing-text {
    position: relative;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--background-primary);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-dark);
        padding: 2rem 0;
        border-top: 1px solid var(--accent-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "image"
            "text"
            "buttons";
        text-align: center;
        gap: 2rem;
    }
    .hero-image {
        margin-top: 2rem;
    }
    .floating-badges {
        display: none;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .particles-background .code-symbol {
        font-size: 1rem !important;
        opacity: 0.6;
    }

    .particles-background .code-symbol:nth-child(n+13) {
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 14px;
    }

    .timeline-date {
        position: static;
        margin-bottom: 0.5rem;
        width: auto;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .project-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }

    .image-container {
        width: 280px;
        height: 280px;
    }
}

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

    .nav-container {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        flex: none;
        width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Project Actions */
.project-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--accent-color);
}

.project-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.project-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.project-actions .btn i {
    font-size: 1rem;
}

/* PGP Section Styles */
.pgp-section-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pgp-section-clickable:hover {
    background: var(--accent-color) !important;
    border-color: var(--primary-color) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3) !important;
}

.pgp-section-clickable:hover .fas.fa-key {
    color: var(--primary-color);
    transform: scale(1.1);
}

.pgp-section-clickable:hover h3 {
    color: var(--primary-color) !important;
}

.pgp-hint {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pgp-section-clickable:hover .pgp-hint {
    opacity: 1;
    color: var(--primary-color);
}

/* PGP Modal Styles */
.pgp-modal {
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.pgp-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.pgp-modal-content {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    box-shadow: var(--shadow-dark);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 100000;
}

.pgp-modal.show .pgp-modal-content {
    transform: translateY(0) scale(1);
}

.pgp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--accent-color);
}

.pgp-modal-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.3rem;
}

.pgp-modal-close {
    font-size: 1.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 100001;
    user-select: none;
}

.pgp-modal-close:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.pgp-modal-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: auto;
}

.pgp-key-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pgp-key-info p {
    color: var(--text-accent);
    margin: 0;
    font-size: 0.9rem;
}

.pgp-key-info strong {
    color: var(--primary-color);
}

.pgp-key-container {
    flex: 1;
}

.pgp-key-container textarea {
    width: 100%;
    height: 250px;
    background: var(--background-primary);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    resize: vertical;
    overflow-y: auto;
}

.pgp-key-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.pgp-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pgp-buttons {
        flex-direction: column;
    }
    
    .btn-pgp {
        justify-content: center;
        flex: 1;
    }
    
    .pgp-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .pgp-modal-body {
        padding: 1rem;
    }
    
    .pgp-modal-actions {
        flex-direction: column;
    }
    
    .pgp-key-container textarea {
        height: 200px;
        font-size: 0.7rem;
    }
}