/* Custom SVG Assets and Additional Styles for Indusalca */

/* Logo SVG placeholder removed */

/* Product Icons SVG */
.product-icon.sal-monte::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="saltGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:1" /><stop offset="100%" style="stop-color:%23f0f0f0;stop-opacity:1" /></linearGradient></defs><rect x="20" y="30" width="60" height="40" rx="5" fill="url(%23saltGrad)" stroke="%232c5aa0" stroke-width="2"/><text x="50" y="55" font-family="Arial, sans-serif" font-size="12" font-weight="bold" text-anchor="middle" fill="%232c5aa0">SAL</text></svg>') no-repeat center;
    background-size: contain;
}

/* Industrial facility background pattern */
.about-image-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"><defs><linearGradient id="facilityGrad" x1="0%" y1="100%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0.3" /></linearGradient></defs><rect x="20" y="60" width="30" height="40" fill="url(%23facilityGrad)"/><rect x="60" y="40" width="25" height="60" fill="url(%23facilityGrad)"/><rect x="95" y="50" width="35" height="50" fill="url(%23facilityGrad)"/><rect x="140" y="30" width="20" height="70" fill="url(%23facilityGrad)"/><circle cx="35" cy="50" r="3" fill="rgba(255,215,0,0.8)"/><circle cx="72" cy="30" r="3" fill="rgba(255,215,0,0.8)"/><circle cx="112" cy="40" r="3" fill="rgba(255,215,0,0.8)"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.6;
}

/* Quality badges and certifications */
.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dfa403, #dfa403);
    color: #2c5aa0;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(200, 150, 12, 0.3);
}

.quality-badge::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%232c5aa0" d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Animated background elements */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><radialGradient id="chemGrad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0" /></radialGradient></defs><circle cx="100" cy="100" r="30" fill="url(%23chemGrad)" opacity="0.5"><animate attributeName="r" values="30;50;30" dur="4s" repeatCount="indefinite"/></circle><circle cx="300" cy="150" r="25" fill="url(%23chemGrad)" opacity="0.3"><animate attributeName="r" values="25;40;25" dur="6s" repeatCount="indefinite"/></circle><circle cx="200" cy="300" r="35" fill="url(%23chemGrad)" opacity="0.4"><animate attributeName="r" values="35;55;35" dur="5s" repeatCount="indefinite"/></circle></svg>') no-repeat center;
    background-size: cover;
    animation: float 20s ease-in-out infinite;
    opacity: 0.3;
}

/* Chemical formula decorative elements */
.services::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50" y="30" font-family="Arial, sans-serif" font-size="14" font-weight="bold" text-anchor="middle" fill="rgba(44,90,160,0.1)">NaCl</text><circle cx="30" cy="50" r="8" fill="none" stroke="rgba(44,90,160,0.1)" stroke-width="1"/><circle cx="70" cy="50" r="8" fill="none" stroke="rgba(44,90,160,0.1)" stroke-width="1"/><line x1="38" y1="50" x2="62" y2="50" stroke="rgba(44,90,160,0.1)" stroke-width="2"/><text x="30" y="75" font-family="Arial, sans-serif" font-size="8" text-anchor="middle" fill="rgba(44,90,160,0.1)">Na+</text><text x="70" y="75" font-family="Arial, sans-serif" font-size="8" text-anchor="middle" fill="rgba(44,90,160,0.1)">Cl-</text></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.5;
    z-index: 0;
}

/* Product category icons */
.category-icon.domestic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>') no-repeat center;
    background-size: contain;
}

.category-icon.industrial::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3zm5.5 6L12 4.5 6.5 9H8v7h3v-6h2v6h3V9h1.5z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Loading animation for images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Hover effects for interactive elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Custom scrollbar for webkit browsers */
.custom-scroll::-webkit-scrollbar {
    width: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(44, 90, 160, 0.1);
    border-radius: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2c5aa0, #dfa403);
    border-radius: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e3f73, #dfa403);
}

/* Glassmorphism effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradient text effects */
.gradient-text {
    background: linear-gradient(135deg, #2c5aa0, #dfa403);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for call-to-action elements */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(44, 90, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0);
    }
}