/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/background.png');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.2;
    z-index: -1;
}

/* Container Layout */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    margin: 0 auto;
}

/* Filter Section */
.filters {
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: auto;
    height: 100px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 50%;
    border: 6px solid #FF6B35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3), 
                0 3px 12px rgba(255,107,53,0.5),
                inset 0 2px 0 rgba(255,255,255,0.9);
    flex-shrink: 0;
}

.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.filter-label {
    font-size: 11px;
    font-weight: 700;
    color: #1a3a52;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    border-color: #FF6B35;
}

.filter-btn.active {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    border-color: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.cuisine-filter {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    background: white;
    cursor: pointer;
    max-width: 200px;
    color: #333;
    transition: all 0.3s ease;
}

.cuisine-filter:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.cuisine-filter:hover {
    border-color: #FF6B35;
}

.cuisine-filter:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Map Styles with Thick Rounded Border */
#map {
    flex: 1;
    width: calc(100% - 40px);
    margin: 20px;
    border-radius: 30px;
    border: 8px solid #FF6B35;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3), 
                inset 0 0 0 4px rgba(43, 192, 228, 0.2);
    overflow: hidden;
    z-index: 1;
}

/* Leaflet Popup Overrides */
.leaflet-popup-content-wrapper {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.popup-content {
    min-width: 250px;
}

.popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 8px;
}

.popup-type {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-description {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.popup-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.popup-info-item {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-rating {
    color: #4CAF50;
    font-weight: 700;
}

.star-rating {
    color: #FFC107;
}

.popup-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.popup-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Location Button */
.location-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background: linear-gradient(135deg, #2BC0E4 0%, #1a3a52 100%);
    border: 3px solid white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;
}

.location-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(43, 192, 228, 0.4);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .logo {
        height: 70px;
        padding: 12px;
        border-width: 5px;
        border-radius: 50%;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .filters {
        padding: 15px;
    }
    
    .filter-header {
        flex-direction: column;
        gap: 15px;
    }
    
    #map {
        margin: 15px;
        width: calc(100% - 30px);
        border-width: 6px;
        border-radius: 20px;
    }
    
    .location-btn {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
