@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    /* CLEAN TUX COLORS - Professional & Friendly */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-card: #242b3d;
    --tux-white: #ffffff;
    --tux-yellow: #fbbf24;
    --tux-orange: #f59e0b;
    --tux-blue: #3b82f6;
    --tux-lightblue: #60a5fa;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #374151;
    --accent-glow: rgba(251, 191, 36, 0.15);
}

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

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

/* Navbar */
.navbar {
    background: var(--bg-secondary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-tux {
    width: 45px;
    height: auto;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-tux:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--tux-yellow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    margin-top: 70px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.tux-container {
    margin-bottom: 2rem;
}

.tux-hero {
    width: 220px;
    height: auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px var(--accent-glow));
}

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

.main-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--tux-white);
    font-weight: 800;
    letter-spacing: -1px;
}

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

/* Social Icons */
.social-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2.5rem 0;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 2.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--tux-yellow);
    transform: translateY(-5px);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--tux-yellow);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.section-subtitle a {
    color: var(--tux-lightblue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.section-subtitle a:hover {
    color: var(--tux-yellow);
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.about-card:hover {
    border-color: var(--tux-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-card h3 {
    color: var(--tux-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.about-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight {
    color: var(--tux-lightblue);
    font-weight: 700;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--tux-lightblue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.card-link:hover {
    color: var(--tux-yellow);
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.skill-card:hover {
    border-color: var(--tux-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.skill-years {
    color: var(--tux-lightblue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skill-card p:last-child {
    color: var(--text-secondary);
}

/* Projects Section */
.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: var(--tux-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
    color: var(--tux-yellow);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.project-card strong {
    color: var(--text-primary);
}

.project-card a {
    color: var(--tux-lightblue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.project-card a:hover {
    color: var(--tux-yellow);
}

.loading {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.3rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Blog Section */
.blog {
    background: var(--bg-primary);
}

.blog-placeholder {
    text-align: center;
    padding: 4rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    max-width: 700px;
    margin: 0 auto;
}

.tux-reading img {
    width: 150px;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.blog-placeholder h3 {
    color: var(--tux-yellow);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-placeholder p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.contact-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: var(--tux-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: var(--tux-yellow);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.contact-card a {
    color: var(--tux-lightblue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-card a:hover {
    color: var(--tux-yellow);
}

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

.discord-user {
    color: var(--tux-lightblue);
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-note {
    font-size: 1rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: var(--bg-primary);
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--tux-yellow);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tux-orange);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .nav-tux {
        width: 40px;
    }

    .hero {
        padding: 2rem 0;
        min-height: 90vh;
    }

    .tux-hero {
        width: 140px;
    }

    .main-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .social-icons {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .social-icons a {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-content,
    .skills-grid,
    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card,
    .skill-card,
    .project-card,
    .contact-card {
        padding: 1.8rem;
    }

    .about-card h3,
    .skill-card h3,
    .project-card h3,
    .contact-card h3 {
        font-size: 1.3rem;
    }

    .about-card p,
    .skill-card p,
    .project-card p,
    .contact-card p {
        font-size: 0.95rem;
    }

    .skill-icon,
    .contact-icon {
        font-size: 2.8rem;
    }

    .blog-placeholder {
        padding: 2.5rem 1.5rem;
    }

    .blog-placeholder h3 {
        font-size: 1.6rem;
    }

    .blog-placeholder p {
        font-size: 1rem;
    }

    .tux-reading img {
        width: 120px;
    }

    footer {
        padding: 2rem 0;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    .social-icons a {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.7rem;
    }
}
