/* Goldfish Index Page Styles
 * Dieter Rams inspired design - less but better
 */

:root {
    --goldfish-orange: #FF6B35;
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #6B6B6B;
    --border-color: #E0E0E0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
}

.logo {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 400;
}

.accent { color: var(--goldfish-orange); font-weight: 500; }

.subtitle {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.project-card:hover,
.project-card:focus {
    box-shadow: var(--shadow-hover);
    border-color: var(--goldfish-orange);
    transform: translateY(-2px);
    outline: none;
}

.project-card:focus-visible {
    outline: 2px solid var(--goldfish-orange);
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--goldfish-orange);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.project-card h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
    }

    main {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }

    .project-card h2 {
        font-size: 1.2rem;
    }
}
