/* Estilos gerais */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    padding-top: 20px;
    padding-bottom: 50px;
}

.card {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

.card-img-top {
    object-fit: cover;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

/* Footer */
footer {
    margin-top: 50px;
}

/* Botões */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Formulários */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

/* Cards de notícias e itens */
.card-title {
    color: #333;
    font-weight: bold;
}

.card-text.text-muted {
    font-size: 0.9rem;
}

/* Página de contato */
form {
    max-width: 600px;
    margin: 0 auto;
}

/* Dashboard */
.card[class*="bg-"] .card-body {
    color: white;
}

.card[class*="bg-"] .card-footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Tabelas */
.table th {
    background-color: #f8f9fa;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 10px;
    }
    
    .card {
        margin-bottom: 15px;
    }
}

/* Admin */
.form-container {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Preview de imagem */
.preview-imagem {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* Adicione ao final do seu style.css existente */

/* Cores temáticas */
.text-purple {
    color: #8a2be2 !important;
}

.bg-purple {
    background-color: #8a2be2 !important;
}

.btn-purple {
    background: linear-gradient(135deg, #8a2be2, #5d0fb4);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #9d46e6, #6d1dc9);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(138, 43, 226, 0.3);
}

/* Elementos de divisão */
.divider {
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

/* Cards modernos */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

/* Formulários */
.input-group-text {
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25);
    border-color: #8a2be2;
}

/* Footer */
.footer {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), 
                url('assets/img/footer-bg.jpg') center center/cover;
    border-top: 3px solid #8a2be2;
}

.footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #cda5f3 !important;
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #8a2be2;
    transform: translateY(-5px);
}

/* Estilos para notícias */
.news-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.news-card .card-header {
    border-radius: 15px 15px 0 0 !important;
}

/* Estilos para itens à venda */
.item-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.item-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item-card:hover .item-img {
    transform: scale(1.05);
}

.item-placeholder {
    height: 200px;
    border-radius: 15px 15px 0 0;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Botão Comprar */
.btn-comprar {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    transition: all 0.3s ease;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #34d058, #28a745);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
}

/* Estilos para detalhe_item.php */
.item-detail-img {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.item-detail-img:hover {
    transform: scale(1.02);
}

.list-group-item {
    background: rgba(138, 43, 226, 0.05);
    border: none;
    border-left: 3px solid #8a2be2;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-left-width: 5px;
}

.btn-outline-purple {
    border: 2px solid #8a2be2;
    color: #8a2be2;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background: #8a2be2;
    color: white;
}

/* Estilos para noticia_completa.php */
.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-content p {
    margin-bottom: 1.5rem;
}

/* Ícones de avaliação */
.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Placeholder para imagens */
.item-placeholder {
    height: 200px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badges */
.badge.bg-purple {
    font-weight: 500;
    padding: 0.5em 0.75em;
    font-size: 0.9rem;
}

/* Estilos para a página sobre */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.3));
}

.table-hover tbody tr {
    transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(138, 43, 226, 0.1);
    transform: translateX(5px);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #8a2be2;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #8a2be2;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #8a2be2;
}

.timeline-date {
    font-weight: 600;
    color: #8a2be2;
    margin-bottom: 5px;
}

.timeline-content {
    background: rgba(138, 43, 226, 0.05);
    border-left: 3px solid #8a2be2;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.timeline-content h4 {
    margin-top: 0;
}