/* Custom CSS for Isis Hair Studio */

/* Base Typography */
html {
    scroll-behavior: smooth;
}

body {
    /* Ensures no flash of unstyled content */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Color Palette Overrides */
:root {
    --plum: #5b2c6f;
    --plum-light: #8e44ad;
    --amber: #f59e0b;
    --amber-dark: #d97706;
}

/* Smooth Scroll Offset for Fixed Header */
section[id] {
    scroll-margin-top: 80px;
}

/* Scroll Reveal Animation Classes */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
a:focus, button:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}
