/* ===================================
   MIRA Income Tax Services
   Custom Styles & Animations
   =================================== */

/* Clip path for hero */
.clip-hero-right {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Mobile menu animation */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Scroll reveal animations (below the fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Image hover effects */
img {
    max-width: 100%;
    height: auto;
}

/* Custom underline animation for links */
a:not([class]) {
    text-decoration: none;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 252, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(165, 44, 42, 0.1);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Selection */
::selection {
    background-color: #a52c2a;
    color: #fdf8f6;
}

/* Print styles */
@media print {
    nav, .marquee-banner, #contactForm button {
        display: none;
    }

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