/* Custom styles and overrides */
:root {
    --color-coral-500: #FF5A3A;
    --color-coral-600: #E84426;
    --color-charcoal-900: #1A1D20;
    --color-charcoal-800: #2C3035;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #E84426;
}

/* Focus styles for accessibility */
*:focus {
    outline: none;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}

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

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

/* Utility classes */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px -10px rgba(255, 90, 58, 0.5);
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #FF5A3A;
    color: white;
    transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(255, 90, 58, 0.2);
}

/* Image hover effects */
.image-reveal {
    overflow: hidden;
    border-radius: 24px;
}

.image-reveal img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-reveal:hover img {
    transform: scale(1.05);
}

/* Service icon hover */
.service-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(8deg) scale(1.1);
    background-color: #FF5A3A;
    color: white;
}

/* Navigation link underline */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF5A3A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #FF5A3A;
    box-shadow: 0 0 0 3px rgba(255, 90, 58, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
