/* Additional custom styles for B & F Water Transport */

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

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 2px solid #ff5a3a;
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background-color: #ff5a3a;
    color: white;
}

/* Subtle gradient animation for hero section */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Service card icon hover effect */
.service-card:hover .w-16 {
    transform: scale(1.1) rotate(5deg);
}

.service-card .w-16 {
    transition: transform 0.3s ease;
}

/* Gold line animation on hover */
.gold-line {
    transition: width 0.3s ease;
}

/* Button ripple effect */
.btn-coral::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-coral:active::after {
    width: 300px;
    height: 300px;
}

.btn-coral {
    position: relative;
    overflow: hidden;
}

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

/* Print styles */
@media print {
    .btn-coral, .pulse-glow {
        background: #333 !important;
        color: white !important;
    }
    
    .service-card {
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
}
