﻿/*
Theme Name: EMSC TRADING
Theme URI: https://emsctrading.co.uk
Author: EMSC TRADING
Description: Complete corporate theme with automated page creation, full content, and redirectable contact form.
Version: 1.3.0
Text Domain: emsc-trading
*/
:root {
  --primary: #0b2545;
  --secondary: #134074;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-body); background: #ffffff; line-height: 1.65; }
.site-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header { background: #ffffff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; padding: 1.1rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-badge { width: 42px; height: 42px; background: var(--primary); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.logo-title { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.logo-title span { color: var(--accent); }
.nav-menu { display: flex; list-style: none; gap: 1.75rem; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--secondary); font-weight: 600; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--accent); }
.btn-nav { background: var(--accent); color: #fff !important; padding: 0.55rem 1.25rem; border-radius: 4px; font-weight: 700; }
.btn-nav:hover { background: var(--accent-hover); }
.mobile-btn { display: none; background: none; border: none; font-size: 1.75rem; cursor: pointer; color: var(--primary); }
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: #fff; padding: 5.5rem 0; text-align: center; }
.hero-section h1 { font-size: 2.85rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.hero-section p { font-size: 1.25rem; max-width: 780px; margin: 0 auto 2rem; opacity: 0.95; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: 0.85rem 2rem; text-decoration: none; border-radius: 4px; font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-light); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card { background: #fff; padding: 2.25rem; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(11,37,69,0.04); }
.card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.25rem; }
.table-responsive { overflow-x: auto; margin-top: 1.5rem; }
.tools-table { width: 100%; border-collapse: collapse; background: #fff; }
.tools-table th, .tools-table td { padding: 14px 18px; border: 1px solid var(--border); text-align: left; }
.tools-table th { background: var(--primary); color: #fff; }
.tools-table tr:nth-child(even) { background: var(--bg-light); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.contact-info { background: var(--primary); color: #fff; padding: 2.5rem; border-radius: 8px; }
.contact-form-box { background: #fff; border: 1px solid var(--border); padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 0.4rem; }
.form-control { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 1rem; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--accent); }
.site-footer { background: #071527; color: #94a3b8; padding: 4rem 0 1.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; padding-top: 1.5rem; font-size: 0.85rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .mobile-btn { display: block; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .nav-menu.show { display: flex; }
  .hero-section h1 { font-size: 2.1rem; }
}
