/* ============================================================
   JBRY DESIGNERS BLOG - COMPLETE STYLESHEET
   Version: 2.0
   Last Updated: 2026-08-22
   
   TABLE OF CONTENTS:
   1.  CSS VARIABLES (Root)
   2.  RESET & BASE STYLES
   3.  HEADER & NAVIGATION
   4.  HERO SECTION
   5.  BLOG GRID
   6.  POST CARDS
   7.  CATEGORIES SECTION
   8.  SINGLE POST PAGE
   9.  SOCIAL SHARE
   10. SOCIAL FLOAT
   11. RELATED POSTS
   12. ADMIN PANEL
   13. FORMS & BUTTONS
   14. PAGINATION
   15. ALERTS
   16. LOGIN PAGE
   17. FOOTER
   18. CTA SECTION
   19. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES (Root)
   ============================================================ */
:root {
    /* Brand Colors */
    --primary: #43095b;
    --primary-dark: #2f0642;
    --primary-light: #5c1a7a;
    --primary-gradient: linear-gradient(135deg, #43095b 0%, #2f0642 100%);
    
    --accent: #FFD700;
    --accent-dark: #E6C200;
    --accent-light: #FFE44D;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-bg: #F8F6FA;
    --dark: #1A1A2E;
    --footer-bg: #1a1a2e;
    
    --text-dark: #1A1A2E;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(67, 9, 91, 0.08);
    --shadow-md: 0 4px 20px rgba(67, 9, 91, 0.12);
    --shadow-lg: 0 10px 40px rgba(67, 9, 91, 0.18);
    
    /* Sizing */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
}

/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: var(--light-bg);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================================
   3. HEADER & NAVIGATION (Dark Purple Background)
   ============================================================ */
.main-header {
    background: var(--primary) !important;
    background-color: var(--primary) !important;
    box-shadow: 0 4px 20px rgba(67, 9, 91, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--accent);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    min-height: 70px;
}

/* Brand / Logo */
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 200px;
}

/* Hide brand text since logo already has it */
.brand-text {
    display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a.admin-link {
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.nav-menu a.admin-link::after {
    display: none;
}

.nav-menu a.admin-link:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    color: var(--primary);
}

/* ============================================================
   4. HERO SECTION (Purple Gradient Background)
   ============================================================ */
.hero-section {
    background: var(--primary-gradient) !important;
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.featured-content .featured-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.featured-content .post-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 50px;
    margin-left: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.featured-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 16px 0;
}

.featured-content h1 a {
    color: var(--white);
    text-decoration: none;
}

.featured-content h1 a:hover {
    color: var(--accent);
}

.featured-content p {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 600px;
}

.featured-content .post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 24px;
}

.featured-content .post-meta i {
    color: var(--accent);
    margin-right: 4px;
}

.featured-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

/* ============================================================
   5. BLOG GRID
   ============================================================ */
.blog-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 8px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* ============================================================
   6. POST CARDS
   ============================================================ */
.post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent);
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
}

.image-placeholder {
    font-size: 3rem;
    opacity: 0.3;
    color: var(--white);
}

.post-card-content {
    padding: 24px;
}

.post-card-content .post-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.post-card-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--primary);
}

.post-card-content h2 a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.post-card-content h2 a:hover {
    color: var(--primary-light);
}

.post-card-content .post-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.post-card-content .post-meta i {
    color: var(--accent);
    margin-right: 4px;
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-dark);
}

.read-more:hover i {
    transform: translateX(4px);
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-posts i {
    display: block;
    margin-bottom: 16px;
    color: #ccc;
    font-size: 3rem;
}

.no-posts h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.no-posts p {
    color: #999;
    margin: 8px 0 20px;
}

/* ============================================================
   7. CATEGORIES SECTION
   ============================================================ */
.categories-section {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--light-bg);
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.category-card i {
    color: var(--accent);
}

.category-card.all-categories {
    background: var(--primary);
    color: var(--white);
}

.category-card.all-categories i {
    color: var(--accent);
}

.category-card.all-categories:hover {
    background: var(--primary-dark);
    border-color: var(--accent);
}

/* ============================================================
   8. SINGLE POST PAGE
   ============================================================ */
.post-detail {
    padding: 40px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta-top {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.post-meta-top .post-category {
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-meta-top .post-date,
.post-meta-top .post-read-time,
.post-meta-top .post-views {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-meta-top i {
    color: var(--accent);
    margin-right: 4px;
}

.post-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary);
}

.post-excerpt-large {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
}

.post-featured-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--accent);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.image-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 16px;
    background: var(--light-bg);
    border-radius: 0 0 8px 8px;
    margin-top: -4px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2,
.post-content h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--primary);
}

.post-content img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

.post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--accent-dark);
}

