/* Additional custom styles */
:root {
    --plum-dark: #500724;
    --plum-deep: #831443;
    --plum-mid: #be185d;
    --amber-gold: #f59e0b;
    --amber-light: #fbbf24;
    --cream: #fefce8;
    --slate: #1e293b;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--plum-deep);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-mid);
}

/* Grid pattern background */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(80, 7, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 7, 36, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

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

.float-1 { animation: float 3s ease-in-out infinite; }
.float-2 { animation: float 3s ease-in-out infinite 0.5s; }
.float-3 { animation: float 3s ease-in-out infinite 1s; }

/* Fade-in animation for scroll reveals */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--plum-deep), var(--plum-mid));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--plum-mid), var(--plum-deep));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(80, 7, 36, 0.3);
}

.btn-secondary {
    border: 2px solid var(--amber-gold);
    color: var(--plum-dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--amber-gold);
    color: white;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-card {
        margin: 0 1rem;
    }
    
    .stat-card {
        display: none;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: none;
    }
}
