/* Custom styles for Perez Auto Clinic */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a853, #b8860b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f0d48a, #d4a853);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f8fafc;
}

/* Focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Loading animation for form */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Card gradient borders */
.gold-border {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.gold-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.3), transparent, rgba(212, 168, 83, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gold-border:hover::before {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.8), rgba(212, 168, 83, 0.2), rgba(212, 168, 83, 0.8));
}

/* Mobile menu backdrop */
body.menu-open {
    overflow: hidden;
}
