/* Custom styles beyond Tailwind */

/* Selection color */
::selection {
    background: #E8645A;
    color: #ffffff;
}

/* Subtle gradient for body background */
body {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Custom focus styles */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #E8645A;
    outline-offset: 2px;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu animation */
#bar1 {
    transform-origin: center;
}
#bar2 {
    transform-origin: center;
}
#bar3 {
    transform-origin: center;
}

#menu-toggle.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active #bar2 {
    opacity: 0;
}
#menu-toggle.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Card hover lift effect */
.reveal:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3 {
        transition-delay: 0 !important;
    }
    img {
        transition: none !important;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal { display: none; }
    body { background: white; color: black; }
}
