/*
Theme Name: Kreativ / notifi
Description: Custom theme for Kreativ LLC / notifi marketing site
Author: Kreativ LLC
Version: 1.0
*/

:root {
	--color-dark: #094646;      /* brand dark teal - header/hero/footer */
	--color-teal: #127373;      /* mid teal - headings/accents on light sections */
	--color-teal-light: #31acac; /* light teal - icon badges, small accents */
	--color-text: #3e3e3e;
	--color-coral: #f0523d;
	--color-gold: #8b7355;
	--color-bg-light: #f6f6f6;
	--color-border: #e4e4e4;
	--font-heading: "Poppins", sans-serif;
	--font-body: "Inter", sans-serif;
	--font-label: "Space Mono", monospace;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	line-height: 1.6;
	font-size: 17px;
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--color-teal);
	line-height: 1.2;
	margin: 0 0 0.5em;
}
h3 { color: var(--color-dark); }

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.1rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }

a { color: var(--color-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}
.container-wide {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	font-family: var(--font-label);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	color: var(--color-coral);
	display: block;
	margin-bottom: 0.5em;
}

/* Header */
.site-header {
	padding: 18px 0;
	position: sticky;
	top: 0;
	background: var(--color-dark);
	z-index: 100;
}
/* When logged in, WordPress's admin bar is fixed at the very top (32px on
   desktop, 46px on mobile) and sits above our header's z-index, so the
   sticky header must stick just below it instead of at 0 or the admin bar
   overlaps/clips the logo and nav button. Visitors who aren't logged in
   never have .admin-bar on <body>, so this only affects the admin view. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-header .custom-logo-link {
	display: inline-block;
	background: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	line-height: 0;
}
.site-header .custom-logo-link img {
	height: 36px;
	width: auto;
	display: block;
}
.main-nav ul {
	list-style: none;
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
}
.main-nav a {
	color: #fff;
	font-weight: 500;
	font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-coral); text-decoration: none; }

.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	border: 2px solid transparent;
}
.btn-primary {
	background: var(--color-coral);
	color: #fff;
}
.btn-primary:hover { background: #d8402c; text-decoration: none; }
.btn-outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--color-dark); text-decoration: none; }
.btn-outline-dark {
	background: transparent;
	border-color: var(--color-dark);
	color: var(--color-dark);
}
.btn-outline-dark:hover { background: var(--color-dark); color: #fff; text-decoration: none; }

/* Hero */
.hero {
	padding: 90px 0;
	text-align: center;
	background: var(--color-dark);
	color: #fff;
}
.hero h1 { color: #fff; font-weight: 900; }
.hero h1 em {
	position: relative;
	display: inline-block;
	color: #fff;
	font-style: italic;
	font-weight: 900;
}
.hero h1 em::after {
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: -0.22em;
	height: 0.16em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 11 Q50 2 100 9 T198 6' stroke='%2331acac' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
}
.hero p {
	max-width: 640px;
	margin: 20px auto 32px;
	font-size: 1.15rem;
	color: #d7e6e6;
}
.hero .actions { display: flex; gap: 16px; justify-content: center; }
.hero .eyebrow { color: var(--color-teal-light); }
.hero.has-bg-image {
	position: relative;
	background-size: cover;
	background-position: center;
	background-blend-mode: multiply;
}
.hero.has-bg-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(9, 70, 70, 0.72);
	z-index: 0;
}
.hero.has-bg-image .container { position: relative; z-index: 1; }

/* Content images */
.content-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}
.content-image.shadow { box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }
@media (max-width: 768px) {
	.split { grid-template-columns: 1fr; }
	.split.reverse .split-text, .split.reverse .split-media { order: initial; }
}

.card .icon-badge img { width: 100px; height: 100px; object-fit: contain; }

