/* Anderson Neuropathy Center - Custom Styles */

/* Geometric shapes and patterns */
.geo-circle {
    border-radius: 50%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-animation {
    animation: rotate 20s linear infinite;
}

/* Geometric background patterns */
.geo-pattern-dots {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}

.geo-pattern-lines {
    background-image: repeating-linear-gradient(
        45deg,
        currentColor,
        currentColor 1px,
        transparent 1px,
        transparent 10px
    );
}

/* Gradient overlays */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(212, 82, 43, 0.9) 0%, rgba(194, 64, 31, 0.8) 100%);
}

.gradient-overlay-light {
    background: linear-gradient(135deg, rgba(253, 243, 237, 0.95) 0%, rgba(250, 245, 236, 0.9) 100%);
}

/* Card hover effects */
.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #d4522b 0%, #c2401f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Geometric accent shapes */
.geo-accent-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3bba8 0%, #eb9374 100%);
    opacity: 0.3;
}

.geo-accent-square {
    position: absolute;
    background: linear-gradient(135deg, #e8d4aa 0%, #d9bc7e 100%);
    opacity: 0.2;
    transform: rotate(45deg);
}

.geo-accent-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 86.6px 50px;
    border-color: transparent transparent #f3bba8 transparent;
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
:focus-visible {
    outline: 3px solid #d4522b;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .service-card {
        border: 2px solid #1a1a1a;
    }
}
