/*
Theme Name: Lavan Logistics
Theme URI: https://lavanlogistics.com/
Author: Lavan Logistics
Author URI: https://lavanlogistics.com/
Description: Lightweight, secure and fast custom WordPress theme for corporate transport and logistics businesses. Fully editable through WordPress content, menus, featured images and Customizer settings. No page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lavan-logistics
Tags: business, portfolio, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready, block-styles, wide-blocks, threaded-comments
*/

/* -------------------------------------------------------------------------
   Design tokens
   Change these values to re-skin the entire theme.
   ---------------------------------------------------------------------- */
:root {
	--lavan-navy: #0b3b8c;
	--lavan-navy-deep: #072a68;
	--lavan-navy-soft: #e8effb;
	--lavan-gold: #fbbf15;
	--lavan-gold-soft: #fff4d3;
	--lavan-ink: #1e2536;
	--lavan-tint: #f4f7fe;
	--lavan-background: #ffffff;
	--lavan-muted: #6b7280;
	--lavan-border: rgba(11, 59, 140, 0.1);
	--lavan-radius: 0.75rem;
	--lavan-container: 80rem;
	--lavan-font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--lavan-font-sans);
	background-color: var(--lavan-background);
	color: var(--lavan-ink);
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
   Editor / post content typography
   ---------------------------------------------------------------------- */
.lavan-content {
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(30, 37, 54, 0.85);
}

.lavan-content > * + * {
	margin-top: 1.15rem;
}

.lavan-content h1,
.lavan-content h2,
.lavan-content h3,
.lavan-content h4 {
	color: var(--lavan-navy);
	font-weight: 700;
	line-height: 1.25;
	margin-top: 2.25rem;
}

.lavan-content h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.lavan-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.lavan-content h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

.lavan-content a {
	color: var(--lavan-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lavan-content a:hover {
	color: var(--lavan-navy-deep);
}

.lavan-content ul,
.lavan-content ol {
	padding-left: 1.35rem;
}

.lavan-content ul { list-style: disc; }
.lavan-content ol { list-style: decimal; }
.lavan-content li + li { margin-top: 0.4rem; }

.lavan-content blockquote {
	border-left: 4px solid var(--lavan-gold);
	background: var(--lavan-tint);
	padding: 1rem 1.25rem;
	border-radius: var(--lavan-radius);
	font-style: italic;
}

.lavan-content table {
	width: 100%;
	border-collapse: collapse;
}

.lavan-content th,
.lavan-content td {
	border: 1px solid var(--lavan-border);
	padding: 0.6rem 0.8rem;
	text-align: left;
}

.lavan-content figure img,
.lavan-content img {
	border-radius: var(--lavan-radius);
}

.lavan-content .alignwide { max-width: min(100%, 68rem); }
.lavan-content .alignfull { max-width: 100%; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text,
.lavan-content figcaption {
	font-size: 0.8rem;
	color: var(--lavan-muted);
	margin-top: 0.5rem;
}

/* -------------------------------------------------------------------------
   Forms, including Contact Form 7
   ---------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	border: 1px solid var(--lavan-border);
	border-radius: var(--lavan-radius);
	background: #fff;
	color: var(--lavan-ink);
	padding: 0.75rem 0.9rem;
	font: inherit;
	font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--lavan-navy);
	outline-offset: 1px;
	border-color: var(--lavan-navy);
}

button,
input[type="submit"],
.wpcf7-submit {
	cursor: pointer;
	font: inherit;
}

.wpcf7-form p {
	margin-bottom: 1rem;
}

.wpcf7-form label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lavan-navy);
	margin-bottom: 0.35rem;
}

.wpcf7-submit {
	background: var(--lavan-navy);
	color: #fff;
	border: 0;
	border-radius: var(--lavan-radius);
	padding: 0.9rem 1.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: background-color 0.2s ease;
}

.wpcf7-submit:hover {
	background: var(--lavan-navy-deep);
}

.wpcf7 form .wpcf7-response-output {
	border-radius: var(--lavan-radius);
	border-width: 1px;
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}

.wpcf7-not-valid-tip {
	color: #b91c1c;
	font-size: 0.8rem;
}

/* -------------------------------------------------------------------------
   Accessibility
   ---------------------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 1rem;
	top: 1rem;
	z-index: 100000;
	background: #fff;
	color: var(--lavan-navy);
	padding: 0.75rem 1.25rem;
	border-radius: var(--lavan-radius);
	box-shadow: 0 10px 30px -12px rgba(7, 42, 104, 0.5);
	font-weight: 600;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--lavan-navy);
	outline-offset: 2px;
	border-radius: 4px;
}

/* -------------------------------------------------------------------------
   Carousels (vanilla JS enhanced, usable without JS)
   ---------------------------------------------------------------------- */
[data-lavan-carousel] [data-lavan-slide][hidden] {
	display: none;
}

[data-lavan-dot][aria-selected="true"] {
	background-color: var(--lavan-navy);
}

/* -------------------------------------------------------------------------
   Motion preferences
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Print */
@media print {
	header,
	footer,
	.lavan-nav-toggle,
	[aria-label="Call us"],
	[aria-label="Chat on WhatsApp"] {
		display: none !important;
	}
}
