/* Like ATL — Custom Styles */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6a1a2b;
}

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

/* Nav active state */
nav a.active {
    color: #c2304d;
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c2304d;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Image aspect ratios for consistency */
img {
    display: block;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c2304d;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Subtle print styles */
@media print {
    nav, #mobile-menu, .reveal {
        display: none !important;
    }
    body {
        color: #1a1a1a;
        background: #fff;
    }
}

/* Reduced motion */
@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;
    }
    .hero-img {
        transition: none;
    }
    img {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hover-line::after {
        background: #000;
        height: 2px;
    }
    .line-deco,
    .line-deco-dark {
        background: #000;
        height: 2px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-serif.text-5xl {
        font-size: 2.5rem;
        line-height: 1;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        min-height: auto;
        padding: 80px 0;
    }
    .hero-img {
        height: 300px !important;
    }
}
