/* ================================================================================
   OVERLAYS.CSS - All Overlay Styles
   Handles: Search, Results, Venue Details, Map, Community Hub, Breweries, About
   ================================================================================ */

/* ================================
   MAP OVERLAY
   ================================ */

.map-overlay {
    /* Inherits from .overlay */
}

.map-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

.full-map {
    width: 100%;
    height: 100%;
}

/* ================================
   INFO OVERLAYS (About & GF Info)
   ================================ */

#gfInfoOverlay .info-overlay {
    /* Inherits from .overlay */
}

#gfInfoOverlay .info-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

#gfInfoOverlay .info-card {
   background: var(--bg-white);
   max-width: 800px;
   width: 100%;
   overflow-y: auto;
   box-shadow: var(--shadow-xl);
   height: 100%;
}

#gfInfoOverlay .info-header {
    padding: var(--space-xl);
    background: var(--pink-gradient);
    color: var(--white);
    position: relative;
}

#gfInfoOverlay .info-title {
    margin: 0;
    font-size: var(--text-2xl);
}

#gfInfoOverlay .info-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#gfInfoOverlay .info-content {
    padding: var(--space-xl);
}

#gfInfoOverlay .info-section {
    margin-bottom: var(--space-2xl);
}

#gfInfoOverlay .info-section h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

#gfInfoOverlay .info-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* GF Info Specific */
#gfInfoOverlay .standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.standard-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-section);
    border-radius: var(--radius);
}

.beer-type-item {
    padding: var(--space-md);
    background: var(--bg-section);
    border-radius: var(--radius);
    margin-bottom: var(--space-md);
}

.safety-notes {
    list-style: none;
    padding: 0;
}

.safety-notes li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
}

.safety-notes li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================
   RESPONSIVE
   ================================ */

@media (min-width: 768px) {
    .results-list-container[style*="display: block"] {
        padding: var(--space-xl);
    }
    
    .result-item {
        padding: var(--space-2xl);
    }
}
