/* ====================================
   OceanusLex — Flux-Adapted Style
   Colors: White 70% / Navy 30% / Red Accents
   ==================================== */

/* Custom color overrides for Tailwind */
:root {
    --color-navy: #333333;
    --color-navy-dark: #222222;
    --color-red-accent: #E63946;
    --color-red-glow: rgba(230, 57, 70, 0.4);
}

/* ---- Base ---- */
body {
    background-color: #ffffff;
    color: #4b5563;
}

/* Flux text-glow → adapted for light bg with red glow */
.text-glow {
    text-shadow: 0 0 40px rgba(230, 57, 70, 0.15);
}

/* Kinetic heading gradient (Navy → Blue) */
.kinetic-heading {
    background: linear-gradient(100deg, #333333 30%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
}

/* ---- Navigation Glass ---- */
.nav-glass {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(10, 25, 47, 0.08);
}

/* ---- Custom Tailwind Overrides ---- */
/* Navy color class for text */
.text-navy {
    color: #333333;
}
.bg-navy {
    background-color: #333333;
}
.border-navy {
    border-color: #333333;
}

/* ---- Flux Border Gradient for Bento Cards ---- */
[style*="--border-gradient"]::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--border-radius-before, inherit);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background: var(--border-gradient);
    pointer-events: none;
}

/* ---- Pulse Animation (Red) ---- */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.animate-pulse-red {
    animation: pulse-red 2s infinite;
}

/* ---- Scroll Reveal (Vanilla JS driven) ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive polish ---- */
@media (max-width: 768px) {
    .kinetic-heading {
        line-height: 1.1 !important;
    }
}
