/* Home Enhancements - Melhorias Adicionais */

/* Efeitos de glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* Gradientes modernos */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Animações de entrada */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Efeitos de hover melhorados */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: all 0.3s ease;
}

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

/* Botões modernos */
.btn-modern {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Cards modernos */
.card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

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

/* Texto com gradiente */
.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Efeitos de parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Melhorias no carousel */
.carousel-item {
    transition: all 0.6s ease-in-out;
}

.carousel-item.active {
    transform: scale(1);
}

.carousel-item:not(.active) {
    transform: scale(0.95);
    opacity: 0.7;
}

/* Indicadores customizados */
.carousel-indicators-custom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover,
.carousel-indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Melhorias na responsividade */
@media (max-width: 768px) {
    .card-modern {
        padding: 20px;
        margin: 10px 0;
    }
    
    .btn-modern {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .detail-box {
        padding: 25px 15px;
        margin: 15px;
    }
}

@media (max-width: 576px) {
    .detail-box h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .detail-box p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .card-modern {
        padding: 15px;
    }
}

/* Efeitos de loading */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Melhorias no scroll */
html {
    scroll-behavior: smooth;
}

/* Efeitos de foco */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Melhorias na acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Efeitos de transição suaves */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Correções de visibilidade */
/* Garantir que todos os textos sejam visíveis */
h1, h2, h3, h4, h5, h6 {
    color: #333 !important;
}

p, span, div {
    color: #333 !important;
}

/* Seções específicas */
.about_section,
.contact_section,
.client_section,
.product_section {
    background: #f8f9fa !important;
}

.about_section h2,
.contact_section h2,
.client_section h2,
.product_section h2 {
    color: #333 !important;
    background: none !important;
    -webkit-text-fill-color: #333 !important;
}

/* Logo sempre visível */
.header_section img {
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Navegação sempre visível */
.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
}

/* Botões sempre visíveis */
.btn1, .btn-box a {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border: none !important;
}

.btn1:hover, .btn-box a:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Melhorias no contraste */
.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: #667eea !important;
}

.bg-primary {
    background-color: #667eea !important;
}

/* Efeitos de sombra melhorados */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}
