/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Garamond', 'Times New Roman', serif;
}

body {
    background-color: #0a0a0a;
    color: #c9c9c9;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(20, 0, 30, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(40, 0, 20, 0.3) 0%, transparent 20%);
    min-height: 100vh;
}

/* Cabeçalho */
header {
    background-color: rgba(10, 5, 15, 0.9);
    padding: 20px 0;
    border-bottom: 1px solid #2a0a2a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo h1 {
    font-size: 3.5rem;
    color: #8a2a8a;
    text-shadow: 0 0 10px rgba(138, 42, 138, 0.5);
    letter-spacing: 3px;
    font-weight: normal;
    margin-bottom: 5px;
}

.logo p {
    font-size: 1rem;
    color: #7a7a7a;
    letter-spacing: 5px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

nav a:hover {
    color: #c56ac5;
    border-bottom: 1px solid #8a2a8a;
}

/* Conteúdo Principal */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1518709268805-4e9042af2179?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #2a0a2a;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #d8d8d8;
    text-shadow: 0 0 10px rgba(138, 42, 138, 0.3);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #a8a8a8;
}

.articles-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: #c56ac5;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, #8a2a8a, transparent);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: rgba(20, 15, 25, 0.7);
    border: 1px solid #2a0a2a;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    min-height: 500px;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #8a2a8a, transparent);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: #8a2a8a;
}

.article-image {
    height: 180px;
    background-color: #1a0f1a;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagens PNG reais para cada card */
.article-card:nth-child(1) .article-image {
    background-image: url('https://i.pinimg.com/736x/0c/4d/0b/0c4d0b3e1a9c9b8e8e8e8e8e8e8e8e8e8.jpg');
    background-color: #1a0f1a;
}

.article-card:nth-child(2) .article-image {
    background-image: url('https://i.pinimg.com/736x/8f/4a/8c/8f4a8c8e8e8e8e8e8e8e8e8e8e8e8e8e8.jpg');
    background-color: #1a0f1a;
}

.article-card:nth-child(3) .article-image {
    background-image: url('https://i.pinimg.com/736x/5a/3d/5a/5a3d5a8e8e8e8e8e8e8e8e8e8e8e8e8e8.jpg');
    background-color: #1a0f1a;
}

.article-card:nth-child(4) .article-image {
    background-image: url('https://i.pinimg.com/736x/3c/7a/3c/3c7a3c8e8e8e8e8e8e8e8e8e8e8e8e8e8.jpg');
    background-color: #1a0f1a;
}

.article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(20, 15, 25, 0.9), transparent);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(138, 42, 138, 0.8);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    z-index: 2;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #d8d8d8;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8a8a8a;
    margin-bottom: 15px;
    border-bottom: 1px solid #2a0a2a;
    padding-bottom: 10px;
}

.article-content p {
    color: #a8a8a8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: #c56ac5;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Sidebar */
.sidebar {
    background-color: rgba(20, 15, 25, 0.7);
    border: 1px solid #2a0a2a;
    border-radius: 5px;
    padding: 25px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 1.3rem;
    color: #c56ac5;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a0a2a;
    padding-bottom: 10px;
}

.search-box {
    display: flex;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    background-color: rgba(10, 5, 15, 0.7);
    border: 1px solid #2a0a2a;
    border-right: none;
    padding: 10px 15px;
    color: #c9c9c9;
    font-size: 1rem;
}

.search-box button {
    background-color: #8a2a8a;
    border: 1px solid #8a2a8a;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #6a1a6a;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
}

.categories-list a {
    color: #a8a8a8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
}

.categories-list a:hover {
    color: #c56ac5;
}

.categories-list span {
    background-color: rgba(138, 42, 138, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.recent-articles {
    list-style: none;
}

.recent-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a1a1a;
}

.recent-articles a {
    color: #d8d8d8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.recent-articles a:hover {
    color: #c56ac5;
}

.recent-articles .article-date {
    font-size: 0.8rem;
    color: #8a8a8a;
    margin-top: 5px;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-list {
    display: flex;
    list-style: none;
}

.pagination-item {
    margin: 0 5px;
}

.pagination-link {
    display: block;
    padding: 8px 15px;
    background-color: rgba(20, 15, 25, 0.7);
    color: #a8a8a8;
    text-decoration: none;
    border: 1px solid #2a0a2a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: rgba(138, 42, 138, 0.2);
    border-color: #8a2a8a;
    color: #c56ac5;
}

.pagination-link.active {
    background-color: #8a2a8a;
    border-color: #8a2a8a;
    color: #fff;
}

/* Rodapé */
footer {
    background-color: rgba(10, 5, 15, 0.95);
    padding: 40px 0 20px;
    border-top: 1px solid #2a0a2a;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.3rem;
    color: #c56ac5;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a0a2a;
    padding-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #a8a8a8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c56ac5;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a0a2a;
    color: #7a7a7a;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .articles-section {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 5px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}