/* Custom Styles for Roast Republic Coffee Co. */

/* Base styles and smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0F0F0F;
    color: #E6D5B8;
    font-family: 'Lato', sans-serif;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Scroll reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Gold gradient text effect */
.text-transparent.bg-clip-text.bg-gold-gradient {
    background-image: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

::-webkit-scrollbar-track {
    background: #0F0F0F;
}

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

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

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out;
}

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

#mobile-menu.opacity-100 {
    opacity: 1;
    pointer-events: auto;
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Ensure proper contrast for accessibility */
.text-sand {
    color: #E6D5B8;
}

.text-sand-light {
    color: #F5F0E6;
}

.text-sand\/70 {
    color: rgba(230, 213, 184, 0.7);
}

.text-sand\/60 {
    color: rgba(230, 213, 184, 0.6);
}

.bg-coffee-black {
    background-color: #0F0F0F;
}

.bg-coffee-dark {
    background-color: #1A1A1A;
}

.text-gold-accent {
    color: #D4AF37;
}

.bg-gold-accent {
    background-color: #D4AF37;
}

.text-terracotta {
    color: #C05640;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .font-display {
        font-size: 2rem;
    }
}
