/* Custom Styles for Hair by Sarah Beth */

/* Base Typography */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@300;400;500&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, .font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f1012;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c8a87e;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Selection Color */
::selection {
    background: #c8a87e;
    color: #0f1012;
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-fade-in {
        animation: none;
    }
    
    img, .group:hover img {
        transition: none;
    }
}
