/*
Theme Name: Auliah Group
Theme URI: https://auliah.com
Author: Auliah Group Sdn Bhd
Description: Custom theme for Auliah Group — Home, About and Our Brands pages built from the auliah.com design.
Version: 1.0.0
Requires at least: 6.0
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: auliah
*/

:root {
	--navy: #2c388f;
	--navy-card: #404c9b;
	--green: #6bbe5e;
	--red: #ec1d23;
	--ink: #0b0e24;
	--text: #111111;
	--muted: #6b7280;
	--gray-bg: #f3f4f6;
	--line: #e2e3e6;
	--white: #ffffff;
	--container: 1524px;
	--gutter: 80px;
	--font-head: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.text-navy { color: var(--navy); }
.text-green { color: var(--green); }
.text-white { color: var(--white); }

.section { padding: 120px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); }

.section-title {
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 700;
	text-align: center;
	color: var(--navy);
	margin-bottom: 72px;
}
.section-title span { display: block; }

.lead { color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 10px 10px 24px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 15px;
	color: var(--white);
	transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn__icon {
	display: inline-grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--white);
}
.btn__icon svg { width: 16px; height: 16px; }
.btn--red { background: var(--red); }
.btn--red .btn__icon { color: var(--red); }
.btn--navy { background: var(--navy); }
.btn--navy .btn__icon { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 90px;
	gap: 32px;
}
.site-logo img { width: 112px; height: auto; }

