/* Aura Extension Documentation Styles - Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Fira+Code:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Ubuntu', 'DejaVu Sans', 'Liberation Sans', sans-serif;
    line-height: 1.7;
    color: #e0e0e0;
    background-color: #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 16px;
    letter-spacing: 0.3px;
}

header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    background: #2d2d2d;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 20px 0;
    border: 1px solid #404040;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav a {
    color: #81a1c1;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

nav a:hover {
    background-color: #404040;
    color: #ffffff;
    border-color: #5e81ac;
}

nav a.active {
    background-color: #5e81ac;
    color: #ffffff;
    border-color: #81a1c1;
}

main {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 20px 0;
    border: 1px solid #404040;
}

section {
    margin-bottom: 2rem;
}

section h2 {
    color: #81a1c1;
    border-bottom: 2px solid #5e81ac;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quick-step {
    background: #1e1e1e;
    padding: 1.8rem;
    border-radius: 8px;
    border: 1px solid #404040;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.quick-step h3 {
    color: #5e81ac;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.quick-step p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

li {
    margin-bottom: 0.8rem;
    color: #cccccc;
    line-height: 1.7;
    padding-left: 0.5rem;
}

li strong {
    color: #e0e0e0;
    font-weight: 600;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

code {
    background-color: #1e1e1e;
    color: #f8f8f2;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    font-family: 'Fira Code', 'JetBrains Mono', 'DejaVu Sans Mono', 'Liberation Mono', monospace;
    font-size: 0.9em;
    border: 1px solid #404040;
    letter-spacing: 0.5px;
    font-weight: 400;
}

a {
    color: #5e81ac;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #81a1c1;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1rem;
    color: #888;
    margin: 20px 0;
    border-top: 1px solid #404040;
}

#back-to-top {
    background: linear-gradient(135deg, #5e81ac 0%, #81a1c1 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

#back-to-top:hover {
    background: linear-gradient(135deg, #81a1c1 0%, #5e81ac 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    body {
        padding: 0 10px;
    }
}