:root {
    --br-green: #009c3b;
    --br-yellow: #ffdf00;
    --br-blue: #002776;
    --br-white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #f4f7f6;
    --bg-card: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--br-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--br-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--br-green);
    color: var(--br-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

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

.logo {
    color: var(--br-yellow);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.logo:hover {
    color: var(--br-white);
}

.main-nav a {
    color: var(--br-white);
    margin-left: 20px;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--br-yellow);
}

/* Layout */
.site-content {
    flex: 1;
    padding: 0 0 40px 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('../images/hero_banner.webp') no-repeat center 15%;
    background-size: cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,39,118,0.9) 0%, rgba(0,156,59,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--br-white);
    max-width: 600px;
    margin: 0; /* Align left with container */
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--br-yellow);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 18px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary {
    background-color: var(--br-yellow);
    color: var(--br-blue);
}

.btn-primary:hover {
    background-color: #e6c800;
    color: var(--br-blue);
    transform: translateY(-2px);
}

/* Grid de Slots (index.php) */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--br-blue);
}

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

.slot-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.slot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--br-yellow);
}

.slot-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slot-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--br-blue);
    margin-bottom: 10px;
}

.slot-card-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex: 1;
}

.slot-card-desc {
    margin-top: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.slot-card-btn {
    display: block;
    width: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a, .pagination .current, .pagination .dots {
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--br-blue);
    font-weight: 600;
}

.pagination a:hover {
    background: var(--br-green);
    color: var(--br-white);
    border-color: var(--br-green);
}

.pagination .current {
    background: var(--br-blue);
    color: var(--br-white);
    border-color: var(--br-blue);
}

.pagination .dots {
    background: transparent;
    border: none;
    color: var(--text-muted);
}

/* SEO Bottom Block */
.seo-bottom-block {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 50px;
    margin-bottom: 20px;
}

.seo-bottom-block h2 {
    color: var(--br-blue);
    margin-bottom: 20px;
}

.seo-bottom-block p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* Slot Page (slot.php) */
.slot-header {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.slot-header h1 {
    color: var(--br-blue);
    font-size: 32px;
    margin-bottom: 10px;
}

.slot-attributes {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.slot-attributes h3 {
    margin-bottom: 15px;
    color: var(--br-green);
    border-bottom: 2px solid var(--br-yellow);
    padding-bottom: 10px;
    display: inline-block;
}

.attr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.attr-item {
    background: var(--bg-main);
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid var(--br-green);
}

.attr-item strong {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.attr-item span {
    font-weight: 600;
    color: var(--br-blue);
}

/* Article Content */
.article-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.article-content h1, .article-content h2, .article-content h3 {
    color: var(--br-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h1 { font-size: 28px; }
.article-content h2 { font-size: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.article-content h3 { font-size: 20px; color: var(--br-green); }

.article-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.article-content ul, .article-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 5px;
}

/* Gallery */
.slot-gallery {
    margin-top: 40px;
    border-top: 2px dashed var(--border-color);
    padding-top: 30px;
}

.slot-gallery h3 {
    color: var(--br-blue);
    margin-bottom: 20px;
    text-align: center;
}

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

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, var(--br-blue), var(--br-green));
    color: var(--br-white);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 156, 59, 0.3);
}

.offer-content h3 {
    font-size: 24px;
    color: var(--br-yellow);
    margin-bottom: 10px;
}

.offer-content p {
    font-size: 16px;
    margin: 0;
}

/* Footer */
.site-footer {
    background-color: var(--br-blue);
    color: var(--br-white);
    padding: 40px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--br-yellow);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--br-white);
}

.footer-nav a:hover {
    color: var(--br-green);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    color: #cccccc;
}

/* Responsive */
@media (max-width: 768px) {
    .offer-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .article-content {
        padding: 20px;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav a {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
}

.attr-full {
    grid-column: 1 / -1;
}

