/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 18px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C4FF0F;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #000000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* Banner Section */
.banner-section {
    padding-top: 110px;
    background-color: #ffffff;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

/* Search Header - Minimalista alinhado à esquerda */
.search-header {
    padding: 30px 0;
    background-color: #ffffff;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-box {
    position: relative;
    max-width: 100%;
}

.search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 35px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    color: #000000;
    transition: all 0.3s ease;
    outline: none;
    border-radius: 0;
}

.search-input:focus {
    border-bottom-color: #C4FF0F;
}

.search-input::placeholder {
    color: #999999;
    font-weight: 300;
    font-size: 15px;
}

/* Search Suggestions */
.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    overflow: hidden;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f9f9f9;
    color: #000000;
}

.suggestion-item .suggestion-icon {
    color: #999999;
    font-size: 14px;
    flex-shrink: 0;
}

.suggestion-item .suggestion-text {
    flex: 1;
}

.suggestion-item .suggestion-category {
    font-size: 11px;
    color: #999999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    min-height: 60vh;
    flex: 1;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* Article Card */
.article-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #C4FF0F;
    color: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #000000;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 13px;
    font-weight: 500;
}

.read-more {
    color: #000000;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more::after {
    content: '→';
    font-size: 16px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000000;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 50px 20px 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-tagline {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 12px;
    color: #999999;
    line-height: 1.5;
}

/* Post Page */
.post-page {
    display: none;
    padding-top: 130px;
    min-height: 100vh;
    background-color: #ffffff;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Back Button Minimalista */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    margin-bottom: 30px;
    padding: 0;
    color: #999999;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #000000;
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-3px);
}

.post-header-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
}

.post-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #C4FF0F;
    flex-wrap: wrap;
}

.post-category {
    background-color: #C4FF0F;
    color: #000000;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.post-reading-time {
    color: #666666;
    font-weight: 500;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

.post-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #000000;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #000000;
}

.post-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #000000;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid #C4FF0F;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
    font-style: italic;
}

.post-content a {
    color: #000000;
    font-weight: 600;
    text-decoration: underline;
}

/* Leitura Sugerida */
.suggested-reading {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.suggested-reading h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000000;
}

.suggested-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.suggested-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.suggested-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.suggested-card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.suggested-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggested-card-content {
    padding: 15px;
}

.suggested-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggested-card-meta {
    font-size: 11px;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 15px 20px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        flex-direction: column;
        background-color: #ffffff;
        padding: 30px;
        border-radius: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        display: none;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .banner-section {
        padding-top: 100px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .post-header-image {
        height: 250px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .suggested-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer {
        padding: 40px 20px 25px;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .post-container {
        padding: 0 15px 40px;
    }
    
    .banner-container {
        padding: 0 10px;
    }
    
    .suggested-grid {
        grid-template-columns: 1fr;
    }
    
    .suggested-card-image {
        height: 120px;
    }
    
    .footer-tagline {
        font-size: 18px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
}
/* Instagram Feed */
.instagram-feed {
    padding: 60px 0 40px;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.instagram-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.instagram-title {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.instagram-item {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.instagram-item .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Responsivo para Instagram Feed */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .instagram-feed {
        padding: 40px 0 30px;
    }
    
    .instagram-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .instagram-item {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Barra Fixa Inferior */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #C4FF0F;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
}

.bottom-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    gap: 8px;
    position: relative;
    white-space: nowrap;
}

.bottom-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse-text 2s ease-in-out infinite;
}

.bottom-bar-text strong {
    font-weight: 700;
    background-color: #000000;
    color: #C4FF0F;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.bottom-bar-arrow {
    font-size: 22px;
    font-weight: 600;
    animation: bounce-arrow 1s ease-in-out infinite;
}

.bottom-bar-url {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

/* Animação de pulsar no texto */
@keyframes pulse-text {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Animação da seta */
@keyframes bounce-arrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Efeito de brilho que percorre a barra */
.fixed-bottom-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: shine-bar 3s ease-in-out infinite;
}

@keyframes shine-bar {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Ajuste para dar espaço no final da página */
body {
    padding-bottom: 50px;
}

/* Post page não precisa do padding extra quando a barra estiver visível */
.post-page {
    padding-bottom: 50px;
}

/* Responsivo */
@media (max-width: 768px) {
    .fixed-bottom-bar {
        height: 45px;
    }
    
    .bottom-bar-link {
        font-size: 13px;
        gap: 5px;
    }
    
    .bottom-bar-text strong {
        font-size: 12px;
        padding: 3px 10px;
    }
    
    .bottom-bar-url {
        font-size: 11px;
    }
    
    body {
        padding-bottom: 45px;
    }
}

@media (max-width: 480px) {
    .fixed-bottom-bar {
        height: 42px;
    }
    
    .bottom-bar-link {
        font-size: 12px;
    }
    
    .bottom-bar-text strong {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .bottom-bar-url {
        display: none;
    }
    
    body {
        padding-bottom: 42px;
    }
}