/* Custom Styles for XLSQL Site */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-top: 56px; /* Height of fixed navbar */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    color: white;
    padding: 100px 0;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Features Section */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card {
    transition: transform 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Code Blocks */
pre {
    background-color: #f6f8fa;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #e1e4e8;
    overflow-x: auto;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.9em;
    color: #24292e;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Documentation Navigation */
.docs-nav {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.docs-nav .nav-link {
    color: var(--secondary-color);
}

.docs-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

