/*
 * Harpa theme - hand written extras that Tailwind utility classes can't express
 * (gradients, keyframe animations, custom scrollbar, SVG gauge transition).
 * Ported from the original design's inline <style> block.
 */

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

/* Custom Wave Background for Marine Industrial Hero Sections */
.ocean-hero {
    background: radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.22) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(2, 132, 199, 0.3) 0%, transparent 55%),
                linear-gradient(135deg, #071320 0%, #0f2942 55%, #083344 100%);
    position: relative;
}

.geometric-bg {
    background-color: #f1f5f9;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px), radial-gradient(#cbd5e1 1px, #f1f5f9 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* SVG Circular Gauge Animation */
.gauge-circle {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #091929;
}
::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ef4444;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.animate-float {
    animation: floatSlow 4s ease-in-out infinite;
}

/* Mobile nav dropdown (submenu accordion toggled by theme.js) */
.mobile-submenu {
    display: none;
}
.mobile-submenu.is-open {
    display: block;
}
