/* 
 * Second Street Treats - Custom Styles
 * Palette: Midnight Blue (#0F172A), Mint (#A7C4BC), Cream/White
 */

:root {
    --midnight: #0f172a;
    --midnight-light: #1e293b;
    --mint: #a7c4bc;
    --mint-dark: #8fa8a0;
    --mint-light: #f0f7f5;
    --cream: #fafaf9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--midnight);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--midnight);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--mint-dark);
}

/* Clip Path for Hero */
.clip-path-slant {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Animations */
@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 utility for staggered animations */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Utility classes for colors since we can't extend Tailwind config fully */
.text-mint-dark { color: var(--mint-dark); }
.text-mint { color: var(--mint); }
.bg-mint-dark { background-color: var(--mint-dark); }
.bg-mint { background-color: var(--mint); }
.bg-mint-light { background-color: var(--mint-light); }

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}
