/* Addis Hiwot — Custom Styles */

/* Base reset & typography refinements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.25);
    color: #042f2e;
}

/* Smooth focus outlines */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Hero parallax-lite */
#hero {
    background-attachment: fixed;
}

/* Divider animation */
.divider-serif {
    position: relative;
}
.divider-serif::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: currentColor;
    opacity: 0.3;
    transition: width 0.8s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .divider-serif.visible::before {
        width: 60px;
    }
}

/* Service card image placeholder */
.service-card .icon-wrapper {
    transition: transform 0.3s ease;
}
.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

/* Mobile menu line animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
body.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
body.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
body.menu-open .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, #hero .absolute { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
