/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom coral gradient for buttons */
.coral-gradient {
    background: linear-gradient(135deg, #FF6B4A 0%, #E85A3C 100%);
}

.coral-gradient:hover {
    background: linear-gradient(135deg, #E85A3C 0%, #C9482E 100%);
}

/* Grid pattern background */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 107, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 74, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Service card hover effect */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 107, 74, 0.15);
}

.service-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Gallery hover effect */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Testimonial card border accent */
.testimonial-card {
    border-left: 3px solid #FF6B4A;
}

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

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

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

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

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

/* Form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FF6B4A;
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

/* Scroll reveal animation */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA button pulse animation */
@keyframes pulse-coral {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 107, 74, 0);
    }
}

.cta-pulse {
    animation: pulse-coral 2s infinite;
}

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

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

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

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

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