/* Dillon Engineering - Shared Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4a5b94 0%, #6b7db5 50%, #8fbc8f 100%);
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    font-size: 1.5rem;
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Page Content */
.page-content {
    margin-top: 100px;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.page-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin-top: 100px;
}

/* Typography */
h1 {
    color: #4a5b94;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    color: #4a5b94;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 0.5rem;
}

h3 {
    color: #6b7db5;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

ul {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Content Boxes */
.highlight-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #4a5b94;
}

.notice-box {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.notice-box h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.notice-box p {
    color: #856404;
    margin: 0;
}

/* Tables */
.spec-table, .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.spec-table th, .specs-table th {
    background: linear-gradient(135deg, #4a5b94, #6b7db5);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

.spec-table td, .specs-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
}

.spec-table tr:nth-child(even), .specs-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Grids */
.guide-grid, .download-grid, .docs-grid, .news-grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.guide-card, .download-item, .doc-item, .news-item, .feature-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #8fbc8f;
    transition: all 0.3s ease;
}

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

.guide-card h3, .download-item h3, .doc-item h4, .news-item h3, .feature-item h3 {
    color: #4a5b94;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.doc-item h4 {
    font-size: 1.1rem;
}

.guide-card p, .download-item p, .doc-item p, .news-item p, .feature-item p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

/* News specific */
.news-item {
    background: white;
    border-left: 4px solid #4a5b94;
}

.news-header {
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Documentation categories */
.docs-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.docs-category {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.category-title {
    color: #4a5b94;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8fbc8f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Download specific */
.download-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.file-type {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

.file-size {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Links and Buttons */
.back-link, .download-link, .guide-link, .doc-link, .news-link, .cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #8fbc8f, #6b7db5);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.guide-link, .doc-link, .news-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-right: 1rem;
    background: #8fbc8f;
}

.back-link:hover, .download-link:hover, .guide-link:hover, .doc-link:hover, .news-link:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.guide-link:hover, .doc-link:hover, .news-link:hover {
    color: white;
    background: #6b7db5;
}

/* Badges and Special Elements */
.performance-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin: 1rem 0;
}

.category-icon {
    font-size: 1.5rem;
}

/* Code Examples */
.code-example {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
}

.tip-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.tip-box strong {
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .guide-grid, .download-grid, .docs-grid, .news-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .page-content {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}
