/*
 * ForensicWorkshops.co.uk - Shared Styles
 *
 * Colour scheme reference for Astra Pro / Spectra Pro:
 *   Primary (blue):    #1e3a5f
 *   Accent (red):      #c41e3a
 *   Gold:              #d4a843
 *   Text:              #1a1a2e
 *   Text light:        #3d3d5c
 *   Text muted:        #6b6b8a
 *   Background warm:   #f8f7f4
 *   Border:            #e2e0dc
 *   Success:           #1a7f37
 *
 * Font: Inter (Google Fonts)
 * https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap
 */

:root {
    --ink: #1a1a2e;
    --ink-light: #3d3d5c;
    --ink-muted: #6b6b8a;
    --paper: #ffffff;
    --paper-warm: #f8f7f4;
    --accent: #c41e3a;
    --accent-dark: #9a1830;
    --accent-light: #fef0f2;
    --blue: #1e3a5f;
    --blue-light: #e8eef5;
    --gold: #d4a843;
    --gold-light: #fdf6e3;
    --border: #e2e0dc;
    --success: #1a7f37;
    --success-bg: #dafbe1;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }

/* NAV */
.nav {
    background: var(--blue);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, var(--blue) 0%, #0f2440 100%);
    color: #fff;
    padding: 56px 0 48px;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.page-header p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto;
}

/* CONTENT SECTIONS */
.content-section {
    padding: 56px 0;
}
.content-section.alt {
    background: var(--paper-warm);
}
.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--ink);
}
.content-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 8px;
    color: var(--ink);
}
.content-section p {
    margin-bottom: 12px;
    color: var(--ink-light);
    font-size: 15px;
}
.content-section ul, .content-section ol {
    margin: 8px 0 16px 20px;
    color: var(--ink-light);
    font-size: 15px;
}
.content-section li { margin-bottom: 6px; }

/* LEGAL PAGES */
.legal-content { padding: 56px 0 72px; }
.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 20px;
    margin-bottom: 8px;
}
.legal-content p {
    margin-bottom: 12px;
    color: var(--ink-light);
    font-size: 15px;
    line-height: 1.7;
}
.legal-content ul {
    margin: 8px 0 16px 20px;
    color: var(--ink-light);
    font-size: 15px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.legal-content th {
    background: var(--blue);
    color: #fff;
    text-align: left;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.legal-content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--ink-light);
}
.legal-meta {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--ink-muted);
}

/* ABOUT PAGE */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-stat {
    background: var(--blue-light);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
}
.about-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}
.about-stat-label {
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 6px;
}
.credential-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.credential-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}
.credential-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 6px;
    color: var(--blue);
}
.credential-card p {
    font-size: 14px;
    color: var(--ink-muted);
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}
.contact-detail {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}
.contact-detail-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.contact-detail-text span {
    font-size: 15px;
    color: var(--ink-light);
}
.contact-detail-text a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}
.contact-detail-text a:hover { text-decoration: underline; }
.enquiry-form {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--blue);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.form-submit:hover { background: var(--accent-dark); }

/* FOOTER */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.4);
    padding: 32px 0;
    font-size: 13px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-intro { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .credential-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 16px; }
}
@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-cta { padding: 8px 16px; font-size: 13px; }
    .form-submit { padding: 12px; font-size: 15px; }
}
