/* Custom styles for Irene's Touch */

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(56, 161, 105, 0.3);
    color: #fff;
}

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

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero image hover */
.hero-grid > div:first-child:hover .service-card {
    transform: none;
}

/* Subtle gradient on service cards */
.service-card {
    background: linear-gradient(135deg, rgba(15, 32, 53, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
}

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

/* Mobile menu animation */
#bar1.open {
    transform: rotate(45deg) translate(5px, 5px);
}
#bar2.open {
    opacity: 0;
}
#bar3.open {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .service-card, .reveal {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