.post-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin: 30px 0;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-tags .tag-label {
    color: var(--text-muted);
    font-weight: 600;
}

.post-tags .tag {
    background: var(--light-bg);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.post-tags .tag:hover {
    background: var(--primary);
    color: var(--white);
}

.post-share-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   9. SOCIAL SHARE
   ============================================================ */
.post-share-section {
    margin: 50px 0;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.post-share-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #000000; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.telegram { background: #0088CC; }
.share-btn.email { background: var(--primary); }

.share-btn.email:hover {
    background: var(--primary-dark);
}

/* ============================================================
   10. SOCIAL FLOAT (Fixed Position)
   ============================================================ */
.social-float {
    position: fixed;
    left: 20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    text-decoration: none !important;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1.1rem;
    border: none;
}

.social-icon:hover {
    transform: scale(1.1) translateX(4px);
}

.social-icon.facebook { background: #1877F2; }
.social-icon.twitter { background: #000000; }
.social-icon.instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-icon.youtube { background: #FF0000; }

/* ============================================================
   11. RELATED POSTS
   ============================================================ */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.related-posts h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent);
}

.related-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-light);
}

.related-content {
    padding: 16px;
}

.related-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.related-content h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

.related-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.related-date i {
    margin-right: 4px;
}

/* ============================================================
   12. ADMIN PANEL
   ============================================================ */
.admin-container {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 30px 0;
    border-top: 4px solid var(--accent);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
}

.admin-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--light-bg);
    font-weight: 700;
    color: var(--text-dark);
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.admin-table tr:hover td {
    background: var(--light-bg);
}

.status-published {
    color: #22c55e;
    font-weight: 600;
}

.status-draft {
    color: #f59e0b;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* ============================================================
   13. FORMS & BUTTONS
   ============================================================ */
.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.form-group .required {
    color: var(--accent-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 9, 91, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 9, 91, 0.35);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
    background: var(--light-bg);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background: #c82333;
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   14. PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.page-link {
    padding: 10px 24px;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.page-info {
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================================
   15. ALERTS
   ============================================================ */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-danger {
    background: #FDE8E8;
    color: #C0392B;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: #E8F5E9;
    color: #27AE60;
    border-left: 4px solid var(--accent);
}

/* ============================================================
   16. LOGIN PAGE
   ============================================================ */
.login-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
    max-width: 480px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    height: 60px;
    margin-bottom: 16px;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.login-header p {
    color: var(--text-muted);
}

/* ============================================================
   17. FOOTER (Dark Grey Background)
   ============================================================ */
.main-footer {
    background: var(--footer-bg) !important;
    background-color: var(--footer-bg) !important;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 4px solid var(--accent);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

/* ============================================================
   FOOTER LOGO - FIXED (No Circle)
   ============================================================ */
.footer-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block !important;
    margin-bottom: 12px;
    border-radius: 0 !important;  /* Remove circle */
    border: none !important;       /* Remove border */
    background: transparent !important;
    padding: 0 !important;
}

/* Remove any circular styling */
.footer-logo-circle {
    border-radius: 0 !important;
    border: none !important;
}

/* Hide h3 brand name since logo has text */
.footer-brand h3 {
    display: none !important;
}

.footer-brand p {
    opacity: 0.7;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    text-decoration: none !important;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--footer-bg) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Footer Links */
.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--accent);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

/* Footer Contact */
.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact p i {
    color: var(--accent);
    width: 20px;
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent);
}

/* WhatsApp Link */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 8px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.whatsapp-link:hover {
    background: #1DA851;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-link i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i {
    color: var(--accent);
}

/* ============================================================
   18. CTA SECTION (Purple Gradient Background)
   ============================================================ */
.cta-section {
    padding: 60px 0;
    background: var(--primary-gradient) !important;
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
}

.cta-box {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-box p {
    opacity: 0.8;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 160px;
    justify-content: center;
}

/* ============================================================
   19. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet & Small Laptops */
@media (max-width: 1024px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 16px;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu a {
        padding: 8px 0;
        width: 100%;
        text-align: left;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .featured-content h1 {
        font-size: 1.8rem;
    }
    
    .social-float {
        left: 10px;
        bottom: 20px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .post-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .brand-logo {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-logo {
        width: 160px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .brand-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .footer-logo {
        width: 140px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .featured-content h1 {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons .btn {
        min-width: 100%;
    }
    
    .post-header h1 {
        font-size: 1.6rem;
    }
    
    .post-meta-top {
        gap: 10px;
        font-size: 0.85rem;
    }
    
    .login-container {
        padding: 24px;
    }
    
    .admin-container {
        padding: 16px;
    }
    
    .admin-header h1 {
        font-size: 1.4rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   END OF CSS FILE
   ============================================================ */