/* Custom styles and overrides */

/* Smooth scroll padding for fixed nav */
section {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: #f5f0f7;
}

::-webkit-scrollbar-thumb {
    background: #d6bfd9;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bc93b8;
}

/* Selection color */
::selection {
    background: #d6bfd9;
    color: #46213a;
}

/* Subtle pattern overlay for hero */
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(188, 147, 184, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Service card gradient border effect */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(214, 191, 217, 0.5), rgba(253, 214, 77, 0.5));
    -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;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card:hover::before {
    opacity: 1;
}

/* Button hover glow */
.amber-accent:hover {
    box-shadow: 0 20px 40px -12px rgba(251, 191, 36, 0.4);
}

.plum-accent:hover {
    box-shadow: 0 20px 40px -12px rgba(188, 147, 184, 0.4);
}
