/* Post Individual Styles - Design Elegante e Sofisticado */

/* Header do Post */
.post-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(195, 167, 104, 0.9) 0%, rgba(160, 136, 80, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/blog/gallery/header-blog.jpg') center/cover;
    z-index: -2;
}

.post-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.post-hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

/* Breadcrumb Elegante */
.post-breadcrumb {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 10px 25px;
    z-index: 3;
}

.post-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.post-breadcrumb a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.post-breadcrumb .separator {
    margin: 0 12px;
    opacity: 0.6;
}

/* Título Principal */
.post-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Meta Informações Elegantes */
.post-meta-elegant {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.meta-item i {
    color: #f0d58c;
    font-size: 1.1rem;
}

/* Container Principal do Artigo */
.post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    background: white;
    position: relative;
}

/* Imagem de Destaque */
.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-featured-image:hover {
    transform: scale(1.02);
}

/* Conteúdo do Artigo */
.post-content-area {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    font-family: 'Georgia', serif;
}

.post-content-area h1,
.post-content-area h2,
.post-content-area h3,
.post-content-area h4,
.post-content-area h5,
.post-content-area h6 {
    color: #c3a768;
    font-weight: 700;
    margin: 50px 0 25px;
    line-height: 1.3;
}

.post-content-area h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.post-content-area h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c3a768, #f0d58c);
    border-radius: 2px;
}

.post-content-area h3 {
    font-size: 1.8rem;
    color: #555;
}

.post-content-area p {
    margin-bottom: 25px;
    text-align: justify;
}

.post-content-area ul,
.post-content-area ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.post-content-area li {
    margin-bottom: 10px;
}

.post-content-area blockquote {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
    border-left: 5px solid #c3a768;
    padding: 30px 40px;
    margin: 40px 0;
    font-style: italic;
    border-radius: 0 15px 15px 0;
    font-size: 1.1rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.post-content-area blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #c3a768;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.post-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Seção de Ações Elegante */
.post-actions-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Botão Voltar Elegante */
.back-to-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #c3a768 0%, #a08850 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(195, 167, 104, 0.3);
}

.back-to-blog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(195, 167, 104, 0.4);
    gap: 16px;
    color: white;
    text-decoration: none;
}

.back-to-blog-btn i {
    transition: transform 0.3s ease;
}

.back-to-blog-btn:hover i {
    transform: translateX(-3px);
}

/* Botões de Compartilhamento Elegantes */
.share-section {
    text-align: center;
}

.share-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Posts Relacionados Elegantes */
.related-posts-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
    padding: 80px 20px;
    margin: 60px auto 0;
    max-width: 1200px;
    border-radius: 25px;
}

.related-posts-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c3a768, #f0d58c);
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.related-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(195, 167, 104, 0.05), rgba(160, 136, 80, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.related-post-card:hover::before {
    opacity: 1;
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-post-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.related-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-date {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-post-date i {
    color: #c3a768;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .post-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .post-breadcrumb {
        top: 80px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .post-main-title {
        font-size: 2.5rem;
    }
    
    .post-meta-elegant {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .meta-item {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .post-article {
        padding: 60px 20px;
    }
    
    .post-content-area {
        font-size: 1.05rem;
    }
    
    .post-content-area h2 {
        font-size: 1.8rem;
    }
    
    .post-actions-section {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .social-share-buttons {
        flex-wrap: wrap;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-posts-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .post-main-title {
        font-size: 2rem;
    }
    
    .post-content-area {
        font-size: 1rem;
    }
    
    .post-content-area blockquote {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .back-to-blog-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
