/* Custom styles that extend beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Geometric rotation utility */
.rotated-45 {
    transform: rotate(45deg);
}

/* Subtle gradient border on service cards on hover */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a11536, #d94068, #f4a3b8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Geometric pattern for hero background */
.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(194, 32, 72, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 163, 184, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(161, 21, 54, 0.08) 0%, transparent 40%);
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

.geometric-diamond {
    animation: float 6s ease-in-out infinite;
}

.geometric-diamond:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.geometric-diamond:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

/* Pulse animation for the status dot */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.animate-pulse {
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #a11536, #d94068, #f4a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf2f4;
}

::-webkit-scrollbar-thumb {
    background: #c22048;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a11536;
}

/* Focus visible styles for accessibility */
*:focus-visible {
    outline: 2px solid #c22048;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #back-to-top, .geometric-blob, .geometric-circle, .geometric-diamond, .geometric-rect {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
