/*
Theme Name: Zeco
Theme URI: https://zeco.example/
Author: Maaz AI
Author URI: https://onedotimpact.com
Description: Custom one-page industrial theme for Zubair Engineering Company (ZECO) — precision metal parts, galvanizing and powder coating. Navy/red brand, hero slider, animated stats, facilities, products, clients, values and contact sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zeco
Tags: one-page, industrial, manufacturing, custom-header, custom-logo, responsive
*/

/* ============================================================
   ZECO — design tokens
   ============================================================ */
:root {
	--zeco-navy: #0a2352;
	--zeco-navy-2: #0b2b6e;
	--zeco-navy-deep: #071a40;
	--zeco-red: #d8232a;
	--zeco-red-dark: #b11a21;
	--zeco-gold: #c9a227;
	--zeco-white: #ffffff;
	--zeco-gray-50: #f6f8fc;
	--zeco-gray-100: #eef1f7;
	--zeco-gray-300: #d7dce6;
	--zeco-gray-600: #5b6577;
	--zeco-gray-900: #1a2334;
	--font-head: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--header-h: 76px;
	--topbar-h: 38px;
	--radius: 12px;
	--shadow: 0 18px 45px rgba(7, 26, 64, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--zeco-gray-900);
	background: var(--zeco-white);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--zeco-navy-2); }
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.container { width: min(1200px, 92%); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }

/* Screen-reader text */
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
	display: inline-block; padding: 14px 30px; border-radius: 6px;
	font-family: var(--font-head); font-weight: 700; font-size: 15px;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7,26,64,.22); }
