| Current File : //home/abedqjib/krishanfoundation.com/wp-content/blog/style.css |
/* CSS Reset & Variables */
:root {
--bg-color: #0a0a0a;
/* Deepest black for background */
--surface-color: #161616;
/* Slightly lighter for cards/sections */
--border-color: #2a2a2a;
/* Subtle borders */
--text-primary: #ededed;
/* Off-white for main text */
--text-secondary: #a1a1a1;
/* Gray for secondary text */
--accent-primary: #ffe135;
/* Nano Banana Yellow - Vibrant */
--accent-hover: #ffea70;
/* Lighter yellow for hover */
--accent-glow: rgba(255, 225, 53, 0.15);
--header-height: 80px;
--content-width: 900px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--bg-color);
color: var(--text-primary);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
display: flex;
flex-direction: column;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}
/*
HEADER
100% Width, Content Centered
*/
.main-header {
width: 100%;
height: var(--header-height);
border-bottom: 1px solid var(--border-color);
background-color: rgba(10, 10, 10, 0.8);
backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 100;
display: flex;
justify-content: center;
/* Helper to center the inner container */
}
.header-container {
width: 100%;
max-width: var(--content-width);
/* Matches content area */
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 1rem;
/* Safe padding for mobile */
}
.logo {
font-size: 1.25rem;
font-weight: 800;
letter-spacing: -0.03em;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 8px;
}
.pro-badge {
background-color: var(--accent-primary);
color: #000;
font-size: 0.7rem;
font-weight: 700;
padding: 2px 6px;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.main-nav {
display: flex;
gap: 2rem;
}
.nav-link {
color: var(--text-secondary);
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
color: var(--text-primary);
}
/*
MAIN CONTENT
900px Width, Centered
*/
.main-content {
width: 100%;
max-width: var(--content-width);
margin: 0 auto;
/* Horizontally centered */
padding: 3rem 1rem 6rem;
flex: 1;
/* Pushes footer to bottom */
}
/* Blog Post Styling */
.blog-post {
animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.post-header {
margin-bottom: 3rem;
border-bottom: 1px solid var(--border-color);
padding-bottom: 2rem;
}
.post-meta {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.post-category {
color: var(--accent-primary);
}
.post-date {
color: var(--text-secondary);
}
.post-title {
font-size: 2.5rem;
/* Large title */
line-height: 1.2;
font-weight: 800;
margin-bottom: 1rem;
color: var(--text-primary);
}
.post-lead {
font-size: 1.25rem;
color: var(--text-secondary);
line-height: 1.5;
font-weight: 400;
}
/* Post Content Typography */
.post-content {
font-size: 1.1rem;
/* Slightly larger for reading */
color: #d1d1d1;
}
.featured-image-container {
margin-bottom: 2rem;
border-radius: 12px;
overflow: hidden;
border: 1px solid var(--border-color);
}
.featured-image {
width: 100%;
height: auto;
display: block;
}
.post-content h2,
.post-content h3 {
color: var(--text-primary);
margin-top: 2.5rem;
margin-bottom: 1rem;
font-weight: 700;
}
.post-content h2 {
font-size: 1.8rem;
}
.post-content h3 {
font-size: 1.5rem;
}
.post-content p {
margin-bottom: 1.5rem;
line-height: 1.7;
}
.post-content blockquote {
border-left: 4px solid var(--accent-primary);
padding-left: 1.5rem;
margin: 2rem 0;
font-style: italic;
color: var(--text-primary);
font-size: 1.2rem;
background: linear-gradient(90deg, rgba(255, 225, 53, 0.05) 0%, transparent 100%);
padding: 1.5rem;
border-radius: 0 8px 8px 0;
}
/* Feature List Styling */
.feature-list {
list-style: none;
padding: 0;
margin-bottom: 2rem;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 0.8rem;
}
.feature-list li {
padding-left: 1.5rem;
position: relative;
font-size: 0.95rem;
color: var(--text-secondary);
}
.feature-list li::before {
content: "✓";
position: absolute;
left: 0;
color: var(--accent-primary);
font-weight: bold;
}
/* Note Styling */
.note {
font-size: 0.9rem;
background-color: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-color);
padding: 1rem;
border-radius: 8px;
color: #888;
}
.note strong {
color: var(--accent-primary);
}
/* Actions / Download Area */
.post-actions {
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
}
.download-area {
background-color: var(--surface-color);
padding: 2rem;
border-radius: 12px;
border: 1px solid var(--border-color);
text-align: center;
}
.download-area p {
margin-bottom: 1.5rem;
color: var(--text-secondary);
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.8rem 1.8rem;
border-radius: 8px;
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
transition: all 0.2s ease;
border: none;
text-decoration: none;
/* For <a> tags */
gap: 0.5rem;
}
.btn-primary {
background-color: var(--accent-primary);
color: #000;
}
.btn-primary:hover {
background-color: var(--accent-hover);
transform: translateY(-2px);
box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-large {
padding: 1rem 2.5rem;
font-size: 1.1rem;
}
.btn-download .icon {
font-size: 1.2em;
}
/*
FOOTER
100% Width, Content Centered
*/
.main-footer {
width: 100%;
background-color: #000;
border-top: 1px solid var(--border-color);
padding: 2rem 0;
/* Reduced padding */
display: flex;
justify-content: center;
}
.footer-container {
width: 100%;
max-width: var(--content-width);
display: flex;
justify-content: center;
/* Center the single link */
padding: 0 1rem;
}
.footer-simple-link a {
color: var(--text-primary);
text-decoration: none;
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
transition: color 0.2s ease;
}
.footer-simple-link a:hover {
color: var(--accent-primary);
}
.footer-column h4 {
color: var(--text-primary);
margin-bottom: 1rem;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.footer-column p,
.footer-column a {
color: var(--text-secondary);
display: block;
margin-bottom: 0.5rem;
text-decoration: none;
font-size: 0.9rem;
}
.footer-column a:hover {
color: var(--accent-primary);
}
.footer-bottom {
width: 100%;
margin-top: 3rem;
padding-top: 1.5rem;
border-top: 1px solid var(--border-color);
text-align: center;
font-size: 0.8rem;
color: #555;
}
@media (max-width: 960px) {
.post-title {
font-size: 2rem;
}
.footer-container {
flex-direction: column;
text-align: center;
}
}