/*
Theme Name: AhamBharat
Theme URI: https://ahambharat.example
Author: AhamBharat
Description: Premium, luxury WordPress theme for the AhamBharat Awards. Pair with the AhamBharat Core plugin for CMS, roles and the nomination funnel.
Version: 0.1.0
Requires PHP: 7.4
Text Domain: ahambharat
*/

:root {
	--ahb-primary: #111111;
	--ahb-secondary: #1C1C1C;
	--ahb-gold: #B08D3C;
	--ahb-light-gold: #D4AF63;
	--ahb-ivory: #F7F4ED;
	--ahb-white: #FFFFFF;
	--ahb-text: #4B4B4B;
	--ahb-border: #E4DED2;

	--ahb-font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
	--ahb-font-body: 'Inter', 'Manrope', -apple-system, sans-serif;

	--ahb-radius: 2px;
	--ahb-container: 1200px;
	--ahb-space: 1.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ahb-font-body);
	color: var(--ahb-text);
	background: var(--ahb-white);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
	font-family: var(--ahb-font-heading);
	color: var(--ahb-primary);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }
a { color: var(--ahb-gold); text-decoration: none; }
img { max-width: 100%; display: block; }

.ahb-container { max-width: var(--ahb-container); margin: 0 auto; padding: 0 24px; }
.ahb-section { padding: 96px 0; }
.ahb-section--ivory { background: var(--ahb-ivory); }
.ahb-section--dark { background: var(--ahb-primary); color: #cfcfcf; }
.ahb-section--dark h2, .ahb-section--dark h3 { color: var(--ahb-white); }

.ahb-eyebrow {
	display: inline-block;
	font-family: var(--ahb-font-body);
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 0.75rem;
	color: var(--ahb-gold);
	margin-bottom: 1rem;
}
.ahb-divider {
	width: 64px; height: 1px; background: var(--ahb-gold);
	margin: 1.5rem 0;
}

/* Buttons */
.ahb-btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 0.85rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border-radius: var(--ahb-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .25s ease;
}
.ahb-btn-gold { background: var(--ahb-gold); color: var(--ahb-white); }
.ahb-btn-gold:hover { background: var(--ahb-primary); color: var(--ahb-white); }
.ahb-btn-outline { border-color: var(--ahb-gold); color: var(--ahb-primary); background: transparent; }
.ahb-btn-outline:hover { background: var(--ahb-gold); color: var(--ahb-white); }
.ahb-btn-ghost { background: transparent; border-color: var(--ahb-border); color: var(--ahb-text); }

/* Header */
.ahb-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--ahb-border);
	backdrop-filter: blur(6px);
}
.ahb-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: var(--ahb-container); margin: 0 auto; }
.ahb-logo img { height: 40px; }
.ahb-logo { font-family: var(--ahb-font-heading); font-size: 1.4rem; color: var(--ahb-primary); letter-spacing: .5px; }
.ahb-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.ahb-nav a { color: var(--ahb-primary); font-size: .9rem; letter-spacing: .5px; }
.ahb-nav a:hover { color: var(--ahb-gold); }
.ahb-header-cta { display: flex; align-items: center; gap: 24px; }
.ahb-mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 900px) {
	.ahb-nav { display: none; }
	.ahb-mobile-toggle { display: block; }
}

/* Hero */
.ahb-hero { padding: 80px 0 60px; }
.ahb-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.ahb-hero-buttons { display: flex; gap: 16px; margin-top: 2rem; flex-wrap: wrap; }
.ahb-hero-image { border: 1px solid var(--ahb-border); }
@media (max-width: 900px) { .ahb-hero-grid { grid-template-columns: 1fr; } }

/* Cards */
.ahb-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 3rem; }
@media (max-width: 900px) { .ahb-card-grid { grid-template-columns: 1fr; } }
.ahb-card {
	background: var(--ahb-white);
	border: 1px solid var(--ahb-border);
	padding: 40px 32px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ahb-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.06); }
.ahb-card img { height: 200px; object-fit: cover; width: 100%; margin-bottom: 1.5rem; }
.ahb-card-icon { color: var(--ahb-gold); font-size: 2rem; margin-bottom: 1rem; }

/* Process steps */
.ahb-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 3rem; }
@media (max-width: 900px) { .ahb-process-grid { grid-template-columns: 1fr 1fr; } }
.ahb-process-step .ahb-process-number { font-family: var(--ahb-font-heading); font-size: 2.5rem; color: var(--ahb-gold); }

/* Section head */
.ahb-section-head { max-width: 640px; margin: 0 auto 2rem; text-align: center; }
.ahb-section-head.left { text-align: left; margin: 0 0 2rem; }

/* Footer */
.ahb-footer { background: var(--ahb-primary); color: #a9a9a9; padding: 80px 0 32px; }
.ahb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .ahb-footer-grid { grid-template-columns: 1fr 1fr; } }
.ahb-footer h4 { color: var(--ahb-white); font-size: 1rem; font-family: var(--ahb-font-body); text-transform: uppercase; letter-spacing: 1px; }
.ahb-footer ul { list-style: none; padding: 0; margin: 0; }
.ahb-footer li { margin-bottom: 10px; }
.ahb-footer a { color: #a9a9a9; }
.ahb-footer a:hover { color: var(--ahb-light-gold); }
.ahb-footer-bottom { border-top: 1px solid #333; margin-top: 48px; padding-top: 24px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Funnel form */
.ahb-funnel-form { max-width: 640px; margin: 0 auto; }
.ahb-progress { margin-bottom: 2.5rem; }
.ahb-progress-bar { height: 3px; background: var(--ahb-border); margin-top: 10px; }
.ahb-progress-fill { height: 3px; background: var(--ahb-gold); transition: width .3s ease; }
.ahb-step label { display: block; margin-bottom: 1.25rem; font-size: .9rem; color: var(--ahb-primary); }
.ahb-step input, .ahb-step select, .ahb-step textarea {
	display: block; width: 100%; margin-top: 6px; padding: 14px 16px;
	border: 1px solid var(--ahb-border); border-radius: var(--ahb-radius);
	font-family: var(--ahb-font-body); font-size: 1rem; background: var(--ahb-white);
}
.ahb-checkbox { display: flex !important; align-items: flex-start; gap: 10px; }
.ahb-checkbox input { width: auto; margin: 4px 0 0; }
.ahb-funnel-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
#ahb-form-message { color: #b3261e; margin-top: 1rem; }
.ahb-nomination-id { font-family: var(--ahb-font-heading); font-size: 2rem; color: var(--ahb-gold); }
#ahb-confirmation { max-width: 640px; margin: 0 auto; text-align: center; }

/* Status badges (used in dashboard) */
.ahb-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; }
.ahb-status-submitted { background: #EFE7D4; color: #7A5C1E; }
.ahb-status-under_review { background: #DDEAF7; color: #1E4E7A; }
.ahb-status-selected { background: #DDF3E4; color: #1E7A3C; }
.ahb-status-not_selected { background: #F3DDDD; color: #7A1E1E; }

.ahb-dashboard-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .ahb-dashboard-list { grid-template-columns: 1fr; } }
.ahb-dashboard-card { border: 1px solid var(--ahb-border); padding: 24px; }
.ahb-nom-id { font-size: .75rem; letter-spacing: 1px; color: var(--ahb-gold); text-transform: uppercase; margin-bottom: 4px; }
.ahb-nom-date { font-size: .8rem; color: #999; margin-top: 12px; margin-bottom: 0; }
