/* Custom Styles for Paula Pilgrim Medical & Health */

/* Color Variables */
:root {
    --burgundy-50: #fdf2f6;
    --burgundy-100: #fce7f3;
    --burgundy-200: #fbcfe8;
    --burgundy-300: #f9a8d4;
    --burgundy-400: #f472b6;
    --burgundy-500: #ec4899;
    --burgundy-600: #db2777;
    --burgundy-700: #be185d;
    --burgundy-800: #9d174d;
    --burgundy-900: #831843;
    
    --blush-50: #fff5f7;
    --blush-100: #ffe4e8;
    --blush-200: #fecdd6;
    --blush-300: #ffa5b8;
    --blush-400: #ff6b8a;
    --blush-500: #ff3d6b;
}

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

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

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

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

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

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

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease;
}

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

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(157, 23, 77, 0.1);
}

/* Button Animations */
button, a {
    transition: all 0.3s ease;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth Transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Focus Styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Fade In Animation (for progressive enhancement) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* 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;
    }
}

/* Custom Tailwind Colors */
@layer utilities {
    .bg-burgundy-50 { background-color: var(--burgundy-50); }
    .bg-burgundy-100 { background-color: var(--burgundy-100); }
    .bg-burgundy-200 { background-color: var(--burgundy-200); }
    .bg-burgundy-600 { background-color: var(--burgundy-600); }
    .bg-burgundy-700 { background-color: var(--burgundy-700); }
    .bg-burgundy-800 { background-color: var(--burgundy-800); }
    
    .text-burgundy-600 { color: var(--burgundy-600); }
    .text-burgundy-700 { color: var(--burgundy-700); }
    .text-burgundy-800 { color: var(--burgundy-800); }
    
    .border-burgundy-200 { border-color: var(--burgundy-200); }
    .border-burgundy-400 { border-color: var(--burgundy-400); }
    
    .bg-blush-50 { background-color: var(--blush-50); }
    .bg-blush-100 { background-color: var(--blush-100); }
    .bg-blush-200 { background-color: var(--blush-200); }
}

/* Ensure proper contrast for accessibility */
.text-burgundy-800 {
    color: #831843;
}

.bg-burgundy-600 {
    background-color: #db2777;
}

.bg-burgundy-800 {
    background-color: #9d174d;
}
