/* 
 * Kato's Cajun - Custom Styles
 * Theme: Clean Minimalist, Emerald & Cream
 */

:root {
    --color-emerald-dark: #064e3b;
    --color-emerald-light: #059669;
    --color-cream: #FDFBF7;
    --color-dark: #0F1C18;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-cream);
    color: var(--color-dark);
}

/* Custom Selection Color */
::selection {
    background-color: #bbf7d0;
    color: #064e3b;
}

/* Typography Tweaks */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

p, a, span, button {
    font-family: 'Manrope', sans-serif;
}

/* Hero Animation Classes */
.hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Glassmorphism */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Image Hover Effects */
img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-emerald-light);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

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

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-emerald-light);
}
