/* Custom styles for Ho Stewart C DDS website */

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

/* Custom properties */
:root {
    --burgundy: #821a33;
    --burgundy-dark: #6c192f;
    --burgundy-light: #c02546;
    --blush: #fce7eb;
    --blush-light: #fdf2f4;
    --cream: #fff6ee;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-dark);
}

/* Decorative ornament */
.ornament {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--burgundy), transparent);
}

/* Service card hover effect */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(130, 26, 51, 0.15);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--burgundy-light), var(--burgundy));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(130, 26, 51, 0.3);
}

/* Secondary button */
.btn-secondary {
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--burgundy);
    color: white;
    transform: translateY(-2px);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(130, 26, 51, 0.1);
}

/* Fade in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .btn-primary,
    .btn-secondary {
        transition: none;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}
