/* ============================================================================
   Comcha Vegan Restaurant - Custom CSS Theme 2026 (Responsive UX Maxed)
   ============================================================================ */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(254, 249, 231, 0.8) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(253, 240, 205, 0.6) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(255, 253, 245, 0.9) 0px, transparent 50%);
    overflow-x: hidden;
}

/* Typography & Word Break Rules for Small Mobile Displays */
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

img {
    max-width: 100%;
    height: auto;
}

.glass-panel-gold {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px -10px rgba(184, 134, 11, 0.12);
}

.glass-card-gold {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 10px 30px -5px rgba(184, 134, 11, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-gold:hover {
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(184, 134, 11, 0.2);
}

.text-gradient-metallic-gold {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 40%, #e5c158 70%, #92610d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-metallic-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c59b27 50%, #b8860b 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(184, 134, 11, 0.35);
    transition: all 0.3s ease;
}

.btn-metallic-gold:hover {
    background: linear-gradient(135deg, #f8ce5d 0%, #d4af37 50%, #c59b27 100%);
    box-shadow: 0 15px 35px -5px rgba(184, 134, 11, 0.5);
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #fef9e7;
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

/* Touch Scrolling smooth */
.overflow-y-auto {
    -webkit-overflow-scrolling: touch;
}

/* Hide Google reCAPTCHA v3 floating badge completely */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mobile & Tablet Responsiveness Enhancements */
@media (max-width: 640px) {
    .glass-panel-gold {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        border-radius: 1.25rem;
    }
    
    .glass-card-gold {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        border-radius: 1rem;
    }

    h1 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }
    h2 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
    }
    h3 {
        font-size: 1.25rem !important;
    }
}

/* MapLibre GL Controls & Popup Styling */
.maplibregl-popup-content {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15) !important;
    padding: 10px 14px !important;
}
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
    border-top-color: rgba(212, 175, 55, 0.6) !important;
}
.maplibregl-ctrl-group {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 12px !important;
    overflow: hidden;
}
.maplibregl-ctrl-attrib {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(6px);
    border-radius: 8px 0 0 0;
    font-size: 10px !important;
    color: #64748b !important;
}
