/* Custom Styles for Burns Repair */

/* Base styles */
html {
    scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #c5dbcb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #98bea3;
}

/* Animation classes for scroll reveal */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Animation delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4a805a;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(253, 252, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Image hover effects */
img {
    max-width: 100%;
    height: auto;
}

/* Form styles */
input,
textarea {
    border-radius: 12px;
    border: 1px solid #e3ece5;
    background: #fdfcf8;
    padding: 12px 16px;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: #3d3d3d;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #4a805a;
    box-shadow: 0 0 0 3px rgba(74, 128, 90, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #98bea3;
}
