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

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

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(26, 26, 26, 0.1);
}

/* Testimonial cards */
.testimonial-card {
    padding: 2rem;
    border: 1px solid rgba(255, 122, 102, 0.2);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 122, 102, 0.5);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(20px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu animation */
#menu-toggle.active #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active #line2 {
    opacity: 0;
}

#menu-toggle.active #line3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff7a66;
    border-radius: 4px;
}

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #ff7a66 !important;
}

/* Selection color */
::selection {
    background: #ff7a66;
    color: white;
}
