/* Additional theme styles */

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* Featured Images */
.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Archive Styles */
.page-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.archive-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
}

/* Tags and Categories */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.entry-tags,
.entry-categories {
    margin-top: 1.5rem;
}

.entry-tags a,
.entry-categories a {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 0.3rem 0.8rem;
    margin: 0 0.3rem 0.3rem 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.entry-tags a:hover,
.entry-categories a:hover {
    background: #3498db;
    color: white;
}

/* Search Form */
.search-form {
    position: relative;
    margin-bottom: 2rem;
}

.search-field {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    border-color: #3498db;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #2980b9;
}

/* Error 404 Styles */
.error-404 {
    text-align: center;
    padding: 3rem 0;
}

.error-404 .page-title {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-404 .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .widget {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: left;
}

/* Block Editor Support */
.wp-block-button .wp-block-button__link {
    background: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover {
    background: #2980b9;
}

.wp-block-quote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.wp-block-pullquote {
    border-top: 4px solid #3498db;
    border-bottom: 4px solid #3498db;
    padding: 2rem;
    text-align: center;
    font-size: 1.2rem;
    margin: 2rem 0;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .widget-area,
    .post-navigation,
    .comments-area {
        display: none;
    }
    
    .content-area {
        grid-template-columns: 1fr;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .entry-title {
        font-size: 18pt;
    }
}