/* Cottagecore Cozy Styles - Provence & Floral */

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

/* Cottagecore paper texture background */
body {
    background-color: #FDF8F3;
    background-image: 
        url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 50 Q30 30 50 10 Q70 30 50 50 Q70 70 50 90 Q30 70 50 50" fill="none" stroke="%23A8D5C2" stroke-width="0.5" opacity="0.1"/%3E%3Ccircle cx="20" cy="20" r="1" fill="%23E8B4A0" opacity="0.2"/%3E%3Ccircle cx="80" cy="40" r="1.5" fill="%23C9B8D9" opacity="0.15"/%3E%3Ccircle cx="40" cy="80" r="1" fill="%23A8D5C2" opacity="0.2"/%3E%3C/svg%3E'),
        linear-gradient(to bottom, rgba(253, 248, 243, 0.8), rgba(253, 248, 243, 0.9));
    background-attachment: fixed;
}

/* Custom selection color - soft mint */
::selection {
    background-color: #A8D5C2;
    color: #2D4A3E;
}

/* Focus styles for accessibility - cottagecore peach */
:focus-visible {
    outline: 2px dashed #E8B4A0;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Custom scrollbar - vintage lace style */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #F5F0E8;
    border-radius: 10px;
    border: 1px solid rgba(232, 180, 160, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #A8D5C2 0%, #E8B4A0 50%, #C9B8D9 100%);
    border-radius: 10px;
    border: 2px solid #F5F0E8;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #96C9B0 0%, #D4A090 50%, #B8A8C9 100%);
}

/* Lace border decoration */
.lace-border {
    position: relative;
}

.lace-border::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="20" viewBox="0 0 40 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 20 Q10 10 20 20 Q30 10 40 20 L40 0 L0 0 Z" fill="%23FDF8F3" opacity="0.9"/%3E%3Ccircle cx="20" cy="10" r="2" fill="%23E8B4A0" opacity="0.6"/%3E%3C/svg%3E');
    background-repeat: repeat-x;
    background-size: 40px 20px;
    pointer-events: none;
}

/* Floral pattern background */
.floral-bg {
    background-color: #FDF8F3;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 30 c-5 -5 -5 -10 0 -15 c5 -5 10 -5 15 0 c5 5 5 10 0 15 c-5 5 -10 5 -15 0" fill="none" stroke="%23A8D5C2" stroke-width="1" opacity="0.15"/%3E%3Cpath d="M30 30 c5 5 5 10 0 15 c-5 5 -10 5 -15 0 c-5 -5 -5 -10 0 -15" fill="none" stroke="%23C9B8D9" stroke-width="0.8" opacity="0.12"/%3E%3C/svg%3E');
    background-size: 60px 60px;
}

/* Provence stripe pattern */
.provence-stripe {
    background: repeating-linear-gradient(
        90deg,
        #FDF8F3,
        #FDF8F3 10px,
        #F5F0E8 10px,
        #F5F0E8 20px,
        #A8D5C2 20px,
        #A8D5C2 30px,
        #F5F0E8 30px,
        #F5F0E8 40px
    );
    opacity: 0.1;
}

/* Missing utility classes */
.text-mint-700 { color: #2D4A3E; }
.text-mint-800 { color: #1A3D2E; }
.text-peach-700 { color: #9C6B5A; }
.text-coral-700 { color: #A67060; }
.bg-cream { background-color: #FDF8F3; }
.bg-coral { background-color: #E8A090; }
.ring-peach { --tw-ring-color: #E8B4A0; }

/* Vintage paper texture effect */
.vintage-paper {
    background-color: #FDF8F3;
    box-shadow: 
        0 4px 20px -2px rgba(168, 213, 194, 0.15),
        inset 0 0 60px rgba(232, 180, 160, 0.05);
    border: 1px solid rgba(232, 180, 160, 0.2);
}

/* Soft floral shadow */
.floral-shadow {
    box-shadow: 
        0 10px 40px -10px rgba(168, 213, 194, 0.25),
        0 5px 20px -5px rgba(232, 180, 160, 0.15);
}

/* Cottagecore button style */
.cottage-btn {
    background: linear-gradient(135deg, #A8D5C2 0%, #E8B4A0 100%);
    border: 2px solid #FDF8F3;
    box-shadow: 
        0 4px 15px rgba(168, 213, 194, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}

.cottage-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cottage-btn:hover::before {
    opacity: 1;
}

/* Floral corner decoration */
.floral-corner {
    position: relative;
}

.floral-corner::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M10 50 Q30 20 50 10 Q70 30 90 50 Q70 70 50 90 Q30 70 10 50" fill="none" stroke="%23A8D5C2" stroke-width="2" opacity="0.4"/%3E%3Ccircle cx="50" cy="50" r="8" fill="%23E8B4A0" opacity="0.3"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Image hover effect for specialists */
.specialist-photo {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .specialist-photo {
    transform: scale(1.05);
}

/* Water ripple effect simulation */
.water-ripple {
    position: relative;
    overflow: hidden;
}

.water-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(232, 180, 160, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.water-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Text balance for headings */
h1, h2, h3 {
    text-wrap: balance;
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #F5F0E8 25%, #FDF8F3 50%, #F5F0E8 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Breathing animation for CTA elements */
.breathe {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
}

/* Soft shadow for cards */
.soft-shadow {
    box-shadow: 0 10px 40px -10px rgba(232, 180, 160, 0.2);
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Glass morphism enhancement */
.glass-enhanced {
    background: rgba(253, 248, 243, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
}

/* Print styles */
@media print {
    .grain-overlay, nav, footer { display: none; }
    body { background: white; }
}