/* Custom styles that complement Tailwind */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #e06f55;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #e06f55;
    color: #fff;
}

/* Body background pattern - subtle texture */
body {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(224, 111, 85, 0.03) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(26, 26, 26, 0.03) 0%, transparent 50%);
}

/* Hero parallax-like effect on scroll */
#hero {
    scroll-snap-align: start;
}

/* Coral gradient for decorative elements */
.coral-gradient {
    background: linear-gradient(135deg, #e06f55 0%, #f5b5a5 100%);
}

/* Subtle card border glow on hover */
.feature-card:hover {
    border-color: rgba(224, 111, 85, 0.2);
}

/* Navbar transition enhancement */
#navbar {
    backdrop-filter: blur(0px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.nav-scrolled {
    backdrop-filter: blur(12px);
}

/* Mobile menu animation */
.mobile-menu {
    animation: none;
}
.mobile-menu.open {
    animation: slideDown 0.3s ease forwards;
}

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

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    caret-color: #2d2d2d;
}

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

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .img-zoom img {
        transition: none !important;
    }

    .feature-card {
        transition: none !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}
