/* Post Page Styles */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    margin-top: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.breadcrumbs .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumbs span {
    color: var(--text-secondary);
}

/* Post Header */
.post-header {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.post-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.post-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.post-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 2rem;
}

.post-tags {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-tag {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.post-title {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-light);
}

.post-date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.post-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-share span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.1);
}

/* Post Content */
.post-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.post-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.post-body .lead {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.post-body h2 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-body h3 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.post-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-image-placeholder {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.post-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--gradient-elegant);
    border-radius: 20px;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow-xl);
}

.post-cta h3 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.post-cta .cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.post-cta .cta-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.related-posts .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.related-post-item {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

/* Product Item (non-clickable card) */
.product-item {
    cursor: default;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.product-item .related-post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product CTA Button */
.product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    margin-top: auto;
    cursor: pointer;
    width: fit-content;
}

.product-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: var(--text-light);
}

.product-cta i {
    font-size: 1rem;
    animation: pointRight 1.5s ease-in-out infinite;
}

@keyframes pointRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.related-post-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    transition: all 0.3s ease;
}

.related-post-item:hover .related-post-image::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
}

.product-item .related-post-image::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.product-item:hover .related-post-image::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.related-post-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #3b4cb8 0%, #4a2c65 50%, #9c35a8 100%);
    color: var(--text-light);
    text-align: center;
}

.contact-cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-cta h2 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-cta .cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contact-cta .cta-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .post-title {
        font-size: 2.5rem;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 70px;
        padding: 1rem 0;
    }

    .breadcrumbs .container {
        padding: 0 1.5rem;
        font-size: 0.85rem;
    }

    .post-header {
        min-height: 400px;
        margin-bottom: 2rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-body {
        padding: 0 1.5rem;
    }

    .post-body .lead {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .post-body h2 {
        font-size: 1.5rem;
    }

    .post-body h3 {
        font-size: 1.3rem;
    }

    .post-body p,
    .post-body li {
        font-size: 1rem;
    }

    .post-cta {
        padding: 2rem;
    }

    .post-cta h3 {
        font-size: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .product-cta {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .contact-cta h2 {
        font-size: 2rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.75rem;
    }

    .post-share {
        gap: 0.75rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .post-body .lead {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .post-cta {
        padding: 1.5rem;
    }

    .contact-cta h2 {
        font-size: 1.75rem;
    }
}

