/* Custom styles for Apache Traffic Server website */

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

/* Gradient text effect for headings */
.gradient-text {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient button styles */
.btn-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-gradient:active {
    transform: translateY(0);
}

/* Card hover effects */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Code blocks */
pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
}

/* Content styling */
#content h1 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

#content h2 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
}

#content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
}

#content p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #374151;
}

#content ul, #content ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

#content li {
    margin-top: 0.5rem;
    line-height: 1.75;
}

#content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

#content a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

#content code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #1f2937;
}

#content .download_ts {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

#content .download_ts:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    text-decoration: none;
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header, footer, #mobile-menu-button {
        display: none;
    }
}




