/* VAITRA brand theme: loaded after each page's inline styles so it overrides them.
   Palette and type follow the brochure: Navy + Red on white, Poppins. */

:root {
    --primary: #1B2A41;      /* Navy */
    --accent: #E24A36;       /* Red */
    --accent-dark: #C93A27;
    --ink: #1F2733;
    --text-muted: #5E6878;
    --bg-offwhite: #F8F9FA;
    --border-color: #E3E7EE;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(27, 42, 65, 0.08);
}

body, button, input, select, textarea { font-family: 'Poppins', sans-serif !important; }
body { color: var(--ink); }
h1, h2, h3, h4 { color: var(--primary); font-weight: 600; }

/* --- Navbar --- */
.navbar { border-bottom: 3px solid var(--accent); }
.nav-links a { color: var(--primary); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a::after { background-color: var(--accent); height: 2px; }
.navbar > div:last-child a {
    display: inline-block; background: var(--accent); color: #fff; padding: 10px 22px;
    border-radius: 8px; font-weight: 600; letter-spacing: 1px; box-shadow: 0 4px 12px rgba(226, 74, 54, 0.3);
}
.navbar > div:last-child a:hover { background: var(--primary); box-shadow: none; }

/* --- Buttons (highlighted) --- */
.btn-solid {
    background: var(--accent); color: #fff; border: 2px solid var(--accent); border-radius: 8px;
    font-weight: 600; box-shadow: 0 6px 16px rgba(226, 74, 54, 0.3);
}
.btn-solid:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: none; }
#back-btn { color: var(--accent); border-bottom: 2px solid var(--accent); font-weight: 600; }

.link-line { color: var(--accent); font-weight: 600; }
.link-line::after { background: var(--accent); height: 2px; }
.category-card:hover .link-line { color: var(--accent-dark); }

/* --- Page headers: navy band like the brochure cover --- */
.page-header { background: linear-gradient(135deg, #1B2A41 0%, #243756 100%); border-bottom: 4px solid var(--accent); }
.page-header h1 { color: #fff; }
.page-header p { color: #C9D1DE; }
.page-subtitle { color: var(--accent); font-weight: 600; }

/* --- Cards --- */
.img-wrapper { border-radius: var(--radius); border: 1px solid var(--border-color); box-shadow: var(--shadow); }
.category-card h3 { color: var(--primary); }
.type-photo-placeholder, .founder-photo-placeholder { border-radius: var(--radius); }

/* --- Home --- */
.what-we-do .subtitle, .section-header .subtitle { color: var(--accent); font-weight: 600; }
.what-we-do-item h3::after, .why-item h3::after { background: var(--accent); height: 3px; }
.highlights { background: var(--primary); border-bottom: 4px solid var(--accent); }
.highlights .tagline { color: var(--accent); font-weight: 600; }
.highlight-item h3 { color: #fff; }
.highlight-item p { color: #C9D1DE; }
.feature-split { background: var(--bg-offwhite); }

/* --- About --- */
.why-item { background: #fff; border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* --- Forms --- */
.modal, .contact-form, .support-form { border-radius: var(--radius); }
.modal input:focus, .modal select:focus, input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
.modal-overlay { background: rgba(27, 42, 65, 0.7); }

/* --- Products page: larger type --- */
.catalog-header h1 { font-size: 3rem; color: var(--primary); }
.catalog-container .category-card h3 { font-size: 1.9rem; }
.catalog-container .category-card h3[style] { font-size: 1.7rem !important; }
.catalog-container .link-line { font-size: 1.05rem; }
.specs-list { font-size: 1.1rem; color: var(--ink); }
.specs-list li { margin-bottom: 12px; padding-bottom: 12px; }
.specs-list li strong { color: var(--primary); font-weight: 600; }
.catalog-container .btn-solid { font-size: 1.05rem; padding: 16px 40px; }
.modal input, .modal select { font-size: 1.05rem; }
#back-btn { font-size: 1rem; }

/* --- Footer: navy like the brochure --- */
footer { background: var(--primary); border-top: 4px solid var(--accent); }
.footer-logo img { background: #fff; padding: 8px 14px; border-radius: 8px; }
.footer-logo p { color: #C9D1DE; }
.footer-links h4 { color: #fff; }
.footer-links ul li a { color: #C9D1DE; }
.footer-links ul li a:hover { color: var(--accent); }
.copyright { color: #9AA6BA; border-top-color: rgba(255, 255, 255, 0.15); }

@media (max-width: 900px) {
    .navbar > div:last-child a { padding: 8px 14px; font-size: 0.8rem; }
}

/* --- Logo watermark: fixed behind every page; sections are slightly translucent so it shows through --- */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: url('Images/watermark-logo.png') center center / min(75vw, 620px) no-repeat;
    opacity: 0.09;
}
.navbar { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(4px); }
.feature-split, .img-wrapper, .type-photo-placeholder, .founder-photo-placeholder { background-color: rgba(248, 249, 250, 0.7); }
.why-item { background: rgba(255, 255, 255, 0.78); }
.page-header { background: linear-gradient(135deg, rgba(27, 42, 65, 0.93) 0%, rgba(36, 55, 86, 0.9) 100%); }
.highlights { background: rgba(27, 42, 65, 0.93); }
footer { background: rgba(27, 42, 65, 0.94); }

/* --- Brochure download --- */
.brochure-cta {
    max-width: 1100px; margin: 0 auto 100px; padding: 40px 5%; display: flex; align-items: center;
    justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.8); border: 1px solid var(--border-color); border-left: 6px solid var(--accent);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.brochure-cta h2 { font-size: 1.8rem; margin-bottom: 6px; }
.brochure-cta p { color: var(--text-muted); font-size: 1.05rem; }
.btn-download {
    display: inline-block; background: var(--accent); color: #fff; padding: 16px 36px; border-radius: 8px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(226, 74, 54, 0.3);
}
.btn-download:hover { background: var(--primary); box-shadow: none; }
