/* DreadKarma — Custom Styles */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .service-card:hover {
        transform: none;
    }
    .service-card:hover .service-icon {
        transform: none;
    }
    img:hover {
        transform: none;
    }
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(15px) rotate(45deg); }
}

.geo-square {
    animation: float 6s ease-in-out infinite;
}

.geo-square.rotate-45 {
    animation: float-reverse 8s ease-in-out infinite;
}

/* Pulse ring on coral circles */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
}

/* Service card image hover */
.service-card:hover {
    border-color: rgba(255, 107, 74, 0.4);
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
</style>
