/* Custom styles for C-WAY Marine Construction */

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

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a017, #e8b828);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8b828, #f0c94d);
}

/* Selection color */
::selection {
    background-color: rgba(212, 160, 23, 0.3);
    color: #f1f5f9;
}

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

/* Animation keyframes */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Gold shimmer effect */
.gold-shimmer {
    background: linear-gradient(90deg, #d4a017, #e8b828, #f0c94d, #e8b828, #d4a017);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Glass morphism effect */
.glass {
    background: rgba(15, 33, 64, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 160, 23, 0.1);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #d4a017 0%, #e8b828 50%, #f0c94d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pulse animation for CTA */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 160, 23, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* Reduced motion preference */
@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 {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
