/* Ramred Asset Management - Custom CSS */
/* Brand Colors from Logo:
   - Red: #DC2626
   - Blue: #3B82F6
   - Slate: #64748B
   - Orange: #F97316
   - Dark: #1E293B
*/

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Gradient Backgrounds */
.gradient-ramred {
    background: linear-gradient(135deg, #DC2626 0%, #F97316 100%);
}

.gradient-ramblue {
    background: linear-gradient(135deg, #3B82F6 0%, #64748B 100%);
}

/* Button Hover Effects */
.btn-ramred {
    background-color: #DC2626;
    transition: all 0.3s ease;
}

.btn-ramred:hover {
    background-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.btn-ramblue {
    background-color: #3B82F6;
    transition: all 0.3s ease;
}

.btn-ramblue:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Logo Styling */
.logo-shadow {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

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

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

::-webkit-scrollbar-thumb {
    background: #DC2626;
    border-radius: 6px;
}

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

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #DC2626;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #DC2626, #F97316);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

/* Hero Section Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%);
}

/* Pulse Animation for CTAs */
@keyframes pulse-ramred {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.pulse-cta {
    animation: pulse-ramred 2s infinite;
}

/* Mobile Menu Transition */
#mobileMenu {
    transition: all 0.3s ease-in-out;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #DC2626, transparent);
}

/* Badge Styles */
.badge-ramred {
    background-color: #DC2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-ramblue {
    background-color: #3B82F6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
    border-left: 4px solid #DC2626;
}

/* Stats Counter */
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #DC2626, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Print Styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* Accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-content:focus {
    left: 0;
    background: #DC2626;
    color: white;
    padding: 1rem;
}

/* Custom Container Max Widths */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}
