/* MCP Servers Page Styles */

/* Hero Section with Gradient Background */
.hero,
.hero--service {
    background: linear-gradient(135deg, #002b5c 0%, #001a3d 100%);
    color: #ffffff;
    padding: 4rem 0;
}

.hero h1,
.hero--service h1 {
    color: #ffffff;
    font-weight: 900;
}

.hero p,
.hero--service p {
    color: rgba(255, 255, 255, 0.9);
}

/* Server Section Styling */
.server-section {
    transition: all 0.3s ease;
}

.server-section:hover {
    transform: translateY(-2px);
}

/* GitHub Button Styling */
.btn-outline-primary {
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    transform: translateX(2px);
}

/* Feature List Styling */
.list-group-item {
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Badge Styling */
.badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

/* Stats Section */
.bg-primary .opacity-75 {
    opacity: 0.75;
}

/* Server Icons */
.server-section h2 i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.server-section:hover h2 i {
    transform: scale(1.1);
}

/* MCP Tools Code Styling */
code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #e83e8c;
}

/* Use Case Cards */
.card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Technical Highlights */
.technical-highlights ul {
    padding-left: 0;
}

.technical-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.technical-highlights li:last-child {
    border-bottom: none;
}

/* Alert Styling */
.alert-info {
    border-left: 4px solid #17a2b8;
}

/* List Styling */
.list-unstyled li {
    padding-left: 0.5rem;
}

/* GitHub Link Hover Effect */
a[href*="github.com"] {
    text-decoration: none;
    transition: color 0.2s ease;
}

a[href*="github.com"]:hover {
    color: #0366d6 !important;
}

/* Server Card Hover */
.section:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transition: background-color 0.3s ease;
}

/* Version Badge - WCAG AA Compliant Colors */
.badge-info {
    background-color: #0c7489; /* Darker cyan for 4.5:1 contrast */
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-success {
    background-color: #1e7e34; /* Darker green for 4.6:1 contrast */
}

/* Icon Spacing */
.fa-check-circle {
    color: #28a745;
}

.fa-arrow-right {
    font-size: 0.8rem;
}

.fa-tools {
    color: #007bff;
}

/* Stats Section Icons */
.bg-primary .fa-3x {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

/* Link Underline on Hover */
section a:not(.btn):hover {
    text-decoration: underline;
}

/* Server Description Lead Text */
.lead {
    line-height: 1.7;
    font-weight: 300;
}

/* Feature Icons */
.fas.fa-2x {
    width: 40px;
    text-align: center;
}

/* Benefits Grid Spacing */
.benefits-section .col-lg-4 {
    margin-bottom: 2rem;
}

/* CTA Section Buttons */
.gap-3 {
    gap: 1rem;
}

@media (max-width: 768px) {
    .gap-3 {
        gap: 0.5rem;
    }
}

/* Stats Row */
.stats-row .h4 {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-right {
        text-align: left !important;
        margin-top: 1rem;
    }

    .flex-wrap {
        flex-wrap: wrap;
    }

    code {
        font-size: 0.75rem;
        word-break: break-word;
    }
}

/* Workflow Section */
.process-step {
    position: relative;
    padding-left: 2rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 2rem;
    bottom: -2rem;
    width: 2px;
    background-color: #dee2e6;
}

.process-step:last-child::before {
    display: none;
}

/* Use Case Icons */
.use-case-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Technical Highlights Strong Text */
.technical-highlights strong {
    color: #495057;
    font-weight: 600;
}

/* MCP Tools List */
.mcp-tools-list {
    max-height: 400px;
    overflow-y: auto;
}

.mcp-tools-list::-webkit-scrollbar {
    width: 6px;
}

.mcp-tools-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mcp-tools-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.mcp-tools-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}
