/* Custom styles for Melissa's Sweet Works */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Selection color */
::selection {
    background-color: #115e59;
    color: #f5f5f4;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Ensure images have consistent behavior */
img {
    max-width: 100%;
    height: auto;
}

/* Navbar transition helper */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled #navbar a:not(.bg-teal-700) {
    color: #1e293b;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Print styles */
@media print {
    nav, #contact-form, button { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
