/*
Theme Name: Protect Prithvi
Theme URI: https://protectprithvi.com
Author: Ananta Creative
Author URI: https://anantacreative.com
Description: A premium eco-awareness WordPress theme for Protect Prithvi — dedicated to tree plantation, environmental conservation, and building a greener India. SEO-optimised, fully responsive, and designed to inspire action.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: protect-prithvi
Tags: custom-menu, featured-images, threaded-comments, translation-ready, blog, environment, green, nature, eco, awareness, one-page, full-width-template

This theme, like WordPress, is licensed under the GPL.
Use it to make something beautiful, protect the earth, and share knowledge freely.
*/

/* =====================================================
   PROTECT PRITHVI — MASTER STYLESHEET
   Designed by Ananta Creative
   Built for protectprithvi.com
===================================================== */

/* === CSS CUSTOM PROPERTIES === */
:root {
	--g900: #0a1f0e;
	--g800: #0f2d14;
	--g700: #1a4223;
	--g600: #226130;
	--g500: #2d8043;
	--g400: #3da05c;
	--g300: #5cbe7a;
	--g200: #8fd9a4;
	--g150: #b8edc8;
	--g100: #d4f5de;
	--g50:  #edfaf2;
	--lime: #7ec825;
	--gold: #c8a84b;
	--sky:  #e8f7f0;
	--dark: #071a0a;
	--white: #ffffff;
	--cream: #f7fdf9;
	--text: #1a2e1e;
	--muted: #4a6b52;
	--light-text: #6b8f72;
	--border: #d0ecd8;
	--shadow: rgba(26, 66, 35, 0.10);
	--radius: 12px;
	--radius-lg: 20px;
	--radius-xl: 32px;
	--transition: 0.3s ease;
	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* === ACCESSIBILITY === */
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--g600);
	color: var(--white);
	padding: 8px 16px;
	z-index: 9999;
	font-size: 0.9rem;
	transition: top 0.2s;
}
.skip-link:focus { top: 0; }
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* === LAYOUT === */
.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.container-wide {
	max-width: 1380px;
	margin: 0 auto;
	padding: 0 24px;
}
.row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.col-2 { width: calc(50% - 12px); }
.col-3 { width: calc(33.333% - 16px); }
.col-4 { width: calc(25% - 18px); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	line-height: 1.2;
	color: var(--g900);
	font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
p { margin-bottom: 1.1rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--text); }
em { font-style: italic; }
blockquote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.3rem;
	color: var(--g700);
	border-left: 4px solid var(--g400);
	padding: 20px 28px;
	margin: 2rem 0;
	background: var(--g50);
	border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote cite {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
	font-style: normal;
	margin-top: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
code {
	background: var(--g50);
	color: var(--g700);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}
pre {
	background: var(--g900);
	color: var(--g200);
	padding: 20px;
	border-radius: var(--radius);
	overflow-x: auto;
	font-size: 0.88rem;
	line-height: 1.6;
}

/* === BUTTONS === */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	border-radius: 40px;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	transition: all 0.25s;
	border: none;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
}
.btn-primary {
	background: var(--g400);
	color: var(--white);
}
.btn-primary:hover {
	background: var(--g500);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(61, 160, 92, 0.35);
	color: var(--white);
}
.btn-secondary {
	background: var(--white);
	color: var(--g700);
	border: 2px solid var(--g300);
}
.btn-secondary:hover {
	background: var(--g50);
	border-color: var(--g500);
	color: var(--g700);
}
.btn-outline-white {
	background: transparent;
	color: var(--white);
	border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.8);
	color: var(--white);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* === SECTION COMMON === */
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--g50);
	border: 1px solid var(--g200);
	border-radius: 30px;
	padding: 5px 16px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--g600);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.section-tag::before { content: '🌿'; font-size: 0.9rem; }
.section-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.5vw, 2.9rem);
	font-weight: 700;
	color: var(--g900);
	line-height: 1.2;
	margin-bottom: 14px;
}
.section-title em { color: var(--g500); font-style: italic; }
.section-subtitle {
	font-size: 1.05rem;
	color: var(--muted);
	max-width: 580px;
	margin: 0 auto;
	line-height: 1.75;
}
.divider-leaf {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 16px 0 0;
}
.divider-leaf::before,
.divider-leaf::after {
	content: '';
	flex: 1;
	max-width: 60px;
	height: 1.5px;
}
.divider-leaf::before { background: linear-gradient(90deg, transparent, var(--g300)); }
.divider-leaf::after  { background: linear-gradient(90deg, var(--g300), transparent); }
.divider-leaf span { font-size: 1.1rem; }

/* === BACKGROUNDS === */
.bg-white   { background: var(--white); }
.bg-cream   { background: var(--cream); }
.bg-light   { background: var(--g50); }
.bg-dark    { background: var(--g900); }
.bg-forest  { background: linear-gradient(145deg, var(--g900), var(--g700)); }
.bg-green   { background: linear-gradient(145deg, var(--g600), var(--g400)); }

/* === CARDS === */
.card {
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	transition: all var(--transition);
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px var(--shadow);
	border-color: var(--g300);
}
.card-img {
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	overflow: hidden;
	height: 200px;
}
.card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px; }

/* === BADGE / TAG === */
.badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.badge-green { background: var(--g50); color: var(--g700); border: 1px solid var(--g200); }
.badge-white { background: rgba(255,255,255,0.9); color: var(--g700); }
.badge-gold  { background: rgba(200,168,75,0.15); color: var(--gold); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-group label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}
.form-control {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.95rem;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	transition: border-color var(--transition);
	outline: none;
}
.form-control:focus { border-color: var(--g400); box-shadow: 0 0 0 3px rgba(61,160,92,0.12); }
.form-control::placeholder { color: var(--light-text); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* === NAVIGATION ANIMATIONS === */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === UTILITY === */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-white    { color: var(--white) !important; }
.text-green    { color: var(--g500) !important; }
.text-muted    { color: var(--muted) !important; }
.text-light    { color: var(--g200) !important; }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mt-5  { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.mb-5  { margin-bottom: 48px; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* === WORDPRESS CORE CLASSES === */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { text-align: center; margin: 0 auto 16px; display: block; }
.alignwide  { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; margin-left: calc(-50vw + 50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 6px; }
.sticky { /* WP sticky posts */ }
.bypostauthor { /* WP author posts */ }

/* === PAGINATION === */
.navigation {
	margin: 48px 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
	transition: all var(--transition);
}
.page-numbers:hover,
.page-numbers.current {
	background: var(--g600);
	color: var(--white);
	border-color: var(--g600);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
	.col-2, .col-3, .col-4 { width: 100%; }
	.section-padding { padding: 70px 0; }
}
@media (max-width: 768px) {
	.section-padding { padding: 50px 0; }
	.section-header { margin-bottom: 36px; }
	h2.section-title { font-size: 1.8rem; }
	.btn-lg { padding: 13px 24px; font-size: 0.95rem; }
	.container { padding: 0 16px; }
}
