/* Extracted from public/repo-detail.php (issue #6).
 * Page-specific styles. Loaded after style.css so it can override
 * site-wide rules; future passes (issue #5) will deduplicate the
 * nav/header/footer rules that overlap with style.css. */

        .repo-detail-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem;
            background: url('assets/comic-paper-bk.png') repeat;
            background-color: #f5ecd7;
            min-height: 100vh;
        }
        
        .repo-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            border: 3px solid #a67c52;
            border-radius: 15px;
            background: rgba(245, 236, 215, 0.9);
            box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        }
        
        .repo-title {
            font-family: 'Bangers', cursive;
            font-size: 2.5rem;
            color: #2d1c0b;
            margin: 0 0 1rem 0;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .repo-description {
            font-family: 'Exo 2', sans-serif;
            font-size: 1.2rem;
            color: #5d4037;
            margin: 0 0 1rem 0;
        }
        
        .repo-meta {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            font-family: 'Exo 2', sans-serif;
            font-size: 0.9rem;
            color: #666;
            margin-top: 1rem;
        }
        
        .repo-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .repo-link {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background: #a67c52;
            color: #fff;
            text-decoration: none;
            border-radius: 8px;
            font-family: 'Bangers', cursive;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }
        
        .repo-link:hover {
            background: #8b5a3c;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .readme-content {
            background: rgba(255, 255, 255, 0.9);
            padding: 2rem;
            border-radius: 12px;
            border: 2px solid #a67c52;
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }
        
        .readme-content h1,
        .readme-content h2,
        .readme-content h3 {
            font-family: 'Orbitron', monospace;
            color: #2d1c0b;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
        
        .readme-content h1 {
            font-size: 2rem;
            border-bottom: 3px solid #a67c52;
            padding-bottom: 0.5rem;
        }
        
        .readme-content h2 {
            font-size: 1.5rem;
            border-bottom: 2px solid #e0c48f;
            padding-bottom: 0.3rem;
        }
        
        .readme-content h3 {
            font-size: 1.2rem;
        }
        
        .readme-content p {
            font-family: 'Exo 2', sans-serif;
            line-height: 1.6;
            color: #2d1c0b;
            margin-bottom: 1rem;
        }
        
        .readme-content ul {
            font-family: 'Exo 2', sans-serif;
            color: #2d1c0b;
            margin: 1rem 0;
            padding-left: 2rem;
        }
        
        .readme-content li {
            margin-bottom: 0.5rem;
        }
        
        .readme-content code {
            background: rgba(166, 124, 82, 0.1);
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
        }
        
        .readme-content pre {
            background: rgba(45, 28, 11, 0.9);
            color: #f5ecd7;
            padding: 1rem;
            border-radius: 8px;
            overflow-x: auto;
            margin: 1rem 0;
        }
        
        .readme-content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }
        
        .readme-content a {
            color: #a67c52;
            text-decoration: none;
            border-bottom: 1px dashed #a67c52;
        }
        
        .readme-content a:hover {
            color: #8b5a3c;
            border-bottom-color: #8b5a3c;
        }
        
        .breadcrumb {
            margin-bottom: 2rem;
            font-family: 'Exo 2', sans-serif;
            font-size: 0.9rem;
        }
        
        .breadcrumb a {
            color: #a67c52;
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
        /* Footer Navigation Styles */
        .site-footer {
            text-align: center;
            margin: 3rem 0 0 0;
            padding: 2rem 0;
            border-top: 3px solid #a67c52;
            background: rgba(245, 236, 215, 0.9);
        }
        
        .footer-nav {
            margin-bottom: 2rem;
        }
        
        .nav-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            width: 30px;
            height: 30px;
            justify-content: space-between;
            margin: 0 auto 1rem auto;
        }
        
        .nav-toggle span {
            width: 100%;
            height: 3px;
            background: #a67c52;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }
        
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }
        
        .nav-menu {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }
        
        .nav-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 1.5rem;
            background: rgba(245, 236, 215, 0.9);
            border: 2px solid #a67c52;
            border-radius: 10px;
            text-decoration: none;
            color: #2d1c0b;
            font-family: 'Exo 2', sans-serif;
            font-weight: 600;
            transition: all 0.3s ease;
            min-width: 80px;
        }
        
        .nav-button:hover, .nav-button.active {
            background: #a67c52;
            color: #f5ecd7;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .nav-icon {
            font-size: 1.5rem;
        }
        
        .nav-text {
            font-size: 0.9rem;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid #a67c52;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .social-icon:hover {
            background: rgba(255, 255, 255, 1);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        
        .social-icon img {
            width: 24px;
            height: 24px;
            transition: opacity 0.3s ease;
        }
        
        .social-icon:hover img {
            opacity: 0.8;
        }
        
        @media (max-width: 768px) {
            .repo-detail-container {
                padding: 1rem;
            }
            
            .repo-title {
                font-size: 2rem;
            }
            
            .repo-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .repo-links {
                flex-direction: column;
                align-items: center;
            }
            
            .readme-content {
                padding: 1rem;
            }
            
            /* Mobile Navigation */
            .nav-toggle {
                display: flex;
            }
            
            .nav-menu {
                display: none;
                flex-direction: column;
                gap: 1rem;
                margin-top: 1rem;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .nav-button {
                flex-direction: row;
                justify-content: flex-start;
                text-align: left;
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
            }
            
            .social-links {
                gap: 1rem;
            }
            
            .social-icon {
                width: 40px;
                height: 40px;
            }
        }
    
