/* Custom styles for UIkit Mega Menu website */

/* General styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header styles */
.uk-navbar-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.uk-logo {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero section */
.uk-section-primary {
    background: linear-gradient(135deg, #1e87f0 0%, #0f6ecd 100%);
}

/* Card styles */
.uk-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Code block styles */
pre {
    background-color: #f8f8f8;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
}

code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

/* Example section styles */
.example-preview {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .uk-heading-medium {
        font-size: 2.2rem;
    }
    
    .uk-text-lead {
        font-size: 1.2rem;
    }
}

/* Demo mega menu styles */
.demo-mega-menu {
    border: 2px dashed #1e87f0;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
}

/* Code snippet container */
.code-container {
    position: relative;
    margin: 20px 0;
}

.code-container .copy-button {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}

/* Table of contents */
.table-of-contents {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.table-of-contents ul {
    margin-bottom: 0;
}

/* Sticky sidebar for documentation */
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

/* Footer styles */
.uk-section-secondary a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.uk-section-secondary a:hover {
    color: #fff;
    text-decoration: underline;
}
