/* Estilos Personalizados para Tecla Informática */

/* Variáveis de cores atualizadas */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-color: #ff6b35;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
}

/* Reset e Estilos Gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px; /* Para compensar a navbar fixa */
    background-color: #f8f9fa;
}

/* Navbar atualizada */
.navbar {
    background-color: rgba(33, 37, 41, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section atualizada */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../imagens/abstract.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 90vh;
    padding-top: 2rem;
}

.logo-container {
    animation: float 3s ease-in-out infinite;
}

.logo-img {
    max-height: 200px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Seções atualizadas */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards de Serviços (mantido) */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Cards de Produtos */
.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 120px;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.product-card .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}

/* Cards de Suprimentos */
.supply-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
}

.supply-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.supply-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(25, 135, 84, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supply-icon i {
    font-size: 1.8rem;
    color: var(--success-color);
}

/* Cards de Papelaria */
.stationery-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
}

.stationery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stationery-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stationery-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Alert de Informação */
.alert-info {
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Card Sobre (mantido) */
.about-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-card .card-body {
    padding: 2.5rem;
}

/* Card de Contato (mantido) */
.contact-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Formulário (mantido) */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Botões (mantido) */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 94, 215, 0.3);
}

.btn-outline-light, .btn-outline-primary {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Footer atualizado */
footer {
    background-color: var(--dark-color);
    color: white;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsividade atualizada */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-img {
        max-height: 150px;
    }
    
    .service-card, .product-card, .supply-card, .stationery-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
}

/* Ajuste para os títulos das seções não ficarem debaixo da navbar */
section {
    scroll-margin-top: 80px;
}

#inicio, #servicos, #produtos, #suprimentos, #papelaria, #sobre, #contato {
    padding-top: 20px;
}

.hero-section {
    scroll-margin-top: 76px;
}

/* Fallback para navegadores antigos */
@media not all and (scroll-margin-top) {
    section[id] {
        padding-top: 80px;
        margin-top: -80px;
    }
    
    section[id]::before {
        content: '';
        display: block;
        height: 80px;
        margin-top: -80px;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 70px;
    }
    
    @media not all and (scroll-margin-top) {
        section[id] {
            padding-top: 70px;
            margin-top: -70px;
        }
        
        section[id]::before {
            height: 70px;
            margin-top: -70px;
        }
    }
}
/* ===== ESTILOS PARA COOKIES LGPD ===== */

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.98);
    color: white;
    z-index: 9999;
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.cookie-link {
    color: #4dabf7;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #80c2ff;
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Modal de Cookies */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-dialog {
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.cookie-modal-header {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-title {
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

/* Responsividade */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-modal-dialog {
        max-height: 80vh;
    }
}

@media (max-width: 576px) {
    .cookie-banner {
        padding: 0.75rem 0;
    }
    
    .cookie-modal-body {
        padding: 1rem;
    }
    
    .cookie-modal-footer {
        padding: 1rem;
    }
}