/*
Theme Name: Ibrahim Portfolio Theme
Description: A modern portfolio theme for Senior Python Developer & Data Engineer Ibrahim
Version: 1.0.0
Author: Ibrahim El khalil Mlata
Author URI: https://mlataibrahim.com
*/

/* 
* Ibrahim Portfolio - Main Stylesheet
* Modern portfolio with dark theme and gradient accents
*/

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00e980;
    --secondary-color: #00c2a8;
    --accent-color: #00d1b2;
    --dark-bg: #0a0a12;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --accent-gradient: linear-gradient(135deg, #00e980, #4ade80);
    --button-gradient: linear-gradient(135deg, #00e980, #00c2a8);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    background-image: url('assets/images/dark-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 15, 0.85);
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Portfolio Container Layout */
.portfolio-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 320px;
    background-color: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-header {
    margin-bottom: 1.5rem;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trademark {
    font-size: 1rem;
    vertical-align: super;
}

.title {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    margin: 1.5rem 0;
}

.email, .location {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 1rem 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon.upwork-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.cta-button {
    width: 100%;
    margin-top: 1.5rem;
}

.hire-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--button-gradient);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 233, 128, 0.3);
}

.hire-btn:hover {
    background: linear-gradient(135deg, #4ade80, #00e980);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 233, 128, 0.4);
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 320px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
}

.intro-button {
    margin-bottom: 2rem;
    align-self: center;
}

.btn-introduce {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-introduce:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-text {
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.plus, .percent {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.projects-text {
    font-weight: 600;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    width: 100%;
    max-width: 1200px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.top-rated-badge {
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 500;
}

.top-rated-badge i {
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* About Section */
.about-content {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.about-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.detail-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.detail-item:nth-child(1) { transition-delay: 0.1s; }
.detail-item:nth-child(2) { transition-delay: 0.2s; }
.detail-item:nth-child(3) { transition-delay: 0.3s; }
.detail-item:nth-child(4) { transition-delay: 0.4s; }

.detail-label {
    font-weight: 600;
    color: var(--primary-color);
}

.detail-value {
    color: var(--text-secondary);
}

/* Resume Section */
.resume-content {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.resume-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.timeline-details {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    list-style-type: none;
}

.timeline-details li {
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.timeline-details li:before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-secondary);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-card h3 {
    margin-bottom: 1rem;
}

.skill-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--button-gradient);
    border-radius: 5px;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px rgba(0, 233, 128, 0.3);
}

.skill-percentage {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .view-project {
    transform: translateY(0);
}

.view-project:hover {
    background-color: var(--secondary-color);
}

.project-info {
    padding: 1.5rem;
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.project-description {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.project-tech {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.project-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50px;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50px;
    top: 15px;
    margin-left: -8px;
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-content {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 233, 128, 0.1), rgba(0, 194, 168, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 10px;
    right: 20px;
}

.service-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-container p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-btn {
    display: inline-block;
    background: var(--button-gradient);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 233, 128, 0.3);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #4ade80, #00e980);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 233, 128, 0.4);
}

/* Side Navigation */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 1rem 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.side-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.side-nav a:hover, .side-nav a.active {
    background: var(--button-gradient);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 233, 128, 0.3);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .portfolio-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1.5rem;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .side-nav {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-container, .skills-container, .services-container {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-container h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-container h2 {
        font-size: 2rem;
    }
}

/* WordPress Specific Styles */

/* Archive Styles */
.archive-section {
    padding: 5rem 0;
    width: 100%;
    max-width: 1200px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.archive-item {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.archive-thumbnail {
    height: 200px;
    overflow: hidden;
}

.archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.archive-item:hover .archive-thumbnail img {
    transform: scale(1.1);
}

.archive-content {
    padding: 1.5rem;
}

.archive-content h3 {
    margin-bottom: 1rem;
}

.archive-content h3 a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.archive-content h3 a:hover {
    color: var(--primary-color);
}

.archive-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Single Post/Page Styles */
.single-post-section, .page-section {
    padding: 5rem 0;
    width: 100%;
    max-width: 1200px;
}

.post-content, .page-content {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-thumbnail, .page-thumbnail {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.post-thumbnail img, .page-thumbnail img {
    width: 100%;
    height: auto;
}

.post-text, .page-text {
    line-height: 1.8;
}

.post-text p, .page-text p {
    margin-bottom: 1.5rem;
}

.project-meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-meta p {
    margin-bottom: 0.5rem;
}

.project-meta strong {
    color: var(--primary-color);
}

.project-meta a {
    color: var(--primary-color);
    text-decoration: underline;
}

.project-meta a:hover {
    color: var(--secondary-color);
}

/* Error 404 Styles */
.error-404-section {
    padding: 5rem 0;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.error-content {
    background-color: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.error-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.error-text p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Pagination Styles */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background-color: var(--primary-color);
    color: #000;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    padding: 0.5rem 1.5rem;
}

/* Admin Bar Adjustments */
.admin-bar .sidebar {
    top: 32px;
    height: calc(100vh - 32px);
}

.admin-bar .side-nav {
    top: calc(50% + 16px);
}

@media screen and (max-width: 782px) {
    .admin-bar .sidebar {
        top: 46px;
        height: calc(100vh - 46px);
    }
    
    .admin-bar .side-nav {
        top: calc(50% + 23px);
    }
}

/* WordPress Editor Styles */
.wp-block-image {
    margin-bottom: 1.5rem;
}

.wp-block-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.wp-block-code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

/* Skill Description */
.skill-description {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Archive Grid */
@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-links .page-numbers {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}
