/*
Theme Name: E Marine Services
Theme URI: https://emarineservices.com
Author: E Marine Services Technical Engineering
Author URI: https://emarineservices.com
Description: Complete, zero-setup, production-ready corporate maritime WordPress theme for E Marine Services (Chattogram, Matarbari, Mongla & Payra). Features one-click after_switch_theme auto-provisioning (7 pages, Static Front Page, Primary Navigation, 4 Custom Post Types with seeded catalog), built-in Technical SEO & AI Search Engine (/sitemap.xml, /llms.txt, JSON-LD @graph & 9-point FAQPage), default Crisp White (#ffffff) Theme Switcher, mobile-hidden topbar, transparent logos, and strict B2B pricing/client privacy.
Version: 3.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary — E Marine Services
License URI: https://emarineservices.com
Text Domain: e-marine-services
Tags: maritime, corporate, shipping-agency, b2b, custom-logo, custom-menu, full-width-template, seo-ready
*/

:root {
	--ems-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ems-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ems-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Crisp White Corporate Surface (Light / Default Switcher Mode) */
	--ems-bg: #ffffff;
	--ems-bg-alt: #f8fafc;
	--ems-surface: #ffffff;
	--ems-surface-elevated: #f1f5f9;
	--ems-text: #0f172a;
	--ems-text-muted: #475569;
	--ems-text-subtle: #64748b;
	--ems-border: #e2e8f0;
	--ems-border-strong: #cbd5e1;

	/* Maritime Corporate Accents */
	--ems-navy-deep: #061826;
	--ems-navy-surface: #0a2234;
	--ems-navy-border: #1e3a52;
	--ems-accent: #0284c7;
	--ems-accent-hover: #0369a1;
	--ems-accent-text: #0369a1;
	--ems-accent-soft: #e0f2fe;
	--ems-wa: #16a34a;
	--ems-wa-hover: #15803d;
	--ems-success-bg: #ecfdf5;
	--ems-success-border: #a7f3d0;
	--ems-success-text: #065f46;
	--ems-danger-bg: #fef2f2;
	--ems-danger-border: #fecaca;
	--ems-danger-text: #991b1b;

	--ems-radius: 8px;
	--ems-radius-lg: 10px;
	--ems-container: 1240px;
	--ems-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
	--ems-shadow-md: 0 10px 28px rgba(6, 24, 38, 0.12);
}

html[data-ems-theme="dark"] {
	--ems-bg: #061826;
	--ems-bg-alt: #081e30;
	--ems-surface: #0a2234;
	--ems-surface-elevated: #0f2c42;
	--ems-text: #f1f5f9;
	--ems-text-muted: #cbd5e1;
	--ems-text-subtle: #94a3b8;
	--ems-border: rgba(30, 58, 82, 0.85);
	--ems-border-strong: #274a66;
	--ems-accent: #0ea5e9;
	--ems-accent-hover: #38bdf8;
	--ems-accent-text: #38bdf8;
	--ems-accent-soft: rgba(14, 165, 233, 0.14);
	--ems-success-bg: rgba(16, 185, 129, 0.14);
	--ems-success-border: rgba(16, 185, 129, 0.4);
	--ems-success-text: #6ee7b7;
	--ems-danger-bg: rgba(239, 68, 68, 0.14);
	--ems-danger-border: rgba(239, 68, 68, 0.4);
	--ems-danger-text: #fca5a5;
	--ems-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
	--ems-shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--ems-font-body);
	font-size: 15px;
	line-height: 1.62;
	color: var(--ems-text);
	background-color: var(--ems-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

.ems-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ems-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.65rem 1rem;
	background: var(--ems-navy-deep);
	color: #ffffff;
	font-weight: 600;
	font-size: 0.875rem;
}

.ems-skip-link:focus {
	left: 0.75rem;
	top: 0.75rem;
	border-radius: var(--ems-radius);
}
