
@import url('');

:root {
    /* Professional Industrial Palette */
    --primary-color: #0a2342; /* Deep Engineering Blue */
    --secondary-color: #3e5060; /* Steel Grey */
    --accent-color: #e67e22;  /* Safety Orange (High Contrast) */
    --light-bg: #f4f6f9;      /* Very light blue-grey for backgrounds */
    --text-main: #2c3e50;     /* Dark Charcoal for main text */
}

body {
    font-family: 'Roboto', "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Navigation & Headers --- */
.bg-industrial {
    background-color: var(--primary-color) !important;
    border-bottom: 3px solid var(--accent-color);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    /* Dark blue fallback + Gradient + Image */
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.95) 0%, rgba(20, 50, 90, 0.8) 100%);
    background-size: cover;
    background-position: center;
    height: 550px;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    z-index: 1;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #06152a;
    border-color: #06152a;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: #d35400;
    border-color: #d35400;
    color: white;
}

/* --- Cards & Content --- */
.card {
    border: none;
    border-radius: 8px;
    background-color: #fff; /* Ensure white background */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Soft shadow for visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef2f7;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: #6c757d !important; /* Ensure this is readable */
}

/* --- Product Cards --- */
.product-card .card-img-top {
    background-color: #f8f9fa;
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

/* --- A4 Sheet Styles --- */
.a4-sheet {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    box-sizing: border-box;
}

/* --- Animations --- */
.view-section {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Print Helpers --- */
@media print {
    @page {
        size: A4;
        margin: 0;
    }
    body {
        background-color: white;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    /* Hide all UI elements */
    .bg-industrial, .btn, .no-print, footer, #view-home, #view-selection, #view-products, #view-technical, #view-contact {
        display: none !important;
    }
    /* Only show the Detail View and reset its container styles */
    #view-detail {
        display: block !important;
        background-color: white !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #view-detail .container {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .a4-sheet {
        width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 15mm !important;
    }
}
