/* Base styles and custom properties */
:root {
    --color-coral-400: #ff7a5e;
    --color-coral-500: #ff5c3a;
    --color-coral-600: #e8442a;
    --color-charcoal-900: #1a1a1a;
    --color-charcoal-800: #2d2d2d;
    --color-charcoal-700: #3d3d3d;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}

/* Service card hover effects */
.service-card {
    will-change: transform, box-shadow;
}

/* Smooth transitions for interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #ff5c3a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Gallery image hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
