/*
Theme Name: App Hub
Theme URI: https://coudex.com
Author: Isael
Author URI: https://coudex.com
Description: A modern, responsive WordPress theme for showcasing mobile apps from Google Play Store and Apple App Store.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: appcoudex
Tags: responsive, mobile, app, showcase, modern, clean
*/

/* @import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css'); */

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f8fafc;
  color: #222;
  margin: 0;
}

/* Add more custom styles below or in separate files */


/*css do single-apps.php*/
/* Estilos personalizados para a página de app */
.app-icon-lg {
    max-width: 180px;
    height: auto;
}

.app-info-card {
    position: sticky;
    top: 20px;
}

.app-metadata {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
}

.screenshot-gallery img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.screenshot-gallery img:hover {
    transform: scale(1.03);
}

.rating-badge, .price-badge {
    font-size: 1.1rem;
    font-weight: 600;
}

.app-content {
    line-height: 1.8;
}

/* estilo do header menu */
/* Estilo geral para todos os links do menu */
#menu-header a {
    color: #333333 ; /* Cor do texto */
    font-weight: 500; /* Peso da fonte */
    padding: 8px 15px; /* Espaçamento interno */
    transition: color 0.3s ease; /* Transição suave da cor */
    text-decoration: none
}

/* Efeito ao passar o mouse sobre o link (hover) */
.navbar-nav .menu-item a:hover {
    color: #007bff; /* Cor do texto ao passar o mouse */
    text-decoration: none; /* Remove o sublinhado, se houver */
}

/* Estilo para o item do menu da página ATUAL */
.navbar-nav .current-menu-item a {
    color: #0056b3; /* Cor mais forte para o item ativo */
    font-weight: 700; /* Deixa a fonte em negrito */
}


/*estilo para o menu do footer*/
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

 #menu-footer a {
    color: #ffffff; /* Cor do texto */
    font-weight: 500; /* Peso da fonte */
    
    transition: color 0.3s ease; /* Transição suave da cor */
    text-decoration: none;
}

/* Estilo para a paginação do WordPress */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #fff;
    color: #1976d2;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e3e6ea;
    transition: background 0.2s, color 0.2s;
}

.page-numbers:hover,
.page-numbers:focus {
    background: #e3f2fd;
    color: #1565c0;
    text-decoration: none;
}

.page-numbers.current {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
    font-weight: 700;
    cursor: default;
}

/* Estilo para o conteúdo do app (descrição, posts, etc.) */
.app-description-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #374151; /* text-gray-700 */
    word-break: break-word;
}

/* --- Títulos --- */
.app-description-content h1,
.app-description-content h2,
.app-description-content h3,
.app-description-content h4,
.app-description-content h5,
.app-description-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    font-weight: 700;
    color: #111827; /* text-gray-900 */
    line-height: 1.3;
}
.app-description-content h1 { font-size: 2rem; }
.app-description-content h2 { font-size: 1.5rem; }
.app-description-content h3 { font-size: 1.25rem; }
.app-description-content h4 { font-size: 1.1rem; }

/* --- Parágrafos e Listas --- */
.app-description-content p { margin-bottom: 1.2em; }
.app-description-content ul,
.app-description-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
    padding-left: 1em;
}
.app-description-content ul { list-style-type: disc; }
.app-description-content ol { list-style-type: decimal; }
.app-description-content li { margin-bottom: 0.5em; }

/* --- Links --- */
.app-description-content a {
    color: #4f46e5; /* indigo-600 */
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.app-description-content a:hover { color: #3730a3; /* indigo-800 */ }

/* Link externo (com ícone) */
.app-description-content a[target="_blank"]::after {
    content: '↗';
    display: inline-block;
    margin-left: 4px;
    font-size: 0.8em;
    text-decoration: none;
    font-weight: bold;
}

/* --- Citações (Blockquote) --- */
.app-description-content blockquote {
    border-left: 4px solid #4f46e5; /* indigo-600 */
    background: #eef2ff; /* indigo-50 */
    padding: 1em 1.5em;
    margin: 1.5em 0;
    color: #3730a3; /* indigo-800 */
    font-style: italic;
}
.app-description-content blockquote p { margin-bottom: 0; }

/* --- Código --- */
/* Bloco de código */
.app-description-content pre {
    background: #1e293b; /* text-gray-800 */
    color: #e2e8f0; /* text-gray-300 */
    padding: 1.5em;
    border-radius: 0.5rem;
    margin: 1.5em 0;
    overflow-x: auto; /* Scroll horizontal */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
.app-description-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}
/* Código inline */
.app-description-content code {
    background: #eef2ff; /* indigo-50 */
    color: #4f46e5; /* indigo-600 */
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', Courier, monospace;
}

/* --- Tabelas --- */
.app-description-content .table-wrapper {
    overflow-x: auto; /* Ativa o scroll horizontal em telas pequenas */
    margin: 1.5em 0;
}
.app-description-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98em;
    min-width: 600px; /* Força o scroll em telas menores */
}
.app-description-content th,
.app-description-content td {
    border: 1px solid #e5e7eb;
    padding: 0.8em 1em;
    text-align: left;
}
.app-description-content th {
    background: #f9fafb; /* gray-50 */
    font-weight: 600;
    color: #111827; /* gray-900 */
}
.app-description-content tr:nth-child(even) {
    background: #f9fafb; /* gray-50 */
}

/* --- Botões --- */
.app-description-content .btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    background-color: #4f46e5; /* indigo-600 */
    padding: 0.75em 1.5em;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    margin: 0.5em 0;
}
.app-description-content .btn:hover {
    background-color: #4338ca; /* indigo-700 */
    color: #fff;
}

/* --- Outros Elementos --- */
.app-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5em 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.app-description-content hr {
    border: 0;
    height: 1px;
    background: #e5e7eb; /* gray-200 */
    margin: 2em 0;
}