:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-carousel {
    height: 500px;
}

.hero-carousel img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    bottom: 50px;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.category-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card img {
    height: 200px;
    object-fit: cover;
}

.category-card .card-body {
    background-color: var(--light-color);
}

.product-card {
    margin-bottom: 30px;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    object-fit: contain;
    padding: 20px;
    background: #fff;
}

.product-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.product-old-price {
    text-decoration: line-through;
    color: var(--secondary-color);
}

.brands-section {
    background-color: var(--light-color);
    padding: 40px 0;
}

.brand-logo {
    height: 60px;
    margin: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-links h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-carousel {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .brand-logo {
        height: 40px;
        margin: 10px;
    }
    
    .product-img {
        height: 150px;
    }
}
/* Estilos para o header */
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Carrinho */
.cart-count {
    font-size: 0.7rem;
    top: -10px;
    right: -10px;
}

/* Responsividade */
@media (max-width: 992px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.2rem 0;
    }
    
    .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        margin-top: 1rem;
    }
    
    .d-flex .dropdown, 
    .d-flex form {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .input-group {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
}

/* Status dos pedidos */
.status-pendente {
    color: #dc3545;
    font-weight: bold;
}

.status-processando {
    color: #fd7e14;
    font-weight: bold;
}

.status-finalizado {
    color: #28a745;
    font-weight: bold;
}

/* Tabela de pedidos */
.table-pedidos tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}
/* Estilo para os resultados de busca */
.search-term {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-style: italic;
}

/* Ajustes para o formulário de busca no header */
.navbar .input-group {
    width: 250px;
}

@media (max-width: 992px) {
    .navbar .input-group {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Contador do carrinho */
#cart-count {
    font-size: 0.7rem;
    top: -5px;
    right: -5px;
}

/* Estilos para o botão de Sistemas Web */
.btn-sistemas-web {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0056b3, #003366);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-sistemas-web .icon {
    margin-right: 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.btn-sistemas-web .hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-sistemas-web:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4);
}

.btn-sistemas-web:hover .hover-effect {
    left: 100%;
}

.btn-sistemas-web:hover .icon {
    transform: rotate(360deg);
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .btn-sistemas-web {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .btn-sistemas-web .icon {
        font-size: 1.2rem;
    }
}

/* Estilos para os cards de novidades */
.category-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .card-img-top {
    transform: scale(1.05);
}

.category-card .card-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 250px);
}

.category-card .card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.category-card .card-text {
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Badges de categoria */
.badge.bg-info {
    background-color: #0dcaf0 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-primary {
    background-color: #0d6efd !important;
}