/* ====================================
   BS Bianchini Silveira Advocacia — style.css
   Colors: Cream (#F6F3ED) / Dark Green (#164E41) / Gold Accents / Navy (#333333)
   Style: Refined Luxury
   ==================================== */

/* Custom color overrides for Tailwind */
:root {
    --color-navy: #333333;
    --color-navy-dark: #222222;
    --color-green-primary: #164E41;
    --color-green-glow: rgba(22, 78, 65, 0.4);
    --color-cream: #F6F3ED;
}

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

/* Flux text-glow → adapted for light bg with green glow */
.text-glow {
    text-shadow: 0 0 40px rgba(22, 78, 65, 0.15);
}

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

/* Gold/Beige Metallic Gradient with a Shimmer/Flash Effect */
.gold-flash-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.18em;
    font-weight: 500;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #c5a880 15%, #fffdf9 50%, #c5a880 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.22));
}

/* Solid Luxury Typography Highlight (without metallic shimmer gradient, for beige bg) */
.lux-highlight {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.18em;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: inline;
}

/* Gold/Beige Metallic Gradient Button with Shimmer/Flash Effect */
.gold-shimmer-btn {
    background: linear-gradient(90deg, #c5a880 0%, #fffdf9 50%, #c5a880 100%);
    background-size: 200% auto;
    color: #014131 !important;
    border: 1px solid rgba(255, 253, 249, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gold-shimmer-btn:hover {
    background-position: right center !important;
    box-shadow: 0 12px 24px -6px rgba(197, 168, 128, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* ---- Navigation Glass ---- */
.nav-glass {
    background: rgba(246, 243, 237, 0.85);
    border-bottom: 1px solid rgba(22, 78, 65, 0.08);
}

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

.text-brand-green {
    color: #164E41;
}
.bg-brand-green {
    background-color: #164E41;
}
.border-brand-green {
    border-color: #164E41;
}

.text-brand-cream {
    color: #F6F3ED;
}
.bg-brand-cream {
    background-color: #F6F3ED;
}

/* ---- 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 (Green) ---- */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(22, 78, 65, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(22, 78, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 78, 65, 0); }
}

.animate-pulse-green {
    animation: pulse-green 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;
    }
}
