/* Custom Styles for Shenandoah School Road Bakery */

/* Color Palette */
:root {
    --charcoal-900: #0f1115;
    --charcoal-950: #080a0d;
    --charcoal-800: #1a1d24;
    --charcoal-700: #2a2d35;
    --charcoal-600: #3a3d45;
    --charcoal-500: #4a4d55;
    --charcoal-400: #6a6d75;
    --charcoal-200: #a0a3ab;
    --charcoal-100: #d0d3db;
    --coral-500: #ff6b4a;
    --coral-400: #ff8a70;
    --coral-600: #e85a3a;
}

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

body {
    background-color: var(--charcoal-900);
    color: var(--charcoal-200);
}

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

::-webkit-scrollbar-track {
    background: var(--charcoal-950);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-500);
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(10px);
}

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

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Custom Selection Color */
::selection {
    background-color: var(--coral-500);
    color: white;
}

/* Mobile Menu Animations */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow Effects */
.glow-coral {
    box-shadow: 0 0 30px rgba(255, 107, 74, 0.2);
}

.glow-coral:hover {
    box-shadow: 0 0 50px rgba(255, 107, 74, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
}
