/**
 * Gentle Farmer GH – Main Styles
 * Brand: Primary #FFC400, Black #000000, White #FFFFFF, Light Grey #F5F5F5
 * Fonts: Poppins (headings), Roboto (body)
 */

:root {
	--color-primary: #FFC400;
	--color-black: #000000;
	--color-white: #FFFFFF;
	--color-light-grey: #F5F5F5;
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Roboto', sans-serif;
	--container-max: 1200px;
	--header-height: 70px;
	--transition: 0.2s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-black);
	background: var(--color-white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Lazy loading is set via HTML loading="lazy" in templates */

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* ========== HEADER ========== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--color-black);
	color: var(--color-white);
	transition: transform var(--transition), box-shadow var(--transition);
}

.site-header.header-sticky {
	box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 1rem;
}

.site-branding .custom-logo-link,
.site-logo-link {
	display: inline-block;
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
}

.site-branding .custom-logo {
	max-height: 50px;
	width: auto;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}

.main-navigation a {
	color: var(--color-white);
	font-weight: 500;
	padding: 0.5rem 0;
	transition: color var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
	color: var(--color-primary);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--color-white);
	cursor: pointer;
	padding: 0.5rem;
	flex-direction: column;
	gap: 5px;
}

.menu-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}
	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-black);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--transition);
	}
	.main-navigation.is-open {
		max-height: 80vh;
		overflow-y: auto;
	}
	.main-navigation .nav-menu {
		flex-direction: column;
		padding: 1rem;
		gap: 0;
	}
	.main-navigation .nav-menu li {
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	.main-navigation .nav-menu a {
		display: block;
		padding: 0.75rem 0;
	}
}

/* ========== HERO ========== */
.hero-section {
	min-height: 85vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, var(--color-black) 0%, #1a1a1a 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--color-white);
	text-align: center;
	padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
	position: relative;
}
.hero-section.hero-with-image .hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 0;
}
.hero-section.hero-with-image .hero-inner {
	position: relative;
	z-index: 1;
}
.shop-cta-section {
	padding: 3rem 0;
	text-align: center;
	background: var(--color-light-grey);
}
.shop-cta-section .shop-cta-text {
	max-width: 560px;
	margin: 0 auto 1.5rem;
}
.shop-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
}
.shop-cta-buttons .btn {
	margin: 0;
}
.shop-page-main,
.page-about-main,
.page-services-main,
.page-birds-main,
.page-contact-main,
.page-consultation-main {
	padding-top: calc(var(--header-height) + 2rem);
}

.page-resources-main {
	padding-top: calc(var(--header-height) + 2rem);
}

.consultation-section {
	padding: 3rem 0;
	background: #fdfaf0;
}

.consultation-inner {
	text-align: center;
}

.consultation-text {
	max-width: 640px;
	margin: 0 auto 1.5rem;
	font-size: 0.98rem;
}

.consultation-form {
	margin-top: 1.5rem;
	text-align: left;
}

.consultation-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem 1.5rem;
}

.consultation-form label span {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.consultation-form input,
.consultation-form textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	border: 1px solid #ddd;
	font: inherit;
}

.consultation-form-full {
	grid-column: 1 / -1;
}

.section-pad {
	padding: 3rem 0;
}

.about-page-content .about-editor-content,
.contact-page-extra {
	max-width: 720px;
	margin: 0 auto;
}

.contact-page-section .page-title {
	text-align: center;
	margin-bottom: 2rem;
	font-family: var(--font-heading);
}

.contact-page-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.contact-block h3 {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	margin: 0 0 0.75rem;
}

.contact-block p {
	margin: 0 0 0.5rem;
}

.contact-block .btn {
	margin-top: 0.75rem;
}

.hero-headline {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	margin: 0 0 1rem;
	line-height: 1.2;
}

.hero-subtext {
	font-size: 1.1rem;
	opacity: 0.95;
	margin: 0 0 2rem;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

/* ========== BUTTONS ========== */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 6px;
	transition: background var(--transition), color var(--transition), transform var(--transition);
	border: 2px solid transparent;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-black);
}

.btn-primary:hover {
	background: #e6b000;
	color: var(--color-black);
}

.btn-secondary {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}
.btn-secondary:hover {
	background: var(--color-primary);
	color: var(--color-black);
}

