/* front.css */
/* File Version: 2024-01-29_v1.0 */
/* Changes: 
   - Removed hero-related styles
   - Added main title styling
   - Updated card layouts and sizes
   - Added "View All Models" link styling
*/

/* Main container */
.page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Entry cards for user types */
.entry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.entry-card {
    background-color: white;
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

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

.entry-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.entry-card-content {
    padding: 24px;
}

.entry-card h2 {
    color: #333;
    font-size: 1.4rem;
    margin: 0 0 12px;
}

.entry-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.entry-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.entry-button:hover {
    background-color: #0056b3;
}

/* Main title */
.main-title {
    text-align: center;
    color: #333;
    font-size: 2.2rem;
    margin: 60px 0;
    padding: 0 20px;
}

/* Kit model cards */
.kit-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px auto;
}

.kit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.kit-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 15px;
    background-color: #f8f9fa;
}

.kit-content {
    padding: 24px;
}

.kit-title {
    color: #333;
    font-size: 1.6rem;
    margin: 0 0 12px;
}

.kit-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.button-group {
    display: flex;
    gap: 15px;
}

.details-button, .order-button {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.details-button {
    background-color: #007bff;
    color: white;
}

.details-button:hover {
    background-color: #0056b3;
}

.order-button {
    background-color: #28a745;
    color: white;
}

.order-button:hover {
    background-color: #218838;
}

/* More Models link */
.more-models {
    text-align: center;
    margin: 40px 0;
}

.more-models-link {
    display: inline-block;
    padding: 12px 24px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.more-models-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kit-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .kit-card img {
        height: 200px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .entry-card {
        width: 100%;
        max-width: 400px;
    }
}
/* Historical reference section styling */
.historic-reference {
    margin: 60px auto;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    max-width: 800px;
}

.historic-reference p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.historic-reference p:last-child {
    margin-bottom: 0;
}

.historic-reference a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.historic-reference a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .historic-reference {
        margin: 40px 20px;
        padding: 20px;
    }
    
    .historic-reference p {
        font-size: 1rem;
    }
}
/* Parts List Styles */
/* Added: 2024-01-30_v1.1 */
/* Changes:
   - Added parts list table styling
   - Added container and header styles
   - Added responsive design for parts list
   - Matches existing front.css conventions
   - Part of front_parts_list_blueprint.py implementation
*/

/* Parts list container */
.front-parts-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.front-parts-header {
    text-align: center;
    margin-bottom: 40px;
}

.front-parts-header h1 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.front-parts-description {
    color: #666;
    line-height: 1.5;
}

/* Table styles */
.front-parts-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.front-parts-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.front-parts-table th,
.front-parts-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.front-parts-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
}

.front-parts-table tr:hover {
    background-color: #f8f9fa;
}

.front-parts-table a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.front-parts-table a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Navigation buttons */
.front-parts-navigation {
    text-align: center;
    margin: 30px 0;
}

.front-parts-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.front-parts-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .front-parts-header h1 {
        font-size: 1.8rem;
    }
    
    .front-parts-table th,
    .front-parts-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .front-parts-container {
        margin: 20px auto;
    }
}
/* File: static/front/css/front.css */
/* Version: 2024-01-30_v2.0 */
/* Changes:
   - Added styles for the parts list table and navigation buttons.
   - Ensured consistency with existing CSS conventions.
*/

/* Parts list container */
.front-parts-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.front-parts-header {
    text-align: center;
    margin-bottom: 40px;
}

.front-parts-header h1 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.front-parts-description {
    color: #666;
    line-height: 1.5;
}

/* Table styles */
.front-parts-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.front-parts-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.front-parts-table th,
.front-parts-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.front-parts-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
}

.front-parts-table tr:hover {
    background-color: #f8f9fa;
}

.front-parts-table a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.front-parts-table a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Navigation buttons */
.front-parts-navigation {
    text-align: center;
    margin: 30px 0;
}

.front-parts-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.front-parts-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .front-parts-header h1 {
        font-size: 1.8rem;
    }
    
    .front-parts-table th,
    .front-parts-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .front-parts-container {
        margin: 20px auto;
    }
}
/* Model Features List */
.kit-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    color: #666;
}

.kit-features li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.kit-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}
/* Center the pdf-thumbnail container */
.pdf-thumbnail {
    display: block;        /* or inline-block if you'd prefer a smaller bounding box */
    margin: 2rem auto;     /* centers it horizontally */
    position: relative;
    width: fit-content;    /* ensures the container doesn't stretch too wide */
}

/* Make sure the image inside is centered as well */
.pdf-thumbnail img {
    display: block;
    margin: 0 auto;
}

/* Restrict the overlay to the thumbnail itself and disable its pointer events */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    transition: background 0.3s ease-in-out;
    z-index: 2;
    pointer-events: none;  /* So it won't block clicks */
}

/* Optionally, fade overlay more intensely on hover */
.pdf-thumbnail:hover .overlay {
    background: rgba(0, 0, 0, 0.8);
}
Untitled

.title-container {
    text-align: center;
    margin: 2rem 0;
}

.title-container .main-title {
    margin-bottom: 0.5rem;  /* Reduced space between title and link */
}

.title-container .more-models-link {
    display: inline-block;
    color: #007bff;  /* Or your preferred link color */
    text-decoration: none;
    margin-top: 0.5rem;  /* Small space above the link */
}

/* Remove the original more-models class since we're not using it anymore */
.more-models {
    display: none;
}
