/* Anderson Jennifer DDS - Premium Dark Luxury Dental Website */

/* Custom properties */
:root {
    --color-deep-burgundy: #1A0A0A;
    --color-rich-burgundy: #2D0A0A;
    --color-dark-burgundy: #3D0F0F;
    --color-soft-burgundy: #5C1A1A;
    --color-blush: #F5E6E8;
    --color-blush-light: #FDF2F4;
    --color-champagne: #D4AF37;
    --color-gold: #C5A028;
    --color-gold-light: #E5C158;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: var(--color-champagne);
    color: var(--color-deep-burgundy);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-deep-burgundy);
}

::-webkit-scrollbar-thumb {
    background: var(--color-champagne);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

/* Reveal animations - Progressive enhancement with JS */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mobile menu transitions */
#mobileMenu {
    opacity: 0;
    pointer-events: none;
}

#mobileMenu.active {
    opacity: 1;
    pointer-events: all;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

#navbar.scrolled .flex-col span {
    color: var(--color-champagne);
}

/* Service card hover effects */
.group:hover .group-hover\:border-champagne\/40 {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Button hover effects */
.group:hover .group-hover\:translate-x-1 {
    transform: translateX(4px);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-champagne) !important;
    box-shadow: 0 0 0 1px var(--color-champagne);
}

/* Custom select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Image hover zoom */
.group img {
    transition: transform 0.7s ease;
}

.group:hover img {
    transform: scale(1.03);
}

/* Gold shimmer animation for accents */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Pulse animation for CTAs */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