.btn-whatsapp {
	background: #25D366;
	color: var(--color-white);
}

.btn-whatsapp:hover {
	background: #20bd5a;
	color: var(--color-white);
}

.btn-outline {
	background: transparent;
	color: var(--color-white);
	border-color: var(--color-white);
}

.btn-outline:hover {
	background: var(--color-white);
	color: var(--color-black);
}

.btn-cta {
	background: var(--color-black);
	color: var(--color-primary);
	padding: 1rem 2rem;
	font-size: 1.05rem;
}

.btn-cta:hover {
	background: #1a1a1a;
	color: var(--color-primary);
}

/* ========== SECTIONS COMMON ========== */
.section-title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 2rem;
	color: var(--color-black);
}

/* ========== ABOUT ========== */
.about-section {
	padding: 4rem 0;
	background: var(--color-light-grey);
}
.about-page-full .about-page-content-single {
	max-width: 720px;
	margin: 0 auto;
}
.about-page-full .about-editor-content {
	overflow: visible;
}

.about-content {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.about-content p {
	margin: 0;
	font-size: 1.05rem;
}

/* ========== SERVICES ========== */
.services-section {
	padding: 4rem 0;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.service-card {
	background: var(--color-white);
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 1.5rem;
	text-align: center;
	transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	border-color: var(--color-primary);
}

.service-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	color: var(--color-primary);
}

.service-icon svg {
	width: 100%;
	height: 100%;
}

.service-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.service-desc {
	margin: 0;
	font-size: 0.95rem;
	color: #444;
}

/* ========== PRODUCTS ========== */
.products-section {
	padding: 4rem 0;
	background: var(--color-light-grey);
}

.product-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.product-card {
	background: var(--color-white);
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.product-card-title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.product-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 1rem;
}

.product-features,
.product-feeds-list {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.product-features li,
.product-feeds-list li {
	margin-bottom: 0.35rem;
}

.product-feeds-label {
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.product-bag-weight {
	font-weight: 600;
	margin: 0 0 1rem;
}

.product-desc {
	margin: 0 0 1rem;
}

.product-card .btn {
	margin-top: 0.5rem;
}

.feed-order-form {
	margin-top: 0.75rem;
}

.feed-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.feed-item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.feed-name {
	font-family: var(--font-heading);
	font-weight: 600;
}

.feed-qty-input {
	width: 4rem;
	padding: 0.35rem 0.5rem;
	text-align: center;
	font-size: 0.95rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.feed-order-summary {
	padding: 1rem;
	background: #fff9e6;
	border-radius: 8px;
	border-left: 4px solid var(--color-primary);
}

.feed-summary-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	margin: 0 0 0.75rem;
}

.feed-summary-list {
	margin: 0 0 0.5rem;
	padding-left: 1.25rem;
}

.feed-total {
	margin: 0.5rem 0 1rem;
}

.feed-whatsapp-btn {
	margin-top: 0.25rem;
}

/* ========== BIRDS ========== */
.birds-section {
	padding: 4rem 0;
}

.birds-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.bird-card {
	background: var(--color-light-grey);
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 1.25rem;
	text-align: center;
	transition: border-color var(--transition), background var(--transition);
}

.bird-card:hover {
	border-color: var(--color-primary);
	background: #fff9e6;
}

.bird-name {
	font-family: var(--font-heading);
	font-weight: 600;
}

.bird-card-order {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
}

.bird-qty-input {
	width: 4rem;
	padding: 0.35rem 0.5rem;
	text-align: center;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.birds-order-form {
	margin-bottom: 1.5rem;
}

.birds-order-summary {
	margin-top: 1.5rem;
	padding: 1.25rem;
	background: #fff9e6;
	border-radius: 8px;
	border-left: 4px solid var(--color-primary);
}

.birds-summary-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	margin: 0 0 0.75rem;
}

.birds-summary-list {
	margin: 0 0 0.5rem;
	padding-left: 1.25rem;
}

.birds-total {
	margin: 0.5rem 0 1rem;
}

.birds-whatsapp-btn {
	margin-top: 0.5rem;
}

.about-text {
	margin-bottom: 1rem;
}

.about-text p:last-child {
	margin-bottom: 0;
}

.about-read-more-wrap {
	margin: 1rem 0 0;
}

.about-read-more {
	font-weight: 600;
	color: var(--color-primary);
}

.about-read-more:hover {
	text-decoration: underline;
}

.product-card-image {
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-excerpt {
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.birds-note {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
	padding: 1rem;
	background: #fff9e6;
	border-radius: 8px;
	border-left: 4px solid var(--color-primary);
}

.birds-note p {
	margin: 0;
	font-size: 0.95rem;
}

/* ========== CONTACT CTA ========== */
.contact-cta-section {
	padding: 4rem 2rem;
	background: var(--color-primary);
	text-align: center;
}

.contact-cta-title {
	font-family: var(--font-heading);
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	color: var(--color-black);
}

.contact-cta-section .btn-cta {
	background: var(--color-black);
	color: var(--color-primary);
}

.contact-social-row {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.contact-social-btn {
	min-width: 160px;
	border-radius: 999px;
}

/* ========== FOOTER ========== */
.site-footer {
	background: var(--color-black);
	color: var(--color-white);
	padding: 3rem 0 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-business-name {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.footer-tagline {
	margin: 0;
	opacity: 0.9;
	font-size: 0.95rem;
}

.footer-heading {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.footer-col p {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
}

.footer-col a {
	color: var(--color-white);
	transition: color var(--transition);
}

.footer-col a:hover {
	color: var(--color-primary);
}

.footer-bottom {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-copyright {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.9;
}

.footer-edit-link {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
}

.footer-edit-link a {
	color: var(--color-primary);
}

.footer-social {
	margin-top: 0.75rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.4);
	font-size: 0.75rem;
	font-weight: 600;
}

.footer-social-icon {
	line-height: 1;
}

/* ========== FLOATING WHATSAPP ========== */
.floating-whatsapp {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #25D366;
	color: var(--color-white);
	padding: 0.75rem 1rem;
	border-radius: 50px;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
	transition: transform var(--transition), box-shadow var(--transition);
}

.floating-whatsapp:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
	color: var(--color-white);
}

.floating-whatsapp-label {
	font-weight: 600;
	font-size: 0.9rem;
}

@media (max-width: 480px) {
	.floating-whatsapp-label {
		display: none;
	}
	.floating-whatsapp {
		padding: 1rem;
	}
}

/* Floating social icons (above WhatsApp button) */
.floating-social {
	position: fixed;
	right: 1.5rem;
	bottom: 5.5rem;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.floating-social-link {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.8rem;
	text-decoration: none;
	box-shadow: 0 3px 12px rgba(0,0,0,0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-social-link:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.floating-social-instagram {
	background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.floating-social-facebook {
	background: #1877f2;
}

.floating-social-tiktok {
	background: #000000;
}

@media (max-width: 480px) {
	.floating-social {
		right: 1rem;
		bottom: 5rem;
	}
}

/* ========== SITE CONTENT (main padding for fixed header) ========== */
.site-content {
	padding-top: 0;
}

.front-page-main {
	padding-top: 0;
}

/* ========== INNER PAGES ========== */
.site-main.container {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 3rem;
}

.page-header,
.archive-header {
	margin-bottom: 2rem;
}

.entry-title {
	font-family: var(--font-heading);
	font-weight: 700;
}

.entry-content {
	max-width: 720px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1rem;
}

.entry-meta {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 1rem;
}

.post-thumbnail {
	margin-bottom: 1.5rem;
	border-radius: 8px;
	overflow: hidden;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.post-card {
	background: var(--color-white);
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}

.post-card-thumb {
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-content {
	padding: 1.25rem;
}

.post-card .entry-title {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
}

.post-card .entry-title a:hover {
	color: var(--color-primary);
}

.read-more {
	font-weight: 600;
	color: var(--color-primary);
}

.read-more:hover {
	text-decoration: underline;
}

.no-results {
	text-align: center;
	padding: 3rem 1rem;
}

.pagination,
.nav-links {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.content-sidebar-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 3rem;
}
.content-sidebar-wrap .site-main {
	flex: 1 1 60%;
	min-width: 0;
}
.widget-area.sidebar {
	flex: 0 1 300px;
	padding: 0;
}
.widget-area.sidebar .widget {
	margin-bottom: 2rem;
}

.widget {
	margin-bottom: 2rem;
}

.widget-title,
.footer-widget-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 600;
}
