/* Custom styles for El Cosala Mobile */

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

/* Navbar scroll effect */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always visible if JS is disabled */
.reveal {
    opacity: 1;
    transform: none;
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a853, #e8c47c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a853, #e8c47c);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8c47c, #d4a853);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

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

#mobile-menu.open {
    max-height: 500px;
}

/* Ensure all text has proper contrast */
.text-cream {
    color: #f5f0e8;
}

.text-cream\/70 {
    color: rgba(245, 240, 232, 0.7);
}

.text-cream\/80 {
    color: rgba(245, 240, 232, 0.8);
}

.text-cream\/60 {
    color: rgba(245, 240, 232, 0.6);
}

/* Gold text */
.text-gold {
    color: #d4a853;
}

.text-gold-light {
    color: #e8c47c;
}

/* Background colors */
.bg-emerald-dark {
    background-color: #093529;
}

.bg-emerald-deep {
    background-color: #0d4a3a;
}

/* Gold borders */
.border-gold\/20 {
    border-color: rgba(212, 168, 83, 0.2);
}

.border-gold\/30 {
    border-color: rgba(212, 168, 83, 0.3);
}

.border-gold\/40 {
    border-color: rgba(212, 168, 83, 0.4);
}

/* Gold backgrounds */
.bg-gold\/10 {
    background-color: rgba(212, 168, 83, 0.1);
}

.bg-gold\/20 {
    background-color: rgba(212, 168, 83, 0.2);
}

/* Cream backgrounds */
.bg-cream\/5 {
    background-color: rgba(245, 240, 232, 0.05);
}

.bg-cream\/10 {
    background-color: rgba(245, 240, 232, 0.1);
}