.btn-red { background: var(--zeco-red); color: #fff; }
.btn-red:hover { background: var(--zeco-red-dark); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline:hover { background: #fff; color: var(--zeco-navy); }
.btn-navy { background: var(--zeco-navy); color: #fff; }
.btn-navy:hover { background: var(--zeco-navy-2); color: #fff; }

/* ============================================================
   Top utility bar
   ============================================================ */
.topbar {
	background: var(--zeco-navy-deep); color: rgba(255,255,255,.82);
	font-size: 13px; height: var(--topbar-h); display: flex; align-items: center;
	position: relative; z-index: 60;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.topbar a { color: rgba(255,255,255,.82); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .tb-label { color: var(--zeco-gold); font-weight: 600; margin-right: 6px; }
@media (max-width: 860px) {
	.topbar .tb-address { display: none; }
	.topbar ul { gap: 14px; }
}

/* ============================================================
   Sticky header
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--zeco-gray-100);
	transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(7,26,64,.12); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 54px; width: 54px; object-fit: cover; border-radius: 8px; }
.brand-text { margin-left: 12px; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: 20px; color: var(--zeco-navy); letter-spacing: .06em; display: block; }
.brand-text span { font-size: 11px; color: var(--zeco-gray-600); letter-spacing: .02em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
	display: block; padding: 10px 13px; text-decoration: none; color: var(--zeco-gray-900);
	font-weight: 600; font-size: 14.5px; border-radius: 6px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--zeco-red); background: var(--zeco-gray-50); }
.header-cta .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
	display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-left: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--zeco-navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: calc(var(--topbar-h) + var(--header-h)) 0 auto 0;
		background: #fff; border-bottom: 1px solid var(--zeco-gray-100);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.nav-open .main-nav { max-height: 70vh; overflow-y: auto; box-shadow: 0 24px 40px rgba(7,26,64,.14); }
	.main-nav ul { flex-direction: column; padding: 12px 4%; gap: 2px; }
	.main-nav a { padding: 12px 10px; font-size: 16px; }
	.header-cta { display: none; }
}

/* ============================================================
   Hero slider
   ============================================================ */
.hero { position: relative; background: var(--zeco-navy); overflow: hidden; }
.hero-slides { position: relative; min-height: clamp(560px, 88vh, 760px); }
.hero-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .9s ease, visibility 0s linear .9s;
	display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg.fallback { background: linear-gradient(115deg, var(--zeco-navy-deep) 0%, var(--zeco-navy-2) 55%, #123a86 100%); }
.hero-slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(7,26,64,.92) 0%, rgba(7,26,64,.72) 45%, rgba(7,26,64,.25) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 760px; padding: 80px 0; }
.eyebrow {
	display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--zeco-gold);
	border-left: 4px solid var(--zeco-red); padding-left: 12px; margin-bottom: 18px;
}
.hero-content h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; color: #fff; margin-bottom: 18px; }
.hero-content .sub { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 14px; }
.hero-content .support { font-size: 14.5px; color: rgba(255,255,255,.62); max-width: 620px; margin: 26px 0 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; transition: background .2s; }
.hero-nav:hover { background: var(--zeco-red); border-color: var(--zeco-red); }
.hero-prev { left: 22px; } .hero-next { right: 22px; }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hero-dots button.is-active { background: var(--zeco-red); transform: scale(1.25); }
@media (max-width: 640px) { .hero-prev { left: 10px; } .hero-next { right: 10px; } .hero-nav { width: 40px; height: 40px; } }

/* ============================================================
   Trust strip + stats
   ============================================================ */
.trust { background: var(--zeco-red); color: #fff; padding: 34px 0; }
.trust .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; flex: 1 1 280px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; flex: 2 1 520px; }
.stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; }
.stat span { font-size: 13.5px; color: rgba(255,255,255,.85); display: block; margin-top: 8px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Generic section layout
   ============================================================ */
.section { padding: 96px 0; }
.section.alt { background: var(--zeco-gray-50); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--zeco-navy); margin-bottom: 12px; }
.section-head h2 .accent { color: var(--zeco-red); }
.section-head p.lead { font-size: 17.5px; color: var(--zeco-gray-600); margin: 0; }
.section-dark { background: var(--zeco-navy); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p.lead { color: rgba(255,255,255,.75); }

/* Cards grid */
.cards { display: grid; gap: 22px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards.cols-2, .cards.cols-3 { grid-template-columns: 1fr; } }

.card {
	background: #fff; border: 1px solid var(--zeco-gray-100); border-radius: var(--radius);
	padding: 30px 28px; box-shadow: 0 6px 20px rgba(7,26,64,.05);
	transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--zeco-red), var(--zeco-gold)); opacity: 0; transition: opacity .2s; }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; color: var(--zeco-navy); margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.card h3 .icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; background: var(--zeco-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }
.card p { margin: 0; color: var(--zeco-gray-600); font-size: 15.5px; }
.card .spec { display: inline-block; margin-top: 12px; background: var(--zeco-gray-50); border: 1px solid var(--zeco-gray-100); border-radius: 6px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; color: var(--zeco-navy); }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { color: var(--zeco-gray-600); font-size: 16.5px; margin: 0 0 18px; }
.about-copy p strong { color: var(--zeco-navy); }
.ceo-card { background: var(--zeco-navy); color: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); position: relative; }
.ceo-card::before { content: "\201C"; position: absolute; top: 8px; left: 24px; font-size: 90px; font-family: Georgia, serif; color: var(--zeco-gold); opacity: .5; line-height: 1; }
.ceo-card blockquote { margin: 0 0 20px; font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.92); position: relative; }
.ceo-card .ceo-name { font-family: var(--font-head); font-weight: 700; color: var(--zeco-gold); }
.ceo-card .ceo-title { font-size: 13.5px; color: rgba(255,255,255,.65); }

/* ============================================================
   Vision / Mission
   ============================================================ */
.vision-card { border-top: 5px solid var(--zeco-red); }
.mission-card { border-top: 5px solid var(--zeco-gold); }
.mission-list { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: mission; }
.mission-list li { counter-increment: mission; position: relative; padding: 0 0 16px 44px; color: var(--zeco-gray-600); font-size: 15.5px; }
.mission-list li:last-child { padding-bottom: 0; }
.mission-list li::before {
	content: counter(mission); position: absolute; left: 0; top: 2px;
	width: 30px; height: 30px; border-radius: 50%; background: var(--zeco-navy); color: #fff;
	font-family: var(--font-head); font-weight: 700; font-size: 14px;
	display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   Products
   ============================================================ */
.product-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
@media (max-width: 640px) { .product-cats { grid-template-columns: 1fr; } }
.product-cat { background: var(--zeco-navy); color: #fff; border-radius: var(--radius); padding: 34px 30px; display: flex; gap: 18px; align-items: flex-start; }
.product-cat:nth-child(2) { background: var(--zeco-red); }
.product-cat .icon { font-size: 34px; line-height: 1; }
.product-cat h3 { color: #fff; margin-bottom: 6px; }
.product-cat p { color: rgba(255,255,255,.82); font-size: 15px; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-tile {
	aspect-ratio: 4/3; border: 2px dashed var(--zeco-gray-300); border-radius: var(--radius);
	background: var(--zeco-gray-50); display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; color: var(--zeco-gray-600); font-size: 14px; text-align: center; padding: 16px;
}
.gallery-tile .glyph { font-size: 34px; opacity: .5; }
.capability { margin-top: 34px; background: #fff; border: 1px solid var(--zeco-gray-100); border-left: 5px solid var(--zeco-gold); border-radius: 8px; padding: 20px 24px; font-size: 16.5px; color: var(--zeco-navy); font-weight: 500; }

/* ============================================================
   Clients / Group
   ============================================================ */
.client-card { text-align: center; padding: 34px 24px; }
.client-card .initial {
	width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
	background: var(--zeco-navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 24px;
	display: flex; align-items: center; justify-content: center;
}
.client-card:nth-child(2n) .initial { background: var(--zeco-red); }
.client-card h3 { font-size: 17.5px; justify-content: center; text-align: center; }
.client-card p { font-size: 14px; }
.group-card h3 { margin-bottom: 8px; }

/* ============================================================
   Values
   ============================================================ */
.value-card .icon { background: var(--zeco-red); }
.value-card h3 { font-size: 18.5px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--zeco-navy); color: #fff; border-radius: var(--radius); padding: 38px 34px; }
.contact-info h3 { color: #fff; margin-bottom: 20px; }
.contact-info ul { list-style: none; margin: 0 0 26px; padding: 0; }
.contact-info li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15.5px; }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .lbl { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--zeco-gold); font-weight: 700; margin-bottom: 4px; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.zeco-form { background: #fff; border: 1px solid var(--zeco-gray-100); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow); }
.zeco-form h3 { color: var(--zeco-navy); margin-bottom: 6px; }
.zeco-form > p { color: var(--zeco-gray-600); margin: 0 0 24px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--zeco-navy); }
.form-field input, .form-field textarea {
	width: 100%; padding: 13px 14px; border: 1.5px solid var(--zeco-gray-300); border-radius: 8px;
	font-family: var(--font-body); font-size: 15px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--zeco-navy-2); box-shadow: 0 0 0 3px rgba(11,43,110,.12); }
.form-field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-notice { border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; font-size: 15px; font-weight: 500; }
.form-notice.success { background: #e8f7ee; border: 1px solid #9fdcb4; color: #166534; }
.form-notice.error { background: #fdecec; border: 1px solid #f3b6b9; color: #9c1c22; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--zeco-navy-deep); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand img { height: 60px; width: 60px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--zeco-gold); }
.footer-contact { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.footer-contact li { margin-bottom: 12px; }
.footer-contact a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero-slide { transition: none; }
	html { scroll-behavior: auto; }
}

/* Blog fallback (index.php) */
.blog-wrap { padding: 80px 0; }
.blog-wrap article { margin-bottom: 48px; border-bottom: 1px solid var(--zeco-gray-100); padding-bottom: 40px; }
.blog-wrap h2 a { color: var(--zeco-navy); text-decoration: none; }
.blog-wrap h2 a:hover { color: var(--zeco-red); }
.meta { color: var(--zeco-gray-600); font-size: 14px; margin-bottom: 12px; }
