/*
Theme Name: Ayojon
Theme URI: https://example.com/
Description: ইভেন্ট ফটোকার্ড সাইটের হালকা থিম (Photo Card Studio প্লাগিনের সাথে)। ল্যান্ডিং পেইজে চালু ইভেন্টের বাটন দেখায়।
Author: Sarabangla
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ayojon
License: GPL-2.0-or-later
*/

:root {
	--ay-ink: #12202b;
	--ay-muted: #55697a;
	--ay-blue: #0f79b8;
	--ay-blue-deep: #0a4f7c;
	--ay-sky: #e0f2fc;
	--ay-line: #cfe0ec;
	--ay-paper: #f7fbfe;
	--ay-accent: #f2a900;
	--ay-radius: 10px;
	--ay-font: "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", "Nirmala UI", Vrinda, system-ui, sans-serif;
}

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

body {
	margin: 0;
	color: var(--ay-ink);
	background: #fff;
	font-family: var(--ay-font);
	font-size: 17px;
	line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: var(--ay-blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ay-accent); outline-offset: 2px; }

.ay-wrap { max-width: 1100px; margin: 0 auto; padding: 0 18px; }

/* Header */
.ay-header { border-bottom: 1px solid var(--ay-line); background: #fff; }
.ay-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.ay-brand { display: flex; align-items: center; gap: 10px; color: var(--ay-blue-deep); font-size: 22px; font-weight: 700; text-decoration: none; }
.ay-brand img { width: auto; max-width: 60vw; }
.ay-brand__name { line-height: 1.2; }
.ay-nav a { font-weight: 600; text-decoration: none; }
.ay-nav a:hover { text-decoration: underline; }

/* Hero: the "10" ring of dots from the anniversary artwork, drawn with CSS */
.ay-hero { background: var(--ay-sky); border-bottom: 1px solid var(--ay-line); overflow: hidden; }
.ay-hero__inner { position: relative; padding-block: 56px 60px; }
.ay-hero__title { max-width: 14em; margin: 0 0 12px; color: var(--ay-blue-deep); font-size: clamp(30px, 6vw, 52px); line-height: 1.2; font-weight: 700; }
.ay-hero__lead { max-width: 34em; margin: 0; color: var(--ay-muted); font-size: 19px; }
.ay-hero__dots {
	position: absolute; right: -40px; top: 50%; width: 280px; height: 280px; margin-top: -140px;
	border-radius: 50%; opacity: .9; pointer-events: none;
	background:
		radial-gradient(circle at 20% 25%, #e83e8c 0 9%, transparent 10%),
		radial-gradient(circle at 50% 12%, #f2a900 0 10%, transparent 11%),
		radial-gradient(circle at 80% 28%, #2bb673 0 9%, transparent 10%),
		radial-gradient(circle at 90% 58%, #7d4fd6 0 10%, transparent 11%),
		radial-gradient(circle at 70% 85%, #19b5c8 0 9%, transparent 10%),
		radial-gradient(circle at 35% 88%, #e83e8c 0 10%, transparent 11%),
		radial-gradient(circle at 10% 58%, #f2a900 0 9%, transparent 10%),
		radial-gradient(circle, transparent 0 44%, rgba(15,121,184,.18) 45% 62%, transparent 63%);
}
@media (max-width: 700px) { .ay-hero__dots { display: none; } }

/* Services */
.ay-section { padding: 36px 0 56px; }
.ay-section__title { margin: 0 0 18px; font-size: 24px; }
.ay-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.ay-service { display: flex; flex-direction: column; height: 100%; background: var(--ay-paper); border: 1px solid var(--ay-line); border-radius: var(--ay-radius); overflow: hidden; }
.ay-service__media { aspect-ratio: 16 / 9; background: var(--ay-sky); }
.ay-service__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ay-service__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.ay-service__title { margin: 0; font-size: 20px; line-height: 1.35; }
.ay-service__text { margin: 0; color: var(--ay-muted); font-size: 15px; }
.ay-service__cta { margin-top: auto; padding-top: 10px; }
.ay-service__cta .ay-btn { display: block; }

.ay-btn { display: inline-block; padding: 11px 20px; color: #fff; background: var(--ay-blue); border: 2px solid var(--ay-blue); border-radius: 8px; font: inherit; font-weight: 700; text-align: center; text-decoration: none; }
.ay-btn:hover { background: var(--ay-blue-deep); border-color: var(--ay-blue-deep); color: #fff; }
.ay-btn--ghost { color: var(--ay-blue); background: transparent; }

.ay-empty { padding: 22px; background: var(--ay-paper); border: 1px dashed var(--ay-line); border-radius: var(--ay-radius); color: var(--ay-muted); }

/* Content pages */
.ay-main { padding: 32px 0 56px; min-height: 55vh; }
.ay-title { margin: 0 0 18px; font-size: clamp(26px, 4vw, 36px); line-height: 1.25; }
.ay-back { display: inline-block; margin-bottom: 14px; font-size: 15px; }
.ay-content > * { max-width: 70ch; }
.ay-content > .pcs-app, .ay-content > .alignwide { max-width: none; }

/* Footer */
.ay-footer { padding: 22px 0; color: var(--ay-muted); font-size: 14px; border-top: 1px solid var(--ay-line); background: var(--ay-paper); }
.ay-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ay-footer__logo img { display: block; max-height: 36px; width: auto; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Small screens */
@media (max-width: 600px) {
	body { font-size: 16px; }
	.ay-wrap { padding-inline: 16px; }
	.ay-header__inner { padding-block: 10px; }
	.ay-brand { font-size: 19px; }
	.ay-nav a { font-size: 15px; white-space: nowrap; }
	.ay-hero__inner { padding-block: 34px 38px; }
	.ay-hero__lead { font-size: 16px; }
	.ay-section { padding: 26px 0 40px; }
	.ay-services { grid-template-columns: 1fr; }
	.ay-main { padding: 20px 0 40px; }
	.ay-footer__inner { flex-direction: column; align-items: flex-start; }
}
