/* ARQUIVO: css/style.css */

/* --- CONFIGURAÇÕES GERAIS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-color: #212529;
    --text-muted-color: #6c757d;
    --border-color: #dee2e6;
    --success-color: #198754;
    --danger-color: #dc3545;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* --- BARRA DE NAVEGAÇÃO --- */
.bg-dark-custom {
    background-color: #1a1a2e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-brand img {
    margin-right: 10px;
}

.nav-link {
    color: #e0e0e0 !important;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.btn-sm-custom {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-color));
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* --- SEÇÃO HERO --- */
.hero-section {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)),
        url('https://via.placeholder.com/1920x1080/1a1a2e/ffffff?text=Fundo+Abstrato') no-repeat center center;
    background-size: cover;
    padding: 180px 0 120px 0;
    color: #fff;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    color: #ccc;
}

/* --- CARDS DE "COMO FUNCIONA" --- */
.feature-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* --- CARDS DE PRODUTO/ANÚNCIO --- */
.product-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

/* --- PÁGINAS DE FORMULÁRIO (LOGIN/REGISTRO) --- */
.form-body {
    background-color: #e9ecef;
}

.form-container {
    padding: 80px 0;
}

.form-card {
    background-color: var(--card-background);
    border: none;
    border-radius: 15px;
}

.form-card .form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid var(--border-color);
}

.form-card a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

.form-card a:hover {
    color: #0056b3;
}

/* --- RODAPÉ --- */
.footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff !important;
}

/* --- ESTILOS DO PAINEL DE CONTROLE --- */
.dashboard-body {
    background-color: var(--background-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}

.dashboard-header {
    background: linear-gradient(90deg, #1a1a2e 0%, #16222A 100%);
    color: white;
    padding: 60px 0;
    margin-top: 70px;
}

.stat-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
    transition: transform 0.2s ease-in-out;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.border-left-primary {
    border-left: 0.25rem solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 0.25rem solid var(--success-color) !important;
}

.border-left-info {
    border-left: 0.25rem solid #0dcaf0 !important;
}

.border-left-warning {
    border-left: 0.25rem solid #ffc107 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-xs {
    font-size: 0.8rem;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* --- COMPONENTES MODERNOS --- */
.card-custom {
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
    background-color: var(--card-background);
    border: 1px solid var(--border-color) !important;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 1.5rem;
}

.card-header h4 {
    display: flex;
    align-items: center;
}

/* Formulários modernos */
.form-control,
.form-select {
    min-height: 3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.input-group .form-control {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Alertas */
.alert {
    border-radius: 0.75rem;
    border-left-width: 5px;
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}