.benefit-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
}
.benefit-item .icon-circle {
	flex-shrink: 0;
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
}
.benefit-item .icon-circle img { width: 40px; height: 40px; object-fit: contain; }
.benefit-item h3 { margin: 0; color: #fff; }

/* Generic section */
.section { padding: 70px 0; }
.section-alt { background: var(--color-bg-light); }
.section-dark {
	background: var(--color-dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--color-teal-light); }
.section-dark p { color: #d7e6e6; }
.section-dark a:not(.btn) { color: #fff; }
.section-dark strong { color: #fff; }
.section-dark .testimonial { background: transparent; padding: 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }

.grid {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-2col {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) {
	.grid-2col { grid-template-columns: 1fr; }
}

/* Horizontal scroll ribbon - used for Industry Challenges, matching the
   original site's carousel rather than a static wrapping grid. */
.ribbon-outer {
	position: relative;
}
.ribbon-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--color-border);
	box-shadow: 0 4px 14px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	font-size: 1.2rem;
	color: var(--color-dark);
	padding: 0;
}
.ribbon-arrow:hover { background: var(--color-teal); color: #fff; border-color: var(--color-teal); }
.ribbon-arrow.prev { left: -20px; }
.ribbon-arrow.next { right: -20px; }
@media (max-width: 900px) {
	.ribbon-arrow.prev { left: -8px; }
	.ribbon-arrow.next { right: -8px; }
}

.scroll-ribbon-wrapper {
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50% + 24px);
}
.scroll-ribbon {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.scroll-ribbon::-webkit-scrollbar { display: none; }
.scroll-ribbon .card {
	flex: 0 0 300px;
	scroll-snap-align: start;
	text-align: center;
}
.scroll-ribbon .card .icon-badge {
	justify-content: center;
	margin: 0 auto 20px;
}
.scroll-ribbon .card .icon-badge img { width: 140px; height: 140px; }
.card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 28px;
}

.video-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
}
.video-card {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--color-dark);
	flex: 0 0 calc((100% - 64px) / 3);
}
@media (max-width: 900px) {
	.video-card { flex: 0 0 calc((100% - 32px) / 2); }
}
@media (max-width: 560px) {
	.video-card { flex: 0 0 100%; }
}
.video-card video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.video-card-dim {
	position: absolute;
	inset: 0;
	background: rgba(9, 70, 70, 0.4);
}
.video-card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	background: linear-gradient(180deg, rgba(9,70,70,0) 40%, rgba(9,70,70,0.9) 100%);
}
.video-card-overlay h3 { color: #fff; margin-bottom: 6px; }
.video-card-overlay p { color: #e8f2f2; font-size: 0.9rem; margin: 0; }
.card .icon-badge {
	width: auto; height: auto;
	color: #fff;
	display: flex; align-items: flex-start; justify-content: flex-start;
	font-family: var(--font-heading);
	font-weight: 700;
	margin-bottom: 16px;
}

table.pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
}
table.pricing-table th, table.pricing-table td {
	border: 1px solid var(--color-border);
	padding: 16px;
	text-align: center;
}
table.pricing-table th { background: var(--color-dark); color: #fff; }
.popular { position: relative; background: #fff8f6; }
.popular-badge {
	display: inline-block;
	background: var(--color-coral);
	color: #fff;
	font-size: 0.7rem;
	padding: 3px 10px;
	border-radius: 12px;
	font-family: var(--font-label);
	margin-bottom: 8px;
}

.testimonial {
	background: var(--color-dark);
	color: #fff;
	border-radius: 8px;
	padding: 48px;
	text-align: center;
}
.testimonial p { font-size: 1.3rem; font-style: italic; }
.testimonial .source { color: var(--color-coral); font-weight: 600; margin-top: 16px; }

.faq-item { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.faq-item h3 { margin-bottom: 8px; }

/* Footer */
.site-footer {
	background: var(--color-dark);
	color: #ccc;
	padding: 48px 0 24px;
	margin-top: 60px;
}
.site-footer a { color: #fff; }
.footer-grid {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 24px;
}
.footer-bottom {
	border-top: 1px solid #444;
	padding-top: 20px;
	font-size: 0.85rem;
	color: #999;
	text-align: center;
}

@media (max-width: 768px) {
	.main-nav { display: none; }
	.hero h1 { font-size: 2rem; }
}
