/* Custom styles and overrides */
:root {
    --color-coral-50: #fff5f0;
    --color-coral-100: #ffe8da;
    --color-coral-500: #e85d3a;
    --color-coral-600: #d14422;
    --color-charcoal-50: #f5f5f7;
    --color-charcoal-100: #e8e8ec;
    --color-charcoal-500: #5a5a66;
    --color-charcoal-700: #3a3a44;
    --color-charcoal-800: #2a2a32;
    --color-charcoal-900: #1a1a22;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle gradient overlay for hero */
.hero-gradient {
    background: linear-gradient(135deg, var(--color-coral-50) 0%, #ffffff 50%, var(--color-charcoal-50) 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-coral-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-coral-600);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-coral-500);
    outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shift on images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

/* Print styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    #contact-form {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
