/* Custom Styles for FILTRENE */

:root {
    --primary-color: #0056b3; /* Professional corporate blue */
    --secondary-color: #f8f9fa;
    --dark-color: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

/* Typography & Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header & Nav */
.top-bar {
    font-size: 0.85rem;
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.nav-link {
    color: #444;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Parallax Hero Section */
.hero-section {
    position: relative;
    background-color: #002b5e;
    min-height: 85vh;
    overflow: hidden; /* Hide the overflow of the parallax background */
}

.hero-bg {
    position: absolute;
    top: -20%; /* Extra space for scrolling */
    left: 0;
    width: 100%;
    height: 140%; /* Taller than container for parallax movement */
    background-image: url('https://filtrenepte.eartic.com/wp-content/uploads/2026/09/fil_1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    will-change: transform; /* Hardware acceleration */
}

/* Animations for Hero Content */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 70, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

/* Footer */
footer.bg-dark .text-muted {
    color: #adb5bd !important;
}

footer.bg-dark a.text-muted {
    color: #adb5bd !important;
    transition: color 0.3s ease;
}

footer.bg-dark a.text-muted:hover {
    color: #fff !important;
}

footer.bg-dark h5 {
    color: #fff;
}
/* hover-lift effect for feature cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.client-logo-strip img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}
