/* Custom CSS for Coastal Geomatics Website */
/* Coastal Color Palette */

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

/* Dropdown menu hover effects */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
}

/* Accessibility improvements */
a:focus,
button:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Custom gradient backgrounds */
.coastal-gradient-blue {
    background: linear-gradient(135deg, #1A6B77 0%, #0A3940 100%);
}

.coastal-gradient-ocean {
    background: linear-gradient(135deg, #30A8B8 0%, #1A6B77 100%);
}

.coastal-gradient-red {
    background: linear-gradient(135deg, #A73638 0%, #8B2C2E 100%);
}

/* Enhanced red text styling for dark backgrounds */
.text-stroke-white {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
