/* 
    M&O Marine Service - Global Styles
    Consolidated Glassmorphism & UI System
*/

body {
    background-color: #f7f9ff; /* theme('colors.surface') equivalent */
    -webkit-font-smoothing: antialiased;
}

img {
    height: auto;
}

/* Premium Backgrounds */
.bg-surface {
    background: radial-gradient(circle at top right, rgba(0, 86, 179, 0.03), transparent 400px), 
                radial-gradient(circle at bottom left, rgba(0, 33, 71, 0.03), transparent 400px),
                #f7f9ff;
}

/* Glass Nav Upgrade */
.glass-nav { 
    background: rgba(0, 20, 43, 0.85); 
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Auto-upgrade all white cards */
.bg-white.border.border-navy-100 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 33, 71, 0.05);
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bg-white.border.border-navy-100:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.08);
    border-color: rgba(0, 86, 179, 0.2);
}

/* Subtle Glow on dark cards */
.bg-navy-900.border {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}
.bg-navy-900.border:hover {
    box-shadow: 0 12px 48px rgba(0, 86, 179, 0.3);
    border-color: rgba(0, 86, 179, 0.5);
}

/* Premium Buttons */
button, .btn {
    transition: all 0.3s ease !important;
}
button:hover, .btn:hover {
    transform: translateY(-2px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 33, 71, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 33, 71, 0.1);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #00142b;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .bg-fixed {
        background-attachment: scroll;
    }

    .glass-nav {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
