/* ===================================================================
 * Modern Blog Inner Page Styles
 * =================================================================== */

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ff9f43;
    --light-bg: #ffffff;
    --light-gray: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e0e0e0;
}

/* ===================================================================
 * Inner Page Content
 * =================================================================== */

.inner-page {
    padding: 4rem 0;
}

/* ===================================================================
 * Post/Article Cards
 * =================================================================== */

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.post-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.2);
    transform: translateY(-5px);
}

.post-card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.post-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.post-card:hover .post-card-image::before {
    opacity: 0.5;
}

.post-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    flex: 1;
}

.post-card a .post-title {
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card a:hover .post-title {
    color: var(--primary-color);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.post-meta a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta a:hover {
    color: var(--secondary-color);
}

.post-author,
.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-author i,
.post-date i {
    color: var(--primary-color);
}

/* ===================================================================
 * Single Post/Article Page
 * =================================================================== */

.article-header {
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta-item i {
    color: var(--primary-color);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: rgba(255, 107, 107, 0.05);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ===================================================================
 * Related Posts
 * =================================================================== */

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.related-posts-title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

/* ===================================================================
 * Pagination
 * =================================================================== */

.pagination {
    margin-top: 3rem;
}

.page-link {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===================================================================
 * Category/Search Page
 * =================================================================== */

.page-header {
    margin-bottom: 3rem;
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-posts i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.no-posts h3 {
    color: var(--text-dark);
    margin: 1rem 0;
}

/* ===================================================================
 * Comments Section
 * =================================================================== */

.comments-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.comment {
    padding: 1.5rem;
    background: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.comment-author {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.comment-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===================================================================
 * Post Images Gallery
 * =================================================================== */

.post-images-gallery {
    margin: 3rem 0;
}

.post-images-gallery h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover img {
    transform: scale(1.05);
}

/* ===================================================================
 * Static Pages Styles
 * =================================================================== */

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
    transform: translateY(-5px);
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info .contact-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-info .contact-item h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    color: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.privacy-item {
    margin-bottom: 2rem;
}

.privacy-item h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.privacy-item p {
    line-height: 1.7;
    color: var(--text-muted);
}

.privacy-item ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* ===================================================================
 * Responsive Design
 * =================================================================== */

@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        font-size: 0.85rem;
        gap: 1rem;
    }

    .post-card-image {
        height: 200px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .article-tags {
        gap: 0.5rem;
    }

    .article-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.4rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .post-card {
        margin-bottom: 1.5rem;
    }
}

/* ===================================================================
 * Single Post Page
 * =================================================================== */

.single-post {
    background: var(--light-gray);
}

.post-header {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-gray) 100%);
    border-bottom: 1px solid var(--border-color);
}

.post-header-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.post-header-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.post-header-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-header-meta i {
    color: var(--primary-color);
}

.post-featured-image {
    margin: -3rem auto 3rem;
}

.post-featured-image img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-body {
    /* background: var(--light-bg); */
    padding: 3rem 0;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
}

.article-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: rgba(255, 107, 107, 0.05);
    border-radius: 4px;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.post-footer {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-bg) 100%);
}

/* Author Box */
.author-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tags */
.article-tags {
    padding: 1.5rem 0;
}

.article-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.article-tag i {
    margin-right: 0.4rem;
}

/* Post Navigation */
.post-navigation {
    padding: 3rem 0;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 3rem 0;
}

.nav-post-card {
    display: block;
    padding: 1.5rem;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-post-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 159, 67, 0.05) 100%);
}

.nav-post-card.prev:hover {
    transform: translateX(-5px);
}

.nav-post-card.next:hover {
    transform: translateX(5px);
}

.nav-post-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-post-card-header i {
    color: var(--primary-color);
}

.nav-post-title {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.nav-post-card:hover .nav-post-title {
    color: var(--primary-color);
}

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background: var(--light-gray);
}

.related-posts h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Search Results */
.search-results {
    background: var(--light-bg);
}

.page-header {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-bg) 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-header-title {
        font-size: 1.8rem;
    }

    .post-header-meta {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }

    .post-featured-image {
        margin: -2rem auto 2rem;
    }

    .nav-post-card {
        margin-bottom: 1rem;
    }

    .post-footer {
        padding: 2rem 0 !important;
    }

    .author-box {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .post-header-title {
        font-size: 1.4rem;
    }

    .post-header-meta {
        font-size: 0.8rem;
    }

    .article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .article-content h2 {
        font-size: 1.2rem;
    }

    .article-content h3 {
        font-size: 1rem;
    }

    .post-featured-image {
        margin: -1.5rem auto 1.5rem;
    }

    .nav-post-card {
        padding: 1rem;
    }

    .nav-post-card-header {
        font-size: 0.75rem;
    }

    .nav-post-title {
        font-size: 0.95rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .author-box {
        padding: 1rem;
    }
}

/* ===================================================================
 * About Page Styles
 * =================================================================== */

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a65 100%);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a65 50%, var(--secondary-color) 100%);
    border-radius: 0 0 20px 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.2;
}

.hero-stats {
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
}

.title-decoration {
    margin-bottom: 1rem;
}

.title-decoration .fas {
    margin: 0 2px;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.location-badge {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.inspiration-quote {
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.inspiration-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.hover-lift:hover .feature-icon {
    transform: scale(1.1);
}

.mission-point {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-point:hover {
    background: rgba(255, 107, 107, 0.05) !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.mission-statement {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a65 100%);
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,25 50,50 T100,50 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a65 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="20" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="90" r="0.8" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="70" r="0.6" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .col-lg-8,
    .hero-section .col-lg-4 {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .story-card .card-body {
        padding: 2rem 1rem;
    }

    .mission-card .card-body {
        padding: 2rem 1rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-content .h2 {
        font-size: 1.75rem;
    }
}