/* Page-specific styles */

/* Python Page */
.python-hero {
    background: linear-gradient(135deg, #306998 0%, #FFD43B 100%);
}

.python-card {
    border-left: 4px solid #306998;
}

.skill-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #306998, #FFD43B);
    border-radius: 4px;
    transition: width 2s ease;
}

/* Web Development Page */
.web-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tech-icon {
    transition: transform 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    color: white;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    opacity: 0.8;
}

.testimonial-text {
    font-style: italic;
    margin: 1rem 0;
    line-height: 1.6;
}

.stars {
    color: #fbbf24;
}

/* Stats Counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3b82f6;
    display: block;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Coding Showcase Section */
.coding-showcase {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.coding-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: #1e293b;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    border: 1px solid #334155;
}

.window-header {
    background: #334155;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-content {
    padding: 2rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: typewriter 3s steps(40) infinite;
}

.indent {
    margin-left: 2rem;
}

.keyword { color: #c084fc; }
.function-name { color: #60a5fa; }
.variable { color: #34d399; }
.string { color: #fbbf24; }
.method { color: #f472b6; }
.template-string { color: #fb7185; }

@keyframes typewriter {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* Floating Code Elements */
.coding-showcase::before {
    content: '{ }';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.1);
    animation: float 6s ease-in-out infinite;
}

.coding-showcase::after {
    content: '</>';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 3rem;
    color: rgba(16, 185, 129, 0.1);
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Code Snippets in Cards */
.code-snippet {
    background: #1e293b;
    color: #e2e8f0;
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    margin-top: 1rem;
    border: 1px solid #334155;
}

.code-snippet code {
    color: #60a5fa;
}