/* Custom styles for Tasty Enchantment */

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid #3cc388;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #3cc388;
    color: #0d1c4a;
}

/* Subtle image loading fade */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Nav background on scroll */
.nav-scrolled {
    background: rgba(13, 28, 74, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #99e8c4, #3cc388);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 200px;
    height: 200px;
}

/* Card hover glow */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(60, 195, 136, 0.15);
}
