/* Custom CSS for Barbro Lauri Beckett DDS */

/* Color Variables */
:root {
    --burgundy-900: #722F37;
    --burgundy-800: #8B3A42;
    --rose-500: #E8A0A0;
    --rose-300: #F4C2C2;
    --rose-100: #FDF0F0;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Custom Burgundy Color */
.text-burgundy-900 {
    color: var(--burgundy-900);
}

.bg-burgundy-900 {
    background-color: var(--burgundy-900);
}

.border-burgundy-900 {
    border-color: var(--burgundy-900);
}

/* Navigation */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

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

.service-card:hover {
    transform: translateY(-4px);
}

.service-card:hover svg {
    transform: scale(1.1);
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal-text {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.reveal-text:nth-child(1) { animation-delay: 0.1s; }
.reveal-text:nth-child(2) { animation-delay: 0.2s; }
.reveal-text:nth-child(3) { animation-delay: 0.3s; }
.reveal-text:nth-child(4) { animation-delay: 0.4s; }

.reveal-line {
    animation: slideInLeft 0.8s ease 0.5s forwards;
    opacity: 0;
    width: 0;
}

.reveal-fade {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

.reveal-float {
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
input:focus,
textarea:focus {
    border-bottom-color: var(--burgundy-900) !important;
}

input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--rose-500);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-cormorant.text-5xl,
    .font-cormorant.text-6xl {
        font-size: 2.5rem;
    }
}
