/* Custom Styles for Pot of Gold Coffee Shop */

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

/* Base Typography */
body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Animations */
@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;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

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

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

/* Navbar Transition */
.nav-scrolled {
    background: rgba(4, 47, 46, 0.95); /* teal-950 with transparency */
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Image Placeholder Fallback */
img {
    max-width: 100%;
    height: auto;
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Print Styles */
@media print {
    nav, #mobile-menu-btn, .reveal-on-scroll {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-slate-900, .bg-teal-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
