/* Custom styles for Lina Solarte Aesthetics */

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #fff;
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Noise texture overlay */
.noise-overlay {
    position: relative;
}
.noise-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for CTA */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(74, 222, 128, 0.3); }
    50% { box-shadow: 0 0 40px rgba(74, 222, 128, 0.6); }
}

.cta-btn:hover {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Image hover zoom */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift on images */
.image-grid-img {
    will-change: transform;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .float-slow, .float-medium, .float-fast {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    .service-card:hover .service-icon {
        transform: none;
    }
    .cta-btn:hover {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuOverlay { display: none; }
    body { background: white; color: black; }
    .hero-gradient { background: #0f172a; }
}
