/* Custom Styles for Brentwood Family Dental */

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

::-webkit-scrollbar-track {
    background: #022c22;
}

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

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

/* Gold Glow Effects */
.shadow-gold {
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.shadow-gold-lg {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.shadow-gold-hover:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #f7f5eb;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll State */
.navbar-scrolled {
    background: rgba(2, 44, 34, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

/* Input Placeholder Styles */
input::placeholder,
textarea::placeholder {
    color: rgba(232, 228, 212, 0.3);
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Card Hover Effects */
.group:hover .group-hover\:text-gold-400 {
    color: #d4af37;
}

/* Gradient Text Utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative Line Animation */
.hover-line {
    position: relative;
}

.hover-line::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.hover-line:hover::after {
    width: 100%;
}
