/* Custom Styles for This Old Shop */

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

/* Base Typography Adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* Fade In Up Animation for Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
}

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

::-webkit-scrollbar-track {
    background: #fffbf0;
}

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

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

/* 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: 300px;
    opacity: 1;
}

/* Geometric Shapes Decor */
.shape-circle {
    border-radius: 50%;
}

.shape-square {
    border-radius: 0;
}

.shape-rounded {
    border-radius: 1rem;
}

/* Print Styles */
@media print {
    .bg-emerald-900 {
        background-color: #fff !important;
        color: #000 !important;
    }
    .text-emerald-900 {
        color: #000 !important;
    }
    .text-mustard {
        color: #000 !important;
    }
    nav, footer, .animate-marquee {
        display: none;
    }
}
