/*
Theme Name: Fokir Mahmuda
Theme URI: https://sites.google.com/view/fokirmahmuda
Author: Fokir Mahmuda
Description: বাউল শিল্পী ফকির মাহমুদার অফিসিয়াল ওয়েবসাইটের থিম। বাউলের তালি-দেওয়া আলখাল্লা (গুদড়ি) থেকে অনুপ্রাণিত প্যাচওয়ার্ক ডিজাইন, লাইভ কলের অনুরোধ, প্রোগ্রাম বুকিং, ফটো গ্যালারী ও ভিডিও সেকশনসহ।
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: fokir-mahmuda
*/

:root {
	--indigo: #1f2350;
	--indigo-deep: #161a3d;
	--gold: #f0a81c;
	--madder: #a8352b;
	--tea: #2e5a3c;
	--khadi: #f3f1ea;
	--ink: #1b1d2e;
	--muted: #5b5e75;
	--line: #cfcbbd;
	--radius: 4px;
	--display: 'Tiro Bangla', 'Noto Serif Bengali', serif;
	--body: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
	--wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.75; color: var(--ink); background: var(--khadi); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.3; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem 1rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* সেলাইয়ের দাগ: বাউলের গুদড়ির মতো তালি */
.stitch { border: 2px dashed currentColor; border-radius: var(--radius); }
.stitch-rule { border: 0; border-top: 2px dashed var(--line); margin: 0; }

/* বাটন */
.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: .95rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: var(--indigo-deep); }
.btn-gold:hover { background: #ffc24a; }
.btn-line { border-color: #fff; color: #fff; }
.btn-line:hover { background: #fff; color: var(--indigo); }
.btn-dark { background: var(--indigo); color: #fff; }
.btn-dark:hover { background: var(--indigo-deep); }

/* হেডার */
.patch-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.patch-bar i:nth-child(1) { background: var(--madder); } .patch-bar i:nth-child(2) { background: var(--gold); }
.patch-bar i:nth-child(3) { background: var(--tea); } .patch-bar i:nth-child(4) { background: #fff; }
.site-header { background: var(--indigo); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { font-family: var(--display); font-size: 1.5rem; text-decoration: none; display: flex; align-items: center; gap: .6rem; }
.brand img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a { display: block; padding: .6rem .9rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover, .nav .current-menu-item > a { border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 2px solid #fff; color: #fff; padding: .45rem .9rem; font: inherit; border-radius: var(--radius); cursor: pointer; }

/* হিরো */
.hero { background: var(--indigo); color: #fff; padding: clamp(2.5rem, 7vw, 5.5rem) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: .2em; }
.hero .lead { font-size: 1.25rem; max-width: 34ch; color: #e6e7f5; }
.hero .place { color: #c9cbe6; font-size: 1rem; max-width: 44ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.quilt { position: relative; padding: 0 0 1.5rem 1.5rem; }
.quilt::before, .quilt::after { content: ""; position: absolute; border: 2px dashed rgba(255,255,255,.55); border-radius: var(--radius); }
.quilt::before { inset: 1.5rem 1.5rem 0 0; background: var(--madder); transform: translate(-1.5rem, 1.5rem) rotate(-2deg); z-index: 0; }
.quilt::after { width: 38%; aspect-ratio: 1; right: -.8rem; top: -1.1rem; background: var(--gold); transform: rotate(5deg); z-index: 0; }
.quilt .photo { position: relative; z-index: 1; border: 2px dashed #fff; padding: .6rem; background: var(--indigo-deep); border-radius: var(--radius); }
.quilt .photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.quilt .tea { position: absolute; z-index: 2; width: 28%; aspect-ratio: 1; left: -.4rem; bottom: -1rem; background: var(--tea); border: 2px dashed rgba(255,255,255,.7); transform: rotate(-6deg); border-radius: var(--radius); }

/* সেকশন */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.about-grid h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.facts { display: grid; gap: 1rem; }
.fact { padding: 1.2rem 1.4rem; color: var(--indigo); background: #fff; }
.fact strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin-bottom: .2rem; color: var(--ink); }
.fact span { color: var(--muted); }

.paths { background: var(--indigo-deep); color: #fff; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.path { display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 1.6rem; text-decoration: none; border: 2px dashed rgba(255,255,255,.6); border-radius: var(--radius); transition: transform .15s; }
.path:nth-child(1) { background: var(--madder); } .path:nth-child(2) { background: var(--tea); } .path:nth-child(3) { background: var(--indigo); }
.path:hover { transform: translateY(-4px); }
.path h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.path p { margin: 0; color: #f1f1fa; }
.path .go { font-weight: 600; margin-top: 1.2rem; }

/* গ্যালারী */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; border: 2px dashed var(--line); padding: .5rem; background: #fff; border-radius: var(--radius); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; border-radius: 2px; }
.gallery figcaption { padding: .6rem .3rem .2rem; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); }
.lightbox::backdrop { background: rgba(10,12,30,.88); }
.lightbox img { max-height: 82vh; margin: auto; border: 2px dashed #fff; padding: .5rem; background: var(--indigo-deep); }
.lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; }
.lightbox .close { position: fixed; top: 1rem; right: 1rem; }

/* ভিডিও */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.yt, .yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 2px dashed var(--indigo); padding: 0; background: #000; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; background: var(--gold); border-radius: 50%; }
.yt-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid var(--indigo-deep); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.yt:hover .yt-play { background: #ffc24a; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.reel { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem; background: #fff; color: var(--ink); text-decoration: none; border: 2px dashed var(--line); border-radius: var(--radius); }
.reel:hover { border-color: var(--madder); }
.reel h3 { font-size: 1.15rem; margin: 0; }
.reel small { color: var(--muted); }
.reel .views { margin-top: auto; padding-top: .8rem; font-weight: 600; color: var(--madder); }

/* ফলো ব্যান্ড ও ফুটার */
.follow { background: var(--gold); color: var(--indigo-deep); text-align: center; }
.follow h2 { margin-bottom: .3em; }
.social { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.social a { display: inline-block; padding: .7rem 1.2rem; border: 2px dashed currentColor; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.social a:hover { background: var(--indigo-deep); color: #fff; border-color: var(--indigo-deep); }
.site-footer { background: var(--indigo-deep); color: #c9cbe6; padding: 2rem 0; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer .social { margin: 0; justify-content: flex-start; }
.site-footer .social a { padding: .4rem .8rem; color: #fff; }

/* ভেতরের পেজ */
.page-head { background: var(--indigo); color: #fff; padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .3em; }
.page-head p { margin: 0; color: #d6d8ee; max-width: 56ch; }
.page-body { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.entry > * { max-width: 70ch; }
.entry img { border-radius: 2px; }
.aside-note { padding: 1.5rem; background: #fff; color: var(--indigo); }
.aside-note h3 { color: var(--ink); }
.aside-note ul { padding-left: 1.2rem; margin: 0; color: var(--ink); }
.map { width: 100%; height: 360px; border: 2px dashed var(--indigo); border-radius: var(--radius); }

/* ফর্ম */
.ff-form { display: grid; gap: 1.1rem; padding: clamp(1.2rem, 3vw, 2rem); background: #fff; border: 2px dashed var(--indigo); border-radius: var(--radius); }
.fld label { display: block; font-weight: 600; margin-bottom: .3rem; }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--khadi); color: var(--ink); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--indigo); outline: none; background: #fff; }
.hp { position: absolute; left: -9999px; }
.notice { margin: 0; padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 500; }
.notice.ok { background: #e1f0e5; color: #1d4a2b; border: 2px solid var(--tea); }
.notice.err { background: #f8e3e0; color: #7d2119; border: 2px solid var(--madder); }
.ff-form .btn { justify-self: start; }

@media (max-width: 860px) {
	.hero .wrap, .about-grid, .split { grid-template-columns: 1fr; }
	.path-grid, .reels { grid-template-columns: 1fr; }
	.quilt { max-width: 440px; }
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--indigo-deep); padding: .5rem 1.25rem 1rem; }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
