/* ISX Engines - Main Stylesheet */

:root {
    --primary: #e94560;
    --dark: #1a1a2e;
    --gray: #6c757d;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.7;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

/* Cards */
.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

/* Content */
.engine-content h2, .blog-content h2, .page-content h2 {
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.engine-content h3, .blog-content h3, .page-content h3 {
    color: var(--dark);
    margin-top: 1.5rem;
    font-weight: 600;
}

.engine-content p, .blog-content p, .page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.engine-content img, .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Tables in content */
.engine-content table, .blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.engine-content table th, .engine-content table td,
.blog-content table th, .blog-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}
.engine-content table th, .blog-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* Footer */
footer a:hover {
    color: var(--primary) !important;
}

/* Breadcrumbs */
.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
}

/* Specs table */
.card table th {
    width: 40%;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
}
.card table td {
    font-weight: 500;
}

/* Quote form */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(233,69,96,0.15);
}

/* Print styles */
@media print {
    .navbar, footer, .breadcrumb { display: none; }
    .container { max-width: 100%; }
}
