/* Custom Styles for Everything Must Change */

:root {
    --plum: #581C50;
    --plum-dark: #4a1742;
    --amber: #F59E0B;
    --amber-light: #FEF3C7;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0F172A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--slate-600);
    background-color: #ffffff;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

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

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Floating Cards Animation */
.float-card-1 {
    animation: float1 4s ease-in-out infinite;
}

.float-card-2 {
    animation: float2 5s ease-in-out infinite;
}

.float-card-3 {
    animation: float3 4.5s ease-in-out infinite;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .float-card-1,
    .float-card-2,
    .float-card-3 {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

::-webkit-scrollbar-track {
    background: var(--slate-50);
}

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

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

/* Selection Color */
::selection {
    background-color: var(--plum);
    color: #ffffff;
}

/* Focus Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Service Card Hover Effect */
.group:hover .group-hover\\:bg-white\\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Input Autofill Styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #F8FAFC inset !important;
    box-shadow: 0 0 0 30px #F8FAFC inset !important;
}