.main-nav ul {
	display: flex;
	gap: 44px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav a {
	color: var(--white);
	font-size: 15px;
	font-weight: 500;
	transition: color .2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { color: var(--green); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--white);
	padding: 8px;
	cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Page hero (About / Brands) ---------- */
.page-hero {
	background: var(--gray-bg);
	padding: 110px 0 120px;
	text-align: center;
}
.page-hero h1 {
	font-size: clamp(40px, 5.2vw, 80px);
	font-weight: 700;
	color: var(--navy);
	letter-spacing: -0.035em;
}
.page-hero p {
	max-width: 760px;
	margin: 28px auto 0;
	color: var(--muted);
	font-size: 20px;
}

/* ---------- Home hero ---------- */
.home-hero { padding: 100px 0 130px; text-align: center; }
.home-hero h1 {
	font-size: clamp(42px, 5.6vw, 92px);
	font-weight: 700;
	color: var(--navy);
	letter-spacing: -0.035em;
	line-height: 1.06;
	max-width: 1100px;
	margin: 0 auto;
}
.home-hero__sub {
	max-width: 760px;
	margin: 36px auto 0;
	color: var(--muted);
	font-size: 20px;
}
.home-hero__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
	margin-top: 100px;
	align-items: start;
}
.home-hero__gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.home-hero__gallery .g1 { margin-top: 80px; border-radius: 24px 24px 80px 24px; }
.home-hero__gallery .g2 { border-radius: 24px 24px 24px 24px; }
.home-hero__gallery .g3 { margin-top: 80px; border-radius: 24px 24px 24px 80px; }

/* ---------- Intro split (home) ---------- */
.intro {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 120px;
	align-items: center;
}
.intro h2 {
	font-size: clamp(36px, 4.2vw, 66px);
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 44px;
}
.intro .lead + .lead { margin-top: 28px; }
.intro__media { position: relative; padding: 0 80px 110px 0; }
.intro__media img {
	width: 100%;
	aspect-ratio: 520 / 440;
	object-fit: cover;
	border-radius: 24px 4px 4px 4px;
}
.pride-badge {
	position: absolute;
	right: 0;
	bottom: 0;
	background: var(--red);
	color: var(--white);
	padding: 24px 40px 24px 24px;
	border-radius: 6px 6px 40px 6px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.pride-badge strong {
	display: block;
	font-family: var(--font-head);
	font-size: 38px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.pride-badge span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.3; }

/* ---------- Brand grid ---------- */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.brand-card {
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 32px 30px 34px;
	background: var(--white);
	transition: box-shadow .2s ease, transform .2s ease;
}
.brand-card:hover { box-shadow: 0 16px 40px rgba(44, 56, 143, .08); transform: translateY(-2px); }
.brand-card__logo { height: 46px; display: flex; align-items: center; margin-bottom: 26px; }
.brand-card__logo img { max-height: 46px; width: auto; }
.brand-card p { color: var(--muted); font-size: 18px; line-height: 1.55; }

/* ---------- Solutions (navy) ---------- */
.solutions .section-title { color: var(--green); }
.solutions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.solution-card {
	background: var(--navy-card);
	border-radius: 36px;
	padding: 52px 40px 50px;
	color: var(--white);
	display: flex;
	flex-direction: column;
}
.solution-card h3 { font-size: 32px; font-weight: 600; margin-bottom: 32px; }
.solution-card p { color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.55; flex: 1; }
.solution-card a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 52px;
	font-size: 16px;
	font-weight: 500;
}
.solution-card a svg { width: 14px; height: 14px; transition: transform .2s ease; }
.solution-card a:hover svg { transform: translateX(3px); }

/* ---------- Image cards (team / leaders / divisions) ---------- */
.card-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.img-card {
	border: 1px solid var(--line);
	border-radius: 24px;
	overflow: hidden;
	background: var(--white);
}
.img-card__img { width: 100%; aspect-ratio: 486 / 300; object-fit: cover; }
.img-card__body { padding: 36px 32px 34px; }
.img-card h3 { font-size: 36px; font-weight: 600; color: var(--text); }
.img-card p { color: var(--muted); margin-top: 18px; font-size: 18px; line-height: 1.55; }
.eyebrow {
	display: block;
	color: var(--green);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 {
	font-size: clamp(32px, 3.4vw, 50px);
	font-weight: 700;
	color: var(--navy);
	max-width: 820px;
	margin: 0 auto;
}
.cta p { max-width: 640px; margin: 32px auto 40px; color: var(--muted); font-size: 18px; }

/* ---------- About: enterprise split ---------- */
.enterprise {
	display: grid;
	grid-template-columns: 1fr 1.42fr;
	gap: 120px;
	align-items: center;
}
.enterprise__media { position: relative; padding: 0 0 70px; }
.enterprise__media .main {
	width: 82%;
	aspect-ratio: 560 / 520;
	object-fit: cover;
	border-radius: 20px 4px 4px 4px;
}
.enterprise__media .inset {
	position: absolute;
	left: 45%;
	bottom: 0;
	width: 38%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 8px solid var(--white);
	border-radius: 4px 4px 36px 4px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.enterprise h2 { font-size: clamp(34px, 3.6vw, 56px); font-weight: 700; color: var(--navy); margin-bottom: 40px; }
.enterprise .lead + .lead { margin-top: 28px; }
.vm-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 64px;
}
.vm-grid > div:first-child { padding-right: 48px; border-right: 1px solid var(--line); }
.vm-grid > div:last-child { padding-left: 64px; }
.vm-grid h3 { font-size: 42px; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.vm-grid p { color: var(--muted); font-size: 17px; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); padding: 80px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; color: var(--white); }
.stats strong { display: block; font-family: var(--font-head); font-size: 54px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stats span { display: block; margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .85); }

/* ---------- Icon cards (values / stands for) ---------- */
.icon-card {
	background: var(--white);
	border-radius: 24px;
	padding: 36px 32px 40px;
}
.icon-badge {
	display: inline-grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 8px;
	background: var(--green);
	color: var(--white);
	margin-bottom: 26px;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-card h3 { font-size: 36px; font-weight: 600; color: var(--text); }
.icon-card p { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 24px; }
.timeline__item {
	display: grid;
	grid-template-columns: 190px 1fr;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 34px 32px;
}
.timeline__year { font-family: var(--font-head); font-size: 36px; font-weight: 600; color: var(--green); }
.timeline__item h3 { font-size: 36px; font-weight: 600; color: var(--text); }
.timeline__item p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Leaders ---------- */
.leader-card .img-card__img { aspect-ratio: 486 / 284; object-position: center 25%; }
.leader-card h3 { font-size: 40px; }

/* ---------- Brands page: philosophy ---------- */
.philosophy {
	display: grid;
	grid-template-columns: 1fr 1.36fr;
	gap: 120px;
	align-items: center;
}
.philosophy__img { width: 100%; aspect-ratio: 560 / 480; object-fit: cover; border-radius: 12px 12px 48px 12px; }
.philosophy h2 { font-size: clamp(34px, 3.6vw, 62px); font-weight: 700; color: var(--navy); margin-bottom: 36px; }
.philosophy .lead + .lead { margin-top: 28px; }
.mini-stats { display: flex; margin-top: 56px; }
.mini-stats > div { padding-right: 64px; }
.mini-stats > div + div { padding-left: 64px; border-left: 1px solid var(--line); }
.mini-stats strong { display: block; font-family: var(--font-head); font-size: 48px; font-weight: 600; color: var(--green); line-height: 1.1; }
.mini-stats span { display: block; margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- Quote band ---------- */
.quote { text-align: center; color: var(--white); padding: 140px 0; }
.quote__icon { width: 44px; height: 44px; margin: 0 auto 36px; color: var(--white); }
.quote blockquote {
	margin: 0 auto;
	max-width: 880px;
	font-family: var(--font-head);
	font-size: clamp(28px, 3vw, 50px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
.quote cite {
	display: block;
	margin-top: 36px;
	color: var(--green);
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.division-card .img-card__img { aspect-ratio: 490 / 258; }
.division-card h3 { font-size: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 110px 0 60px; font-size: 15px; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1.2fr .9fr .6fr;
	gap: 48px;
	padding-bottom: 110px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand { font-family: var(--font-head); font-size: 32px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 32px; }
.footer-label {
	display: block;
	color: var(--green);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.footer-grid p { color: rgba(255, 255, 255, .85); line-height: 1.6; }
.footer-grid p + p { margin-top: 18px; }
.footer-grid .soft { color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: var(--green); }
.socials { display: flex; gap: 14px; }
.socials a {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	transition: background .2s ease;
}
.socials a:hover { background: var(--green); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 56px;
	font-size: 13px;
	color: rgba(255, 255, 255, .5);
}
.footer-bottom nav { display: flex; gap: 28px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Generic content (blog, other pages) ---------- */
.content-area { padding: 100px 0; }
.content-area .container { max-width: 960px; }
.entry-content { color: #333; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content a { color: var(--navy); text-decoration: underline; }
.post-list { display: grid; gap: 32px; }
.post-item { border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.post-item h2 { font-size: 30px; color: var(--navy); }
.post-item time { display: block; margin: 8px 0 16px; color: var(--muted); font-size: 14px; }
.pagination { margin-top: 48px; display: flex; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	:root { --gutter: 48px; }
	.intro, .enterprise, .philosophy { gap: 64px; }
	.brand-grid { grid-template-columns: repeat(2, 1fr); }
	.img-card h3, .icon-card h3, .timeline__item h3 { font-size: 30px; }
	.leader-card h3 { font-size: 32px; }
}

@media (max-width: 960px) {
	:root { --gutter: 24px; }
	.section { padding: 80px 0; }
	.section-title { margin-bottom: 48px; }
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.main-nav {
		display: none;
		position: absolute;
		top: 90px; left: 0; right: 0;
		background: var(--navy);
		padding: 8px 24px 24px;
		border-top: 1px solid rgba(255, 255, 255, .1);
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { display: block; padding: 14px 0; font-size: 17px; }
	.intro, .enterprise, .philosophy { grid-template-columns: 1fr; }
	.intro__media { padding-right: 40px; }
	.solutions-grid, .card-grid-3, .stats__grid { grid-template-columns: 1fr; }
	.stats__grid { gap: 40px; }
	.footer-grid { grid-template-columns: 1fr 1fr; padding-bottom: 64px; }
	.home-hero__gallery { gap: 12px; margin-top: 56px; }
	.home-hero__gallery .g1, .home-hero__gallery .g3 { margin-top: 40px; }
	.timeline__item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 600px) {
	.brand-grid, .footer-grid { grid-template-columns: 1fr; }
	.vm-grid { grid-template-columns: 1fr; gap: 40px; }
	.vm-grid > div:first-child { padding-right: 0; border-right: 0; }
	.vm-grid > div:last-child { padding-left: 0; }
	.mini-stats > div { padding-right: 32px; }
	.mini-stats > div + div { padding-left: 32px; }
	.home-hero__gallery .g1, .home-hero__gallery .g3 { border-radius: 14px; }
	.pride-badge strong { font-size: 28px; }
	.footer-bottom { flex-direction: column; }
}

.footer-bottom ul, .footer-bottom li { list-style: none; margin: 0; padding: 0; }
