/* Variáveis de Cores e Fontes */
:root {
    --primary-color: #d4af37; /* Dourado suave/Skyrim */
    --primary-hover: #b5952f;
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-light: #e0e0e0;
    --text-muted: #9e9e9e;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.text-center {
    text-align: center;
}

/* Navegação */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 3px;
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--bg-dark) !important;
}

/* Menu Mobile (Hamburger) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../assets/background.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Botões */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-light);
}

/* Seções Padrões */
.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    text-align: center;
    border-radius: 5px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.8rem;
}

/* Responsividade Média */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding-bottom: 20px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; }
    
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .footer-links a { margin: 0 10px; }
}

/* =========================================
   PÁGINA DE NOTÍCIAS (noticias.html)
   ========================================= */

/* Header Interno */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8), var(--bg-dark)), url('../assets/background.jpg') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Layout de Notícias */
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Cards de Notícias */
.news-card {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.3); /* Dourado suave */
}

.news-image {
    width: 250px;
    background-size: cover;
    background-position: center;
    background-color: #222; /* Fallback se não tiver imagem */
}

.news-content {
    padding: 30px;
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.news-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.tag-update { background-color: rgba(46, 134, 171, 0.2); color: #4da6ff; }
.tag-event { background-color: rgba(212, 175, 55, 0.2); color: var(--primary-color); }
.tag-lore { background-color: rgba(162, 59, 114, 0.2); color: #ff80bf; }

.news-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-title a {
    color: #fff;
}

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

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.read-more:hover {
    color: #fff;
}

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

.page-btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: var(--text-light);
}

.page-btn:hover, .page-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

/* Sidebar */
.sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

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

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsividade Média e Mobile para Notícias */
@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr; /* Coloca a sidebar embaixo do conteúdo principal */
    }
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}