/* Custom styles and additional animations */
:root {
    --burgundy: #722F37;
    --burgundy-light: #8B3A42;
    --blush: #F4E7E7;
    --blush-light: #FDF5F5;
    --cream: #FFFAFA;
    --text-dark: #2D2D2D;
    --text-light: #666666;
}

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

/* Enhanced hover effects for cards */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(114, 47, 55, 0.15);
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--burgundy);
    outline-offset: 2px;
}

/* Reduced motion preference */
@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;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu-btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .about,
    .features {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .contact-form {
        border: 2px solid var(--burgundy);
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Better form styling */
input::placeholder,
textarea::placeholder {
    color: #999;
}

/* Subtle gradient for hero background */
.hero {
    background: linear-gradient(135deg, var(--blush-light) 0%, var(--cream) 50%, var(--blush) 100%);
}

/* Additional spacing utilities */
.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* Animation for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu animation */
@media (max-width: 768px) {
    .nav-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .nav-links.active {
        max-height: 300px;
    }
    
    .hamburger.active {
        background: transparent;
    }
    
    .hamburger.active::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .hamburger.active::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Touch-friendly tap targets on mobile */
@media (hover: none) and (pointer: coarse) {
    .btn,
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}
