/* Base Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-color: #333;
    --light-bg: #f8fafc;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --white: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Main Content Styles */
main {
    padding: 30px 0;
}

/* Featured Article */
.featured-article {
    margin-bottom: 40px;
}

.featured-article article {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-categories {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

.article-categories span {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 5px;
    transition: background-color var(--transition-speed) ease;
}

.article-categories span:hover {
    background-color: var(--secondary-color);
}

.article-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color var(--transition-speed) ease;
}

.read-more:hover {
    background-color: var(--secondary-color);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    background-color: white;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.card-image {
    overflow: hidden;
    height: 200px;
}

.card-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    color: var(--text-color);
}

.card-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content h3 a:hover {
    color: var(--primary-color);
}

.card-content p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Recent Posts */
.recent-posts {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.recent-posts h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.recent-posts ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--medium-gray);
}

.recent-posts ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.recent-posts ul li a:hover {
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: #1a202c;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo, 
.footer-links, 
.footer-social {
    flex: 1 1 250px;
}

.footer-logo p {
    margin-top: 15px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.footer-links h3, 
.footer-social h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        margin-top: 15px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 8px 0;
        margin-left: 0;
    }

    .article-image img {
        height: 300px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-social {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .article-image img {
        height: 200px;
    }

    .article-content {
        padding: 15px;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .read-more {
        padding: 8px 15px;
    }
}

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

.featured-article, 
.articles-grid, 
.recent-posts {
    animation: fadeIn 0.8s ease-out forwards;
}

.articles-grid {
    animation-delay: 0.2s;
}

.recent-posts {
    animation-delay: 0.4s;
}

/* Novo Cookie Consent Banner Simples */
.cookie-banner-simple {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    z-index: 1000;
    padding: 30px;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.cookie-banner-simple::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background-color: #f5f5f5;
    border-radius: 50%;
    z-index: -1;
}

.cookie-banner-simple::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 150px;
    height: 150px;
    background-color: #f5f5f5;
    border-radius: 50%;
    z-index: -1;
}

.cookie-content-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-logo {
    margin-bottom: 15px;
}

.cookie-content-simple h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #333;
    font-weight: 600;
}

.cookie-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    text-align: left;
}

.cookie-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.cookie-info a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-button-simple {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
}

.cookie-button-simple:hover {
    background-color: #555;
}

/* Sobreposição escura por trás do banner */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: opacity 0.5s ease;
}

@media (max-width: 480px) {
    .cookie-banner-simple {
        width: 95%;
        padding: 20px;
    }
    
    .cookie-content-simple h3 {
        font-size: 1.2rem;
    }
    
    .cookie-info {
        font-size: 0.9rem;
    }
}

/* Auction Focus Styles */
.auction-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: black;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.auction-article {
    position: relative;
    border: 2px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.auction-countdown {
    display: flex;
    align-items: center;
    margin-top: 10px;
    color: var(--accent-color);
    font-weight: bold;
}

.auction-countdown i {
    margin-right: 5px;
}

.auction-section {
    padding: 30px;
    margin: 40px 0;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
}

.auction-section h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .auction-grid {
        grid-template-columns: 1fr;
    }
} 