/* Additional custom styles */
:root {
    --plum-50: #faf5f7;
    --plum-100: #f5eef2;
    --plum-200: #ebd9e1;
    --plum-300: #dcbec9;
    --plum-400: #c897ab;
    --plum-500: #b47288;
    --plum-600: #a3546a;
    --plum-700: #8a4254;
    --plum-800: #713644;
    --plum-900: #5e2f3a;
    --plum-950: #35171f;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

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

/* Custom selection color */
::selection {
    background-color: var(--plum-200);
    color: var(--plum-900);
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid var(--amber-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-gradient {
        background: var(--plum-900);
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Reduced motion preferences */
@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;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* Tablet and larger */
@media (min-width: 768px) {
    .card-hover:hover {
        transform: translateY(-8px);
    }
}

/* Ensure all images have proper aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Custom form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--amber-400);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}
