/* Custom styles for Sun-Kissed Hair Color Studio */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #d14f33;
    color: #fdfbf7;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
    background: #e8d5c4;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d14f33;
}

/* Image hover effect */
.overflow-hidden {
    position: relative;
}
.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(209, 79, 51, 0);
    transition: background 0.5s;
    pointer-events: none;
}
.overflow-hidden:hover::after {
    background: rgba(209, 79, 51, 0.05);
}

/* Input focus styles */
input:focus, textarea:focus, select:focus {
    background: rgba(253, 251, 247, 0.8);
}

/* Mobile menu animation */
.mobile-menu {
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure all text is readable */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm button {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
